/* ==========================================================
   MARYBERY WEBSITE
   STYLE.CSS
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 750;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 430;
}

/*=========================================
MARYBERY BRAND COLORS
=========================================*/

:root {

    --primary: #5B2EFF;
    --primary-light: #8A63FF;

    --accent: #FF7B29;
    --accent-dark: #FF5A1F;

    --bg: #FFFDFB;
    --soft: #FFF4EC;

    --text: #2B2B2B;
    --text-light: #666666;

    --white: #FFFFFF;

}

/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.4;
}

html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

nav {
    position: sticky;
    top: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 8%;

    background: #7B2CBF;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);

    transition: .35s ease;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: .3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFE082;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: #FFE082;
    transition: .3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger */

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

/* ==========================
   DROPDOWN MENU
========================== */

.dropdown {
    position: relative;
    display: inline-block;

}

/* Learning Solutions arrow */
.dropdown>a {
    display: flex;
    align-items: center;
}

.dropdown>a::before {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
    order: 2;
}

.dropdown>a {
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {

    position: absolute;
    top: 100%;
    left: 0;

    width: 270px;

    background: #FFFDF8;

    border-radius: 0 0 12px 12px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);

    display: none;

    padding: 0;

    margin: 0;

    z-index: 99999;

}

.dropdown-menu li {
    border-bottom: 1px solid #e8e0f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}



.dropdown-menu li a {
    display: block;
    padding: 16px 20px;
    color: #7B2CBF;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #FFD54F;
    color: #7B2CBF;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ==========================
   LEARNING HERO
========================== */

.learning-hero {
    position: relative;
    overflow: hidden;
}

.learning-banner {
    position: relative;

}

.learning-banner img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.learning-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, .55),
            rgba(0, 0, 0, .15),
            transparent);
}

/* Dark overlay */

.learning-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(rgba(0, 0, 0, .28),
            rgba(0, 0, 0, .20));

    pointer-events: none;
}

/* ==========================
   Banner Slow Zoom
========================== */

.learning-banner img {
    animation: bannerZoom 12s ease-in-out infinite alternate;
}

@keyframes bannerZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }

}

/* Hero Content */

.learning-hero-content {

    position: absolute;
    top: 50%;
    left: 10%;

    transform: translateY(-50%);

    color: #fff;

    .learning-hero {
        height: 340px;
    }

    z-index:10;

    max-width:550px;
    animation:fadeLeft 1s ease;

}

@keyframes fadeLeft {

    0% {
        opacity: 0;
        transform: translate(-50px, -50%);
    }

    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }

}

.learning-hero-content h1 {

    font-size: 52px;

    font-weight: 800;

    margin-bottom: 18px;

    line-height: 1.1;

}

.learning-hero-content p {

    font-size: 22px;

    line-height: 1.8;


    margin-top: 15px;

}

.hero-btn {

    display: inline-block;

    background: linear-gradient(135deg, #ffd54f, #ffb300);
    box-shadow: 0 10px 30px rgba(255, 180, 0, .35);

    color: #7B2CBF;

    padding: 16px 38px;

    border-radius: 50px;

    font-weight: 700;

    text-decoration: none;

    font-size: 17px;

    transition: .35s;


}

.hero-btn:hover {

    transform: translateY(-5px);

    background: #fff;

    box-shadow: 0 18px 35px rgba(0, 0, 0, .25);

}

/*==============================
 HERO CONTENT ANIMATION
==============================*/

.learning-hero-content {

    animation: heroFade 1.2s ease forwards;

}

@keyframes heroFade {

    from {

        opacity: 0;

        transform: translateY(-50%) translateX(-40px);

    }

    to {

        opacity: 1;

        transform: translateY(-50%) translateX(0);

    }

}

/* ==========================
   PREMIUM HERO SECTION
========================== */

.hero {
    padding: 0;
    background: #fff;
}

.slider {
    width: 100%;
    height: calc(100vh - 70px);
    position: relative;
    overflow: hidden;
}

.slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide.active img {
    animation: zoomHero 6s linear;
}

@keyframes zoomHero {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    z-index: 5;
}

.hero-overlay {
    animation: heroFade 1.2s ease;
}

@keyframes heroFade {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-overlay h1 {
    font-size: 60px;
    max-width: 900px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 22px;
    max-width: 750px;
    margin-bottom: 35px;
}

.hero-buttons a {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
}

.hero-buttons a {
    transition: .35s ease;
}

.hero-buttons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(163, 120, 201, 0.35);
}

.hero-btn,
.slider-btn,
.cta-btn {

    animation: fadeUp 1.4s ease;

}


.prev,
.next {
    z-index: 10;
}

/* Slider Buttons */

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #7B2CBF;
    font-size: 30px;
    cursor: pointer;
    transition: .3s;
}

.explore-btn:hover,
.product-btn:hover,
.about-btn:hover {
    transform: translateY(-3px);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {

    background: #7B2CBF;
    color: white;

}

/* Explore Button */

.explore-btn {

    visibility: hidden;
    position: absolute;

    top: 30px;
    right: 30px;

    background: #7B2CBF;

    color: #fff;

    padding: 14px 28px;

    border-radius: 8px;

    font-weight: bold;

    transition: .3s;

}

.explore-btn:hover {

    background: #8E7CC3;

}


/* ==========================
   FEATURES
========================== */
.features {
    padding: 80px 8%;
    text-align: center;
}

.features h2 {
    text-align: center;
    color: #7B2CBF;
    font-size: 38px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px auto 0;
    max-width: 1200px;
}

.feature-box {
    width: 280px;

}

.feature-box h3 {
    margin-top: 18px;
    margin-bottom: 15px;
    color: #7B2CBF;
    font-size: 24px;
    line-height: 1.3;
}

.features-grid .feature-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;

    text-align: center;
    border: 1px solid #ececec;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .35s;
}

.features-grid .feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .16);
}

.features-grid .feature-box i {

    width: 90px;
    height: 90px;
    line-height: 90px;

    border-radius: 50%;

    background: linear-gradient(135deg, #7B2CBF, #9D4EDD);

    color: #fff;

    font-size: 38px;

    margin-bottom: 25px;

    box-shadow: 0 15px 30px rgba(123, 44, 191, .30);

    transition: .4s;

}

.features-grid .feature-box:hover i {

    transform: translateY(-8px) scale(1.12);

    background: linear-gradient(135deg, #FF8A3D, #F97316);

}

.features-grid .feature-box h3 {
    color: #7B2CBF;
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    max-width: 260px;
}

.feature-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    transition: .35s;
}



/*=========================================
FEATURED LEARNING SOLUTIONS
=========================================*/

.featured-solutions {
    padding: 90px 8%;
    background: #FFFDF8;
}

.featured-solutions .section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.featured-solutions h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.featured-solutions p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

.solution-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.solution-card {
    width: 280px;

    background: #fff;

    border-radius: 24px;

    padding: 35px 25px;

    text-align: center;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    border: 1px solid #eee;

}

.solution-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 22px 45px rgba(0, 0, 0, .16);

    border-color: #7B2CBF;

}

.solution-card img {

    width: 90px;

    height: 90px;

    object-fit: contain;

    margin-bottom: 20px;

}

.solution-card h3 {

    color: #7B2CBF;

    font-size: 24px;

    margin-bottom: 15px;

}

.solution-card p {

    font-size: 15px;

    margin-bottom: 25px;

}

.solution-card a {

    display: inline-block;

    text-decoration: none;

    background: #7B2CBF;

    color: #fff;

    padding: 12px 28px;

    border-radius: 30px;

    transition: .3s;

    font-weight: 600;

}

.solution-card a:hover {

    background: #FF8A3D;

}




/* ==========================
   PRODUCTS
========================== */

.products {
    padding: 90px 8%;

    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #FFFDF8 100%);
}

.products h2 {
    font-size: 40px;
    font-weight: 750;
    color: #7B2CBF;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.products h2 span {
    color: #7B2CBF;

}

.product-subtitle {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 50px auto 0;
}

.product-card {
    width: 280px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    justify-content: center;
}

.view-book-btn {
    width: 100%;
    padding: 13px 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7B2CBF, #5A189A);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.view-book-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5A189A, #3C096C);
}

.product-card {
    background: #fcfbff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;

    border: 1px solid #eef0f6;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);

    transition: all .4s ease;

    overflow: hidden;

    position: relative;
}

.product-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 25px 55px rgba(0, 0, 0, .16);

    border-color: var(--primary);

}

.product-card img {

    width: 100%;
    max-width: 200px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
    margin: 10px auto 20px;
    transition: .45s ease;
    transform: scale(1.08) rotate(-2deg);

}

.product-card h3 {

    margin: 20px 0 10px;

    color: #7B2CBF;

}

.product-card p {

    font-size: 15px;

    color: #666;

    line-height: 1.6;

    margin: 12px 0 22px;

    padding: 0 10px;

}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #FF7A00;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.product-btn {

    display: inline-block;

    margin: 25px 0;

    background: linear-gradient(90deg, #7B2CBF, #A855F7);
    box-shadow: 0 10px 25px rgba(123, 44, 191, .25);

    color: white;

    padding: 12px 28px;

    border-radius: 8px;

    font-weight: bold;

}

.product-btn:hover {

    background: #8E7CC3;

}

/* ==========================================
   PROGRAMS
========================================== */

.programs {
    padding: 90px 8%;
    background: #ffffff;
    text-align: center;
}

.programs h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 50px;
}

.program-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.program-card {
    width: 320px;
    background: #F8F4FF;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .15);
}

.program-card h3 {
    color: #7B2CBF;
    font-size: 28px;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    line-height: 1.7;
}

/* ==========================================
   ABOUT
========================================== */

.about {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 90px 8%;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #7B2CBF;
    font-size: 42px;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin: 12px 0;
}

.about-btn {
    display: inline-block;
    margin-top: 25px;
    background: #7B2CBF;
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
}

.about-btn:hover {
    background: #8E7CC3;
}


/* ==========================================
   WHY MaryBery
========================================== */

.why-MaryBery {
    padding: 90px 8%;
    background: #F8F4FF;
    text-align: center;
}

.why-MaryBery h2 {
    color: #7B2CBF;
    font-size: 42px;
}

.why-subtitle {
    color: #666;
    margin: 15px 0 50px;
}

.why-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.why-card {
    width: 260px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.why-card h3 {
    margin: 20px;
    color: #7B2CBF;
}

.why-card p {
    padding: 0 20px 25px;
    color: #666;
}

/* WHY CHOOSE SECTION */

.why-products {
    padding: 90px 8%;
    background: #fff;
    text-align: center;
}

.why-products h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.why-products p {
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.why-item:hover {
    transform: translateY(-10px);
}

.why-item i {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 20px;
    display: block;
}

.why-item h3 {
    color: #7B2CBF;
    margin-bottom: 15px;
    font-size: 24px;
}

.why-item p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}



/* ==========================================
   STATS
========================================== */

.stats {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #8E7CC3;
    color: #fff;
    padding: 12px 20px;
}

.stat {
    padding: 15px 10px;
    text-align: center;
}

.stat h2 {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
}

.stat p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}


/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials {
    padding: 90px 8%;
    text-align: center;
    background: #fff;
}

.testimonials h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.testimonial-subtitle {
    color: #666;
    margin-bottom: 50px;
}

.testimonialSwiper {
    padding: 20px 50px 70px;
    margin-top: 40px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.testimonial-card {

    background: #F8F4FF;
    padding: 30px;
    border-radius: 20px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    transition: .4s;
}

.testimonial-card img {

    width: 90px;
    height: 90px;

    border-radius: 50%;
    object-fit: cover;

    margin-bottom: 20px;

}

.testimonial-card p {

    color: #555;
    font-style: italic;
    line-height: 1.7;

    margin-bottom: 20px;

}

.testimonial-card h4 {

    color: #7B2CBF;
    margin-bottom: 5px;

}

.testimonial-card span {

    color: #777;

}

/*=========================================
TESTIMONIAL STARS
=========================================*/

.stars {

    color: #FFC107;

    font-size: 22px;

    letter-spacing: 3px;

    margin: 15px 0;

}

/* Swiper */

.swiper-button-next,
.swiper-button-prev {

    color: #7B2CBF;

}

.swiper-pagination-bullet-active {

    background: #7B2CBF;

}

.swiper-button-prev {
    left: -15px;
    top: 45%;
}

.swiper-button-next {
    right: -15px;
    top: 45%;
}

.swiper-button-prev,
.swiper-button-next {
    color: #7B2CBF;
}

/* ==========================================
   GALLERY PAGE
========================================== */

.gallery-banner {

    height: 450px;

    background: url("../images/banners/gallery-banner.png") center center/cover no-repeat;

    position: relative;



}

.products {
    margin: 0;
    padding: 0;
}


.gallery-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(rgba(106, 13, 173, 0.65),
            rgba(106, 13, 173, 0.45));

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    text-align: center;
    color: white;
}

.gallery-overlay h1 {
    font-size: 35px;
    margin-bottom: 15px;
}

.gallery-overlay p {
    font-size: 22px;
}

.gallery-intro {
    text-align: center;
    padding: 80px 8% 40px;
}

.gallery-intro h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.gallery-intro p {
    max-width: 800px;
    margin: auto;
    color: #666;
    line-height: 1.8;
}

.gallery-section {
    padding: 2px 8% 90px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
    transition: all .35s ease;
}

.gallery-box img {

    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;

    transition: transform .4s ease;

}

.gallery-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.gallery-box:hover img {
    transform: scale(1.08);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    background: #fff;
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    /* Shows the full book */
    transition: .5s;
    background: #fff;
    padding: 10px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 18px;

    background: linear-gradient(transparent, rgba(0, 0, 0, .85));

    color: #fff;

    font-size: 18px;

    font-weight: 600;

    opacity: 0;

    transition: .35s;

}

.gallery-box:hover .gallery-caption {

    opacity: 1;

}

.gallery-box video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: .4s;

}

/*=========================================
GALLERY OVERLAY
=========================================*/

.gallery-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .15));

    display: flex;

    justify-content: center;

    align-items: flex-end;

    padding-bottom: 25px;

    opacity: 0;

    transition: .4s;

}

.gallery-overlay h3 {

    color: #fff;

    font-size: 22px;

    font-weight: 700;

    transform: translateY(20px);

    transition: .4s;

}

.gallery-box:hover img {

    transform: scale(1.08);

}

.gallery-box:hover .gallery-overlay {

    opacity: 1;

}

.gallery-box:hover .gallery-overlay h3 {

    transform: translateY(0);

}

.gallery-box:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);

}

/* ==========================================
   FOOTER
========================================== */

.footer {
    background: #7B2CBF;
    color: #fff;
    padding: 90px 8% 40px;

}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    width: 120px;
    height: 80px;
    margin-bottom: 20px;
}

.footer-box h3 {

    font-size: 28px;

    margin-bottom: 25px;

}

.footer-box p,
.footer-box li,
.footer-box a {
    color: #EBDCFF;
    text-decoration: none;
    line-height: 1.8;
}

.footer-box ul {
    list-style: none;
}

.footer-box li {
    margin-bottom: 10px;
}

.footer-box a:hover {
    color: #fff;
}

.footer-about p {
    line-height: 1.9;
}

.footer a {
    transition: .3s;
}

.footer a:hover {
    color: #FFD54F;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .12);

    transition: .35s;

}

.social-icons a:hover {

    transform: translateY(-6px);

    background: #FFD54F;

    color: #7B2CBF;

}

.footer hr {
    margin: 40px 0 20px;
    border: .5px solid rgba(255, 255, 255, .2);
}

.copyright {
    text-align: center;
    color: #EBDCFF;
}


/*=========================================
FLOATING WHATSAPP
=========================================*/

.whatsapp-float {

    position: fixed;

    width: 60px;

    height: 60px;

    bottom: 25px;

    right: 25px;

    background: #25D366;

    color: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

    z-index: 9999;

    transition: .35s ease;

    text-decoration: none;

}

.whatsapp-float:hover {

    transform: scale(1.12);

    background: #1EBE5D;

}

.whatsapp-float i {

    color: #fff;

}


/* ==========================================
   BACK TO TOP BUTTON
========================================== */

#topBtn {
    display: none;
    position: fixed;

    /* Always stay above WhatsApp */
    right: 30px;
    bottom: 100px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #6a0dad;
    color: white;

    font-size: 28px;
    font-weight: bold;

    cursor: pointer;

    /* Perfectly center the arrow */
    display: none;
    align-items: center;
    justify-content: center;

    line-height: 1;
    padding: 0;

    z-index: 9999;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}

#topBtn:hover {
    transform: translateY(-3px);
    background: #7b2cbf;
}

/*=========================================
PRODUCT BANNER
=========================================*/

.page-banner {
    width: 100%;
    height: 320px;

    background-image: url("../images/pre-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    margin: 0;
    padding: 0;
}

.banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(106, 13, 173, .45);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #fff;
    text-align: center;
}

.banner-overlay h1 {
    font-size: 54px;
    margin-bottom: 15px;
}

.banner-overlay p {
    font-size: 24px;
}

.breadcrumb {
    background: #F8F4FF;
    padding: 18px 8%;
    font-size: 16px;
}

.breadcrumb a {
    color: #7B2CBF;
    font-weight: bold;
}

.breadcrumb span {
    color: #555;
}


/* ==========================
   PRODUCT SPECIFICATION
========================== */

.product-spec {
    margin: 25px 0;
}

.product-spec h3 {
    color: #7B2CBF;
    margin-bottom: 15px;
}

.product-spec table {
    width: 100%;
    border-collapse: collapse;
}

.product-spec td {
    border: 1px solid #ddd;
    padding: 12px 15px;
}

.product-spec tr:nth-child(even) {
    background: #F8F4FF;
}

.product-spec td:first-child {
    font-weight: bold;
    width: 40%;
}



/* ==========================================
   ABOUT PAGE PREMIUM DESIGN
========================================== */

/* Banner */


.about-banner {
    height: 350px;
    background: url("../images/banners/about-banner1.png") center center/cover no-repeat;
    position: relative;
}

.about-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(rgba(106, 13, 173, 0.65),
            rgba(106, 13, 173, 0.45));

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    text-align: center;
    color: white;
}

/* About Section */

.about {
    padding: 90px 8%;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 46px;
    color: #7B2CBF;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Vision & Mission */

.vision {
    background: #F8F4FF;
    padding: 80px 8%;

    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.vision-card {

    background: white;

    width: 500px;

    padding: 40px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .4s;
}

.vision-card:hover {

    transform: translateY(-10px);

}

.vision-card h2 {

    color: #7B2CBF;

    margin-bottom: 20px;

}


/* ==========================================
   CTA SECTION
========================================== */

.cta {
    background: linear-gradient(135deg, #ad62ee, #8E24AA);
    color: #fff;
    text-align: center;
    padding: 60px 8%;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.cta p {
    max-width: 750px;
    margin: 0 auto 35px;
    font-size: 20px;
    line-height: 1.8;
    color: #F3E5FF;
}

.about-btn {
    display: inline-block;
    background: #FFD54F;
    color: #7B2CBF;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.about-btn:hover {
    background: #fff;
    color: #7B2CBF;
}

.cta-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: #FFD54F;
    color: #7B2CBF;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.cta-btn:hover {
    background: #fff;
    color: #7B2CBF;
}

/*=========================================

CORE VALUES
=========================================*/

.values {
    padding: 90px 8%;
    text-align: center;
    background: #fff;
}

.values h2 {
    font-size: 46px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.value-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.value-card {

    width: 260px;

    background: #F8F4FF;

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);

    transition: .35s;
}

.value-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);

}

.value-card h3 {

    color: #7B2CBF;

    margin-bottom: 15px;

    font-size: 28px;

}

.value-card p {

    color: #666;

    line-height: 1.7;

}

/*=========================================
OUR JOURNEY
=========================================*/

.journey {
    padding: 90px 8%;
    background: #F8F4FF;
    text-align: center;
}

.journey h2 {
    font-size: 46px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #7B2CBF;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.circle {
    width: 70px;
    height: 70px;
    background: #7B2CBF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    margin-left: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    text-align: left;
    flex: 1;
}

.timeline-content h3 {
    color: #7B2CBF;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
}

/*=========================================
BENEFITS SECTION
=========================================*/

.benefits {
    padding: 90px 8%;
    background: #ffffff;
    text-align: center;
}

.benefits h2 {
    font-size: 46px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.benefit-container {
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {

    width: 270px;

    padding: 35px 25px;

    border-radius: 20px;

    background: #F8F4FF;

    transition: .35s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.benefit-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 35px rgba(0, 0, 0, .15);

}

.icon {

    font-size: 55px;

    margin-bottom: 20px;

}

.benefit-card h3 {

    color: #7B2CBF;

    margin-bottom: 15px;

}

.benefit-card p {

    color: #666;

    line-height: 1.7;

}

/*=========================================
PRODUCT CATEGORY
=========================================*/

.product-category {

    padding: 90px 8%;

    text-align: center;

    background: #fff;

}

.product-category h2 {

    font-size: 46px;

    color: #7B2CBF;

}

.category-container {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 35px;

    margin-top: 50px;

}

.category-card {

    width: 260px;

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);

    transition: .35s;

}

.category-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 22px 40px rgba(0, 0, 0, .15);

}

.category-card img {

    width: 100%;

    height: 260px;

    object-fit: contain;

    background: #F8F4FF;

    padding: 20px;

}

.category-card h3 {

    padding: 20px;

    color: #7B2CBF;

    font-size: 28px;

}

/* Download Section */

.download {
    padding: 80px 20px;
    text-align: center;
    background: #F8F4FF;
}

.download h2 {
    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 20px;
}

.download p {
    color: #555;
    margin-bottom: 30px;
}

.download .about-btn {
    background: #7B2CBF;
    color: #fff;
}

.download .about-btn:hover {
    background: #8E7CC3;
}

/* ==========================================
   CONTACT PAGE
========================================== */

.contact {
    padding: 90px 8%;
    background: #F8F4FF;
    text-align: center;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.contact-line span:first-child {
    flex-shrink: 0;
}

.contact-heading {
    text-align: center;
    margin-bottom: 50px;
}

.contact-heading h2 {
    color: #7B2CBF;
    font-size: 42px;
    margin-bottom: 15px;
}


.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    width: 100%;
}

.contact-info {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    background: #fff;
    width: 100%;
    padding: 35px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #7B2CBF;
    box-shadow: 0 0 12px rgba(106, 13, 173, .25);
}



.contact-form button {
    width: 220px;
    display: inline-block;
    margin-top: 15px;
    transition: .3s;
}

.contact-form button {
    width: 100%;
    margin-top: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form button:hover {
    background: #FFD54F;
    color: #7B2CBF;
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border: 1px solid #eee;
    transition: .35s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.contact-card h3 {
    color: #7B2CBF;
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-info div {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.contact-info h3 {
    color: #7B2CBF;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 12px 0;
    line-height: 1.8;
    color: #444;
}

.contact-info hr {
    margin: 25px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.contact-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
}

.contact-icon-small {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* ==========================================
   CONTACT BANNER
========================================== */

.contact-banner {
    position: relative;
    height: 320px;
    background: url("../images/contact-banner.png") center center/cover no-repeat;
    overflow: hidden;
}

/* Light Purple Overlay */

.contact-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(106, 13, 173, .45);
    /* Change to 0.10 for lighter or 0.25 for darker */
    z-index: 1;
}

/* Banner Text */

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.banner-content p {
    font-size: 22px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}




/* ==========================
   HOME GALLERY
========================== */

.gallery {
    padding-top: 50px;
    padding-bottom: 80px;
    padding-left: 8%;
    padding-right: 8%;
}

.gallery h2 {
    text-align: center;
    font-size: 42px;
    color: #7B2CBF;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.gallery h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #FFFFFF;
    display: block;
    margin: 15px auto 0;
    border-radius: 10px;
}

.gallery p {
    text-align: center;
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width:768px) {

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 5%;
        position: relative;
    }

    .logo img {
        height: 65px;
    }

    .menu-toggle {
        display: block;
        font-size: 32px;
        color: #fff;
        cursor: pointer;
    }


    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        box-sizing: border-box;
        left: 0;
        right: 0;
        width: 100%;

        background: #FFFDF8;
        /* Soft off-white */

        flex-direction: column;
        align-items: flex-start;

        padding: 12px 0;

        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

        border-radius: 0 0 18px 18px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        color: #7B2CBF;
        /* Purple text */
        text-align: left;
        padding: 14px 24px;
        line-height: .8;
        border-bottom: 1px solid #eee;

        font-size: 17px;
        font-weight: 600;

        border-bottom: 1px solid #ECE5F5;

        transition: .3s;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }


    .nav-links a:hover {
        background: #F5EDFF;
        color: #5A189A;
    }

    .hero,
    .about,
    .contact-container {
        flex-direction: column;
        display: flex;
    }

    .gallery-container,
    .category-container,
    .feature-box,
    .benefit-container,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Product pages */
    .product-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }


    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background: #F8F5FF;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .dropdown-menu li a {
        color: #7B2CBF;
        padding: 10px 45px;
        border-bottom: 1px solid #ECE5F5;
    }

    .dropdown.open .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .slider {
        height: 60vw;
    }

    /* BOOKS MOBILE */

    .books-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }

    .book-card {
        width: 100%;
        max-width: 340px;

    }

    .book-image {
        height: 260px;
    }

    .book-card img {
        max-height: 220px;
    }

    .book-card h3 {
        min-height: auto;
        padding: 10px 15px;
    }


}

/* ==========================================
   THANK YOU PAGE
========================================== */

.thankyou {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #F8F2FF, #FFFFFF);
    padding: 40px;
}

.thankyou-card {
    background: #fff;
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    max-width: 600px;
}

.thankyou-logo {
    width: 130px;
    margin-bottom: 25px;
}

.thankyou-card h1 {
    color: #7B2CBF;
    font-size: 48px;
    margin-bottom: 20px;
}

.thankyou-card p {
    color: #666;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.thankyou-card .about-btn {
    display: inline-block;
    margin-top: 30px;
}

/* ==========================================
   404 PAGE
========================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f9f3ff, #ffffff);
}

.error-logo {
    width: 120px;
    margin-bottom: 25px;
}

.error-page h1 {
    font-size: 120px;
    color: #7B2CBF;
    margin: 0;
    line-height: 1;
}

.error-page h2 {
    font-size: 38px;
    color: #333;
    margin: 20px 0;
}

.error-page p {
    max-width: 500px;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.error-page .about-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #7B2CBF;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: .3s;
}

.error-page .about-btn:hover {
    background: #FFD54F;
    color: #7B2CBF;
    transform: translateY(-4px);
}

/* ==========================================
   PRELOADER
========================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity .6s ease;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 140px;
    margin-bottom: 25px;
}

.loader {
    width: 55px;
    height: 55px;
    border: 5px solid #EBDCFF;
    border-top: 5px solid #7B2CBF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================
   PRODUCT CATALOGUE
========================================== */

.catalogue {
    padding: 20px 8%;
    text-align: center;
    background: #f8f3ff;
}

.catalogue h2 {
    font-size: 40px;
    color: #7B2CBF;
    margin-bottom: 20px;
}

.catalogue p {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.catalogue-btn {
    display: inline-block;
    padding: 18px 40px;
    background: #7B2CBF;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.catalogue-btn:hover {
    background: #FFD54F;
    color: #7B2CBF;
    transform: translateY(-4px);
}

/* ==========================================
   TRUSTED SCHOOLS
========================================== */

.schools {
    padding: 80px 8%;
    text-align: center;
    background: #ffffff;
}

.schools h2 {
    font-size: 40px;
    color: #7B2CBF;
    margin-bottom: 15px;
}

.schools p {
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(200px * 12);
    animation: scroll 25s linear infinite;
}

.logo-track img {
    width: 160px;
    height: 90px;
    object-fit: contain;
    margin: 0 20px;
    filter: grayscale(100%);
    opacity: .75;
    transition: .3s;
}

.logo-track img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

@keyframes scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

/* ==========================================
   POLICY PAGES
========================================== */

.policy {
    padding: 80px 8%;
    max-width: 1000px;
    margin: auto;
    line-height: 1.9;
}

.policy h2 {
    color: #7B2CBF;
    font-size: 42px;
    margin-bottom: 25px;
}

.policy h3 {
    color: #7B2CBF;
    margin-top: 35px;
    margin-bottom: 12px;
}

.policy p {
    color: #555;
    font-size: 17px;
}

.policy ul {
    padding-left: 20px;
}

.policy li {
    margin-bottom: 10px;
}

/* ==========================================
   LEARNING SOLUTIONS
========================================== */

.learning-categories {

    padding: 90px 8%;
    text-align: center;
    background: #fff;

}

.learning-categories h2 {

    font-size: 42px;
    color: #7B2CBF;
    margin-bottom: 15px;

}

.category-subtitle {

    color: #666;
    max-width: 750px;
    margin: 0 auto 60px;
    line-height: 1.8;

}

.learning-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;

}

.learning-card {

    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .35s;

}

.learning-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .15);

}

.learning-card img {

    width: 100%;
    height: 240px;
    object-fit: cover;

}

.learning-card h3 {

    color: #7B2CBF;
    font-size: 24px;
    margin: 25px 20px 15px;

}

.learning-card p {

    color: #666;
    line-height: 1.7;
    padding: 0 20px;
    min-height: 75px;

}

.learning-card .about-btn {

    display: inline-block;
    margin: 25px 0 30px;

}



/*=========================================
BOOK SHOWCASE
=========================================*/

.books-showcase {
    padding: 80px 8%;
    text-align: center;
}

.book-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px 0 45px;
}

.book-filter button {

    padding: 12px 26px;

    border: none;

    border-radius: 40px;

    background: #f1f1f1;

    color: #555;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .3s;

}

.book-filter button:hover {

    background: #7B2CBF;

    color: #fff;

}

.book-filter .active {

    background: #7B2CBF;

    color: #fff;

}

.book-search {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
    margin-top: 10px;
    padding-right: 3%;
    box-sizing: border-box;
}

.book-search input {

    width: 420px;

    max-width: 90%;

    padding: 14px 20px;

    border: 2px solid #eee;

    border-radius: 40px;

    font-size: 16px;

    outline: none;

    transition: .3s;

}

.book-search input:focus {

    border-color: #7B2CBF;

    box-shadow: 0 0 15px rgba(106, 13, 173, .15);

}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    background: #FFFDF8;
    border-radius: 20px;
    padding: 40px;
}

.book-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 10px 20px 20px;
    text-align: center;
}

.book-card {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: all .35s ease;
    cursor: pointer;

}

.book-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);

}

.book-card h3 {
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;
}

.book-card h3:hover {

    color: #FF8A3D;

}

.book-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 22px;
    background: #7B2CBF;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.book-btn:hover {

    background: #4E0A85;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);

}

.book-image {

    position: relative;

    overflow: hidden;

}

.badge {

    position: absolute;

    top: 15px;

    left: 15px;

    background: linear-gradient(45deg, #FF5722, #FF8A3D);

    color: #fff;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;
    animation: pulse 2s infinite;

}

.book-image {
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 20px;
}

.book-card img {
    width: auto;
    max-width: 90%;
    max-height: 250px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.book-card:hover img {

    transform: scale(1.06);

}

.book-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    display: flex;
    flex-direction: column;

    transition: .35s;
    overflow: hidden;
}


.book-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.book-modal-content {
    width: 850px;
    max-width: 95%;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;

    display: grid;
    grid-template-columns: 260px 1fr 220px;
    gap: 35px;
    align-items: start;
}

.popup-image img {
    width: 220px;
    display: block;
    margin: auto;
}

.popup-info h2 {
    color: #7B2CBF;
    font-size: 20px;
    margin-bottom: 15px;
}

.popup-info p {
    color: #555;
    line-height: 1.8;
}

.product-spec {
    margin-top: 25px;
}

.product-spec p {
    margin-bottom: 15px;
    font-size: 17px;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.popup-buttons a {
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 34px;
    cursor: pointer;
}

@media(max-width:1400px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:992px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:480px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
        max-width: 500px;
        margin: 30px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .products-grid .product-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}


/*=========================================
BOOK FILTER
=========================================*/

.book-filter {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin: 40px 0 20px;

}

.book-filter button {

    background: #fff;

    color: #7B2CBF;

    border: 2px solid #7B2CBF;

    padding: 10px 24px;

    border-radius: 30px;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    transition: .3s;

}

.book-filter button:hover,
.book-filter button.active {

    background: #7B2CBF;

    color: #fff;

}

/* =========================
   BOOKS PAGE VIDEO BANNER
========================= */

.page-banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.banner-overlay h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.banner-overlay p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
}

/* BOOK SEARCH */

.book-search {
    text-align: center;
    margin: 40px 0 20px;
}

.book-search input {
    width: 400px;
    max-width: 90%;
    padding: 14px 20px;
    border: 2px solid #7B2CBF;
    border-radius: 40px;
    outline: none;
    font-size: 16px;
    transition: .3s;
}

.book-search input:focus {
    box-shadow: 0 0 15px rgba(106, 13, 173, .2);
}

@keyframes pulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }

}

/*=========================================
WHY MARYBERY
=========================================*/

.why-marybery {

    padding: 90px 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    background: #fff;

}

.why-image {

    flex: 1;

}

.why-image img {

    width: 100%;

    border-radius: 25px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);

    transition: .4s;

}

.why-image img:hover {

    transform: scale(1.03);

}

.why-content {

    flex: 1;

}

.why-content h2 {

    font-size: 46px;

    color: #7B2CBF;

    margin-bottom: 25px;

    line-height: 1.2;

}

.why-content p {

    font-size: 18px;

    color: #666;

    line-height: 1.8;

    margin-bottom: 30px;

}

.why-content ul {

    list-style: none;

    padding: 0;

    margin-bottom: 35px;

}

.why-content ul li {

    font-size: 18px;

    margin-bottom: 18px;

    color: #333;

    display: flex;

    align-items: center;

}

.why-content ul li i {

    color: #28A745;

    margin-right: 14px;

    font-size: 20px;

}

@media(max-width:992px) {

    .why-marybery {

        flex-direction: column;

        text-align: center;

    }

    .why-content ul li {

        justify-content: center;

    }

}

/*=========================================
FLASHCARD SEARCH & FILTER
=========================================*/

.book-search {
    text-align: center;
    margin: 40px 0 25px;
}

.book-search input {

    width: 420px;
    max-width: 90%;

    padding: 15px 20px;

    border: 2px solid #ddd;

    border-radius: 40px;

    font-size: 16px;

    outline: none;

}

.book-search input:focus {

    border-color: #7B2CBF;

}

.category-filter {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.category-filter button {
    background: #f3f3f3;
    color: #444;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.category-filter button:hover {
    background: #7B2CBF;
    color: #fff;
}

.category-filter button.active {
    background: #7B2CBF;
    color: #fff;
}

.category-filter {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.category-filter button {
    display: inline-block !important;
    width: auto !important;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #2D3748;
    margin-bottom: 12px;
}

.page-subtitle {
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/*=========================================
GALLERY
=========================================*/

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    padding: 20px 8% 80px;

}

.gallery-box {

    overflow: hidden;

    border-radius: 20px;

    background: #fff;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .4s;

}

.gallery-box:hover {

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);

}

.gallery-box img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    transition: .5s;

}

.gallery-box:hover img,
.gallery-box:hover video {

    transform: scale(1.08);

}

/*=========================================
GOOGLE MAP
=========================================*/

.map-section {

    padding: 80px 8%;

    text-align: center;

}

.map-section h2 {

    font-size: 42px;

    color: #2D3748;

    margin-bottom: 15px;

}

.map-container {

    margin-top: 35px;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);

}

.map-container iframe {

    display: block;

}

/* Pulse Animation */
@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }

}

.whatsapp-float {

    animation: whatsappPulse 2.5s infinite;

}

/*=========================================
GALLERY LIGHTBOX
=========================================*/

.gallery-lightbox {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 99999;

    padding: 40px;

}

.gallery-lightbox img {

    max-width: 90%;

    max-height: 85vh;

    border-radius: 15px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);

    animation: zoomIn .35s ease;

}

@keyframes zoomIn {

    from {

        transform: scale(.8);

        opacity: 0;

    }

    to {

        transform: scale(1);

        opacity: 1;

    }

}

.lightbox-close {

    position: absolute;

    top: 20px;

    right: 35px;

    color: #fff;

    font-size: 45px;

    cursor: pointer;

    font-weight: bold;

}

.lightbox-prev,
.lightbox-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, .15);

    border: none;

    color: #fff;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    font-size: 28px;

    cursor: pointer;

    transition: .3s;

}

.lightbox-prev:hover,
.lightbox-next:hover {

    background: var(--primary);

}

.lightbox-prev {

    left: 25px;

}

.lightbox-next {

    right: 25px;

}

main {
    flex: 1;
}

/* Video Gallery */

.video-gallery {
    padding: 50px 20px;
    text-align: center;
}

.video-gallery h2 {
    font-size: 32px;
    margin-bottom: 30px;
}


.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}


.video-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


.video-card video {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
}


.video-card h3 {
    margin-top: 15px;
    color: #333;
}

/*=========================================
SCROLL REVEAL
=========================================*/

.reveal {

    opacity: 0;

    transform: translateY(60px);

    transition: all .8s ease;

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

/*=========================================
FOOTER WAVE
=========================================*/

.footer-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/*=========================================
PRODUCT SEARCH
=========================================*/

.product-search {

    text-align: center;

    margin: 40px 0;

}

.product-search input {

    width: 420px;

    max-width: 90%;

    padding: 16px 22px;

    border: none;

    border-radius: 40px;

    font-size: 17px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);

    outline: none;

    transition: .35s;

}

.product-search input:focus {

    box-shadow: 0 10px 30px rgba(123, 44, 191, .30);

}

/* ==========================
   PRODUCT RESPONSIVE
========================== */

/* Tablet */
@media (max-width:992px) {

    .product-container {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* Mobile */
@media (max-width:768px) {

    .product-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .book-card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

}

@media (max-width:768px) {

    .book-modal {
        padding: 15px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .book-modal-content {

        width: 100%;
        max-width: 100%;
        padding: 20px;

        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;

        max-height: 90vh;
        overflow-y: auto;
    }

    .book-modal-image {
        text-align: center;
    }

    .book-modal-image img {
        width: 100%;
        max-width: 260px;
        height: auto;
    }

    .book-info,
    .book-specs {
        width: 100%;
    }

    .book-specs {
        margin-top: 0;
    }

    .close-modal {
        top: 15px;
        right: 15px;
    }

}

/* ==========================================
   FEATURED LEARNING SOLUTIONS - MOBILE
========================================== */

@media (max-width:768px) {

    .featured-solutions {
        padding: 60px 20px;
    }

    .featured-solutions h2 {
        font-size: 38px;
    }

    .featured-solutions p {
        font-size: 16px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        width: 100%;
        padding: 30px 20px;
    }

    .solution-card img {
        width: 80px;
        height: 80px;
    }

    .solution-card h3 {
        font-size: 18px;
    }

    .solution-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    .solution-card a {
        width: 100%;
        display: block;
        text-align: center;
    }

}

/* Mobile Floating Buttons */
@media (max-width:768px) {

    .whatsapp-float {
        right: 15px;
        bottom: 20px;
    }

    #topBtn {
        right: 15px;
        bottom: 90px;
        /* keeps it above WhatsApp */
    }

}

@media (max-width:768px) {

    nav {
        position: relative;
        height: 90px;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 100;
    }

    .logo img {
        height: 60px;
        /* adjust if needed */
        width: auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 101;
    }

}

/* Learning Solutions page */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.learning-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .learning-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .learning-card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* Home page - Discover Our Learning Programs */
.solution-grid {
    justify-content: center;
}

.solution-card {
    width: 100%;
    max-width: 380px;
}

/* Featured Learning Collections */
.product-container {
    justify-content: center;
}

.product-card {
    width: 100%;
    max-width: 380px;
}

/* ==========================================
   VIDEO FULLSCREEN MODAL
========================================== */

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;

    justify-content: center;
    align-items: center;

    padding: 30px;
    box-sizing: border-box;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
}

.video-modal-content video {
    width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 10px;
}

.close-video {
    position: absolute;
    right: -5px;
    top: -45px;

    color: #fff;
    font-size: 40px;
    font-weight: bold;

    cursor: pointer;
    z-index: 10;
}

.close-video:hover {
    color: #ff8a3d;
}

/* ==========================
   HOME GALLERY SECTION
========================== */

.gallery {
    padding-top: 10px;
}

.gallery h2 {
    font-size: 40px;
    font-weight: 750;
    color: #7B2CBF;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.2;
}

.gallery-subtitle {
    margin-top: 0;
    margin-bottom: 35px;
}

/* ==========================================
   STATS SECTION
========================================== */

.stats {
    width: 100%;
    min-height: 150px;
    padding: 30px 6%;
    background: #8b78c5;

    display: flex;
    justify-content: space-around;
    align-items: center;

    box-sizing: border-box;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat h2 {
    margin: 0 0 8px;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.stat p {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

/* ==========================================
   MOBILE STATS - SINGLE ROW
========================================== */

@media (max-width: 768px) {

    .stats {
        width: 100%;
        height: 85px !important;
        min-height: 85px !important;

        padding: 8px 5px !important;

        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;

        box-sizing: border-box;
    }

    .stat {
        flex: 1;
        width: 25%;
        text-align: center;
        padding: 0 2px;
    }

    .stat h2 {
        margin: 0 0 3px !important;

        font-size: 18px !important;
        line-height: 1.1 !important;

        white-space: nowrap;
    }

    .stat p {
        margin: 0 !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        white-space: nowrap;
    }
}

/* ==========================================
   LAPTOP / SMALL DESKTOP
========================================== */

@media (min-width: 769px) and (max-width: 1400px) {

    .stats {
        width: 100%;
        height: 100px !important;
        min-height: 100px !important;
        padding: 10px 5% !important;

        display: flex;
        align-items: center;
        justify-content: space-around;

        box-sizing: border-box;
    }

    .stat {
        flex: 1;
        text-align: center;
    }

    .stat h2 {
        margin: 0 0 3px !important;
        font-size: 34px !important;
        line-height: 1.1 !important;
    }

    .stat p {
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 768px) {

    .stats+section {
        padding-top: 25px !important;
        margin-top: 0 !important;
    }

}

@media (max-width: 768px) {
    .schools {
        padding-bottom: 15px !important;
        margin-bottom: 0 !important;
    }
}

/* ==========================================
   MOBILE - 1 CARD PER ROW
========================================== */

/* ==========================================
   FEATURES - MOBILE CENTERING
========================================== */

@media (max-width: 768px) {

    .features-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;

        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 20px;
    }

    .feature-box {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        box-sizing: border-box;
    }

}

/* ==========================================
   MOBILE BANNER
========================================== */

@media (max-width: 768px) {
    .about-banner {
        height: 220px !important;
        min-height: 220px !important;
    }

}

@media (max-width: 768px) {

    .gallery-banner {
        height: 220px !important;
        min-height: 220px !important;
    }

    .category-filter,
    .category-filter {
        margin-top: 20px !important;
    }

}

/* ==========================================
   GALLERY BANNER → FILTER SPACING
========================================== */

.gallery-banner {
    margin-bottom: 25px !important;
}

.category-filter {
    margin-top: 25px !important;
}

/* ==========================================
   TRUSTED BY SCHOOLS - LAPTOP & DESKTOP
========================================== */

@media (min-width: 769px) {

    .schools {
        padding-top: 30px !important;
        padding-bottom: 25px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

}

/* ==========================================
   LAPTOP FOOTER FIX
========================================== */

@media (max-width: 1200px) {

    .footer {
        padding: 25px 4% 15px;
    }

    .footer-container {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 25px;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-box h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .footer-box p,
    .footer-box ul li a {
        font-size: 15px;
    }

    .footer-box ul li {
        margin-bottom: 10px;
    }
}

/* ==========================================
   WHY CHOOSE MARYBERY
========================================== */

@media (min-width: 769px) {

    .why-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .why-card {
        width: 100%;
        box-sizing: border-box;
    }

}