/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    margin:0;
    padding:0;
    color:#111;
    overflow-x:hidden;
}

/* VARIABLES */

:root{
    --primary-red:#c1121f;
    --dark-red:#9b0f1a;
    --light-bg:#f7f7f7;
    --text-dark:#111111;
    --text-light:#666;
    --white:#ffffff;
}

/* GLOBAL */

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:0px 0;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}
/* =========================
   NAVBAR
========================= */

.navbar{
    width:100%;
    padding:10px 0;
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    min-height:52px;
}

.logo h2{
    color:var(--primary-red);
    font-size:28px;
    font-weight:700;
}

.logo{
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.nav-container nav{
    flex:1 1 auto;
    min-width:0;
}

.nav-links{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:clamp(22px,3vw,40px);
    flex-wrap:nowrap;
}

.nav-links a{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    color:var(--text-dark);
    font-weight:500;
    line-height:1;
    white-space:nowrap;
    transition:0.3s;
}

.nav-links a:hover{
    color:var(--primary-red);
}

.apply-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--primary-red);
    color:#fff;
    min-height:46px;
    padding:12px 24px;
    border:0;
    border-radius:10px;
    font:inherit;
    line-height:1;
    font-weight:600;
    white-space:nowrap;
    cursor:pointer;
    transition:0.3s;
    flex:0 0 auto;
}

.apply-btn:hover{
    background:var(--dark-red);
}
.logo img{
    width:clamp(160px,15vw,200px);
    max-height:54px;
    height:auto;
    object-fit:contain;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    padding:25px 0 0;
    background:#f7f7f7;
    overflow:hidden;
}
.hero-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:575px;
}

/* LEFT CONTENT */

.hero-content{
    flex:1;
    max-width:520px;
}

.hero-content h1{
    font-size:42px;
    line-height:1.25;
    margin-bottom:12px;
    color:var(--text-dark);
    font-weight:800;
    letter-spacing:-2px;
    max-width:500px;
}

.hero-content h2{
    font-size:28px;
    color:var(--primary-red);
    margin-bottom:15px;
    font-weight:700;
}

.hero-content p{
    font-size:16px;
    color:var(--text-light);
    line-height:1.7;
    max-width:480px;
    margin-bottom:25px;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:40px;
}

.primary-btn{
    background:var(--primary-red);
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.primary-btn:hover{
    background:var(--dark-red);
}

.secondary-btn{
    border:2px solid var(--primary-red);
    color:var(--primary-red);
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.secondary-btn:hover{
    background:var(--primary-red);
    color:#fff;
}

/* RIGHT SIDE */

.hero-image{
    flex:1;
    position:relative;
    height:360px;

    display:flex;
    justify-content:center;
    align-items:center;
}

/* RED CIRCLE */

.circle-bg{
    position:absolute;
    width:430px;
height:430px;

    background:linear-gradient(
        135deg,
        #d22630,
        #b4141f
    );

    border-radius:50%;

    bottom:0;
right:34px;

    z-index:1;
    box-shadow:
    0 32px 80px rgba(194,19,31,0.14);
}
.circle-bg::before{
    content:"";

    position:absolute;

   width:calc(100% + 78px);
height:calc(100% + 78px);

    border:3px dashed rgba(193,18,31,0.4);

    border-radius:50%;

    top:-39px;
    left:-39px;
    animation:heroCircleRotate 44s linear infinite;
}

/* STUDENT IMAGE */

.hero-student-stage{
    position:absolute;
    width:450px;
    height:570px;
    right:38px;
    bottom:-16px;
    z-index:2;
    pointer-events:none;
    overflow:visible;
}

.hero-student-stage img{
    --student-y:0px;
    --student-scale:1;
    --student-rest-scale:0.975;
    --student-leave-scale:1.025;
    position:absolute;
    left:50%;
    right:auto;
    bottom:0;

    width:auto;
    height:100%;
    max-width:100%;

    object-fit:contain;
    object-position:center bottom;

    z-index:2;
    opacity:0;
    filter:drop-shadow(0 26px 30px rgba(0,0,0,0.15));
    transform:translateX(-50%) translateY(calc(var(--student-y) + 18px)) scale(var(--student-rest-scale));
    transform-origin:center bottom;
    transition:
    opacity 0.65s cubic-bezier(0.22,1,0.36,1),
    transform 0.65s cubic-bezier(0.22,1,0.36,1),
    filter 0.65s cubic-bezier(0.22,1,0.36,1);
}

.hero-student-stage img.is-active{
    opacity:1;
    filter:drop-shadow(0 28px 32px rgba(0,0,0,0.18));
    transform:translateX(-50%) translateY(var(--student-y)) scale(var(--student-scale));
    z-index:3;
}

.hero-student-stage img.is-leaving{
    opacity:0;
    filter:drop-shadow(0 20px 24px rgba(0,0,0,0.11)) blur(3px);
    transform:translateX(-50%) translateY(calc(var(--student-y) - 16px)) scale(var(--student-leave-scale));
    z-index:4;
}

.hero-student-stage img:nth-child(2){
    --student-y:-38px;
    --student-scale:1.04;
    --student-rest-scale:1;
    --student-leave-scale:1.065;
}

.hero-student-stage img:nth-child(4){
    --student-y:-14px;
    --student-scale:1.03;
    --student-rest-scale:0.995;
    --student-leave-scale:1.055;
}

/* FLOATING CARDS */

.floating-card{
    position:absolute;

    background:#fff;

    padding:12px 18px;

    border-radius:16px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    font-weight:600;
    font-size:14px;

    z-index:3;

    backdrop-filter:blur(10px);
}

/* FLOATING CARDS */

.floating-card{
    position:absolute;

    display:flex;
    align-items:center;
    gap:12px;

    background:rgba(255,255,255,0.95);

    padding:14px 18px;

    border-radius:18px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    backdrop-filter:blur(10px);

    z-index:3;

    min-width:220px;
}

/* ICON */

.card-icon{
    width:42px;
    height:42px;

    background:#fff5f5;

    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--primary-red);

    font-size:18px;

    flex-shrink:0;
}

/* TEXT */

.card-content h4{
    font-size:15px;
    font-weight:500;
    color:var(--text-dark);
    margin-bottom:3px;
    text-align:left;
}

.card-content p{
    font-size:15px;
    font-weight:700;
    color:var(--text-dark);
    margin:0;
    text-align:left;
}
/* CARD POSITIONS */

.card1{
    top:90px;
    right:-60px;
}

.card2{
    left:15px;
    top:240px;
}

.card3{
    right:-90px;
    bottom:80px;
}
/* =========================
   HERO SOCIAL
========================= */

.hero-social{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:20px;
}

.hero-social h4{
    font-size:18px;
    color:var(--text-dark);
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:42px;
height:42px;
    background:#fff;
    border:2px solid var(--primary-red);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary-red);
    font-size:20px;
    transition:0.3s;
}

.social-icons a:hover{
    background:var(--primary-red);
    color:#fff;
    transform:translateY(-5px);
}
/* =========================
   STATS SECTION
========================= */

.stats{
    background:linear-gradient(
        135deg,
        #d90429,
        #9d0208
    );

    padding:22px 0;
}

/* CONTAINER */

.stats-container{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;
}

/* BOX */

.stat-box{
    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    color:#fff;

    position:relative;
}

/* RIGHT BORDER */

.stat-box::after{
    content:"";

    position:absolute;

    right:-10px;

    width:1px;
    height:45px;

    background:rgba(255,255,255,0.3);
}

/* REMOVE LAST BORDER */

.stat-box:last-child::after{
    display:none;
}

/* ICON */

.stat-box i{
    font-size:26px;
}

/* NUMBER */

.stat-box h3{
    font-size:26px;
    font-weight:700;
    margin-bottom:3px;
}

/* TEXT */

.stat-box p{
    font-size:13px;
    opacity:0.9;
}
.hero-image{
    height:460px;
}
/* FLOATING ANIMATION */

@keyframes floatCard{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* APPLY ANIMATION */

.card1{
    animation:floatCard 4s ease-in-out infinite;
}

.card2{
    animation:floatCard 5s ease-in-out infinite;
}

.card3{
    animation:floatCard 4.5s ease-in-out infinite;
}

/* =========================
   ABOUT SECTION
========================= */

.about{
    padding:100px 0;
    background:#fff;
}

/* CONTAINER */

.about-container{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;
}

/* LEFT IMAGE */

.about-image{
    position:relative;
}

.about-image img{
    width:100%;

    border-radius:24px;

    object-fit:cover;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.08);
}

/* EXPERIENCE CARD */

.experience-card{
    position:absolute;

    bottom:-18px;
    left:-18px;

    width:150px;

    padding:22px 16px;

    border-radius:28px;

    text-align:center;

    z-index:20;

    background:
    rgba(255,255,255,0.22);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:
    1px solid rgba(255,255,255,0.35);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.16),
    0 8px 18px rgba(0,0,0,0.08),
    inset 0 1px 1px rgba(255,255,255,0.4);
 
    animation:glassFloat 4s ease-in-out infinite;rflow:hidden;

    transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

@keyframes glassFloat {

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-14px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* OPTIONAL PREMIUM GLOW */

.experience-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,0.28),
        rgba(255,255,255,0.02)
    );

    pointer-events:none;

}

.experience-card:hover{
    transform:
    translateY(-10px);

    box-shadow:
    0 35px 65px rgba(0,0,0,0.22),
    0 18px 35px rgba(0,0,0,0.12),
    inset 0 1px 1px rgba(255,255,255,0.5);
}

.experience-card i{
    width:58px;
    height:58px;

    margin:auto auto 14px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
    rgb(255, 255, 255);

    backdrop-filter:blur(10px);

    color:var(--primary-red);

    font-size:28px;

    box-shadow:
    0 6px 14px rgba(193,18,31,0.15);
}

.experience-card h3{
    font-size:36px;

    font-weight:800;

    line-height:1;

    color:#111;

    margin-bottom:10px;

    letter-spacing:-1px;
}

.experience-card p{
    font-size:14px;

    line-height:1.6;

    color:rgba(0,0,0,0.68);

    font-weight:500;
}

/* RIGHT CONTENT */

.about-content{
    max-width:600px;
}

/* TAG */

.section-tag{
    color:var(--primary-red);

    font-size:14px;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:18px;

    display:inline-block;
}

/* HEADING */

.about-content h2{
    font-size:36px;

    line-height:1.2;

    margin-bottom:25px;

    color:var(--text-dark);

    font-weight:800;
}

/* PARAGRAPH */

.about-content p{
    font-size:16px;

    line-height:1.9;

    color:var(--text-light);

    margin-bottom:35px;
}

/* FEATURES */

.about-features{
    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin-bottom:40px;
}

/* FEATURE ITEM */

.feature-item{
    display:flex;

    align-items:center;

    gap:12px;

    flex:1;

    min-width:0;
}

.feature-item i{
    width:48px;
    height:48px;

    background:#fff5f5;

    color:var(--primary-red);

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;
}

.feature-item span{
    font-weight:600;

    color:var(--text-dark);

    font-size:17px;

    line-height:1.4;
}

/* BUTTON */

.about-btn{
    display:inline-flex;

    align-items:center;

    gap:18px;

    background:var(--primary-red);

    color:#fff;

    padding:16px 30px;

    border-radius:14px;

    font-weight:600;

    transition:0.3s;

    flex-wrap:wrap;
}

.about-btn:hover{
    background:var(--dark-red);

    transform:translateY(-4px);
}

/* PRINCIPAL BUTTON */

.principal-btn{
    display:inline-flex;

    align-items:center;

    gap:12px;

    background:#fff;

    color:var(--primary-red);

    padding:16px 28px;

    border-radius:14px;

    font-weight:600;

    border:2px solid var(--primary-red);

    transition:0.3s;
}

.about-buttons{
    display:flex;

    align-items:center;

    gap:25px;

    margin-top:10px;

    flex-wrap:wrap;
}


.principal-btn:hover{
    background:var(--primary-red);

    color:#fff;

    transform:translateY(-4px);
}

/* =========================
   PROGRAM SECTION
========================= */

.programs{
    padding:0px 6% 80px;
    margin-top:0;
    background:#fff;
}

/* SECTION HEADER */

.section-header{
    text-align:center;

    max-width:760px;

    margin:0 auto 45px;
}

.section-header h2{
    font-size:48px;

    font-weight:750;

    margin:12px 0 18px;

    color:#111;

    line-height:1.1;

    letter-spacing:-3px;
}

.section-header h2 span{
    color:var(--primary-red);
}

.section-header p{
    font-size:18px;

    color:#666;

    line-height:1.8;

    max-width:780px;

    margin:auto;
}

/* PROGRAM CARDS */

.program-cards{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px;
}

/* CARD */

.program-card{
    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    min-height:610px;

    box-shadow:
    0 8px 25px rgba(0,0,0,0.06);

    transition:0.4s ease;
}

.program-card:hover{
    transform:translateY(-8px);
}

/* NUMBER */

.program-number{
    position:absolute;

    top:0;
    left:0;

    width:92px;
    height:74px;

    background:var(--primary-red);

    color:#fff;

    font-size:34px;

    font-weight:800;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:
    0
    0
    40px
    0;

    z-index:20;
}

/* CONTENT */
.program-content{
    position:relative;

    z-index:5;

    width:52%;

    padding-top:175px;
    padding-right:20px;
    padding-bottom:35px;
    padding-left:52px;

    display:flex;

    flex-direction:column;

    height:100%;
}

/* ICON */

.program-icon{
    position:absolute;

    top:85px;
    bottom: 85px;
    left:48px;

    width:72px;
    height:72px;

    border-radius:50%;

    background:#fff5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary-red);

    font-size:30px;

    z-index:20;
}

.program-icon i{
    font-size:34px;

    color:var(--primary-red);
}

/* TITLE */

.program-content h3{
    display:flex;

    flex-direction:column;

    gap:6px;

    font-size:22px;

    line-height:1.1;

    font-weight:800;

    color:var(--primary-red);
    margin-top:-8px;
    margin-bottom:18px;
}

.program-content h3 span{
    font-size:30px;

    color:#000;

    font-weight:800;

    line-height:1;
}

.program-content .plus{
    display:block;

    font-size:30px;

    font-weight:800;

    color:#000;

    margin-bottom:4px;
}

/* TEXT */

.program-content p{
    font-size:14px;

    line-height:1.9;

    color:#444;

    margin-bottom:22px;

    max-width:270px;
}

/* LIST */

.program-content ul{
    margin-bottom:28px;
}


.program-content ul li{
    position:relative;

    padding-left:22px;

    margin-bottom:12px;

    font-size:13px;

    color:#333;
}

.program-content ul li::before{
    content:"●";

    position:absolute;

    left:0;
    top:0;

    font-size:10px;

    color:var(--primary-red);
}

/* BUTTON */

.program-btn{
    display:inline-flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    background:#000;

    color:#fff;

    padding:
    10px
    10px
    10px
    22px;

    border-radius:50px;

    font-size:13px;

    font-weight:700;

    margin-top:auto;

    min-width:210px;
}

.program-btn:hover{
    background:var(--primary-red);
}

.program-btn span{
    width:34px;
    height:34px;

    border-radius:50%;

    background:var(--primary-red);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:13px;
}

/* IMAGE */

.program-image{
    position:absolute;

    right:0;
    bottom:0;

    width:48%;

    height:100%;

    display:flex;

    align-items:flex-end;

    justify-content:flex-end;

    z-index:2;
}


.program-line{
    width:36px;
    height:3px;

    background:var(--primary-red);

    border-radius:10px;

    margin-bottom:22px;
}


/* RED SHAPE */

.shape-bg{
    position:absolute;

    right:-80px;
    bottom:-120px;

    width:270px;
    height:620px;

    background:
    linear-gradient(
        180deg,
        #ff1744,
        #c1121f
    );

    transform:rotate(24deg);

    border-radius:80px;

    z-index:1;
}

/* STUDENT IMAGE */

.program-image img{
    position:absolute;

    bottom:0;
    right:-10px;

    width:92%;

    object-fit:contain;

    z-index:3;
}

.programs-grid{
    gap:28px;
}


/* =========================
   FEATURES SECTION
========================= */

.features-section{
    padding:0px 6% 80px;
    margin-top:0;
}

/* TITLE */

.section-title{
    text-align:center;

    margin-bottom:60px;
}

.section-title span{
    color:var(--primary-red);

    font-size:15px;

    font-weight:700;

    letter-spacing:2px;
}

.section-title h2{
    font-size:48px;

    font-weight:800;

    margin-top:12px;

    color:#111;
}

/* GRID */

.features-grid{
    display:grid;

    grid-template-columns:
    repeat(3, minmax(0,1fr));

    gap:24px;

    max-width:1200px;

    margin:50px auto 0;
}

/* CARD */

.feature-card{
    background:#fff;

    border:1px solid #f0f0f0;

    border-radius:24px;

    padding:28px 24px;

    min-height:200px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;

    box-shadow:
    0 8px 24px rgba(0,0,0,0.03);

    transition:0.35s ease;
}

.feature-card:hover{
    transform:translateY(-8px);

    box-shadow:
    0 20px 50px rgba(0,0,0,0.08);
}

/* ICON */

.feature-icon{
    width:82px;

    height:82px;

    border-radius:50%;

    background:#fff4f4;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:18px;

    font-size:30px;

    color:#d20f20;
}

/* TEXT */

.feature-card h3{
    font-size:20px;

    font-weight:700;

    line-height:1.45;

    margin-bottom:10px;

    color:#111;

    min-height:auto;
}

.feature-card p{
    font-size:15px;

    line-height:1.8;

    color:#666;

    max-width:240px;

    margin:auto;
}


/* =========================
   FACILITIES SECTION
========================= */

.facilities-section{
    padding:0px 6% 0px;
    margin-top:0;
}

.facilities-grid{
    display:grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap:30px;

    max-width:1200px;

    margin:60px auto 0;
}

.facility-card{
    position:relative;

    border-radius:22px;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.04);

    transition:0.4s ease;
}

.facility-card:hover{
    transform:translateY(-8px);
}

.facility-image{
    height:300px;

    overflow:hidden;
}

.facility-image img{
    width:100%;

    height:100%;

    object-fit:cover;

    transition:0.5s ease;
}

.facility-card:hover img{
    transform:scale(1.08);
}

.facility-label{
    position:absolute;

    bottom:18px;

    left:50%;

    transform:translateX(-50%);

    background:#fff;

    border-radius:14px;

    padding:12px 22px;

    display:flex;

    align-items:center;

    gap:10px;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.12);

    min-width:max-content;
}

.facility-label i{
    color:#d20f20;

    font-size:18px;
}

.facility-label span{
    font-size:16px;

    font-weight:600;

    color:#111;
}

/* =========================
   GALLERY SECTION
========================= */

.gallery-section{
    width: 100%;
    padding: 20px 0 100px;
    background: #fff;
}

/* =========================
   SECTION TITLE
========================= */

.gallery-section .section-title{
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.gallery-section .section-title span{
    color: #d20f20;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-section .section-title h2{
    font-size: 68px;
    font-weight: 800;
    line-height: 1.12;
    color: #111;
    margin-top: 18px;
}

.gallery-section .section-title h2 span{
    color: #d20f20;
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.gallery-section .section-title p{
    max-width: 760px;
    margin: 28px auto 0;
    font-size: 22px;
    line-height: 1.8;
    color: #666;
}

/* =========================
   RED LINE
========================= */

.gallery-line{
    width: 80px;
    height: 4px;
    background: #d20f20;
    border-radius: 30px;
    margin: 35px auto 0;
}

/* =========================
   GALLERY GRID
========================= */

.gallery-grid{
    display: grid;

    grid-template-columns:
        1.1fr 1.6fr 1.1fr 0.9fr;

    grid-template-rows:
        240px 240px 240px;

    gap: 14px;

    margin-top: 70px;
}

/* =========================
   GALLERY ITEMS
========================= */

.gallery-item{
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.45s ease;
}

.gallery-item:hover img{
    transform: scale(1.05);
}

/* =========================
   EXACT FRAME STRUCTURE
========================= */

/* LEFT COLUMN */

.item1{
    grid-column: 1;
    grid-row: 1;
}

.item4{
    grid-column: 1;
    grid-row: 2 / span 2;
}

/* CENTER COLUMN */

.item2{
    grid-column: 2;
    grid-row: 1;
}

.item5{
    grid-column: 2;
    grid-row: 2;
}

.item6{
    grid-column: 2;
    grid-row: 3;
}

/* RIGHT CENTER */

.item3{
    grid-column: 3;
    grid-row: 1 / span 2;
}

.item7{
    grid-column: 3;
    grid-row: 3;
}

/* RIGHT COLUMN */

.item8{
    grid-column: 4;
    grid-row: 1;
}

.item9{
    grid-column: 4;
    grid-row: 2 / span 2;
}

/* =========================
   BUTTON
========================= */

.gallery-btn-wrap{
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.gallery-btn{
    display: inline-flex;
    align-items: center;
    gap: 14px;

    background: #d20f20;
    color: #fff;

    padding: 18px 34px;

    border-radius: 14px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    transition: 0.35s ease;
}

.gallery-btn:hover{
    background: #b50d1b;
    transform: translateY(-4px);
}

.gallery-btn i{
    font-size: 15px;
}

/* =========================
   GALLERY SECTION
========================= */

.gallery-section{
    width: 100%;
    padding: 100px 0;
    background: #fff;
}

/* MAIN CONTAINER */
.gallery-container{
    width: 79%;
    max-width: 1400px;
    margin: auto;
}

/* =========================
   TITLE
========================= */

.gallery-section .section-title{
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.gallery-section .section-title span{
    color: #d20f20;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-section .section-title h2{
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #111;
    margin-top: 18px;
}

.gallery-section .section-title h2 span{
    color: #d20f20;
}

.gallery-section .section-title p{
    font-size: 21px;
    line-height: 1.8;
    color: #666;
    max-width: 760px;
    margin: 28px auto 0;
}

.gallery-line{
    width: 75px;
    height: 4px;
    background: #d20f20;
    border-radius: 30px;
    margin: 35px auto 0;
}

/* =========================
   GRID
========================= */

.gallery-grid{
    margin-top: 70px;

    display: grid;

    grid-template-columns:
        1.05fr 1.35fr 1.05fr 0.8fr;

    grid-template-rows:
        240px 180px 180px;

    gap: 16px;
}

/* =========================
   ITEMS
========================= */

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.45s ease;
}

.gallery-item:hover img{
    transform: scale(1.05);
}

/* =========================
   EXACT LAYOUT
========================= */

.item1{
    grid-column: 1;
    grid-row: 1;
}

.item2{
    grid-column: 2;
    grid-row: 1;
}

.item3{
    grid-column: 3;
    grid-row: 1 / span 2;
}

.item4{
    grid-column: 4;
    grid-row: 1;
}

.item5{
    grid-column: 1;
    grid-row: 2 / span 2;
}

.item6{
    grid-column: 2;
    grid-row: 2;
}

.item7{
    grid-column: 2;
    grid-row: 3;
}

.item8{
    grid-column: 3;
    grid-row: 3;
}

.item9{
    grid-column: 4;
    grid-row: 2 / span 2;
}

/* =========================
   BUTTON
========================= */

.gallery-btn-wrap{
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.gallery-btn{
    display: inline-flex;
    align-items: center;
    gap: 14px;

    background: #d20f20;
    color: #fff;

    padding: 18px 34px;

    border-radius: 14px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    transition: 0.35s ease;
}

.gallery-btn:hover{
    background: #b50d1b;
    transform: translateY(-4px);
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section{
    padding: 20px 0;
    background: #fff;
}

.contact-title{
    margin-bottom: 55px;
}

.contact-title span{
    color: #d20f20;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-title h2{
    font-size: 52px;
    font-weight: 800;
    color: #111;
    margin-top: 12px;
}

/* WRAPPER */

.contact-wrapper{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 45px;
    align-items: start;
}

/* =========================
   FORM
========================= */

.contact-form-box{
    width: 100%;
}

.form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contact-form-box input,
.contact-form-box textarea{
    width: 100%;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
}

.contact-form-box input{
    margin-bottom: 18px;
}

.contact-form-box textarea{
    height: 150px;
    resize: none;
    margin-bottom: 24px;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus{
    border-color: #d20f20;
}

/* BUTTON */

.contact-btn{
    background: #d20f20;
    color: #fff;
    border: none;
    padding: 16px 34px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s ease;
}

.contact-btn:hover{
    background: #b50d1b;
    transform: translateY(-3px);
}

/* =========================
   INFO
========================= */

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item{
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.info-icon{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d20f20;
    font-size: 18px;

    flex-shrink: 0;
}

.info-text h4{
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.info-text p{
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* =========================
   MAP
========================= */

.contact-map{
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
}

.contact-map img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-map iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================
   FOOTER SECTION
========================= */

.footer{
    background: linear-gradient(135deg, #c70019, #e0001d);

    color:#fff;

    position:relative;

    overflow:hidden;

    padding-top:55px;
}

/* CONTAINER */

.footer .container{
    width:100%;

    max-width:1400px;

    margin:auto;

    padding:0 5%;
}

/* FOOTER GRID */

.footer-wrapper{
    display:grid;

    grid-template-columns:
    1.3fr
    1fr
    1fr
    1.2fr
    1.4fr;

    gap:45px;

    align-items:flex-start;

    padding-bottom:45px;
}

.footer-right-stack{
    display:contents;
}

.footer-about{
    grid-column:1;
}

.footer-links{
    grid-column:2;
}

.footer-programs{
    grid-column:3;
}

.footer-contact-col{
    grid-column:4;
}

.footer-kandk{
    grid-column:5;
}

/* LOGO */

.footer-logo img{
    width:190px;

    object-fit:contain;

    margin-bottom:18px;
}

/* ABOUT TEXT */

.footer-text{
    font-size:15px;

    line-height:1.9;

    color:rgba(255,255,255,0.92);

    max-width:260px;

    margin-bottom:24px;
}

/* SOCIAL ICONS */

.footer-socials{
    display:flex;

    align-items:center;

    gap:12px;
}

.footer-socials a{
    width:44px;

    height:44px;

    border-radius:50%;

    background:rgba(255,255,255,0.14);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:17px;

    text-decoration:none;

    transition:0.35s ease;
}

.footer-socials a:hover{
    background:#fff;

    color:#d4001c;

    transform:translateY(-4px);
}

/* TITLES */

.footer-col h4{
    font-size:18px;

    font-weight:700;

    margin-bottom:24px;

    color:#fff;
}

/* LINKS */

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:16px;
}

.footer-col ul li a{
    color:rgba(255,255,255,0.92);

    text-decoration:none;

    font-size:16px;

    transition:0.3s ease;
}

.footer-col ul li a:hover{
    color:#fff;

    padding-left:5px;
}

/* CONTACT */

.footer-contact li{
    display:flex;

    align-items:flex-start;

    gap:12px;

    font-size:16px;

    line-height:1.7;

    color:rgba(255,255,255,0.95);
}

.footer-contact li i{
    margin-top:5px;

    font-size:15px;
}

/* NEWSLETTER */

.newsletter-text{
    font-size:15px;

    line-height:1.9;

    color:rgba(255,255,255,0.9);

    margin-bottom:22px;
}

.newsletter-form{
    display:flex;

    align-items:center;

    border-radius:14px;

    overflow:hidden;

    background:rgba(255,255,255,0.14);

    border:1px solid rgba(255,255,255,0.14);

    backdrop-filter:blur(8px);
}

.newsletter-form input{
    flex:1;

    height:58px;

    border:none;

    outline:none;

    background:transparent;

    padding:0 20px;

    font-size:15px;

    color:#fff;
}

.newsletter-form input::placeholder{
    color:rgba(255,255,255,0.75);
}

.newsletter-form button{
    width:60px;

    height:58px;

    border:none;

    background:#fff;

    color:#d4001c;

    cursor:pointer;

    font-size:18px;

    transition:0.3s ease;
}

.newsletter-form button:hover{
    background:#111;

    color:#fff;
}

/* BOTTOM BAR */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.15);

    padding:18px 0;
}

.footer-bottom-wrapper{
    display:grid;

    grid-template-columns:1fr auto;

    align-items:center;

    gap:6px 20px;

}

.footer-bottom p{
    font-size:14px;

    color:rgba(255,255,255,0.9);
}

.footer-credit{
    grid-column:1;

    grid-row:2;

    display:flex;

    align-items:center;

    gap:4px;

    white-space:nowrap;
}

.footer-credit-logo-link{
    display:inline-flex;

    align-items:center;

    position:relative;

    text-decoration:none;
}

.dn-logo-wrap{
    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 10px;

    isolation:isolate;

    overflow:visible;
}

.dn-logo-wrap::before{
    content:"";

    position:absolute;

    left:10%;
    right:10%;
    top:50%;

    height:54%;

    background:
        radial-gradient(ellipse at center, rgba(255,255,255,0.34), rgba(255,214,90,0.18) 38%, transparent 72%);

    opacity:0.72;

    filter:blur(12px);

    transform:translateY(-42%) scaleX(0.9);

    animation:dnLogoAura 3.8s ease-in-out infinite;

    z-index:0;
}

.dn-logo-wrap::after{
    content:"";

    position:absolute;

    top:9px;
    bottom:9px;
    left:-34%;

    width:34%;

    background:
        linear-gradient(
            105deg,
            transparent 0%,
            rgba(255,255,255,0.18) 34%,
            rgba(255,255,255,0.82) 49%,
            rgba(255,229,128,0.32) 58%,
            transparent 100%
        );

    filter:blur(0.4px);

    transform:skewX(-20deg);

    mix-blend-mode:screen;

    animation:dnLogoReflection 3.4s ease-in-out infinite;

    z-index:3;

    pointer-events:none;
}

.footer-credit-logo{
    width:168px;

    height:auto;

    display:block;

    object-fit:contain;

    position:relative;

    z-index:2;
}

.dn-sparkle{
    position:absolute;

    width:6px;

    height:6px;

    border-radius:50%;

    background:#fff;

    box-shadow:
        0 0 8px rgba(255,255,255,0.95),
        0 0 16px rgba(255,220,90,0.72),
        0 0 24px rgba(255,255,255,0.38);

    opacity:0;

    z-index:4;

    animation:dnStarDrift 4.8s ease-in-out infinite;
}

.dn-sparkle::after{
    content:"";

    position:absolute;

    inset:-6px;

    background:
        linear-gradient(90deg, transparent 42%, rgba(255,255,255,0.9) 50%, transparent 58%),
        linear-gradient(0deg, transparent 42%, rgba(255,255,255,0.9) 50%, transparent 58%);

    transform:rotate(45deg) scale(0.9);
}

.dn-sparkle-1{
    top:8px;

    left:18px;

    --star-x1:12px;
    --star-y1:-12px;
    --star-x2:38px;
    --star-y2:3px;
    --star-x3:14px;
    --star-y3:18px;

    animation-delay:0s;
}

.dn-sparkle-2{
    top:10px;

    right:18px;

    width:7px;

    height:7px;

    --star-x1:-18px;
    --star-y1:-10px;
    --star-x2:-42px;
    --star-y2:8px;
    --star-x3:-12px;
    --star-y3:20px;

    animation-delay:0.55s;

    animation-duration:5.3s;
}

.dn-sparkle-3{
    bottom:8px;

    left:32px;

    width:6px;

    height:6px;

    --star-x1:18px;
    --star-y1:10px;
    --star-x2:52px;
    --star-y2:-7px;
    --star-x3:24px;
    --star-y3:-24px;

    animation-delay:1.1s;

    animation-duration:4.15s;
}

.dn-sparkle-4{
    right:30px;

    bottom:8px;

    --star-x1:-16px;
    --star-y1:12px;
    --star-x2:-50px;
    --star-y2:-6px;
    --star-x3:-20px;
    --star-y3:-24px;

    animation-delay:1.65s;

    animation-duration:4.75s;
}

.dn-sparkle-5{
    top:50%;

    left:4px;

    width:5px;

    height:5px;

    --star-x1:-6px;
    --star-y1:-24px;
    --star-x2:28px;
    --star-y2:-36px;
    --star-x3:54px;
    --star-y3:-6px;

    animation-delay:2.05s;

    animation-duration:5.6s;
}

.dn-sparkle-6{
    top:44%;

    right:4px;

    width:5px;

    height:5px;

    --star-x1:6px;
    --star-y1:24px;
    --star-x2:-30px;
    --star-y2:36px;
    --star-x3:-58px;
    --star-y3:4px;

    animation-delay:2.4s;

    animation-duration:4.35s;
}

@keyframes dnStarDrift{
    0%{
        opacity:0;
        transform:translate(0, 0) rotate(0deg) scale(0.35);
    }

    18%{
        opacity:0.95;
        transform:translate(var(--star-x1), var(--star-y1)) rotate(70deg) scale(0.95);
    }

    42%{
        opacity:0.6;
        transform:translate(var(--star-x2), var(--star-y2)) rotate(185deg) scale(0.68);
    }

    68%{
        opacity:1;
        transform:translate(var(--star-x3), var(--star-y3)) rotate(285deg) scale(1.05);
    }

    100%{
        opacity:0;
        transform:translate(-6px, 0) rotate(360deg) scale(0.3);
    }
}

@keyframes dnLogoAura{
    0%,
    100%{
        transform:translateY(-42%) scaleX(0.82);
        opacity:0.38;
    }

    50%{
        transform:translateY(-42%) scaleX(1.12);
        opacity:0.82;
    }
}

@keyframes dnLogoReflection{
    0%,
    16%{
        left:-34%;
        opacity:0;
    }

    34%{
        opacity:0.95;
    }

    56%{
        left:108%;
        opacity:0;
    }

    100%{
        left:108%;
        opacity:0;
    }
}

/* BOTTOM LINKS */

.footer-bottom-links{
    display:flex;

    align-items:center;

    gap:28px;

    grid-column:2;

    grid-row:1 / span 2;
}

.footer-bottom-links a{
    color:rgba(255,255,255,0.92);

    text-decoration:none;

    font-size:14px;

    transition:0.3s ease;
}

.footer-bottom-links a:hover{
    color:#fff;
}

/* =========================
   style.css
========================= */

/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    padding:0px;
    color:#111;
}

/* FORM CONTAINER */

.form-container{
    max-width:1200px;
    margin:auto;
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

/* HEADER */

.form-header{
    margin-bottom:35px;
}

.form-header span{
    color:#d20f20;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
}

.form-header h2{
    font-size:42px;
    margin-top:10px;
    font-weight:800;
}

.form-header p{
    color:#666;
    margin-top:10px;
    line-height:1.8;
}

/* PHOTO */

.photo-upload{
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

.photo-box{
    width:150px;
    height:150px;
    border-radius:20px;
    border:2px dashed #d20f20;
    background:#fff5f5;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    overflow:hidden;
    position:relative;
    transition:0.3s ease;
}

.photo-box:hover{
    background:#ffecec;
}

.photo-box i{
    font-size:34px;
    color:#d20f20;
    margin-bottom:10px;
}

.photo-box p{
    font-size:14px;
    color:#666;
}

.photo-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:none;
}

.photo-box input{
    display:none;
}

/* FORM */

.admission-form{
    display:flex;
    flex-direction:column;
    gap:30px;
}

/* SECTIONS */

.form-section{
    border-top:1px solid #eee;
    padding-top:35px;
}

.form-section h2{
    font-size:26px;
    margin-bottom:25px;
    color:#d20f20;
    font-weight:700;
}

.form-section h3{
    margin-bottom:20px;
    margin-top:10px;
    font-size:20px;
    font-weight:600;
}

/* ROW */

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

/* GROUP */

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    font-size:15px;
    font-weight:600;
    margin-bottom:10px;
    color:#222;
}

/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:1px solid #e4e4e4;
    border-radius:14px;
    padding:16px 18px;
    font-size:15px;
    outline:none;
    transition:0.3s ease;
    background:#fff;
    font-family:'Poppins',sans-serif;
}

.form-group textarea{
    height:130px;
    resize:none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#d20f20;

    box-shadow:
    0 0 0 4px rgba(210,15,32,0.08);
}

/* FILE INPUT */

input[type="file"]{
    padding:14px;
    cursor:pointer;
}

/* DECLARATION */

.declaration-box{
    background:#fff5f5;
    border:1px solid #ffd6d6;
    padding:20px;
    border-radius:14px;
    line-height:1.8;
    margin-bottom:20px;
}

/* CHECKBOX */

.checkbox-group{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:25px;
}

.checkbox-group input{
    width:18px;
    height:18px;
}

/* BUTTON */

.submit-btn{
    border:none;
    background:#d20f20;
    color:#fff;
    padding:18px 30px;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.submit-btn:hover{
    background:#b50d1b;
    transform:translateY(-3px);
}

/* RESPONSIVE */

@media(max-width:768px){

    body{
        padding:20px;
    }

    .form-container{
        padding:25px;
    }

    .form-header h2{
        font-size:32px;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .form-section h2{
        font-size:22px;
    }

}
/* =========================
   K&K FOOTER
========================= */

.footer-kandk{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}

.kandk-logo-link{

    display:inline-block;

    transition:0.3s ease;

}

.kandk-logo-link:hover{

    transform:translateY(-4px);

}

.kandk-logo{

    width:140px;

    height:auto;

    object-fit:contain;

    margin-bottom:15px;

}

.kandk-text{

    color:#ccc;

    font-size:14px;

    margin-bottom:6px;

}

.kandk-title{

    color:#fff;

    font-size:20px;

    font-weight:700;

    line-height:1.5;

}
/* =========================
   SMOOTH SCROLL
========================= */

html{

    scroll-behavior:smooth;

}
/* =========================
   ACTIVE NAV LINK
========================= */

.nav-links a{

    position:relative;

    transition:0.3s ease;

}

.nav-links a.active{

    color:#d20f20;

}

.nav-links a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:100%;

    height:2px;

    background:#d20f20;

    border-radius:10px;

}
/* =========================
   CLICKABLE CONTACT LINKS
========================= */

.contact-link{

    color:#444;

    text-decoration:none;

    transition:0.3s ease;

    font-weight:500;

}

.contact-link:hover{

    color:#d20f20;

}

/* =========================
   PREMIUM SECTION FRAMES
========================= */

@media (min-width:1025px){

    :root{
        --snap-nav-height:69px;
        --home-stats-height:96px;
    }

    html{
        scroll-padding-top:var(--snap-nav-height);
        scroll-behavior:smooth;
    }

    html.modal-open,
    body.modal-open{
        overflow:hidden;
        overscroll-behavior:none;
    }

    .home-frame,
    .about,
    .programs,
    .features-section,
    .facilities-section,
    .gallery-section,
    .contact-section{
        min-height:calc(100vh - var(--snap-nav-height));
    }

    .home-frame{
        height:calc(100vh - var(--snap-nav-height));
        height:calc(100svh - var(--snap-nav-height));
        min-height:620px;
        display:grid;
        grid-template-rows:minmax(0,1fr) var(--home-stats-height);
        background:#f7f7f7;
        overflow:hidden;
    }

    .hero{
        min-height:0;
        height:auto;
        padding:0;
        display:flex;
        align-items:center;
        overflow:visible;
        position:relative;
        z-index:2;
    }

    .hero-container{
        min-height:0;
        height:100%;
        align-items:center;
        gap:28px;
    }

    .hero-content{
        flex:0 0 47%;
        max-width:560px;
    }

    .hero-image{
        flex:0 0 53%;
    }

    .hero-content h1{
        font-size:clamp(36px,3.1vw,48px);
        line-height:1.18;
        margin-bottom:12px;
    }

    .hero-content h2{
        font-size:clamp(24px,2vw,32px);
        margin-bottom:12px;
    }

    .hero-content p{
        font-size:15px;
        line-height:1.55;
        margin-bottom:20px;
    }

    .hero-buttons{
        margin-bottom:30px;
    }

    .hero-social{
        margin-top:0;
    }

    .hero-image{
        height:100%;
        min-height:0;
        align-self:center;
        overflow:visible;
        display:flex;
        align-items:flex-end;
        justify-content:center;
    }

    .circle-bg{
        width:clamp(430px,34vw,510px);
        height:clamp(430px,34vw,510px);
        left:52%;
        top:53%;
        right:auto;
        bottom:auto;
        transform:translate(-50%,-50%);
        box-shadow:
        0 28px 70px rgba(194,19,31,0.12);
    }

    .circle-bg::before{
        width:calc(100% + 84px);
        height:calc(100% + 84px);
        top:-42px;
        left:-42px;
        border:0;
        background:
        repeating-conic-gradient(
            from 3deg,
            rgba(193,18,31,0.42) 0deg 7deg,
            transparent 7deg 14deg
        );
        -webkit-mask:
        radial-gradient(
            farthest-side,
            transparent calc(100% - 4px),
            #000 calc(100% - 4px)
        );
        mask:
        radial-gradient(
            farthest-side,
            transparent calc(100% - 4px),
            #000 calc(100% - 4px)
        );
        animation:heroCircleRotate 44s linear infinite;
        transform-origin:center;
    }

    .hero-student-stage{
        width:clamp(395px,31vw,480px);
        height:clamp(530px,74svh,620px);
        left:52%;
        right:auto;
        bottom:-18px;
        transform:translateX(-50%);
    }

    .hero-student-stage img{
        width:auto;
        height:100%;
        max-width:100%;
        max-height:none;
        left:50%;
        right:auto;
        bottom:0;
        mix-blend-mode:normal;
        filter:drop-shadow(0 28px 32px rgba(0,0,0,0.18));
        transition:
        opacity 0.95s cubic-bezier(0.22,1,0.36,1),
        transform 0.95s cubic-bezier(0.22,1,0.36,1),
        filter 0.95s cubic-bezier(0.22,1,0.36,1);
        transform:translateX(-50%) translateY(calc(var(--student-y) + 18px)) scale(var(--student-rest-scale));
        transform-origin:center bottom;
        animation:none;
    }

    .hero-student-stage img.is-active{
        opacity:1;
        filter:drop-shadow(0 28px 32px rgba(0,0,0,0.18));
        transform:translateX(-50%) translateY(var(--student-y)) scale(var(--student-scale));
        z-index:3;
    }

    .hero-student-stage img.is-leaving{
        opacity:0;
        filter:drop-shadow(0 20px 24px rgba(0,0,0,0.11)) blur(3px);
        transform:translateX(-50%) translateY(calc(var(--student-y) - 16px)) scale(var(--student-leave-scale));
        z-index:4;
    }

    .floating-card{
        --hero-card-float-y:0px;
        animation-name:floatCardPremium;
        animation-timing-function:ease-in-out;
    }

    .card1{
        top:22%;
        right:-8px;
        animation-duration:6.8s;
    }

    .card2{
        left:1%;
        top:52%;
        --hero-card-float-y:-50%;
        animation-duration:7.4s;
    }

    .card3{
        right:-14px;
        bottom:21%;
        animation-duration:7s;
    }

    @keyframes floatCardPremium{
        0%{
            transform:translateY(var(--hero-card-float-y));
        }

        50%{
            transform:translateY(calc(var(--hero-card-float-y) - 16px));
        }

        100%{
            transform:translateY(var(--hero-card-float-y));
        }
    }

    .stats{
        height:100%;
        padding:0;
        display:flex;
        align-items:center;
        scroll-snap-align:none;
        scroll-snap-stop:normal;
        position:relative;
        z-index:8;
    }

    .stats-container{
        width:100%;
    }

    .programs,
    .features-section,
    .facilities-section,
    .gallery-section,
    .contact-section{
        display:flex;
        align-items:center;
    }

    .programs{
        padding:20px 6% 28px;
    }

    .programs .container{
        max-width:1280px;
    }

    .programs .section-tag{
        font-size:16px;
        letter-spacing:2.5px;
    }

    .section-header{
        max-width:880px;
        margin:0 auto 22px;
    }

    .section-header h2{
        font-size:58px;
        line-height:1.02;
        margin:10px 0 12px;
        letter-spacing:-3px;
    }

    .section-header p{
        font-size:17px;
        line-height:1.55;
        max-width:820px;
    }

    .program-cards{
        gap:24px;
    }

    .program-card{
        min-height:420px;
        border-radius:18px;
    }

    .program-number{
        width:70px;
        height:54px;
        font-size:26px;
        border-radius:0 0 34px 0;
    }

    .program-content{
        width:46%;
        padding:136px 24px 24px;
    }

    .program-icon{
        top:72px;
        left:24px;
        width:50px;
        height:50px;
        font-size:21px;
    }

    .program-icon i{
        font-size:23px;
    }

    .program-content h3{
        gap:4px;
        font-size:19px;
        margin-top:0;
        margin-bottom:11px;
    }

    .program-content h3 span,
    .program-content .plus{
        font-size:26px;
        margin-bottom:0;
    }

    .program-line{
        width:34px;
        height:3px;
        margin-bottom:12px;
    }

    .program-content p{
        font-size:12.5px;
        line-height:1.58;
        margin-bottom:13px;
        max-width:250px;
    }

    .program-content ul{
        margin-bottom:14px;
    }

    .program-content ul li{
        font-size:12px;
        line-height:1.32;
        margin-bottom:7px;
        padding-left:20px;
    }

    .program-btn{
        width:max-content;
        min-width:154px;
        padding:7px 7px 7px 16px;
        font-size:12px;
        gap:10px;
        box-shadow:0 10px 24px rgba(0,0,0,0.12);
    }

    .program-btn span{
        width:28px;
        height:28px;
        font-size:12px;
    }

    .program-image{
        width:54%;
    }

    .shape-bg{
        right:-42px;
        bottom:-92px;
        width:188px;
        height:420px;
        border-radius:70px;
        transform:rotate(23deg);
    }

    .program-image img{
        width:84%;
        right:-24px;
    }

    .about{
        padding:42px 0;
    }

    .about-container{
        gap:48px;
    }

    .about-content h2{
        font-size:32px;
        margin-bottom:16px;
    }

    .about-content p{
        font-size:14px;
        line-height:1.65;
        margin-bottom:22px;
    }

    .about-features{
        margin-bottom:24px;
    }

    .features-section{
        padding:42px 6% 52px;
        background:#f8f8f8;
    }

    .features-section .section-title{
        margin-bottom:30px;
    }

    .features-grid{
        gap:18px;
        margin:30px auto 0;
    }

    .feature-card{
        min-height:158px;
        padding:22px 20px;
        border-radius:18px;
    }

    .feature-icon{
        width:60px;
        height:60px;
        font-size:23px;
        margin-bottom:12px;
    }

    .feature-card h3{
        font-size:18px;
        line-height:1.3;
        margin-bottom:7px;
    }

    .feature-card p{
        font-size:13px;
        line-height:1.55;
    }

    .facilities-section{
        padding:42px 6% 52px;
    }

    .facilities-grid{
        gap:22px;
        margin:34px auto 0;
    }

    .facility-image{
        height:230px;
    }

    .gallery-section{
        padding:28px 0 36px;
    }

    .gallery-section .section-title h2{
        font-size:42px;
        margin-top:8px;
    }

    .gallery-section .section-title p{
        font-size:15px;
        line-height:1.45;
        margin-top:10px;
    }

    .gallery-line{
        margin-top:14px;
    }

    .gallery-grid{
        margin-top:22px;
        grid-template-rows:140px 112px 112px;
        gap:12px;
    }

    .gallery-btn-wrap{
        margin-top:20px;
    }

    .gallery-btn{
        padding:12px 24px;
        border-radius:12px;
        font-size:15px;
    }

    .contact-section{
        padding:34px 0 42px;
        align-items:center;
    }

    .contact-section .container{
        width:84%;
        max-width:1240px;
        margin:auto;
    }

    .contact-title{
        margin-bottom:32px;
    }

    .contact-title h2{
        font-size:54px;
        margin-top:8px;
    }

    .contact-wrapper{
        grid-template-columns:1.2fr 0.8fr 1.05fr;
        gap:30px;
        align-items:stretch;
    }

    .contact-form-box input,
    .contact-form-box textarea{
        padding:17px 20px;
        font-size:16px;
    }

    .contact-form-box input,
    .form-row{
        margin-bottom:16px;
    }

    .contact-form-box textarea{
        height:150px;
        margin-bottom:20px;
    }

    .contact-btn{
        padding:16px 38px;
        font-size:16px;
        border-radius:13px;
    }

    .contact-info{
        gap:24px;
        justify-content:center;
    }

    .info-icon{
        width:52px;
        height:52px;
    }

    .info-text h4{
        font-size:20px;
    }

    .info-text p,
    .contact-link{
        font-size:14px;
        line-height:1.7;
    }

    .contact-map{
        min-height:380px;
    }

    .footer{
        display:flex;
        flex-direction:column;
        justify-content:center;
        padding-top:0;
    }

    .footer-wrapper{
        gap:32px;
        padding:42px 0 34px;
    }

    .footer-logo img{
        width:160px;
        margin-bottom:14px;
    }

    .footer-text{
        font-size:14px;
        line-height:1.65;
        margin-bottom:18px;
    }

    .footer-col h4{
        font-size:17px;
        margin-bottom:18px;
    }

    .footer-col ul li{
        margin-bottom:11px;
    }

    .footer-col ul li a,
    .footer-contact li{
        font-size:14px;
        line-height:1.55;
    }

    .footer-bottom{
        padding:14px 0;
    }
}

@keyframes heroCircleRotate{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@media (max-width:1024px){

    html{
        scroll-snap-type:none;
    }

}
