/* ==================================================
   HEADER TRANSPARENT ON HOME PAGE
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Preahvihear&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* * {
    padding: 0px;
    margin: 0px;
} */

 header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 1000;
} 

/* Remove any padding that pushes hero down */
main {
    padding: 0 !important;
    margin: 0 !important;
}

/* ==================================================
   HERO SECTION
================================================== */
.hero-home {
    position: relative;
    height: 100vh;
    width: 100;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    /* needed for border-radius */
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

/* Background image with opacity applied ONLY to image */
.hero-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 

    background: url('/assets/assets/images/homeback.png') center/cover no-repeat;
    background-color: #000;
    opacity: 1;
    /* ✔ image opacity */
    z-index: -1;
    /* ✔ behind content */
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.opacity {
    width: 100%;
    height: 100%;
    background-color: rgb(10, 10, 10);
    position: absolute;
    opacity: .6;
}

.hero-content-home {
    position: absolute;
    max-width: 100%;
}

.hero-home h1 {

    font-family: "Preahvihear", sans-serif;
    font-weight: 400;
    font-style: normal;

    /* Responsive font size */
    font-size: clamp(28px, 6vw, 64px);

    /* Responsive line height */
    line-height: clamp(40px, 8vw, 100px);

    letter-spacing: 0;
    text-align: center;
}


.hero-home p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: normal;

    /* Responsive font-size */
    font-size: clamp(16px, 2.5vw, 24px);

    /* Responsive line-height */
    line-height: clamp(22px, 4vw, 36px);

    letter-spacing: 2%;
    text-align: center;
    ;
}

.hero-buttons a {
    text-decoration: none;
    outline: none;

    padding: 12px 25px;
    border-radius: 6px;
    margin: 10px;
    display: inline-block;
}

#btnwatch {
    font-weight: 600;
    background: #f8aa02;
    color: black;
    border-radius: 12px;
}

#btnoutline {
    background: #174488;
    color: white;
 border-radius: 12px;
    font-weight: 600;

}

/* ==================================================
   LEGACY SECTION
================================================== */
.legacy {
    display: flex;
    align-items: center;
    padding: 0px 80px;
    gap: 32px;
}

.legacy .legacy-tittle {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 40px;

    line-height: 78px;
    letter-spacing: 0%;
    color: #174488;
    text-align: start;
}

.legacy-left p {
    font-family: DM Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;

    line-height: 32px;
    letter-spacing: 2%;
}

.legacy-left {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    text-align: start;

}

.legacy-right img {
    width: 100%;
    max-width: 35rem;
}

.screc {

    width: 90%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    /* background-color: #FBBA2C; */
}

.screc .recinno {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 48px;
    leading-trim: NONE;
    line-height: 78px;
    letter-spacing: 0%;
    color: black;
    text-align: start;
}

.screc p {
    font-family: DM Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 32px;
    letter-spacing: 2%;
    color: black;
}

/* ==================================================
   WHY SECTION
================================================== */
.why {
    background: #174488;
    padding: 80px;
    gap: 32px;

}

.why .section-title {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 48px;

    line-height: 78px;
    letter-spacing: 0%;
    text-align: center;
    color: white;
}

.why #paragraph {
    font-family: DM Sans;
    font-weight: 100;
    font-style: Regular;
    font-size: 20px;

    line-height: 32px;
    letter-spacing: 2%;
    text-align: center;
    color: white;

}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Common box styles */
.why-box {

    text-align: center;
    /* width: 413.3333435058594; */
    width: 380px;
    /* background-color: #000; */
    height: 214;

    opacity: 1;
    gap: 16px;
    border-radius: 24px;
    padding-top: 32px;
    padding-right: 24px;
    padding-bottom: 32px;
    padding-left: 24px;
    border-width: 2px;
}

.why-box img {
    padding-bottom: 1rem;
}

/* Odd boxes → yellow background, black text */
.why-box:nth-child(odd) {
    font-family: Preahvihear;
    background: #E2B51E;
    /* yellow */
    color: #000;
    /* black text */
    border: 2px solid white;
    transition: .6s all ease;
}

.why-box:nth-child(odd) p {

    color: white;
}

.why-box:nth-child(even) p {
    color: black;
}



/* Even boxes → white background, yellow text */
.why-box:nth-child(even) {
    background: #ffffff;
    /* white */
    color: #E2B51E;
    /* yellow text */
    border: 2px solid yellow;
    font-family: Preahvihear;
    transition: .6s all ease;
}


/* ==================================================
   PROGRAMS SECTION  check
================================================== */
.programs {
    text-align: center;
    gap: 32px;
    /* padding: 0px 60px; */
    padding: 0px 80px;
      /* background-color: #679efc; */
}

.programs .section-title {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 3rem;
    letter-spacing: 0%;
    text-align: center;
    color: #174488;
}

.programs .promrams-des {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 2%;
    text-align: center;
}
.desktop-programs {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.scroll-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.scroll-track {
    display: flex;
    gap: 20px;
}

/* Show EXACT 2 cards on desktop */
.program-box {
    display: flex;
    flex-direction: row;
    flex: 0 0 calc(50% - 40px);  /*sise decrease card*/
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px 0px rgb(165, 160, 160);
    margin: 2rem 10px; 
    align-items: center;

}

/* Arrow Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    /* background: #B7C5DA; */
     background: transparent; /* Transparent background */
    border: none;
    padding: 12px 18px;
    /* border-radius: 100%; */
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.3);
}

.left-btn { left: -10px; }  /* 50 50*/
.right-btn { right: 0px; }  

.scroll-btn:hover {
    background: #e2b400;
}

/* Tablet: 2 cards stacked vertical, scrollable */
@media (max-width: 991px) {
    .vertical-slider {
        display: block;
        max-height: 75vh;
        overflow-y: auto;
        padding: 10px;
        gap: 15px;
    }

    /* .premium-tag {
    background: #E2B51E;
    padding: 4px 8px;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
     } */

      .premium-tag {
        background: #E2B51E;
        padding: 6px 12px;
        border-radius: 6px;
        color: #000;
        font-weight: 700;
        font-size: 14px;
        display: inline-block;
        margin-bottom: 10px; /* space below tag */
    }

    .vs-track {
        flex-direction: column;
    }

    .program-box {
         display: flex;
    flex-direction: row;
    justify-content: space-between;
        /* width: 100%; */
        /* width: 700px; */
        min-height: 350px;
        align-items: center;
        box-shadow: 0PX 0PX 10PX 0PX black;
    }
}

/* Mobile: 1 card per scroll */
@media (max-width: 600px) {
    .program-box {
        display: flex;
    flex-direction: column;
        box-shadow: 0PX 0PX 10PX 0PX black;
    }
}


.program-box .program-text {
    /* background-color: #E2B51E; */
    display: flex;
    align-items: start;
    text-align: start;
    justify-content: space-between;
    flex-direction: column;
    padding: 1rem;
    
}
 
.programs .program-box h4 {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 38px;
    letter-spacing: 0%;
    color: black;
    text-align: start;
}

.programs .program-box p {
    font-family: DM Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 2%;
    color: black;
}

.program-box .program-buttons {
    display: flex;
    flex-direction: row;
    text-align: center;
    background: #B7C5DA;
    opacity: 1;
    border-radius: .8rem;
    padding: .3rem 1.5rem;
    font-family: DM Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: .9rem;
    letter-spacing: 2%;
    color: #174488;
    text-decoration: none;
    margin-bottom: .5rem;
}

.programs .programs-sub {
    gap: .4rem;
    display: flex;
    flex-direction: row;
    padding: .1rem 0rem;
}

#prm-btn {
    width: 191p;
    height: 45p;
    angle: 0 deg;
    opacity: 1;
    gap: 10px;
    padding: 12px 24px;

    border-radius: 12px;
    text-align: center;
    border: none;
    outline: none;
    background-color: #E2B51E;
    font-family: DM Sans;
    font-weight: 400;
    font-style: SemiBold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    color: white;
    margin: 1rem;
}

.programs .btn-view {
    background: #174488;

    border-radius: 12px;
    gap: 10px;
    angle: 0 deg;
    opacity: 1;
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    font-family: DM Sans;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;

    line-height: 100%;
    letter-spacing: 2%;
    color: white;
    text-decoration: none;
}

#enrolheading {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 48px;
    leading-trim: NONE;
    line-height: 78px;
    letter-spacing: 0%;
    text-align: start;
}

/* ==================================================
   DEMO FORM SECTION
================================================== */
/* Background with blur container */
.demo-section {
    background: url('/assets/assets/images/formimage.png') center/cover no-repeat;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-container {
    width: 100%;
    max-width: 900px;
    background: rgba(246, 250, 250, 0.3);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-container h1 {
    font-family: Preahvihear;
font-weight: 400;
font-size: 40px;
line-height: 62px;
letter-spacing: 0%;
text-align: center;

}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-grouph label {
    font-family: Preahvihear;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;

    line-height: 30px;
    letter-spacing: 0%;

}

.form-grouph input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-family: DM sans;
}

/* Full width row for the email */
.full-width {
    grid-column: span 2;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #0B3D91;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.95;
}


/* ======================= RESPONSIVE ======================= */

/* Tablet */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        /* Stack all fields */
    }

    .full-width {
        grid-column: span 1;
    }

    .demo-container {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .demo-container h1 {
        font-size: 26px;
    }

    .submit-btn {
        font-size: 16px;
    }
}

/* ==================================================
   RESPONSIVE
================================================== */

/* .admission */
@media (max-width: 1024px) {
    .hero-home {
        
        position: relative;
        height: 100vh;
        /* top: 20px; */
    }
    
    .legacy {
        flex-direction: column;
        text-align: start;
    }

    .admission {
        flex-direction: row;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30 30px;
        /* justify-content: center; */
        gap: 10px;
    }

    .why .why-box {
        gap: 2px;
         width: 100%; 
        /* width: 342px; */
        height: 100%;
        
        /* height: 192px; */
    }

    .why {
        /* background-color: #B7C5DA; */
        padding: 1;
           }

    .screc .recinno {
        font-size: 2rem;
    }

    #enrolheading {
        font-family: Preahvihear;
        font-weight: 400;
        font-style: Regular;
        font-size: 48px;
        leading-trim: NONE;
        line-height: 50px;
        letter-spacing: 0%;
        text-align: start;
    }

    .legacy-left {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 12px;
        flex: 1;
        text-align: start;
    }

    .legacy {
        display: flex;
        align-items: center;
        padding: 0px 30px;
        gap: 32px;
    }

    .enroll-section {
        padding: 0px 30px;
    }

    .programs {

        text-align: center;

        gap: 32px;

        padding: 10px;
    }
    .why{
        /* padding: 100px 0px; */
        padding: 0 32px;

    }
    #inorder1{
        order:1;
    }
    #inorder2{
        order: 2;
    }
     #inorder3{
        order:4;
    }
    #inorder4{
        order: 3;
    }
     #inorder5{
        order:5;
    }
    #inorder6{
        order: 6;
    }
}


/* responsible for all types of mobiles */
@media (max-width: 700px) {

    /* .hero-home {
        position: relative;
        height: 80%;
        padding: 30px;
    } */
.hero-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    text-align: center;
    /* background-color: red; */
}
.hero-home p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: normal;

    /* Responsive font-size */
    font-size: clamp(16px, 2.5vw, 24px);

    /* Responsive line-height */
    line-height: clamp(22px, 4vw, 36px);
    letter-spacing: 2%;
    text-align: center;
    padding: 10px;
}
    .admission-mobile-mode {
        display: none;
    }

    /* Optional button styling to match screenshot */
    .btn-yellow {
        display: inline-block;
        background-color: #FBBA2C;
        /* blue button */

        color: #fff;
        padding: .8rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
    }

    .why .section-title {
        font-family: Preahvihear;
        font-weight: 400;
        font-style: Regular;
        font-size: 30px;
        line-height: 38px;
        letter-spacing: 0%;
        text-align: center;
        color: white;
        padding: 30px 0px;
    }

    .why-box {

        text-align: center;

        width: 413.3333435058594;

        height: 214;

        opacity: 1;

        gap: 16px;

        border-radius: 24px;
        padding-top: 10;
        padding-right: 24px;

        padding-bottom: 10;

        padding-left: 24px;

        border-width: 2px;
    }
 #inorder1{
        order:1;
    }
    #inorder2{
        order: 2;
    }
     #inorder3{
        order:3;
    }
    #inorder4{
        order: 4;
    }
     #inorder5{
        order:5;
    }
    #inorder6{
        order: 6;
    }
    .why-grid,
    .form-grid {
        padding: 0rem;
        grid-template-columns: 1fr;
    }

    .hero-home h1 {
        font-size: 28px;
    }

    .hero-home {
        padding-top: 8rem;
    }

    .screc .recinno {
        font-size: 1rem;
        font-family: Preahvihear;
        font-weight: 400;
        font-style: Regular;
        font-size: 30px;
        leading-trim: NONE;
        line-height: 40px;
        letter-spacing: 0%;
        color: black;
        text-align: start;

    }

    .screc {
        min-width: 100%;
        display: flex;
        flex-wrap: wrap;
        /* background-color: red; */
        text-align: start;
    }

    .screc p {
        font-family: DM Sans;
        font-weight: 500;
        font-style: Medium;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 24px;
        letter-spacing: 2%;
        color: black;
        text-align: start;
    }

    
    .programs .section-title {

        padding: 0rem;
        font-size: 1.5rem;
    }

    
.programs .program-box h4 {
    font-family: Preahvihear;
    font-weight: 400;
    font-size: 24px;
    line-height: 38px;
    letter-spacing: 0%;
    color: black;
    text-align:start;
}

    .legacy,
    .admission,
    .programs,
    .why,
    .hero-home {
        padding:10px;
    }

    .legacy .legacy-tittle {
        font-family: Preahvihear;
        font-weight: 400;
        font-style: Regular;
        font-size: 26px;
        line-height: 48px;
        letter-spacing: 0%;
        color: #174488;
        text-align: start;
    }

    #enrolheading {
        font-family: Preahvihear;
        font-weight: 400;
        font-style: Regular;
        font-size: 30px;
        leading-trim: NONE;
        line-height: 30px;
        letter-spacing: 0%;
        text-align: start;
    }
#prm-btn{
    margin: 0px;
    
}

}



/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Preahvihear&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ===== SECTION ===== */
.enroll-section {
    background: #DBAE1E;
    /* Yellow background */
    padding: 0px 80px;
    min-height: 500px;
    /* <<< FIXED HEIGHT */
    position: relative;
    /* Needed for image overlap */
    overflow: visible;
    align-items: center;
    margin: 100px 0px;
    /* Allow image to come out */
}
.enroll-section {

background: #DBAE1E;
    /* Yellow background */

padding: 0px 0px 30px80px;

min-height: 500px;
    /* <<< FIXED HEIGHT */

position: relative;
    /* Needed for image overlap */

overflow: visible;

align-items: center;

margin: 100px 0px;
    /* Allow image to come out */
}
/* ===== GRID ===== */
.enroll-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background:
        url('/assets/assets/images/icon1.png') no-repeat 0px 20px,
        url('/assets/assets/images/icon1.png') no-repeat 100px 50px,
        url('/assets/assets/images/icons3.png') no-repeat 200px 80px,
        url('/assets/assets/images/sharp.png') no-repeat 300px 40px,
        url('/assets/assets/images/bulb.png') no-repeat 400px 120px,
        url('/assets/assets/images/icon1.png') no-repeat 500px 30px,
        url('/assets/assets/images/icon1.png') no-repeat 600px 70px,
        url('/assets/assets/images/icons3.png') no-repeat 700px 90px,
        url('/assets/assets/images/sharp.png') no-repeat 800px 60px,
        url('/assets/assets/images/bulb.png') no-repeat 900px 110px,

        url('/assets/assets/images/icon1.png') no-repeat 1000px 20px,
        url('/assets/assets/images/icon1.png') no-repeat 1100px 50px,
        url('/assets/assets/images/icons3.png') no-repeat 1200px 80px,
        url('/assets/assets/images/sharp.png') no-repeat 1300px 40px,
        url('/assets/assets/images/bulb.png') no-repeat 1400px 120px,

        url('/assets/assets/images/icon1.png') no-repeat 0px 200px,
        url('/assets/assets/images/icon1.png') no-repeat 100px 500px,
        url('/assets/assets/images/icons3.png') no-repeat 200px 600px,
        url('/assets/assets/images/sharp.png') no-repeat 300px 300px,
        url('/assets/assets/images/bulb.png') no-repeat 400px 330px;

}

.enroll-left {
    padding-top: 100px;

}

/* LEFT SIDE */
.enroll-left h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    color: black;
    font-family: Preahvihear;
    text-align: start;
}

.enroll-left p {
    margin: 25px 0;
    font-size: 20px;
    color: #222;

}

.admission-btn {
    display: inline-block;
    padding: 12px 28px;
     background: #0A3D91;
   
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.admission-btn:hover {
    color: #000000 !important;
    background: #fbba2c;
}


/* RIGHT IMAGE */
.enroll-right img {
    width: 25%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: -348px;     /*  desktop  */
    right: 80px;

    transform: translateY(40%);
    /* <<< IMAGE HEAD COMES OUT ABOVE YELLOW */
}

/* ------------------- RESPONSIVE check response------------------- */

/* TABLET */
    @media (max-width: 768px) {

    .enroll-section {
        padding: 0px 30px;
        min-height: 500px;
        margin: 100px 0;
    }

    .enroll-left h1 {
        font-size: 42px;
    }

    .enroll-right img {
        width: 330px;       /* better scaling */
        right: 20px;
        top: -282px;        /* FIXED missing px */
        transform: translateY(30%);
    }
}


/* MOBILE */
   @media (max-width: 1024px) {

    .enroll-section {
        padding: 0px 30px;
        min-height: 500px;
        margin: 100px 0;
    }

    .enroll-left h1 {
        font-size: 42px;
    }

    .enroll-right img {
        width: 330px;       /* better scaling */
        right: 20px;
        top: -282px;        /* FIXED missing px */
        transform: translateY(30%);
    }
}


/* SMALL MOBILE */

@media (max-width: 600px) {

    .enroll-section {
        padding: 0 20px;
        min-height: auto;
        /* Allow flexible size in mobile */
    }

    .enroll-container {
        flex-direction: column-reverse;
     
        display: flex;
        text-align: center;
    }

    .enroll-right img {
        position: relative;
        width: 80%;
        margin: auto;
        right: 0;
        top: -30;
        bottom: 0; /*0*/
        transform: translateY(0);
        margin-top: 200px;
        /* slight overlap */
    }

    .enroll-left h1 {
        font-size: 34px;
    }
}


/* home ok */