*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,sans-serif;color:#1d2b42;background:#fff;overflow-x:hidden}h1,h2,h3,h4,h5{font-family:Poppins,sans-serif;font-weight:700}p{color:#617085;line-height:1.8}.section-padding{padding:100px 0}.section-tag{font-size:.78rem;font-weight:800;letter-spacing:2px;color:#2f62c9;margin-bottom:12px}.section-intro{max-width:650px}.btn-primary-custom{background:linear-gradient(135deg,#2f62c9,#426fd0);border:0;color:#fff;border-radius:14px;padding:14px 24px;font-weight:700;box-shadow:0 12px 30px rgba(47,98,201,.22)}.btn-primary-custom:hover{color:#fff;transform:translateY(-2px)}.btn-outline-custom{border:1.5px solid #2f62c9;color:#2f62c9;border-radius:14px;padding:13px 24px;font-weight:700}.btn-outline-custom:hover{background:#2f62c9;color:#fff}#mainNav{padding:16px 0;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);transition:.3s;border-bottom:1px solid transparent}.navbar-brand{font-family:Poppins;font-size:1.5rem;color:#1d2b42}.navbar-brand span:not(.brand-icon){color:#4f7fe0}.brand-icon{display:inline-grid;place-items:center;background:linear-gradient(135deg,#4f7fe0,#6836c8);width:42px;height:42px;border-radius:14px;color:#fff;margin-right:6px}.nav-link{font-weight:600;color:#34445b!important}.nav-link:hover,.nav-link.active{color:#2f62c9!important}.hero-section{padding:150px 0 80px;min-height:760px;background:radial-gradient(circle at 75% 35%,#e9efff 0,rgba(233,239,255,.2) 24%,transparent 45%),linear-gradient(120deg,#f7f9fd,#eef3fb)}.hero-section h1{font-size:clamp(3.5rem,7vw,6.7rem);line-height:.95;letter-spacing:-3px;margin:0 0 25px}.hero-section h1 span{color:#2f62c9}.hero-text{max-width:720px;font-size:1.2rem}.hero-stats strong{font-family:Poppins;display:block;font-size:2.2rem}.hero-stats span{color:#617085}.hero-visual{height:560px;position:relative;display:grid;place-items:center;perspective:1400px}.hero-image-wrap{width:430px;height:510px;border-radius:34px;position:relative;padding:10px;background:linear-gradient(135deg,#ffffff,#dce8ff 45%,#9dbdff);z-index:2;box-shadow:0 35px 75px rgba(47,98,201,.28),-18px 22px 0 rgba(47,98,201,.10);transform:rotateY(-10deg) rotateX(3deg);transform-style:preserve-3d;transition:transform .5s ease,box-shadow .5s ease}.hero-image-wrap::before{content:"";position:absolute;inset:-14px 14px 14px -14px;border-radius:40px;background:linear-gradient(135deg,rgba(47,98,201,.32),rgba(104,54,200,.18));transform:translateZ(-45px);filter:blur(1px);z-index:-1}.hero-image-wrap::after{content:"";position:absolute;inset:18px 22px auto auto;width:34%;height:42%;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.45),rgba(255,255,255,0));pointer-events:none;transform:translateZ(28px)}.hero-image-wrap:hover{transform:rotateY(-3deg) rotateX(1deg) translateY(-8px);box-shadow:0 48px 90px rgba(47,98,201,.34),-24px 30px 0 rgba(47,98,201,.12)}.hero-image{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:25px;background:#ddd;display:block;transform:translateZ(18px)}..floating-card{position:absolute;z-index:3;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.8);backdrop-filter:blur(10px);border-radius:18px;padding:15px 20px;box-shadow:0 15px 35px rgba(30,50,80,.12);display:flex;gap:10px;align-items:center}.floating-card span{font-size:.85rem}.quality-card{left:-25px;bottom:100px}.guidance-card{right:-25px;top:70px}.about-image-box{height:520px;border-radius:30px;overflow:hidden;box-shadow:0 25px 70px rgba(29,43,66,.15)}.about-image-box img{width:100%;height:100%;object-fit:cover;object-position:center}.about-section h2,.section-padding h2{font-size:clamp(2rem,4vw,3.2rem)}.feature-list{margin-top:25px}.feature-list div{padding:10px;color:#34445b;font-weight:600}.bg-light-soft{background:#f5f7fb}.program-card{height:100%;padding:38px;border:1px solid #d8e0ed;border-top:5px solid #3f6dca;border-radius:28px;background:#fff;box-shadow:0 15px 35px rgba(30,50,80,.06);transition:.3s}.program-card:hover,.why-card:hover,.faculty-card:hover{transform:translateY(-8px);box-shadow:0 25px 50px rgba(30,50,80,.12)}.program-icon{width:76px;height:76px;display:grid;place-items:center;border-radius:22px;background:#eff4fb;font-size:2rem;margin-bottom:28px}.program-card h3{font-size:2rem}.accent-line{width:72px;height:4px;background:#2f62c9;border-radius:10px;margin:22px 0}.program-card ul{list-style:none;padding:15px 0 20px;margin:0}.program-card li{padding:8px 0;color:#34445b;font-weight:600}.program-btn{display:block;text-align:center;border:1px solid #2f62c9;border-radius:14px;padding:12px;color:#2f62c9;font-weight:700;text-decoration:none}.program-btn:hover{background:#2f62c9;color:#fff}.subjects-card{background:#1b2c48;color:#fff;border-radius:30px;padding:40px}.subjects-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:1.1rem;font-weight:600}.subjects-grid div{color:#e9edf5}.goal-card{border:1px solid #d7e0ee;border-radius:30px;padding:40px;display:flex;align-items:center;gap:25px;background:#fff}.goal-icon{font-size:3rem}.goal-card .btn{margin-left:auto;white-space:nowrap}.faculty-card{height:100%;overflow:hidden;border-radius:26px;background:#fff;border:1px solid #e0e6ef;box-shadow:0 12px 30px rgba(30,50,80,.06);transition:.3s}.faculty-image{height:310px;position:relative;background:#e9edf4;overflow:hidden}.faculty-image img{width:100%;height:100%;object-fit:cover;object-position:center top}.faculty-number{position:absolute;right:18px;top:18px;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#2f62c9;color:#fff;font-weight:800;box-shadow:0 10px 20px rgba(47,98,201,.25)}.faculty-content{padding:25px}.faculty-subject{display:inline-block;background:#eef3fb;color:#2f62c9;padding:8px 13px;border-radius:999px;font-size:.78rem;font-weight:800}.faculty-name{font-size:1.35rem;margin:17px 0 6px}.faculty-qualification{color:#617085;margin-bottom:25px}.faculty-bottom-line{height:4px;width:62px;background:#2f62c9;border-radius:10px}.why-card{height:100%;padding:32px;border:1px solid #e1e7f0;border-radius:24px;background:#fff;transition:.3s}.why-card>div{font-size:2.2rem;margin-bottom:18px}.contact-section{background:linear-gradient(120deg,#f5f8ff,#eef3fb)}.contact-detail{display:flex;align-items:flex-start;gap:15px;padding:20px 0}.contact-detail>span{font-size:1.7rem}.contact-detail small,.footer-contact small{display:block;letter-spacing:1px;font-weight:800;color:#7f8da4}.contact-detail b{display:block;font-size:1.05rem}.whatsapp-contact{display:inline-block;background:#25d366;color:#fff;text-decoration:none;padding:12px 20px;border-radius:12px;font-weight:700;margin:0 0 15px}.contact-form{background:#fff;border-radius:28px;padding:35px;box-shadow:0 20px 50px rgba(30,50,80,.09)}.form-control,.form-select{padding:14px;border-radius:12px;border:1px solid #dce4ee}.form-control:focus,.form-select:focus{box-shadow:0 0 0 .2rem rgba(47,98,201,.12);border-color:#2f62c9}footer{background:#172a46;color:#d8e1ef;padding:70px 0 0}.footer-brand{font-family:Poppins;color:#fff;text-decoration:none;font-size:1.8rem;font-weight:800}.footer-brand em{font-style:normal;color:#89adff}.footer-brand span{font-size:1.8rem}.footer-links{display:grid;gap:14px}.footer-links a{color:#c7d0df;text-decoration:none;font-weight:600}.footer-links a:hover{color:#8eb0ff}.footer-contact{display:flex;gap:14px;border:1px solid rgba(255,255,255,.12);padding:15px;border-radius:18px;margin-bottom:15px}.footer-contact b{display:block;color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding:25px 0;display:flex;justify-content:space-between;gap:20px;color:#aeb9ca}.floating-whatsapp{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;text-decoration:none;font-size:1.5rem;box-shadow:0 12px 30px rgba(0,0,0,.22);z-index:10;animation:pulse 2s infinite}.reveal{opacity:0;transform:translateY(25px);transition:.7s ease}.reveal.show{opacity:1;transform:none}@keyframes pulse{50%{transform:scale(1.08)}}@media(max-width:991px){.hero-section{padding-top:120px}.hero-visual{margin-top:20px}.hero-image-wrap{width:360px;height:430px}.goal-card{flex-wrap:wrap}.goal-card .btn{margin-left:0}.footer-bottom{flex-direction:column;text-align:center}}@media(max-width:576px){.section-padding{padding:70px 0}.hero-section h1{font-size:3.7rem;letter-spacing:-2px}.hero-visual{height:450px}.hero-image-wrap{width:290px;height:370px;border-radius:28px;transform:rotateY(-6deg) rotateX(2deg)}.floating-card{padding:10px 13px}.quality-card{left:0;bottom:30px}.guidance-card{right:0;top:20px}.about-image-box{height:400px}.subjects-grid{grid-template-columns:1fr}.goal-card{padding:28px}.contact-form{padding:22px}.footer-bottom{font-size:.9rem}.faculty-image{height:280px}}

/* ================================
   GALLERY SECTION
================================ */
.gallery-section {
    background: linear-gradient(180deg, #f8faff 0%, #eef3fc 100%);
    padding: 100px 0;
}

.gallery-section .section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #eaf1ff;
    color: #3566c8;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gallery-section .section-title {
    font-size: 42px;
    font-weight: 800;
    color: #1d2b44;
}

.gallery-section .section-title span {
    color: #3566c8;
}

.gallery-section .section-description {
    max-width: 680px;
    color: #68778c;
    font-size: 17px;
    line-height: 1.8;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 22px;
    background: #dce6f8;
    box-shadow: 0 15px 40px rgba(31, 61, 120, 0.12);
    cursor: pointer;
}

.gallery-large {
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: white;
    background: linear-gradient(to top, rgba(15, 32, 65, 0.92), rgba(15, 32, 65, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay h4 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-overlay h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.gallery-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.gallery-overlay span {
    font-size: 28px;
}

.gallery-btn {
    border: none;
    background: #3566c8;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(53, 102, 200, 0.25);
}

.gallery-btn span {
    margin-left: 8px;
    font-size: 20px;
}

.gallery-btn:hover {
    background: #244fa5;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(53, 102, 200, 0.35);
}

@media (max-width: 991px) {
    .gallery-item,
    .gallery-large {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-section {
        padding: 70px 0;
    }

    .gallery-section .section-title {
        font-size: 30px;
    }

    .gallery-section .section-description {
        font-size: 15px;
    }

    .gallery-item,
    .gallery-large {
        height: 240px;
    }
}


/* Professional circular hero portrait */
.hero-visual{height:560px;position:relative;display:grid;place-items:center;perspective:none}
.hero-image-wrap{width:480px;height:480px;padding:10px;border-radius:50%;background:linear-gradient(135deg,#2f62c9 0%,#6b45d8 52%,#8eb0ff 100%);box-shadow:0 28px 70px rgba(47,98,201,.28);transform:none;transform-style:flat;overflow:visible}
.hero-image-wrap::before{content:"";position:absolute;inset:-18px;border-radius:50%;background:linear-gradient(135deg,rgba(47,98,201,.16),rgba(104,54,200,.08));border:1px solid rgba(47,98,201,.14);transform:none;filter:none;z-index:-1}
.hero-image-wrap::after{content:"";position:absolute;inset:18px;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,255,255,0) 48%);pointer-events:none;transform:none;z-index:2}
.hero-image-wrap:hover{transform:translateY(-8px) scale(1.015);box-shadow:0 38px 85px rgba(47,98,201,.34)}
.hero-image{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center top;display:block;transform:none;border:4px solid #fff}
.floating-card,.quality-card,.guidance-card{display:none!important}
@media(max-width:991px){.hero-image-wrap{width:400px;height:400px}}
@media(max-width:576px){.hero-visual{height:410px}.hero-image-wrap{width:310px;height:310px;padding:8px}.hero-image-wrap::before{inset:-12px}.hero-image{border-width:3px}}


/* =========================================================
   WHITE + PURPLE PROFESSIONAL THEME
   Reference palette:
   White #FFFFFF | Primary Purple #7C3AED | Dark #1F2937
   ========================================================= */

:root{
    --theme-white:#FFFFFF;
    --theme-purple:#7C3AED;
    --theme-purple-dark:#6D28D9;
    --theme-purple-light:#F3EEFF;
    --theme-purple-soft:#EDE9FE;
    --theme-dark:#1F2937;
    --theme-muted:#64748B;
    --theme-border:#E5E7EB;
}

body{
    color:var(--theme-dark);
    background:var(--theme-white);
}

p{color:var(--theme-muted);}
.section-tag{color:var(--theme-purple);}

.btn-primary-custom{
    background:linear-gradient(135deg,var(--theme-purple),var(--theme-purple-dark));
    box-shadow:0 12px 30px rgba(124,58,237,.24);
}
.btn-primary-custom:hover{
    background:linear-gradient(135deg,#6D28D9,#5B21B6);
    box-shadow:0 16px 35px rgba(124,58,237,.30);
}

.btn-outline-custom{
    border-color:var(--theme-purple);
    color:var(--theme-purple);
}
.btn-outline-custom:hover{
    background:var(--theme-purple);
    border-color:var(--theme-purple);
}

#mainNav{
    background:rgba(255,255,255,.92);
}
.navbar-brand{color:var(--theme-dark);}
.navbar-brand span:not(.brand-icon){color:var(--theme-purple);}
.brand-icon{
    background:linear-gradient(135deg,#8B5CF6,#6D28D9);
}
.nav-link:hover,
.nav-link.active{color:var(--theme-purple)!important;}

.hero-section{
    background:
        radial-gradient(circle at 78% 30%,rgba(124,58,237,.16) 0,rgba(124,58,237,.06) 28%,transparent 52%),
        linear-gradient(135deg,#FFFFFF 0%,#FAF8FF 52%,#F3EEFF 100%);
}
.hero-section h1{color:var(--theme-dark);}
.hero-section h1 span{color:var(--theme-purple);}

.hero-image-wrap{
    background:linear-gradient(135deg,#7C3AED 0%,#8B5CF6 48%,#C4B5FD 100%);
    box-shadow:0 28px 70px rgba(124,58,237,.28);
}
.hero-image-wrap::before{
    background:linear-gradient(135deg,rgba(124,58,237,.16),rgba(139,92,246,.08));
    border-color:rgba(124,58,237,.16);
}

.bg-light-soft{background:#FAF8FF;}

.program-card{
    border-color:#E9E1FF;
    border-top-color:var(--theme-purple);
}
.program-card:hover,
.why-card:hover,
.faculty-card:hover{
    box-shadow:0 25px 50px rgba(124,58,237,.12);
}
.program-icon{
    background:#F3EEFF;
}
.accent-line,
.faculty-bottom-line{
    background:var(--theme-purple);
}
.program-btn{
    border-color:var(--theme-purple);
    color:var(--theme-purple);
}
.program-btn:hover{
    background:var(--theme-purple);
}

.subjects-card{
    background:var(--theme-dark);
}
.goal-card{
    border-color:#E9E1FF;
}
.goal-card .btn{
    background:linear-gradient(135deg,var(--theme-purple),var(--theme-purple-dark));
    border-color:var(--theme-purple);
}

.faculty-card{
    border-color:#E9E1FF;
}
.faculty-number{
    background:linear-gradient(135deg,var(--theme-purple),var(--theme-purple-dark));
    box-shadow:0 10px 20px rgba(124,58,237,.24);
}
.faculty-subject{
    background:#F3EEFF;
    color:var(--theme-purple);
}

.why-card{
    border-color:#E9E1FF;
}

.contact-section{
    background:linear-gradient(135deg,#FFFFFF 0%,#FAF8FF 55%,#F3EEFF 100%);
}
.form-control:focus,
.form-select:focus{
    box-shadow:0 0 0 .2rem rgba(124,58,237,.14);
    border-color:var(--theme-purple);
}

footer{
    background:#1F2937;
}
.footer-brand em{color:#C4B5FD;}
.footer-links a:hover{color:#C4B5FD;}
.footer-bottom{color:#CBD5E1;}

.floating-whatsapp{
    box-shadow:0 12px 30px rgba(124,58,237,.20);
}

/* Purple accents for Bootstrap and inline utility elements */
.text-primary{color:var(--theme-purple)!important;}
.border-primary{border-color:var(--theme-purple)!important;}


/* =========================================================
   BEAUTIFUL & READABLE WHY CHOOSE US SECTION
========================================================= */
.why-section{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#FFFFFF 0%,#FAF8FF 100%);
}
.why-section::before,
.why-section::after{
    content:"";
    position:absolute;
    width:340px;
    height:340px;
    border-radius:50%;
    pointer-events:none;
    filter:blur(8px);
}
.why-section::before{
    left:-170px;
    top:90px;
    background:rgba(124,58,237,.06);
}
.why-section::after{
    right:-170px;
    bottom:40px;
    background:rgba(124,58,237,.05);
}
.why-section .container{position:relative;z-index:1;}
.why-heading{max-width:780px;margin:0 auto 55px;}
.why-heading .section-tag{
    display:inline-flex;
    align-items:center;
    padding:9px 18px;
    border-radius:999px;
    background:#F3EEFF;
    color:#7C3AED;
    letter-spacing:2px;
}
.why-heading h2{margin:14px 0 16px;color:#1F2937;}
.why-heading h2 span{color:#7C3AED;}
.why-heading p{max-width:680px;margin:0 auto;font-size:1.05rem;line-height:1.85;}

.why-card{
    position:relative;
    height:100%;
    min-height:285px;
    padding:30px;
    border:1px solid #E8E1FA;
    border-radius:24px;
    background:#FFFFFF;
    box-shadow:0 14px 35px rgba(31,41,55,.055);
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
    overflow:hidden;
}
.why-card::before{
    content:"";
    position:absolute;
    width:130px;
    height:130px;
    border-radius:50%;
    right:-55px;
    top:-55px;
    background:linear-gradient(135deg,rgba(124,58,237,.13),rgba(139,92,246,.025));
    transition:transform .4s ease;
}
.why-card:hover{
    transform:translateY(-9px);
    border-color:#C4B5FD;
    box-shadow:0 24px 55px rgba(124,58,237,.15);
}
.why-card:hover::before{transform:scale(1.35);}
.why-card-top{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:24px;
}
.why-icon{
    width:66px;
    height:66px;
    display:grid;
    place-items:center;
    border-radius:20px;
    background:linear-gradient(135deg,#F3EEFF,#EDE9FE);
    border:1px solid #DDD0FE;
    font-size:2rem;
    box-shadow:0 10px 25px rgba(124,58,237,.09);
}
.why-number{
    font-family:Poppins,sans-serif;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:1.5px;
    color:#7C3AED;
    background:#F7F4FF;
    padding:8px 11px;
    border-radius:10px;
}
.why-card h4{
    position:relative;
    z-index:1;
    margin:0 0 12px;
    color:#1F2937;
    font-size:1.28rem;
}
.why-card p{
    position:relative;
    z-index:1;
    margin:0;
    color:#64748B;
    font-size:.98rem;
    line-height:1.8;
}
.why-card-line{
    position:absolute;
    left:30px;
    bottom:25px;
    width:54px;
    height:4px;
    border-radius:10px;
    background:linear-gradient(90deg,#7C3AED,#A78BFA);
}
@media(max-width:576px){
    .why-heading{margin-bottom:38px;}
    .why-card{min-height:260px;padding:25px;}
    .why-card-line{left:25px;bottom:20px;}
}


/* =========================================================
   HERO IMAGE PROFESSIONAL POSITION UPDATE
   Moves the circular image upward and improves alignment
   ========================================================= */

.hero-visual,
.hero-image-container,
.hero-right,
.hero-image-column {
    position: relative;
}

/* Desktop: lift the hero image for a balanced composition */
@media (min-width: 992px) {
    .hero-image-wrap {
        transform: translateY(-38px);
        margin-bottom: -38px;
    }

    .hero-visual {
        transform: translateY(-12px);
    }
}

/* Keep existing hover/animation effects smooth */
@media (min-width: 992px) {
    .hero-image-wrap:hover {
        transform: translateY(-44px) scale(1.015);
    }
}

/* Tablet alignment */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-image-wrap {
        transform: translateY(-18px);
        margin-bottom: -18px;
    }
}

/* Mobile: keep image naturally positioned without excessive upward shift */
@media (max-width: 767.98px) {
    .hero-image-wrap {
        transform: translateY(-6px);
        margin-bottom: 0;
    }
}

/* =========================================================
   EVENT GALLERY CAROUSEL — IMAGE & VIDEO CARDS
   ========================================================= */
.gallery-section{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(124,58,237,.12), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(139,92,246,.10), transparent 26%),
        linear-gradient(180deg,#fff 0%,#faf8ff 100%);
}
.gallery-section::before{
    content:"";
    position:absolute;
    width:340px;height:340px;
    border-radius:50%;
    right:-150px;top:20%;
    background:rgba(124,58,237,.06);
    filter:blur(4px);
}
.gallery-section .section-tag{
    background:var(--theme-purple-soft);
    color:var(--theme-purple);
    border:1px solid rgba(124,58,237,.12);
}
.gallery-section .section-title{color:var(--theme-dark);}
.gallery-section .section-title span{color:var(--theme-purple);}
.gallery-section .section-description{color:var(--theme-muted);max-width:720px;}

.gallery-carousel{
    position:relative;
    padding:0 58px 46px;
}
.gallery-carousel .carousel-item{
    padding:8px 2px 16px;
}
.gallery-card{
    height:100%;
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(124,58,237,.12);
    border-radius:24px;
    box-shadow:0 16px 45px rgba(31,41,55,.08);
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.gallery-card:hover{
    transform:translateY(-9px);
    border-color:rgba(124,58,237,.35);
    box-shadow:0 26px 60px rgba(124,58,237,.16);
}
.gallery-media{
    position:relative;
    height:310px;
    overflow:hidden;
    background:#eee;
}
.gallery-media img,
.gallery-media video{
    width:100%;height:100%;display:block;object-fit:cover;
    transition:transform .65s cubic-bezier(.2,.8,.2,1);
}
.gallery-card:hover .gallery-media img{transform:scale(1.08);}
.gallery-shine{
    position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(125deg,rgba(255,255,255,.28),transparent 32%,transparent 70%,rgba(124,58,237,.10));
    opacity:.7;
}
.gallery-card-body{
    min-height:118px;
    padding:20px 22px 22px;
    display:flex;
    align-items:flex-start;
    gap:14px;
}
.gallery-icon{
    flex:0 0 44px;width:44px;height:44px;
    display:grid;place-items:center;
    border-radius:14px;
    background:linear-gradient(135deg,#8B5CF6,#6D28D9);
    color:#fff;font-size:1.2rem;
    box-shadow:0 10px 20px rgba(124,58,237,.22);
}
.gallery-card-body h4{
    margin:0 0 5px;
    font-size:1.05rem;
    color:var(--theme-dark);
}
.gallery-card-body p{
    margin:0;
    font-size:.9rem;
    line-height:1.55;
    color:var(--theme-muted);
}
.video-media{background:#14101d;}
.video-media video{background:#14101d;}
.video-label{
    position:absolute;
    left:16px;bottom:16px;
    display:inline-flex;align-items:center;gap:9px;
    padding:10px 14px;
    color:#fff;
    background:rgba(31,41,55,.78);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    font-size:.84rem;
    font-weight:700;
    pointer-events:none;
}
.video-label span{font-size:.8rem;}
.gallery-control{
    width:48px;height:48px;
    top:50%;bottom:auto;
    transform:translateY(-50%);
    opacity:1;
    border-radius:50%;
    background:var(--theme-purple);
    box-shadow:0 12px 25px rgba(124,58,237,.22);
}
.gallery-control.carousel-control-prev{left:0;}
.gallery-control.carousel-control-next{right:0;}
.gallery-control:hover{background:var(--theme-purple-dark);}
.gallery-control .carousel-control-prev-icon,
.gallery-control .carousel-control-next-icon{width:1.1rem;height:1.1rem;}
.gallery-carousel .carousel-indicators{
    bottom:0;
    margin-bottom:0;
}
.gallery-carousel .carousel-indicators [data-bs-target]{
    width:10px;height:10px;border:0;border-radius:50%;
    background:rgba(124,58,237,.3);
    opacity:1;
    margin:0 5px;
}
.gallery-carousel .carousel-indicators .active{
    width:28px;border-radius:999px;
    background:var(--theme-purple);
}

@media(max-width:991px){
    .gallery-carousel{padding-left:50px;padding-right:50px;}
    .gallery-media{height:280px;}
}
@media(max-width:767px){
    .gallery-carousel{padding-left:0;padding-right:0;padding-bottom:42px;}
    .gallery-control{display:none;}
    .gallery-carousel .carousel-item{padding-bottom:10px;}
    .gallery-media{height:270px;}
}
@media(max-width:576px){
    .gallery-media{height:245px;}
    .gallery-card-body{min-height:auto;padding:18px;}
    .gallery-section .section-title{font-size:2rem;}
}


/* ================= REVOLUTION LIBRARY ================= */
.library-section{background:linear-gradient(135deg,#f8f7ff 0%,#fff 50%,#f4f0ff 100%);overflow:hidden;}
.library-title{font-family:Poppins,sans-serif;font-size:2.65rem;line-height:1.2;color:#14213d;font-weight:800;}
.library-title span{color:var(--theme-purple);}
.library-lead{max-width:760px;font-size:1.05rem;line-height:1.8;color:#596174;margin:18px auto 0;}
.library-focus-banner{display:flex;align-items:center;gap:18px;background:#14213d;color:#fff;border-radius:22px;padding:22px 26px;margin-bottom:22px;box-shadow:0 18px 40px rgba(20,33,61,.16);}
.library-focus-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.1);font-size:1.8rem;}
.library-focus-banner strong{font-size:1.35rem;letter-spacing:.08em;}.library-focus-banner strong span{color:#f5b400;margin:0 7px;}.library-focus-banner p{margin:4px 0 0;color:#d9ddea;}
.library-discipline{margin-left:auto;text-align:right;font-weight:800;line-height:1.4;letter-spacing:.04em;}.library-discipline b{display:block;color:#f5b400;}
.library-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.library-feature-grid-large{grid-template-columns:repeat(3,minmax(0,1fr));}
.library-feature{display:flex;gap:13px;padding:18px;border:1px solid rgba(124,58,237,.12);background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(31,41,55,.05);transition:transform .25s ease,box-shadow .25s ease;}
.library-feature:hover{transform:translateY(-5px);box-shadow:0 16px 30px rgba(124,58,237,.13);}
.library-feature-icon{width:46px;height:46px;min-width:46px;border-radius:14px;display:grid;place-items:center;background:rgba(124,58,237,.10);font-size:1.25rem;}
.library-feature h5{font-size:1rem;margin:1px 0 5px;color:#17213a;font-weight:700;}.library-feature p{font-size:.84rem;line-height:1.5;color:#687083;margin:0;}
.library-panel{height:100%;padding:28px;border-radius:22px;background:#fff;border:1px solid rgba(124,58,237,.12);box-shadow:0 12px 30px rgba(31,41,55,.06);}.library-panel h3{font-weight:800;color:#14213d;margin-bottom:18px;}
.why-choose-library ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;}.why-choose-library li{position:relative;padding-left:28px;color:#4d5568;font-weight:600;}.why-choose-library li:before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f5b400;color:#14213d;font-size:.75rem;font-weight:900;}
.perfect-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;}.perfect-list>div{padding:14px;border-radius:15px;background:#f8f7ff;}.perfect-list span{font-size:1.2rem;margin-right:8px;}.perfect-list b{color:#17213a;}.perfect-list p{font-size:.82rem;color:#687083;margin:7px 0 0;line-height:1.45;}
.library-bottom-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px;}.library-bottom-item{display:flex;align-items:center;gap:13px;padding:18px;border-radius:18px;background:#fff;border:1px solid rgba(20,33,61,.08);}.library-bottom-item>span{font-size:1.6rem;}.library-bottom-item small{display:block;color:var(--theme-purple);font-weight:800;letter-spacing:.05em;}.library-bottom-item b{display:block;color:#14213d;margin-top:2px;}.library-bottom-item p{margin:2px 0 0;color:#687083;font-size:.86rem;}
@media(max-width:991px){.library-title{font-size:2.25rem;}.library-feature-grid-large{grid-template-columns:repeat(2,minmax(0,1fr));}.library-focus-banner{align-items:flex-start;}.library-bottom-row{grid-template-columns:1fr;}}
@media(max-width:575px){.library-title{font-size:1.9rem;}.library-feature-grid,.library-feature-grid-large,.why-choose-library ul,.perfect-list{grid-template-columns:1fr;}.library-focus-banner{flex-direction:column;padding:20px;}.library-discipline{margin-left:0;text-align:left;}.library-feature{padding:15px;}.library-panel{padding:22px;}}

/* =========================================================
   RESPONSIVE MOBILE + TABLET OPTIMIZATION
   ========================================================= */
html{
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}
section[id]{scroll-margin-top:96px;}
img,video{max-width:100%;}

/* Fixed navigation: clean layout on tablet and mobile */
.navbar-toggler{
  padding:.45rem .6rem;
  border-radius:12px;
  background:#f3eeff;
}
.navbar-collapse{
  transition:all .25s ease;
}

/* Tablet layout */
@media (max-width:991.98px){
  #mainNav{padding:10px 0;}
  .navbar-brand{font-size:1.25rem;white-space:nowrap;}
  .brand-icon{width:38px;height:38px;border-radius:12px;}
  #navbarMenu{
    margin-top:12px;
    padding:14px;
    background:rgba(255,255,255,.98);
    border:1px solid #e9e1ff;
    border-radius:18px;
    box-shadow:0 18px 45px rgba(31,41,55,.10);
  }
  .navbar-nav{gap:2px!important;}
  .navbar-nav .nav-link{
    padding:11px 12px;
    border-radius:10px;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active{background:#f3eeff;}
  #navbarMenu>.btn{width:100%;margin-top:10px;}

  .section-padding{padding:82px 0;}
  .hero-section{min-height:auto;padding:130px 0 70px;}
  .hero-section .row{row-gap:20px!important;}
  .hero-text{font-size:1.05rem;}
  .hero-stats{margin-top:32px!important;}
  .hero-stats strong{font-size:1.8rem;}
  .hero-visual{height:460px;margin-top:0;}

  .about-image-box{height:440px;}
  .program-card{padding:30px;}
  .goal-card{padding:30px;}
  .contact-form{padding:30px;}
  .gallery-section{padding:82px 0;}
}

/* Mobile layout */
@media (max-width:767.98px){
  html{scroll-padding-top:78px;}
  section[id]{scroll-margin-top:78px;}
  body{font-size:15px;}
  .container{padding-left:18px;padding-right:18px;}
  .section-padding,.gallery-section{padding:64px 0;}
  .section-tag{font-size:.68rem;letter-spacing:1.5px;margin-bottom:9px;}
  .section-intro{font-size:.95rem;}
  p{line-height:1.7;}

  .navbar-brand{font-size:1.05rem;}
  .brand-icon{width:34px;height:34px;font-size:1rem;margin-right:3px;}
  .navbar-toggler{padding:.35rem .5rem;}

  .hero-section{padding:105px 0 55px;}
  .hero-section .row{text-align:center;}
  .hero-section h1{font-size:clamp(2.75rem,13vw,4.15rem);line-height:1;letter-spacing:-1.8px;margin-bottom:18px;}
  .hero-text{font-size:1rem;margin-left:auto;margin-right:auto;}
  .hero-section .d-flex{justify-content:center;}
  .hero-section .btn{flex:1 1 170px;max-width:240px;}
  .hero-stats{max-width:500px;margin-left:auto;margin-right:auto;}
  .hero-stats strong{font-size:1.5rem;}
  .hero-stats span{font-size:.8rem;}
  .hero-visual{height:360px;}
  .hero-image-wrap{width:min(78vw,330px);height:min(78vw,330px);}

  .about-section .row{text-align:left;}
  .about-image-box{height:330px;border-radius:22px;}
  .about-section h2,.section-padding h2{font-size:clamp(1.8rem,8vw,2.35rem);line-height:1.25;}
  .feature-list div{padding:8px 10px;}

  .program-card{padding:25px 22px;border-radius:22px;}
  .program-card h3{font-size:1.55rem;}
  .program-icon{width:64px;height:64px;margin-bottom:18px;border-radius:18px;}
  .subjects-card,.goal-card{padding:25px 22px;border-radius:22px;}
  .subjects-grid{gap:13px;font-size:.98rem;}
  .goal-card{display:block;}
  .goal-icon{margin-bottom:14px;}
  .goal-card .btn{width:100%;margin-top:10px;}

  .faculty-image{height:330px;}
  .faculty-content{padding:20px;}
  .faculty-number{width:48px;height:48px;right:14px;top:14px;}

  .gallery-section .section-title{font-size:clamp(1.8rem,8vw,2.3rem);}
  .gallery-media{height:230px;}
  .gallery-card{border-radius:20px;}
  .gallery-card-body{padding:16px;}

  .library-title{font-size:clamp(1.8rem,8vw,2.3rem);}
  .library-lead{font-size:.95rem;}
  .library-focus-banner{border-radius:18px;gap:14px;}
  .library-focus-banner strong{font-size:1.05rem;letter-spacing:.04em;}
  .library-focus-banner strong span{margin:0 3px;}
  .library-discipline{font-size:.9rem;}
  .library-feature-grid-large{gap:12px;}
  .library-feature{align-items:flex-start;}
  .library-bottom-row{gap:12px;}

  .contact-detail{padding:14px 0;}
  .contact-form{padding:22px 18px;border-radius:20px;}
  .form-control,.form-select{padding:13px;}
  .contact-form .btn{width:100%;}

  footer{padding-top:55px;}
  .footer-contact{padding:13px;}
  .footer-bottom{margin-top:28px;padding:20px 0;}
  .floating-whatsapp{width:52px;height:52px;right:16px;bottom:16px;font-size:1.35rem;}
}

/* Extra-small phones */
@media (max-width:420px){
  .container{padding-left:15px;padding-right:15px;}
  .navbar-brand{font-size:.95rem;}
  .hero-section h1{font-size:2.7rem;}
  .hero-section .btn{flex-basis:100%;max-width:none;}
  .hero-stats strong{font-size:1.3rem;}
  .hero-image-wrap{width:290px;height:290px;}
  .hero-visual{height:325px;}
  .about-image-box{height:300px;}
  .faculty-image{height:300px;}
}


/* Faculty cards: show only photo, name and qualification */
#faculty .faculty-subject,
#faculty .faculty-category,
#faculty .faculty-tag,
#faculty .faculty-role {
    display: none !important;
}

/* Hero director profile */
.hero-director-info{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:-92px;
  transform:translateX(-50%);
  width:min(390px,92%);
  text-align:center;
  padding:16px 22px;
  border-radius:20px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(47,98,201,.16);
  box-shadow:0 18px 45px rgba(29,43,66,.16);
  backdrop-filter:blur(12px);
}
.hero-director-info .director-label{
  display:inline-block;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:1.8px;
  color:#2f62c9;
  margin-bottom:3px;
}
.hero-director-info h3{font-size:1.25rem;margin:2px 0;color:#1d2b42;}
.hero-director-info p{font-size:.86rem;line-height:1.35;margin:0 0 8px;color:#617085;}
.director-phone{display:inline-block;text-decoration:none;color:#2f62c9;font-weight:800;font-size:.9rem;}
@media(max-width:991px){
  .hero-visual{margin-bottom:90px;}
}
@media(max-width:576px){
  .hero-visual{margin-bottom:78px;}
  .hero-director-info{bottom:-82px;padding:13px 16px;border-radius:16px;}
  .hero-director-info h3{font-size:1.1rem;}
}

/* Instagram icon in footer */
.footer-instagram{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-top:8px;border-radius:50%;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;font-size:1.35rem;transition:transform .25s ease,background .25s ease,border-color .25s ease}.footer-instagram:hover{color:#fff;background:#E1306C;border-color:#E1306C;transform:translateY(-3px)}

/* Faculty cards: disable hover animation/effects */
.faculty-card,
.faculty-card:hover {
    transform: none !important;
    box-shadow: 0 12px 30px rgba(30,50,80,.06) !important;
}


/* ===== Premium Enquiry Form Upgrade ===== */
.contact-form{
  position:relative;
  overflow:hidden;
  padding:38px;
  border-radius:26px;
  background:linear-gradient(145deg,#ffffff 0%,#f5f8ff 100%);
  border:1px solid rgba(32,74,135,.12);
  box-shadow:0 20px 55px rgba(20,48,90,.13);
}
.contact-form::before{
  content:"";
  position:absolute;
  width:240px;height:240px;
  border-radius:50%;
  right:-100px;top:-110px;
  background:radial-gradient(circle,rgba(255,193,7,.22),rgba(255,193,7,0));
  pointer-events:none;
}
.enquiry-form-title{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}
.enquiry-form-title .enquiry-icon{
  width:52px;height:52px;border-radius:16px;
  display:grid;place-items:center;
  font-size:23px;
  background:linear-gradient(135deg,#0d6efd,#173b72);
  box-shadow:0 10px 22px rgba(13,110,253,.25);
}
.enquiry-form-title h3{margin:0;font-size:1.45rem;font-weight:800;color:#18345f;}
.enquiry-form-title p{margin:3px 0 0;color:#6b778c;font-size:.92rem;}
.enquiry-field{position:relative;z-index:1;}
.enquiry-label{
  display:block;
  margin:0 0 8px 2px;
  font-size:.78rem;
  letter-spacing:.06em;
  font-weight:700;
  color:#344766;
  text-transform:uppercase;
}
.enquiry-field .input-wrap{position:relative;}
.enquiry-field .field-icon{
  position:absolute;
  left:15px;top:50%;
  transform:translateY(-50%);
  font-size:1rem;opacity:.75;pointer-events:none;
}
.enquiry-field textarea + .field-icon{top:22px;transform:none;}
.contact-form .form-control,.contact-form .form-select{
  min-height:54px;
  border:1.5px solid #dce4f0;
  border-radius:14px;
  background:#fff;
  padding:0 16px 0 46px;
  color:#233754;
  box-shadow:none;
  transition:.25s ease;
}
.contact-form textarea.form-control{
  min-height:125px;
  padding-top:15px;
}
.contact-form .form-select{padding-left:16px;}
.contact-form .form-control::placeholder{color:#9aa8bc;}
.contact-form .form-control:focus,.contact-form .form-select:focus{
  border-color:#1d70d6;
  box-shadow:0 0 0 4px rgba(29,112,214,.10);
  transform:translateY(-1px);
}
.enquiry-submit{
  position:relative;
  z-index:1;
  min-height:56px;
  border:none!important;
  border-radius:15px!important;
  font-size:1rem;
  font-weight:800!important;
  letter-spacing:.02em;
  background:linear-gradient(135deg,#0b5ed7,#173b72)!important;
  box-shadow:0 12px 24px rgba(13,94,215,.24);
  transition:.25s ease!important;
}
.enquiry-submit:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(13,94,215,.32);}
.enquiry-note{
  position:relative;z-index:1;
  margin:18px 0 0;
  text-align:center;
  color:#7b8798;
  font-size:.82rem;
}
@media(max-width:575.98px){
  .contact-form{padding:25px 18px;border-radius:20px;}
  .enquiry-form-title h3{font-size:1.22rem;}
  .enquiry-form-title .enquiry-icon{width:46px;height:46px;}
}
