/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
/* ========================================
   Header & Navigation
======================================== */

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.header-logo {
    height: 48px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }
}

/* Desktop Nav */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

/* Nav Links */
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover underline effect */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: #7b3ff2; /* purple line */
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}
/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;
    margin-top: 10px;
    z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* =========================
   MOBILE STYLES
========================= */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Tablet & Mobile */
@media (max-width: 992px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 12px;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding-left: 15px;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}
/* ========================================
   Hero Section (Video + Fallback)
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    padding: 120px 20px 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Screenshot Style Background */
    background: linear-gradient(
        90deg,
        #c8efc6 0%,     /* light mint green */
        #9bd3c9 35%,    /* soft teal */
        #2f6f8f 70%,    /* steel blue */
        #0a3554 100%    /* deep navy */
    );
}
/* .hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    padding: 120px 20px 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; */

    /* Fallback background */
    /* background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
} */

/* ================= VIDEO BACKGROUND ================= */

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;

    /* Visual polish */
    filter: brightness(0.65);
    transform: translateZ(0);
    backface-visibility: hidden;

    animation: heroVideoZoom 22s ease-in-out infinite;
}

/* Cinematic slow zoom */
@keyframes heroVideoZoom {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ================= OVERLAY ================= */

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 2;
}

/* ================= CONTENT ================= */

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 05px;
    font-family: 'DM Serif Display', serif;
    line-height: 1.15;
}

.highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Decorative glow */
.hero-decoration {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.12),
        transparent 70%
    );
    border-radius: 50%;
    z-index: 3;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {

    .hero {
        min-height: 85vh;
        padding: 100px 20px 70px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-bg-video {
        filter: brightness(0.75);
    }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ========================================
   Partners Section (Trusted By)
   ======================================== */
.partners-section {
    padding: 60px 20px;
    background: #fff;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: 'DM Serif Display', serif;
    color: var(--text-dark);
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: partners-scroll 25s linear infinite;
}

/* ✅ COLORFUL LOGOS */
.partners-track img {
    height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 1;                 /* FULL COLOR */
    filter: none;              /* NO GRAYSCALE */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Subtle premium hover */
.partners-track img:hover {
    transform: scale(1.08);
}

/* Smooth infinite animation */
@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Gradient fade edges */
.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Responsive tweak */
@media (max-width: 768px) {
    .partners-track {
        gap: 40px;
        animation-duration: 18s;
    }

    .partners-track img {
        height: 38px;
    }
}
/* ========================================
   Trust / Features Section
   ======================================== */

.trust-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.trust-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #000;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-card {
    border: 1.5px dashed #bdbdbd;
    border-radius: 14px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    background: #fff;
}

.trust-card i {
    font-size: 34px;
    color: #000;
    margin-bottom: 18px;
    display: block;
}

.trust-card p {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

/* Hover (very subtle, premium) */
.trust-card:hover {
    transform: translateY(-4px);
    border-color: #000;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-title {
        font-size: 26px;
    }
}


/* ========================================
   Sections
   ======================================== */
.features, .product-showcase, .about-content, .products-section, 
.blog-section, .contact-section, .faq-section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    font-family: 'DM Serif Display', serif;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'DM Serif Display', serif;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

/* ================= FEATURES ================= */
.features {
    padding: 80px 0;
    background: #f9fbff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* ================= EMOJI ICON STYLE ================= */
.feature-icon.emoji {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: all 0.35s ease;
}

/* Emoji color backgrounds */
.feature-icon.tech {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-icon.support {
    background: linear-gradient(135deg, #43cea2, #185a9d);
}

.feature-icon.growth {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

.feature-icon.future {
    background: linear-gradient(135deg, #ff512f, #dd2476);
}

/* Hover effect */
.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* ========================================
   Demo + Video Section (Digital Classroom)
   ======================================== */

.demo-video-section {
    padding: 50px 0;
    background: #ffffff;
}

.demo-video-grid {
    display: grid;
    grid-template-columns: 1fr 1.9fr; /* video wider */
    gap: 60px;
    align-items: center;
}

.demo-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.demo-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 28px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .demo-video-grid {
        grid-template-columns: 1fr;
    }

    .demo-content {
        text-align: center;
    }

    .demo-content .section-title {
        text-align: center;
    }
}

/* ========================================
   Problem vs Solution – Digital Classroom
   ======================================== */

.classroom-compare-section {
    padding: 90px 20px;
    background: #f9fbff;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.compare-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.compare-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.12);
}

.compare-image {
    height: 260px;
    overflow: hidden;
}

.compare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.compare-card:hover .compare-image img {
    transform: scale(1.08);
}

.compare-card h3 {
    font-size: 24px;
    font-weight: 700;
    padding: 30px 30px 10px;
}

.compare-card p {
    padding: 0 30px 35px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Accent borders */
.compare-card.traditional {
    border-top: 6px solid #e63946;
}

.compare-card.digital {
    border-top: 6px solid #4f46e5;
}

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

    .compare-image {
        height: 220px;
    }
}

/* ========================================
   FEATURE SECTIONS (ZIG-ZAG LAYOUT)
   ======================================== */

.feature-section {
    padding: 90px 0;
}

.bg-light {
    background: #f5f7fb;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ✅ ZIG-ZAG LOGIC */
.feature-grid.reverse .feature-content {
    grid-column: 2;
}

.feature-grid.reverse .feature-image {
    grid-column: 1;
}

/* CONTENT */
.feature-content .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    max-width: 520px;
}

/* FEATURE LIST */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
}

.feature-list i {
    font-size: 22px;
    color: #4f46e5;
    margin-top: 6px;
}

.feature-list h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-list p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* IMAGE */
.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ========================================
   INTERACTION SECTION
======================================== */

.interaction-section {
    padding: 80px 0 0;
    background: #f5f7fb;
    text-align: center;
}

.interaction-text {
    max-width: 850px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* Image Center + Side Spacing */
.interaction-image {
    width: 90%;          /* creates left-right spacing */
    max-width: 1200px;  /* keeps it neat on large screens */
    height: 600px;
    object-fit: cover;
    display: block;
    margin: 0 auto;     /* centers the image */
    border-radius: 12px; /* optional: nicer look */
}
/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Disable zig-zag on mobile */
    .feature-grid.reverse .feature-content,
    .feature-grid.reverse .feature-image {
        grid-column: auto;
    }

    .feature-content .section-title {
        text-align: center;
    }

    .section-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .interaction-image {
        height: 320px;
    }
}

/* ========================================
   Showcase Grid
   ======================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.showcase-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.showcase-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom effect on hover */
.showcase-item:hover .showcase-image img {
    transform: scale(1.08);
}


.showcase-item h3 {
    padding: 25px 25px 10px;
    font-size: 24px;
    font-weight: 700;
}

.showcase-item p {
    padding: 0 25px 25px;
    color: var(--text-light);
}

/* ========================================
   Slideshow Section
======================================== */
.slideshow-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   Slideshow Container
======================================== */
.slideshow {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 450px;
    overflow: hidden;
}

/* ========================================
   Slide
======================================== */
.slide {
    position: absolute;
    inset: 0;
    background-size: contain;  /* show full image */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ========================================
   Dots
======================================== */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0,0,0,0.7);
}

.dot.active {
    background: #000;
    transform: scale(1.3);
}
/* ========================================
   Product Grid & Cards (ROW-BASED)
======================================== */

/* GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 40px;
    align-items: stretch;
}

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

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;               /* IMPORTANT */
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* IMAGE */
.product-image {
    height: 220px;
    background-size: contain;   /* full image */
    background-repeat: no-repeat;
    background-position: center;
    margin: 20px;
}

/* TITLE */
.product-card h3 {
    padding: 0 25px 10px;
    font-size: 22px;
    font-weight: 700;
}

/* DESCRIPTION */
.product-card > p {
    padding: 0 25px 20px;
    color: var(--text-light);
    flex-grow: 1;   /* PUSHES BUTTONS DOWN */
}

/* BUTTON AREA */
.product-buttons {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
    margin-top: auto;   /* VERY IMPORTANT */
}

/* Details section */
.product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

/* Open state */
.product-details.active {
    max-height: 1200px;
    padding: 25px;
}

/* Table */
.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table th {
    width: 30%;
    padding: 12px;
    background: var(--bg-light);
    font-weight: 600;
    text-align: left;
}

.details-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* Button active */
.read-more-btn.active {
    background: var(--primary-color);
    color: #fff;
}

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

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
.details-top {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.details-image img {
    width: 100%;
    max-width: 500px;
}

.details-content {
    flex: 1;
}

.details-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.price {
    color: #e60023;
    font-size: 22px;
    margin-bottom: 15px;
}

.details-table-section {
    margin-top: 40px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table th,
.details-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

/* ================= PRODUCT FEATURES ================= */

.product-features {
    margin-top: 80px;
    text-align: center;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 15px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.feature-box img {
    width: 100%;
    height: auto;           /* IMPORTANT: keeps original image ratio */
    object-fit: contain;    /* SHOW FULL IMAGE */
    display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .features-row {
        grid-template-columns: 1fr;
    }
}
/* ================= REVIEWS SECTION ================= */

.reviews-section {
    padding: 80px 0;
    background: #f9fafc;
    overflow: hidden;
}

.reviews-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

/* Duplicate animation for seamless loop */
.reviews-slider:hover .reviews-track {
    animation-play-state: paused;
}

/* REVIEW CARD */
.review-card {
    width: 320px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
}

.stars {
    color: #f5a623;
    font-size: 18px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #444;
}

.review-name {
    font-weight: 700;
    margin: 0;
}

.review-org {
    font-size: 13px;
    color: #777;
}

/* ================= SMOOTH INFINITE ANIMATION ================= */

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .review-card {
        width: 260px;
    }
}

@media (max-width: 576px) {
    .review-card {
        width: 85vw;
    }
}
/* ========================================
   ABOUT PAGE LAYOUT
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 40px;
    font-weight: 700;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
}


/* ========================================
   CORE VALUES – TEAM STYLE
======================================== */
.core-values .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ 3 cards per row */
    gap: 30px;
}

.core-values .value-card {
    padding: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    text-align: center;
}

.core-values .value-card:hover {
    transform: translateY(-8px);
}

/* IMAGE FIX – VERY IMPORTANT */
.core-values .value-card img {
    width: 100%;
    height: 220px;          /* ✅ same as team expertise */
    object-fit: cover;      /* clean crop */
    display: block;
}

/* CONTENT */
.core-values .value-content {
    padding: 20px;
}

.core-values .value-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.core-values .value-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .core-values .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .core-values .values-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   OUR EXPERTISE – FIXED LAYOUT
================================ */
.four-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ✅ ONE ROW */
    gap: 30px;
}

/* Card Reset (no image layout rules) */
.four-cols .value-card {
    position: relative;
    padding: 35px 25px;
    border-radius: 18px;
    background: #e4ebeb;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    height: auto;              /* ✅ STOP stretching */
    overflow: visible;         /* ✅ FIX clipping */
}

.four-cols .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.12);
}

.four-cols .value-icon {
    font-size: 46px;
    margin-bottom: 18px;
}

.four-cols h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.four-cols p {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .four-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .four-cols {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   SECTION TITLE – CONSISTENT STYLE
================================ */
.core-values,
.alt-section {
    margin: 120px 0; /* same breathing space as team section */
}

.core-values h2,
.alt-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;  /* space between title & cards */
    font-weight: 700;
}

/* Optional subtitle support (if added later) */
.core-values .section-subtitle,
.alt-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   TEAM EXPERTISE (IMAGE CARDS – FIXED)
======================================== */
.team-section {
    margin: 70px 0;
}

.team-section .section-title {
    font-size: 36px;
    margin-bottom: 50px;
}

/* 3 cards per row */
.team-section .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Team Card */
.team-section .value-card {
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.team-section .value-card:hover {
    transform: translateY(-8px);
}

/* Image – IMPORTANT FIX */
.team-section .value-card img {
    width: 100%;
    height: 220px;          /* ✅ prevents long cards */
    object-fit: cover;      /* clean crop */
    display: block;
}

/* Content */
.team-section .value-content {
    padding: 20px;
    text-align: center;
}

.team-section .value-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-section .value-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Team Responsive */
@media (max-width: 992px) {
    .team-section .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-section .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CONTACT PAGE – FINAL UI
================================ */
.contact-section {
    background: #f5f7fb;
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
}

/* LEFT CARD */
.contact-form-wrapper {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* FORM GRID */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    font-size: 15px;
    font-family: inherit;
}

/* SELECT ARROW FIX */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* BUTTON */
.btn-primary {
    grid-column: span 2;
    margin-top: 10px;
    background: #f4b400;
    color: #000;
    font-weight: 600;
    padding: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

/* RIGHT CARD */
.contact-info {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.contact-info h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 35px;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: #e0ecff;
    color: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .btn-primary {
        grid-column: span 1;
    }
}

/* ================= LOCATION MAP ================= */
.location-map {
    padding: 90px 0;
    background: #f8fafc;
}

.map-wrapper {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 320px;
    }
}

/* ========================================
   FAQ Page - FULL FIXED VERSION
======================================== */

/* Categories */
.faq-categories {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.faq-category {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-category.active,
.faq-category:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Item */
.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Question Button */
.faq-question {
    width: 100%;
    padding: 25px 30px;
    border: none;
    background: #fff;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

/* Active Question */
.faq-question.active {
    background: var(--bg-light);
}

/* Icon */
.faq-icon {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Rotate when active */
.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

/* Answer Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: #fff;
}

/* Answer Text */
.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* CTA Section */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 60px 30px;
    background: var(--bg-light);
    border-radius: 20px;
}

.faq-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-cta p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 18px;
}

/* ========================================
   Blog Page
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 70px;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--secondary-color);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.pagination-info {
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: #4f46e5; /* dark purple background */
    text-align: center;
    border-radius: 20px;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* CTA Button */
.cta-section .btn {
    display: inline-block;
    background: #fff;       /* white button */
    color: #4f46e5;         /* text color */
    font-size: 18px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Hover Animation */


/* Optional: subtle moving overlay effect */
.cta-section .btn::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.cta-section .btn:hover::before {
    left: 100%;
}


/* ========================================
   Footer
======================================== */

.main-footer{
    background:var(--text-dark);
    color:#fff;
    padding:60px 0 30px;
}

.footer-container{
    width:100%;
    padding:0 40px;
}
/* ========================================
   DESKTOP
======================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; /* 5 columns */
    gap: 40px;
    margin-bottom: 40px;
}

/* Logo */
.footer-logo{
    width:150px;
    margin-bottom:20px;
}

/* Titles */
.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

/* Accent */
.footer-accent {
    color: var(--primary-color);
}

/* Paragraph */
.footer-column p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* List */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin:0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

/* Links */
.footer-column a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ========================================
   FOOTER BOTTOM
======================================== */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Social Icons */
.footer-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(255,255,255,0.1);
    margin-left:10px;
    font-size:14px;
    transition:0.3s;
}

.footer-social a:hover{
    background:var(--primary-color);
    color:#fff;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

.footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap:30px;
}

}

/* ========================================
   SMALL TABLET
======================================== */

@media (max-width: 820px) {

.footer-grid {
    grid-template-columns: 1fr 1fr;
}

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-bottom {
    flex-direction: column;
    gap: 15px;
}

.footer-social{
    margin-top:10px;
}

}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width:480px){

.main-footer{
    padding:50px 15px 25px;
}

.footer-column p{
    font-size:14px;
}

.footer-column a{
    font-size:14px;
}

.footer-logo{
    width:130px;
}

}
/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

.main-footer {
    padding: 50px 15px 25px;
}

.footer-column p {
    font-size: 14px;
}

.footer-column a {
    font-size: 14px;
}

}
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}
/* FOOTER LOGO */
.footer-logo {
    height: 54px;
    width: 190px;          /* force width */
    object-fit: contain;

    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
}


.footer-brand p {
    max-width: 320px;
    line-height: 1.6;
    color: #9ca3af;
}
/* ================= WHATSAPP HOVER CHAT ================= */

.wa-container {
    position: fixed;
    bottom: 30px;     /* little higher */
    right: 25px;      /* little more right */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* POPUP BOX */
.wa-popup {
    width: 300px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);

    position: absolute;
    bottom: 85px; /* distance from icon */
    right: 0;

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

/* SHOW ON HOVER */
.wa-button:hover + .wa-popup,
.wa-popup:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HEADER */
.wa-header {
    background: #075e54;
    color: #fff;
    padding: 14px 16px;
    border-radius: 15px 15px 0 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.wa-header span {
    font-size: 12px;
    opacity: 0.8;
}

/* BODY */
.wa-body {
    padding: 16px;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* BUTTON */
.wa-start {
    display: block;
    text-align: center;
    background: #25d366;
    color: #fff;
    padding: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 15px 15px;
    transition: background 0.3s ease;
}

.wa-start:hover {
    background: #1ebe5d;
}

/* WHATSAPP ICON */
.wa-button img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.wa-button img:hover {
    transform: scale(1.1);
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {

    .wa-container {
        right: 15px;
        bottom: 20px;
    }

    .wa-popup {
        width: 260px;
    }

    .wa-button img {
        width: 60px;
        height: 60px;
    }

    .footer-logo {
        height: 48px;
    }
}


/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .slideshow {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .product-buttons {
        flex-direction: column;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= ROOT WRAPPER ================= */
.digital-library {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont;
    color: #1f2937;
}

/* ================= CONTAINER ================= */
.digital-library .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ================= HERO SECTION ================= */
.digital-library .hero {
    position: relative;
    padding: 80px 0;
    background: #1e3a8a;
    color: #fff;
    text-align: center;
}

.digital-library .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.digital-library .hero-content {
    position: relative;
    z-index: 1;
}

.digital-library .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ================= SECTION SPACING ================= */
.digital-library section {
    padding: 64px 0;
}

/* ================= FLEX SECTIONS ================= */
.digital-library .flex-row {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

.digital-library .flex-col {
    flex: 1 1 0;
}

/* ================= IMAGES ================= */
.digital-library img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ================= HEADINGS ================= */
.digital-library h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e3a8a;
}

.digital-library h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ================= TEXT ================= */
.digital-library p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
}

/* ================= WHY DIGITAL LEARNING ================= */
.digital-library .why-section {
    background: #f9fafb;
    text-align: center;
}

.digital-library .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
}

.digital-library .why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digital-library .why-icon {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #2563eb;
    margin-bottom: 16px;
}

/* ================= CARD LINKS ================= */
.digital-library .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.digital-library .card {
    background: #ffffff;
    padding: 32px;
    border-top: 4px solid #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.digital-library .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.digital-library .card h3 {
    color: #1e3a8a;
    text-decoration: underline;
    margin-bottom: 8px;
}

/* ================= FEATURE SECTIONS ================= */
.digital-library .feature {
    border-bottom: 1px solid #e5e7eb;
}

.digital-library .feature:last-child {
    border-bottom: none;
}

.digital-library .feature-tagline {
    color: #6b7280;
    font-style: italic;
    margin-top: 12px;
}

.digital-library .divider {
    width: 64px;
    height: 4px;
    background: #2563eb;
    margin-top: 16px;
}

/* ================= ICON LIST ================= */
.digital-library .icon-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.digital-library .icon-item {
    display: flex;
    gap: 16px;
}

.digital-library .icon {
    font-size: 1.6rem;
    color: #2563eb;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .digital-library .flex-row {
        flex-direction: column;
    }

    .digital-library h2 {
        text-align: center;
    }
}
/* =========================================
   Digital Library Section
========================================= */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* VIDEO */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* OVERLAY (make it lighter) */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* reduce from 0.7 or 0.8 */
    z-index: 2;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
}

.digital-library-section {
    background: #f4f6f9;
    padding: 80px 0;
}

.digital-library-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;  /* change from space-between */
    gap: 30px;                /* reduce gap */
}

/* Left Content */
.digital-library-content {
    flex: 1;
}
.digital-library-section .container {
    max-width: 100%;
    padding: 0 40px;  /* control spacing manually */
}
.digital-library-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1f3c88;
    margin-bottom: 25px;
    line-height: 1.3;
}

.digital-library-content h2 span {
    color: #2b6cb0;
}

.digital-library-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* Right Image */
.digital-library-image {
    flex: 1;
    text-align: right;
}

.digital-library-image img {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 992px) {
    .digital-library-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .digital-library-image {
        text-align: center;
    }

    .digital-library-content h2 {
        font-size: 32px;
    }
}
/* =====================================
   WHY DIGITAL LEARNING
===================================== */
.why-digital {
    background: #f8f9fb;
    padding: 80px 0;
    text-align: center;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #1f3c88;
    margin-bottom: 60px;
}

.why-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.why-item {
    flex: 1;
    min-width: 180px;
}

.why-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.why-item p {
    font-size: 16px;
    color: #333;
}
/* =====================================
   DIGITAL LIBRARY SOLUTIONS
===================================== */
.library-solutions {
    background: #dfe6f1;
    padding: 80px 0;
    text-align: center;
}

.solutions-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.solution-card {
    background: #ffffff;
    padding: 40px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    border-top: 4px solid #2b6cb0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-card h3 {
    color: #1f3c88;
    font-size: 20px;
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 15px;
    color: #555;
}
/* =====================================
   DIGITAL LIBRARY SOLUTIONS
===================================== */
.library-solutions {
    background: #dfe6f1;
    padding: 80px 0;
    text-align: center;
}

.solutions-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.solution-card {
    background: #ffffff;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    border-top: 4px solid #2b6cb0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-card img.solution-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

.solution-card h3 {
    color: #1f3c88; /* dark blue */
    font-size: 20px;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.solution-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1f3c88; /* dark blue */
    color: #00ff99; /* green text */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.solution-btn:hover {
    background: #153060;
    color: #00cc77;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}


/* ================= LIBRARY SECTIONS ================= */
.library-section {
    padding: 80px 20px;
    background: #ffffff;
}

.library-section.alt {
    background: #f9f9f9; /* alternate background for every second section */
}

/* GENERAL CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* FLEX ROWS FOR TEXT + IMAGE SECTIONS */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

/* SINGLE-COLUMN SECTIONS (TEXT ONLY) */
.library-section.single-column .flex-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* LIBRARY TEXT */
.library-text {
    flex: 1;
    min-width: 300px;
}

.library-text h2 {
    font-size: 28px;
    color: #1f3c88;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 5px;
}

.blue-line {
    width: 50px;
    height: 3px;
    background: #1f3c88;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* LIBRARY IMAGE */
.library-image {
    flex: 1;
    min-width: 300px;
}

.library-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover; /* ensures proper cropping if needed */
}

/* FEATURES LIST */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.features-list .icon {
    color: #1f3c88;
    margin-right: 8px;
}

/* ================= DIGITAL LIBRARY SOLUTIONS GRID ================= */
.library-solutions .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Individual card */
.library-solutions .solution-card {
    display: flex;                 
    flex-direction: column;        /* Stack image + text */
    align-items: center;           
    justify-content: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

/* Hover effect */
.library-solutions .solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Card image */
.library-solutions .solution-card img.solution-img {
    width: 100%;                  /* Full width inside card */
    max-width: 120px;             /* Prevents images from being too large */
    height: auto;                 /* Maintain aspect ratio */
    margin-bottom: 15px;
    display: block;
    object-fit: contain;          /* Fit image inside container without cropping */
}

/* Card title */
.library-solutions .solution-card h3 {
    font-size: 20px;
    color: #1f3c88;
    margin-bottom: 10px;
}

/* Card description */
.library-solutions .solution-card p {
    font-size: 14px;
    color: #555;
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ================= RESPONSIVE FIXES ================= */
@media (max-width: 992px) {
    .flex-row {
        flex-direction: column;
        text-align: center;
    }

    .library-text, .library-image {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .library-section {
        padding: 50px 15px;
    }

    .library-text h2 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .library-solutions .solution-card img.solution-img {
        max-width: 100px;
    }
}

/* ================= WHY NEOD / NEOD GLOBAL ADVANTAGE ================= */
.why-section {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.sec-header .sec-label {
    color: #4d5bfc; /* blue label */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sec-header .sec-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.sec-header .sec-sub {
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.why-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d5bfc; /* blue icon color */
}

.why-icon svg {
    width: 100%;
    height: 100%;
    stroke: #4d5bfc;
}

.why-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}