/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Indian Flag Theme Variables */
:root {
    --saffron: #FF9933;
    --green: #128807;
    --navy: #000080;
    --white: #ffffff;
    --primary: var(--saffron);
    --secondary: var(--green);
    --dark: #1a1a1a;
    --light: #f1f5f9;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    font-style: italic;
}

/* NAVBAR STYLE */
.tricolor-border {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--saffron) 33%, var(--white) 33%, var(--white) 66%, var(--green) 66%);
    position: fixed;
    top: 0;
    z-index: 2000;
}

.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 5px;
}

.navbar-transparent { background: transparent !important; }
.navbar-transparent .nav-link, .navbar-transparent .brand-text { color: white !important; }
.navbar-transparent .navbar-toggler { border-color: rgba(255,255,255,0.3) !important; }
.navbar-transparent .navbar-toggler-icon { filter: invert(1); }

.navbar-scrolled {
    background: white !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .nav-link, .navbar-scrolled .brand-text { color: var(--dark) !important; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98); 
        backdrop-filter: blur(15px);
        margin: 15px -12px 0 -12px;
        padding: 25px;
        border-radius: 20px;
    }
}

/* HERO SLIDER */
.hero-swiper { width: 100%; height: 100vh; }
.swiper-slide { position: relative; overflow: hidden; width: 100%; height: 100%; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slide-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 2; display: flex; align-items: center;
}

/* PREMIUM SERVICES STYLES */
.glow-point {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}
.glow-1 { top: 10%; right: -100px; background: var(--saffron); }
.glow-2 { bottom: 10%; left: -100px; background: var(--green); }

.premium-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.card-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,153,51,0.05) 0%, transparent 70%);
    animation: rotate-glow 20s linear infinite;
    z-index: 1;
}

@keyframes rotate-glow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.glass-pill {
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.floating-img-wrap {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.stat-glass-slab {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-glass-slab:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08) !important;
}

.slab-glow-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,153,51,0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.stat-glass-slab:hover .slab-glow-wrap {
    transform: translateX(100%);
}

.slab-icon-wrap {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.stat-glass-slab:hover .slab-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.animate-arrow { transition: transform 0.3s ease; }
.stat-glass-slab:hover .animate-arrow { transform: translateX(5px); }

/* STATS CARDS */
.bg-stats { background-color: var(--light); }
.unique-stat-card {
    background: #ffffff; border-radius: 24px; padding: 3rem 2rem; position: relative;
    border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.card-accent { position: absolute; top: 0; left: 20px; right: 20px; height: 4px; border-radius: 0 0 10px 10px; }
.stat-icon-box {
    width: 70px; height: 70px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 20px; font-size: 1.8rem; position: relative;
}
.stat-icon-box::after {
    content: ''; position: absolute; width: 100%; height: 100%; border: 2px dashed rgba(0,0,0,0.1); border-radius: 20px;
    animation: rotate-dashed 10s linear infinite;
}
@keyframes rotate-dashed { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* BUTTONS */
.btn-premium { padding: 12px 30px; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.btn-saffron { background: var(--saffron); color: white; border: none; }
.btn-green { background: var(--green); color: white; border: none; }

/* MISC */
.text-primary-theme { color: var(--saffron) !important; }
.footer-theme { background: #000; border-top: 4px solid var(--green); }
.tracking-wider { letter-spacing: 2px; }
.opacity-01 { opacity: 0.1; }

/* Icon High Vis Helpers */
.slab-icon-wrap.bg-saffron { background: linear-gradient(135deg, #FF9933 0%, #ffb366 100%) !important; }
.slab-icon-wrap.bg-green { background: linear-gradient(135deg, #128807 0%, #19bd0a 100%) !important; }
.slab-icon-wrap.bg-navy { background: linear-gradient(135deg, #000080 0%, #0000b3 100%) !important; }

/* Enhanced Director Styles */
.director-premium-frame {
    transition: all 0.4s ease;
}

.director-premium-frame img {
    transition: all 0.5s ease;
}

.director-premium-frame:hover img {
    transform: scale(1.02);
}

.experience-badge {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.experience-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.director-quote-box {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.director-quote-box .italic {
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.bg-green-light { background-color: rgba(18, 136, 7, 0.1); }
/* Teacher Section Styles */
.teacher-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.teacher-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08) !important;
}

.teacher-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.teacher-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.teacher-card:hover .teacher-img-wrap img {
    transform: scale(1.1);
}

.teacher-post {
    color: var(--saffron);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Section Styles */
.blog-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-radius: 24px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.blog-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.1);
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--saffron);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-category {
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Course Styles */
.course-modern-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-modern-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1) !important;
}

.course-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.course-modern-card:hover .course-icon-box {
    transform: rotateY(180deg);
}

.bg-saffron-light { background: rgba(255, 153, 51, 0.1); }
.bg-green-light { background: rgba(18, 136, 7, 0.1); }
.bg-navy-light { background: rgba(0, 0, 128, 0.1); }

/* Animation Overrides */
[data-aos="zoom-in"] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bento Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Bento Layout Variants */
.g-item-large { grid-column: span 2; grid-row: span 2; }
.g-item-tall { grid-row: span 2; }
.g-item-wide { grid-column: span 2; }

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .g-item-large, .g-item-wide { grid-column: span 1; }
}

/* Enhanced Contact Form */
.contact-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 40px !important;
    overflow: hidden;
}

.contact-info-sidebar {
    background: linear-gradient(135deg, var(--navy) 0%, #001a33 100%);
    position: relative;
    overflow: hidden;
}

.contact-info-sidebar-glow-1 {
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: var(--saffron);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(50px);
}

.contact-info-sidebar-glow-2 {
    position: absolute;
    bottom: -50px; left: -50px;
    width: 150px; height: 150px;
    background: var(--green);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(40px);
}

.contact-input {
    border: 2px solid #f8f9fa;
    border-radius: 15px !important;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-input:focus {
    border-color: var(--saffron);
    box-shadow: 0 10px 20px rgba(255, 153, 51, 0.1);
    background: #fff;
}

.info-item-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.info-item-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    color: #fff;
}

.social-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-circle-btn:hover {
    background: var(--saffron);
    color: #fff;
    transform: translateY(-5px);
}

/* Enhanced Footer Styles */
.footer-modern {
    background: linear-gradient(180deg, #001a33 0%, #000c1a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.footer-glow-1 {
    position: absolute;
    top: -100px; left: -100px;
    width: 300px; height: 300px;
    background: var(--saffron);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
}

.footer-glow-2 {
    position: absolute;
    bottom: -100px; right: -100px;
    width: 250px; height: 250px;
    background: var(--green);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(70px);
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--saffron);
    border-radius: 2px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-info-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saffron);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-info-item:hover .footer-info-icon {
    background: var(--saffron);
    color: #fff;
    transform: rotate(15deg);
}

.footer-news-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #fff;
}

.footer-news-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--saffron);
    box-shadow: none;
    color: #fff;
}

.bottom-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
}
