/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d5f40;
    /* Emerald Green - fits 'Vatika' (Garden) */
    --primary-dark: #063d27;
    --primary-light: #248f65;
    --accent-color: #f1c40f;
    /* Vibrant Gold */
    --accent-hover: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #5a6a7e;
    --bg-light: #f4fcf7;
    /* Very subtle mint tint */
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0d5f40 0%, #063d27 100%);
    --gradient-gold: linear-gradient(135deg, #f1c40f 0%, #d35400 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(13, 95, 64, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ================= Header & Navigation ================= */
.header-area {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);

    /* STYLISH FIXED HEADER - Always visible at top */
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Ensure these variants also respect the fixed positioning */
.header-area.header-sticky,
.header-area.background-header {
    position: fixed !important;
    background-color: rgba(255, 255, 255, 0.98);
    /* Slightly more opaque when scrolling */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    /* Shrink slightly on scroll for style */
}

.header-area .main-nav .logo {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.header-area .main-nav .nav li a {
    color: var(--text-dark) !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
    color: var(--primary-color) !important;
    background-color: rgba(13, 95, 64, 0.08);
    transform: translateY(-2px);
}

.main-nav .nav {
    margin-top: 10px;
}

/* ================= Hero / Banner Section ================= */
.main-banner {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.main-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

.main-banner .image-overlay {
    background: linear-gradient(135deg, rgba(6, 61, 39, 0.85) 0%, rgba(13, 95, 64, 0.65) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-banner .caption {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.main-banner .caption h2 {
    font-size: 64px;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.main-banner .caption p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Primary Button Style */
.main-button-red a,
.btn-primary {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 5px 15px rgba(12, 46, 138, 0.3);
    display: inline-block;
    text-decoration: none;
}

.main-button-red a:hover,
.btn-primary:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #fff !important;
}

/* ================= Global Animations ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* ================= Titles & Typography ================= */
.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 4px;
}

/* ================= Cards & Hover Effects ================= */
.card-hover {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.management,
.services,
.courses,
.our-facts {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.management-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 50px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.management-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.management-text strong {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    background: transparent !important;
    box-shadow: none !important;
}

.banner-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 0;
}

.banner {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 30px;
    width: 260px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.banner:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent-color);
}

.banner .icon {
    width: 70px;
    height: 70px;
    background: rgba(12, 46, 138, 0.08);
    /* Light blue tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 28px;
    transition: var(--transition);
}

.banner:hover .icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.banner p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ================= Footer ================= */
.main-footer {
    background: var(--gradient-primary);
    padding: 80px 0 25px;
    color: #fff;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay on footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

.footer-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-box p,
.footer-box li,
.footer-box a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    text-decoration: none;
    transition: var(--transition);
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
    .management-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .management-text strong {
        border-left: none;
        border-top: 5px solid var(--accent-color);
        padding-top: 20px;
        padding-left: 0;
    }

    .main-banner .caption h2 {
        font-size: 42px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ================= Header & Navigation ================= */
.header-area {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;

    /* Force header to stay at top and not scroll with viewport */
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Ensure these variants also respect the absolute positioning */
.header-area.header-sticky,
.header-area.background-header {
    position: absolute !important;
}

.header-area .main-nav .logo {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-area .main-nav .nav li a {
    color: var(--text-dark) !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    /* More elegant than uppercase */
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
    color: var(--primary-color) !important;
    background-color: rgba(12, 46, 138, 0.05);
}

/* Push navigation to the right/center better if needed */
.main-nav .nav {
    margin-top: 10px;
    /* Adjust alignment */
}

/* ================= Hero / Banner Section ================= */
.main-banner {
    position: relative;
    height: 90vh;
    /* Full viewport height */
    overflow: hidden;
}

.main-banner .image-overlay {
    background: linear-gradient(135deg, rgba(6, 26, 82, 0.8) 0%, rgba(12, 46, 138, 0.6) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-banner .caption {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.main-banner .caption h2 {
    font-size: 64px;
    /* Larger, more impressive */
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.main-banner .caption p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
}

/* ================= Management / About Section ================= */
.management {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.management-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 50px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.management-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.management-text {
    flex: 1;
}

.management-image {
    flex: 0 0 400px;
    /* Fixed larger width for image container */
    max-width: 400px;
}

.management-text strong {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    background: transparent !important;
    /* Override inline styles */
    box-shadow: none !important;
}

.management-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
    margin-bottom: 5px;
}

.management-image img {
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    width: 100%;
    height: 450px;
    /* Fixed height for uniformity */
    object-fit: cover;
    border: 5px solid #fff;
    /* White inner border */
    outline: 3px solid var(--accent-color);
    /* Gold outer border */
    transition: all 0.4s ease;
}

.management-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(13, 95, 64, 0.25);
}

/* ================= Cards / Banners ================= */
.banner-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 0;
}

.banner {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    width: 250px;
    height: auto;
    /* Allow flexible height */
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    clip-path: none !important;
    /* Remove the old polygon clip */
    display: flex;
    /* Flex layout */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.banner:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent-color);
}

.banner .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(12, 46, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.banner p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Colors for specific banners can be accents */
/* Removing specific background colors in favor of a clean white card look with colored icons/borders */

/* ================= Animations ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
    .management-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .management-text strong {
        border-left: none;
        border-top: 4px solid var(--accent-color);
        padding-top: 20px;
        padding-left: 0;
    }
}

/* ================= Footer ================= */
.main-footer {
    background: linear-gradient(135deg, #0c2e8a 0%, #061a52 100%);
    padding: 70px 0 20px;
    color: #fff;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-box p,
.footer-box li,
.footer-box a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}