:root {
    --primary-background-color: linear-gradient(to bottom, #ffffff, #ffffff);
    --secondary-background-color: #ffffff;

}


/* Default styles for all devices */
.section-1,
.section-3 {
    display: flex;
}

.section-1 {
    /* background: #111; */
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* padding-top: 5%; */
    background-color: #000203;
}


@media (max-width: 768px) {
    .section-1 {

        padding-bottom: 250px;
    }
}

.section-3 {
    padding-top: 100px;
    background-color: var(--secondary-background-color);
}



/* ----------------------------------------------------------------------------- */
.div-1 {
    width: 40%;
    padding-bottom: 0%;
}


.div-2 {
    padding: 50px;
    width: 60%;
    padding-bottom: 20%;
}

.div-3 {
    padding: 0;
    text-align: center;
    width: 40%;
}

.div-4 {
    padding-top: 80px;
    padding-right: 50px;
    width: 60%;
    background-color: transparent;
}

.div-5 {
    padding: 50px;
    width: 60%;
    background-color: transparent;
}

.div-6 {
    padding: 0;
    text-align: center;
    width: 40%;
}

/* ----------------------------------------------------------------------------- */
.div-1 img {
    padding-top: 60px;
    width: 100%;
}

.div-3 img {
    width: 100%;
    animation: 0.5s infinite;
}

@keyframes wiggle-both-axes {
    0% {
        transform: translate(0, 0);
    }

    /* Start at original position */
    25% {
        transform: translate(-10px, 10px);
    }

    /* Move top-left */
    50% {
        transform: translate(10px, -10px);
    }

    /* Move bottom-right */
    75% {
        transform: translate(-10px, 10px);
    }

    /* Move bottom-left */
    100% {
        transform: translate(0, 0);
    }

    /* Return to original position */
}

@keyframes wiggle {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(3px, -3px);
    }

    50% {
        transform: translate(-3px, 3px);
    }

    75% {
        transform: translate(3px, 3px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.div-6 img {
    width: 50%;
    animation: wiggle 2s infinite;
}

/* ----------------------------------------------------------------------------- */
.div-2 h1 {
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 90px;
}

.div-4 h1 {
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 60px;
}

.div-4 h2 {
    padding-top: 10px;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 20px;
}

.div-5 h1 {
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 60px;
}

.div-5 h2 {
    padding-top: 10px;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 25px;
}

.div-2 p {
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    padding-top: 20px;
    color: white;
    font-size: 25px;
}

.div-4 p {
    /* background-color: red; */
    line-height: 1.2;
    /* color: rgba(255, 255, 255, 0.8); */
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    padding-top: 20px;
    color: rgb(255, 255, 255);
    font-size: 20px;
}

.div-5 p {
    line-height: 1.2;
    /* color: rgba(255, 255, 255, 0.8); */
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    padding-top: 20px;
    color: rgb(255, 255, 255);
    font-size: 15px;
}

.explore-btn {
    position: relative;
    top: 50px;
    left: 50px;
    text-decoration: none;
    background-color: rgba(117, 176, 211, 0.7);
    padding: 10px 50px;
    border-radius: 15px;
    color: white;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.explore-btn:hover {
    background-color: #fff;
    color: #75b0d3;
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.5);
    /* More prominent shadow on hover */
}




/* ------------------section-2-------------- */

.section-2 {
    background-color: var(--secondary-background-color);
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    align-content: center;
    /* max-width: 1100px; */
    margin: 0 auto;
    text-align: center;
}

.card-2-h1 {
    font-family: "Poppins", sans-serif;
    /* Choose any font */
    font-weight: 700;
    /* Bold */
    font-size: 30rem;
    margin-right: auto;
    margin-left: auto;
    width: 800px;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    font-family: "Poppins", sans-serif;

    margin-right: auto;
    margin-left: auto;
    width: 500px;
    color: #555;
    margin-bottom: 40px;
}

/* =======================
   Modernized Section Card
   ======================= */
.section-2-card {
    position: relative;
    margin: 40px auto;
    max-width: 950px;
    min-height: 280px;
    background: linear-gradient(145deg, #eef4ff 0%, #f7faff 40%, #e5ecf9 100%);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    padding: 28px 38px 80px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}

/* Glow background effect */
.section-2-card::after {
    content: "";
    position: absolute;
    inset: -25% -10% auto -10%;
    height: 65%;
    background: radial-gradient(55% 55% at 30% 30%, rgba(124, 181, 255, .25), rgba(124, 181, 255, 0) 70%);
    z-index: 0;
}

/* Hover depth */
.section-2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

/* Badge-style label */
.section-label {
    position: absolute;
    left: 50%;
    top: -14px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #6c63ff, #8a7dff);
    color: white;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(108, 99, 255, 0.4);
    z-index: 2;
}

/* Card layout */
.cards-section-2 {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

/* Each inner card */
.card-2-byjus {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 260px;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover subtle lift */
.card-2-byjus:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .15);
}

/* Media */
.card-2-byjus img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Text */
.card-2-byjus-text {
    flex: 1;
}

.card-2-byjus h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.card-2-byjus p {
    margin: 6px 0 0;
    font-size: .95rem;
    color: #475569;
    line-height: 1.4;
}

/* Divider */
.card-byjus-seprator {
    align-self: center;
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, .1), rgba(15, 23, 42, .05) 20%, rgba(15, 23, 42, .1));
    border-radius: 2px;
}

/* CTA button */
.button-card {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #ff7a3d, #ff9d52);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 122, 61, .35);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.button-card:hover {
    background: linear-gradient(90deg, #ff8b53, #ff7a3d);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 122, 61, .45);
}


@media (max-width: 768px) {
    .section-2 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .card-2-h1,
    .subtitle {
        width: 300px;
        /* background-color: red; */
    }

    /* .slider-overlay {
        margin-top: 50px;
    } */

}

/*---------------------------------Stress Section------------------------*/

/* ==============  HIPPO — Stress-Free Hero  ============== */
:root {
    --hippo-bg: #ffffff;
    --hippo-text: #0f172a;
    --hippo-sub: #475569;
    --hippo-accent-1: #5a54ff;
    --hippo-accent-2: #9b8cff;
    --hippo-accent-3: #ff6b6b;
    --hippo-primary: #7b5cff;
    --hippo-primary-2: #9f8bff;
    --hippo-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}

.hippo-hero {
    background: var(--hippo-bg);
    padding: clamp(24px, 4vw, 48px) 18px;
    display: grid;
    place-items: center;
}

.hippo-hero__inner {
    max-width: 1120px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(18px, 3vw, 40px);
    align-items: center;
}

/* Illustration */
.hippo-hero__media {
    position: relative;
    margin: 0;
    aspect-ratio: 4/3;
    border-radius: 22px;
    /* overflow: hidden; */
    /* background: radial-gradient(120% 120% at 15% 20%, #ede9ff 0%, #f6f5ff 50%, transparent 60%),
        linear-gradient(135deg, #eef1ff, #f7f9ff); */
    /* box-shadow: var(--hippo-shadow); */
    /* isolation: isolate; */
}

.hippo-hero__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    mix-blend-mode: normal;
    filter: saturate(1.02) contrast(1.02);
    transform: scale(1.01);
}

.hippo-blob {
    position: absolute;
    inset: auto -12% -8% auto;
    width: 60%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(60% 60% at 30% 30%, rgba(122, 102, 255, .35), rgba(122, 102, 255, 0) 70%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}

/* Copy */
.hippo-hero__copy {
    padding: clamp(6px, 1vw, 12px) clamp(4px, .5vw, 8px);
}

.hippo-hero__title {
    margin: 0 0 10px;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(28px, 4.2vw, 46px);
    line-height: 1.08;
    letter-spacing: .2px;
    color: var(--hippo-text);
    text-wrap: balance;
}

.hippo-accent {
    background: linear-gradient(90deg, var(--hippo-accent-1), var(--hippo-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .35),
        0 8px 30px rgba(122, 102, 255, .25);
}

.hippo-hero__subtitle {
    margin: 10px 0 18px;
    color: var(--hippo-sub);
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.6;
    max-width: 46ch;
}

/* CTAs */
.hippo-hero__ctas {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 8px 0 14px;
}

.hippo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
    will-change: transform;
}

.hippo-btn--primary {
    color: #fff;
    background: linear-gradient(90deg, var(--hippo-primary), var(--hippo-primary-2));
    box-shadow: 0 10px 22px rgba(123, 92, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.hippo-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(123, 92, 255, .45);
}

.hippo-btn--ghost {
    color: var(--hippo-primary);
    background: #f2efff;
    box-shadow: inset 0 0 0 1px #e1dcff;
}

.hippo-btn--ghost:hover {
    background: #ebe7ff;
    transform: translateY(-2px);
}

/* Bullet points */
.hippo-hero__points {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    color: var(--hippo-sub);
    font-size: 14px;
    display: grid;
    gap: 6px;
}

.hippo-hero__points li {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 8px;
}

.hippo-hero__points li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--hippo-accent-1), var(--hippo-accent-2));
    box-shadow: 0 6px 12px rgba(122, 102, 255, .35);
}

/* Responsive */
@media (max-width: 920px) {
    .hippo-hero__inner {
        grid-template-columns: 1fr;
    }

    .hippo-hero__media {
        order: 2;
    }

    .hippo-hero__copy {
        order: 1;
    }

    .hippo-hero__title {
        text-align: center;
    }

    .hippo-hero__subtitle,
    .hippo-hero__points {
        margin-left: auto;
        margin-right: auto;
        max-width: 60ch;
    }

    .hippo-hero__ctas {
        justify-content: center;
    }
}




/*--------------------------courses section----------------------------------*/

.section-courses-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.left-content {
    flex: 1;
    min-width: 300px;
}

.section-courses-inner h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-courses-inner h1 span {
    color: #ff6b35;
    text-decoration: underline;
}

.cards-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cards-courses-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.cards-courses-box:hover {
    transform: translateY(-5px);
}

.cards-courses-box.new::before {
    content: "NEW";
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff5c5c;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
}

.card-icon-courses {
    font-size: 30px;
    margin-bottom: 10px;
}

.cards-courses-box h4 {
    margin: 5px 0;
    color: #5d5dff;
    font-size: 14px;
}

.cards-courses-box h3 {
    margin: 0;
    font-weight: bold;
    font-size: 18px;
}

.cards-courses-box p {
    font-size: 14px;
    color: #555;
}

.cards-courses-box button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #002244;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.more-button-courses {
    padding: 10px 20px;
    background-color: #ff6b35;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more-button-courses:hover {
    background-color: #e85c2d;
}


.right-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.right-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .section-courses-inner {
        flex-direction: column;
    }

    .right-image {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/*-------------------------------------------Section Three Notes-----------------------------*/

.section-4 {
    padding-top: 10%;
    background-color: #ffffff;
}

.section-4-wrapper {
    max-width: 1100px;
    /* or whatever fits your layout */
    margin: 0 auto;
    /* <- this centers block-level elements */
    background-color: #ffffff;
}


.section-heading {
    font-size: 2rem;
    margin-bottom: 20px;
}

.highlight {
    color: #ff4c00;
    font-weight: 700;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 6px;
    background: #ffe066;
    z-index: -1;
    border-radius: 4px;
}

.class-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.class-buttons button {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #0a0a23;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: 500;
}

.class-buttons .active {
    background-color: #0a0a23;
    color: #fff;
}

.class-buttons .new {
    background: #ffe066;
    font-weight: bold;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.materials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.material-box {
    background-color: #ffe4e1;
    padding: 20px;
    border-radius: 16px;
    width: 220px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.material-box:nth-child(2) {
    background-color: #e6ddff;
}

.material-box:nth-child(3) {
    background-color: #e8ddff;
}

.material-box:nth-child(4) {
    background-color: #d9ecff;
}

.material-box h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.material-box p {
    font-size: 0.95rem;
    color: #333;
}

.circle-img {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 5px solid #fff;
}

.circle-img img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .section-4 {
        padding-left: 20px;
        padding-right: 20px;
    }


}


/*------------------------------------ section 5 advantages ----------------------------------------------*/
.section-5 {
    padding-top: 50px;
    /* margin: 40px; */
    background-color: #ffffff;
}

.section-5-wrapper {
    max-width: 1200px;
    /* or whatever max width suits you */
    margin: 0 auto;
    padding: 0 20px;
}

.heading-advantage {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.grid-container-advantage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Max 3 per row */
    gap: 30px;
    padding: 0 20px;
}

/* Force 2 per row on medium devices */
@media (max-width: 800px) {
    .grid-container-advantage {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Force 1 per row on small devices */
@media (max-width: 500px) {
    .grid-container-advantage {
        grid-template-columns: 1fr;
    }
}

.grid-item-advantage {

    text-align: center;
    padding: 10px;
}

.grid-item-advantage img {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.grid-item-advantage p {
    margin: auto;
    width: 250px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 600px) {
    h2 {
        font-size: 1.5rem;
    }

    .grid-item p {
        font-size: 0.95rem;
    }
}

/*------------------------------------------------last section-6----------------------------------------------------------*/

.section-6 {
    background: #ffffff;
    /* background: linear-gradient(180deg, rgba(181, 213, 232, 1) 0%, rgba(255, 255, 255, 1) 40%); */
    padding-top: 150px;
}

.section-6-wrapper {
    display: flex;
    max-width: 1200px;
    /* or whatever max width suits you */
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: -4.8px;
}



.last-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    width: 50%;
}

.last-text h1 {
    font-size: 2rem;
    text-align: left;
    padding-bottom: 10px;
}

.last-text p {
    font-size: 1.5rem;
    text-align: left;
    padding-bottom: 20px;

}

.last-text a {
    width: 30%;
    /* background-color: green; */
}

.last-img {
    text-align: left;
    width: 50%;
    /* background-color: green; */
}


/* Small devices: stack vertically */
@media (max-width: 500px) {
    .section-6-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 0px;
        /* background-color: red; */
        padding: 0 50px 0px 50px;

    }

    .last-text {
        text-align: center;
        /* background-color: green; */
        width: auto;
    }

    .last-text h1 {
        text-align: center;
    }

    .last-text p {
        width: 300px;
        margin: 0 auto;
        text-align: center;
    }

    .last-text a {
        width: 200px;
        margin: 0 auto;
    }

    .last-img {
        /* width: auto; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* background-color: yellow; */
    }

    .last-img img {
        width: 250%;
        /* width: auto; */
        max-width: none;
        position: relative;
        /* left: 50%; */
        /* transform: translateX(-50%); */
    }

}





/*------------------------------------------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Raleway:400,700,900');

/* Search Box Styling */
#search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 18px;
    color: white;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 95% center;
    border-radius: 50px;
    border: 1px solid white;
    transition: all 250ms ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

#search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#search-bar input:hover,
#search-bar input:focus {
    padding: 12px 0;
    outline: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid white;
    border-radius: 0;
    background-position: 100% center;
}


#search-bar {
    padding-top: 50px;
    padding-left: 50px;
}



/* Media query for smaller devices (e.g., screens less than or equal to 768px) */
@media (max-width: 768px) {
    .explore-btn {
        /* padding-top: 10%; */
        /* margin-top: 10%; */
        position: relative;
        top: 100%;
    }

    .section-1,
    .section-2,
    .section-3 {
        flex-direction: column;
        /* Stack items vertically */
        padding-top: 5%;
        /* Reduce padding for smaller screens */
    }

    .section-1 {
        padding-top: 10%;
        /* Adjust padding for section-1 */
    }

    .section-3 {
        padding-top: 5%;
        /* Adjust padding for section-3 */
    }

    .div-1 {
        text-align: center;
        width: 100%;
        background-color: green;
    }

    .div-1 img {
        width: 100%;
    }

    .div-2 {
        width: 100%;
        background-color: red;
        padding: 0px;
        text-align: center;
    }

    .div-2 h1 {
        font-size: 60px;
    }

    /* .div-3 {} */
}


/*------------------------------- Why Learners choose us----------  */


/* ==== Value Section (Why learners choose Hippo) ==== */
#value.hippo-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 16px;
    font-family: "Nunito", "Poppins", sans-serif;
    /* soft rounded font */
}

#value .hippo-section__head {
    text-align: center;
    margin-bottom: 22px;
}

#value .hippo-h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    background: linear-gradient(90deg, #f59e0b, #6366f1);
    /* light orange → indigo */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#value .hippo-sub {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
    font-size: 15px;
}

/* ==== Grid of Cards ==== */
#value .hippo-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
    #value .hippo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #value .hippo-grid {
        grid-template-columns: 1fr;
    }
}

/* ==== Cards ==== */
#value .hippo-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.08);
    /* orange shadow */
    text-align: center;
}

#value .hippo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.18);
    /* indigo lift */
}

#value .hippo-card__title {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 18px;
    color: #1f2937;
    background: linear-gradient(90deg, #f59e0b, #7c3aed);
    /* orange → purple */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#value .hippo-card__text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
}







/* ---------------------------------How HIPPO Works ------------------------------*/
/* ==== Sections base (How Hippo flows) ==== */
.hippo-section {
    max-width: 1120px;
    margin: 0 auto;
    font-family: "Nunito", "Poppins", sans-serif;
    /* soft & rounded */
}

.hippo-section--pad {
    padding: 40px 16px;
}

.hippo-section--alt {
    background: linear-gradient(180deg, #fdfdff, #f7f9ff);
    /* light gradient background */
}

.hippo-section__head {
    text-align: center;
    margin-bottom: 24px;
}

.hippo-h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    /* Indigo → Purple */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hippo-sub {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
    font-size: 15px;
}

/* ==== Steps ==== */
.hippo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 800px) {
    .hippo-steps {
        grid-template-columns: 1fr;
    }
}

.hippo-step {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.08);
}

.hippo-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(79, 70, 229, 0.15);
}

.hippo-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    /* purple gradient circle */
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 10px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.hippo-step__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.hippo-step__text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
}





/*-------------------------- Download Student App ----------------------*/
:root {
    --ink: #0b0b0b;
    --muted: #6c7280;
    --label: #9aa0a6;
    --grad1: linear-gradient(135deg, #4a6cf7, #00c2ff);
    --grad2: linear-gradient(135deg, #6d28d9, #db2777);
    --bg: linear-gradient(135deg, #f8fbff, #eef3ff);
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--ink);
}

/* ===== Layout ===== */
.wrap {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

@media (max-width: 1024px) {
    .wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Left image */
.hero-media img {
    width: 70%;
    max-width: 480px;
    margin: auto;
    filter: drop-shadow(0 15px 30px rgba(74, 108, 247, 0.25));
    border-radius: 20px;
}

/* Right copy column */
.copy h1 {
    margin: 0;
    font-weight: 900;
    font-size: clamp(42px, 7vw, 80px);
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.copy h2 {
    margin: 8px 0 20px;
    font-weight: 800;
    font-size: clamp(28px, 5vw, 52px);
    background: var(--grad2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label {
    display: inline-block;
    margin: 0 0 20px;
    color: var(--label);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    margin: 12px 0 12px;
    max-width: 52ch;
}

/* Download row */
.dl-row {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

/* QR placeholder */
.qr {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.15),
        /* main shadow */
        0 4px 8px rgba(0, 0, 0, 0.08),
        /* soft spread */
        inset 0 0 8px rgba(0, 0, 0, 0.05);
    /* inner subtle */
    transition: transform .25s ease, box-shadow .25s ease;
}

.qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effect for interactivity */
.qr:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 6px 12px rgba(0, 0, 0, 0.12),
        inset 0 0 10px rgba(0, 0, 0, 0.05);
}


/* Store badges */
.store-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ✅ Corrected Badge styles */
.badge-download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 18px;
    text-decoration: none;
    min-width: 260px;
    color: #fff;
    background: var(--grad1);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.25);
    transition: all .3s ease;
}

.badge-download:hover {
    transform: translateY(-4px);
    background: var(--grad2);
    /* gradient swap on hover */
    box-shadow: 0 16px 28px rgba(0, 0, 0, .25);
}

.badge-download__icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.badge-download__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-download__text small {
    font-size: 12px;
    font-weight: 600;
    opacity: .85;
    letter-spacing: .02em;
}

.badge-download__text strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .03em;
}



/* -------------------------------FAQ-------------------------- */


@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* ==== FAQ Section Styling with Rounded Font ==== */
#faq {
    font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.section,
.hippo-h2,
.hippo-sub,
.hippo-faq__item h3,
.hippo-faq__item p {
    font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


/* ==== Sections base ==== */
.hippo-section {
    max-width: 1120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    /* subtle section bg */
    border-radius: 20px;
    padding: 40px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.hippo-section__head {
    text-align: center;
    margin-bottom: 24px;
}

.hippo-h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 32px);
    background: linear-gradient(90deg, #4f46e5, #7c7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hippo-sub {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

/* ==== FAQ ==== */
.hippo-faq {
    display: grid;
    gap: 18px;
}

.hippo-faq__item {
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hippo-faq__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.15);
}

.hippo-faq__item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.hippo-faq__item p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}











/* ---------- SECTION ---------- */



.section {
    text-align: center;
    padding: 80px 10%;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #4a6cf7, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ---------- IMAGE GRID ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on large */
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.feature {
    text-align: center;
}

.feature img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    filter: drop-shadow(0px 10px 30px rgba(74, 108, 247, 0.3));
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-top: 8px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}






/*----------------------Courease DOr U */




.hippo-courses-section {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.courses-dynamic-text {
    display: flex;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
}


.courses-static-text {
    margin-right: 10px;
    /* Spacing between static text and dynamic word */
}

.courses-dynamic-container {
    display: inline-block;
    vertical-align: bottom;
    /* Align with the static text */
}

#courses-changing-word {
    background: linear-gradient(135deg, #2fe7ff, #2440dd);
    -webkit-background-clip: text;
    /* For Safari/Chrome */
    -webkit-text-fill-color: transparent;
    /* Makes text show the gradient */
    background-clip: text;
    /* Standard property */
    color: transparent;
    /* Fallback */
}


.courses-cursor {
    color: #00b7ff;
    /* Cursor color */
    font-weight: bold;
    animation: blinkCursor 0.75s infinite;
    /* Blinking animation */
}



/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .courses-dynamic-text {
        /* background-color: red; */
        flex-direction: column;
        /* max-width: 200px; */
    }

    .courses-static-text {
        /* background-color: yellow; */
        /* font-size: 50px; */
    }

    .courses-changing-word {
        font-size: 50px;
    }
}



@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.hippo-courses-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.hippo-courses-card {
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hippo-courses-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.hippo-courses-card svg {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    stroke: #333;
}

.hippo-courses-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5a63f2;
    margin: 4px 0;
}

.hippo-courses-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    margin: 6px 0;
}

.hippo-courses-card p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 14px;
}

.hippo-courses-card button {
    background: linear-gradient(135deg, #4a6cf7, #00c2ff);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s ease;
}

.hippo-courses-card button:hover {
    background: linear-gradient(135deg, #3a57d5, #0099cc);
}

/* Card Color Variants */
.hippo-courses-card-programming {
    background: linear-gradient(135deg, #e0e9ff, #f0f4ff);
}

.hippo-courses-card-marketing {
    background: linear-gradient(135deg, #fff2d5, #ffe9b5);
}

.hippo-courses-card-graphics {
    background: linear-gradient(135deg, #dff6ff, #ebfaff);
}

.hippo-courses-card-languages {
    background: linear-gradient(135deg, #f4e9ff, #ede2ff);
}

.hippo-courses-more-btn {
    margin-top: 20px;
    background: linear-gradient(135deg, #2fe7ff, #2440dd);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hippo-courses-more-btn:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Right Image */
.hippo-courses-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hippo-courses-right img {
    width: 120%;
    /* max-width: 1000px; */

    z-index: 2;
    /* Keep image above glow */
    position: relative;
}

/* Glow Effect */
.hippo-courses-right::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4), rgba(0, 242, 254, 0.2), transparent);
    filter: blur(40px);
    z-index: 1;
}


@media (max-width: 900px) {
    .hippo-courses-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hippo-courses-right {
        width: 100%;
        order: -1;
    }

    .hippo-courses-right img {
        width: 100%;
    }
}



/* Coures Overlay + Panel */
/* iski js changing.js may h close & open panel wali */

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 9998;
}

/* Center Panel */
.hippo-courses-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}

.hippo-courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: linear-gradient(135deg, #2fe7ff, #2440dd);
    color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.hippo-courses-header h2 {
    padding-top: 10px;
    font-size: 30px;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.hippo-courses-list {
    padding: 24px;
    overflow-y: auto;
    max-height: 500px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    scrollbar-width: none;
    /* Firefox */
}

.hippo-courses-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.course-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail {
    position: relative;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.course-info {
    padding: 14px;
}

.course-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #2440dd;
}

.course-info p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #444;
}

.course-info a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2fe7ff, #2440dd);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.course-info a:hover {
    background: linear-gradient(135deg, #2440dd, #2fe7ff);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}










/******************** Marquee VOntainer***********************/



.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    background-color: #79a8ef;
}

.marquee-track {
    display: inline-flex;
    animation: scroll-left 15s linear infinite;
}

.marquee-text {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    padding: 0 2rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}