/* ========================================
   RIGALMA PORTFOLIO WEBSITE STYLES
   ========================================
   Brand Colors from Logo:
   - Navy Blue: #1a2e5a (Primary)
   - Golden Yellow: #f5a623 (Action)
   - Sky Blue: #4ecdc4 (Accent 1)
   - Pink/Magenta: #e91e63 (Accent 2)
   - Green: #4caf50 (Accent 3)
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors */
    --color-primary: #38b000;
    --color-primary-light: #4cc900;
    ;
    --color-primary-dark: #2a8500;
    --color-action: #023e78;
    --color-action-light: #3066a3;
    --color-action-dark: #d4890a;
    --color-sky-blue: #012a52;
    --color-pink: #e91e63;
    --color-green: #4caf50;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray-100: #f1f3f5;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 1.5rem;
    --spacing-4xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ========================================
   LOADER ANIMATION
   ======================================== */
/* ========================================
   LOADER ANIMATION
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 80px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    z-index: 1;
}

.loader-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-top-color: var(--color-action);
    border-left-color: var(--color-action);
    border-radius: 50%;
    animation: spin 3s linear infinite reverse;
}

.loader-circle::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid transparent;
    border-top-color: var(--color-action-dark);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-family: 'Didact Gothic', sans-serif;
    font-size: var(--font-size-5xl);
}

h2 {
    font-family: 'Didact Gothic', sans-serif;
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-900);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-action);
}

.highlight {
    color: var(--color-action);
    font-size: 2.5rem
}

.stats-section .highlight {
    color: var(--color-primary);
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-4xl) 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-right {
    width: 18px;
    height: 18px;
    margin-left: var(--spacing-xs);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--color-action-light) 0%, var(--color-action) 100%);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--color-action);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    margin-right: 20px;
    font-size: 0.85rem;
    color: var(--color-white);
}

.contact-info a:hover {
    color: var(--color-action);
}

.social-links a {
    margin-left: 15px;
    opacity: 0.8;
    color: var(--color-white);
}

.social-links a:hover {
    opacity: 1;
    color: var(--color-action);
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--color-action);
    font-size: 1rem;
    padding: 8px 0;
    display: inline-block;
    transition: var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-primary);
}

.nav-link .arrow {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    border-top: 3px solid var(--color-action);
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
}

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

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--color-gray-700);
    transition: var(--transition-base);
}

.dropdown a:hover {
    background: var(--color-light);
    color: var(--color-action);
    padding-left: 25px;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-buttons .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.nav-buttons .btn-outline {
    color: var(--color-action);
    border-color: var(--color-action);
}

.nav-buttons .btn-outline:hover {
    background: var(--color-action);
    color: var(--color-white);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-action);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 25px 0 50px;
    position: relative;
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f6fa 100%);
    overflow: hidden;
    min-height: auto;
    display: block;
    text-align: left;
}

/* Typewriter Cursor */
.cursor {
    display: inline-block;
    color: var(--color-action);
    animation: blink 0.7s infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter-wrapper {
    display: inline-block;
    /* min-height: 2.5em; */
    /* Reserves space for 2 lines */
    vertical-align: top;
}

/* Entab-style Hero Background */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.6;
    animation: floatShape 6s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Specific Shapes */
.shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 5px solid rgba(245, 166, 35, 0.3);
    /* Accent transparent */
    border-radius: 50%;
    animation-duration: 7s;
}

.shape-2 {
    top: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: rgba(26, 46, 90, 0.05);
    /* Primary transparent */
    border-radius: 50%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.shape-3 {
    bottom: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(56, 178, 172, 0.1);
    /* Teal/Greenish */
    border-radius: 50%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.shape-4 {
    top: 40%;
    right: 25%;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(236, 72, 153, 0.2);
    /* Pinkish */
    border-radius: 50%;
    animation-duration: 8s;
    animation-delay: 0.5s;
}

.shape-5 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    border: 8px solid rgba(26, 46, 90, 0.03);
    border-radius: 50%;
    animation-duration: 10s;
    animation-delay: 1.5s;
}

.shape-6 {
    top: 20%;
    left: 40%;
    width: 20px;
    height: 20px;
    background: rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    animation-duration: 5s;
    animation-delay: 3s;
}


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

.hero-content {
    flex: 1;
    /* max-width: 600px; */
    z-index: 2;
    padding: 0;
    pointer-events: auto;
}

.badgex {
    background: rgba(2, 62, 120, 0.1);
    color: var(--color-action);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-align: left;
    margin-left: 0;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-gray-900);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.btn-text:hover {
    color: var(--color-action);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.stat-item {
    text-align: left;
}

.hero-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-action);
    /* Reset potential overrides from other sections */
    background: none;
    -webkit-text-fill-color: initial;
    text-fill-color: initial;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray-900);
}

/* Hero Visual & Animations */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 500px;
    height: 400px;
}

.floating-image {
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--color-white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 5s ease-in-out infinite;
    z-index: 3;
}

.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 1s;
}

.card-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card .icon {
    font-size: 1.5rem;
}

.floating-card small {
    display: block;
    color: var(--color-gray-500);
    font-size: 0.8rem;
}

/* Wave Bottom */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}


.slider-arrow {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 180px;
    transform: none;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

.slider-arrow-left {
    left: 15px;
}

.slider-arrow-right {
    right: 15px;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    bottom: 140px;
    gap: var(--spacing-sm);
}

.slider-dot {
    width: 10px;
    height: 10px;
}
}

/* Small mobile screens */
@media (max-width: 480px) {
    .slide-caption {
        top: 70px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .slide-caption h3 {
        font-size: var(--font-size-base);
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        bottom: 200px;
    }

    .slider-dots {
        bottom: 160px;
    }
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(245, 166, 35, 0.2) 100%);
    color: var(--color-action-dark);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-4xl);
}

.section-header p {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   LMS PORTAL SECTION
   Question Paper Generator with drag & drop
   ======================================== */
.lms-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

/* Light decorative background pattern */
.lms-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%); */
    border-radius: 0 0 0 50%;
    z-index: 0;
}

/* Two-column content layout */
.lms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left column: Text and features */
.lms-text {
    padding-right: var(--spacing-xl);
}

.lms-description {
    font-size: var(--font-size-lg);
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

/* Feature list styling */
/* LMS Features Grid Layout */
.lms-features {
    list-style: none;
    margin-bottom: var(--spacing-2xl);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.lms-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Hover effect with lift and glow */
.lms-features li:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-action);
}

/* Animated background gradient on hover */
.lms-features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 176, 0, 0.05) 0%, rgba(2, 62, 120, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.lms-features li:hover::before {
    opacity: 1;
}

/* Feature icon styling with animations */
.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}


.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-white);
    transition: all var(--transition-base);
}

/* Hover effects for icons */
.lms-features li:hover .feature-icon {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Scale up icon on hover */
.lms-features li:hover .feature-icon svg {
    transform: scale(1.1);
}


/* Alternate icon colors for visual variety */
/* Alternate icon colors for visual variety */
/* Item 1: Orange Theme */
.lms-features li:nth-child(1) {
    background-color: rgba(255, 152, 0, 0.1);
}

.lms-features li:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.lms-features li:nth-child(1) .feature-content h4 {
    color: #F57C00;
}

/* Item 2: Blue Theme */
.lms-features li:nth-child(2) {
    background-color: rgba(3, 169, 244, 0.1);
}

.lms-features li:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #03A9F4 0%, #0288D1 100%);
}

.lms-features li:nth-child(2) .feature-content h4 {
    color: #0288D1;
}

/* Item 3: Green Theme */
.lms-features li:nth-child(3) {
    background-color: rgba(76, 175, 80, 0.1);
}

.lms-features li:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.lms-features li:nth-child(3) .feature-content h4 {
    color: #388E3C;
}

/* Item 4: Purple Theme */
.lms-features li:nth-child(4) {
    background-color: rgba(156, 39, 176, 0.1);
}

.lms-features li:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.lms-features li:nth-child(4) .feature-content h4 {
    color: #7B1FA2;
}

/* Feature content text */
.feature-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.feature-content h4 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.feature-content p {
    font-size: var(--font-size-base);
    color: var(--color-gray-900);
    margin: 0;
    line-height: 1.6;
}

/* Right column: Demo image */
.lms-demo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    /* box-shadow: var(--shadow-2xl); */
    transition: transform var(--transition-base);
}

.demo-image-wrapper:hover {
    transform: scale(1.02);
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
}

/* Glow effect behind the image */
.demo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, rgba(245, 166, 35, 0.2) 50%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* ========================================
   LMS SECTION RESPONSIVE STYLES
   ======================================== */

/* Tablet screens */
@media (max-width: 992px) {
    .lms-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .lms-text {
        padding-right: 0;
        order: 2;
    }

    .lms-demo {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .lms-description {
        font-size: var(--font-size-base);
    }

    /* Make grid single column on tablets and mobile */
    .lms-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .lms-features li {
        padding: var(--spacing-xl);
        gap: var(--spacing-md);
    }

    .feature-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .feature-content h4 {
        font-size: var(--font-size-lg);
    }

    .lms-features li:hover {
        transform: translateY(-5px);
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .lms-features li {
        padding: var(--spacing-lg);
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-content h4 {
        font-size: var(--font-size-base);
    }
}

/* ========================================
   LMS PORTAL SECTION
   Image right, content left layout
   ======================================== */
.lms-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Two-column content layout - reversed from LMS */
.erp-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Two-column content layout - reversed from LMS */
.erp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

/* Left column: Demo image */
.erp-demo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Golden glow for ERP section */
.erp-glow {
    background: radial-gradient(circle, rgba(245, 166, 35, 0.3) 0%, rgba(26, 46, 90, 0.2) 50%, transparent 70%);
}

/* Right column: Text and features */
.erp-text {
    padding-left: var(--spacing-xl);
}

.erp-description {
    font-size: var(--font-size-lg);
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

/* Feature list styling - reuses LMS styles */
.erp-feature-list {
    list-style: none;
    margin-bottom: var(--spacing-2xl);
}

.erp-feature-list li {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.erp-feature-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-action);
}

/* ERP section alternate icon colors */
/* ERP section alternate icon colors */
.erp-feature-list li:nth-child(1) {
    background-color: rgba(2, 62, 120, 0.15);
    /* --color-action */
}

.erp-feature-list li:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, var(--color-action) 0%, var(--color-action-dark) 100%);
}

.erp-feature-list li:nth-child(2) {
    background-color: rgba(76, 175, 80, 0.15);
    /* --color-green */
}

.erp-feature-list li:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--color-green) 0%, #3d9140 100%);
}

.erp-feature-list li:nth-child(3) {
    background-color: rgba(1, 42, 82, 0.15);
    /* --color-sky-blue */
}

.erp-feature-list li:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--color-sky-blue) 0%, #3bb3a9 100%);
}

.erp-feature-list li:nth-child(4) {
    background-color: rgba(56, 176, 0, 0.15);
    /* --color-primary */
}

.erp-feature-list li:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

/* ========================================
   ERP SECTION RESPONSIVE STYLES
   ======================================== */

/* Tablet screens */
@media (max-width: 992px) {
    .erp-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .erp-demo {
        max-width: 500px;
        margin: 0 auto;
    }

    .erp-text {
        padding-left: 0;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .erp-description {
        font-size: var(--font-size-base);
    }

    .erp-feature-list li {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .erp-feature-list li:hover {
        transform: translateX(5px);
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .erp-feature-list li {
        flex-direction: column;
        text-align: center;
    }
}

/* Legacy erp-cards styles kept for backwards compatibility */
.erp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.erp-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
}

.erp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.erp-card.featured {
    border: 2px solid var(--color-action);
    transform: scale(1.05);
}

.erp-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-action);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-bottom-left-radius: var(--radius-lg);
}

.erp-card-header {
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.tier-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.tier-1 .tier-badge {
    background: rgba(78, 205, 196, 0.15);
    color: var(--color-sky-blue);
}

.tier-1 .erp-icon {
    color: var(--color-sky-blue);
}

.tier-1 .check-icon {
    stroke: var(--color-sky-blue);
}

.tier-2 .tier-badge {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-action);
}

.tier-2 .erp-icon {
    color: var(--color-action);
}

.tier-2 .check-icon {
    stroke: var(--color-action);
}

.tier-3 .tier-badge {
    background: rgba(76, 175, 80, 0.15);
    color: var(--color-green);
}

.tier-3 .erp-icon {
    color: var(--color-green);
}

.tier-3 .check-icon {
    stroke: var(--color-green);
}

.erp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
}

.erp-card-header h3 {
    font-size: var(--font-size-2xl);
}

.erp-card-body {
    padding: 0 var(--spacing-xl) var(--spacing-lg);
}

.erp-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
    min-height: 60px;
}

.erp-features {
    list-style: none;
}

.erp-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.erp-card-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--color-gray-200);
}

.erp-card-footer .btn {
    width: 100%;
}

/* ========================================
   EDUCATION CONTENT SECTION
   Digital learning resources - 4 cards
   ======================================== */
.education-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.education-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    text-align: center;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-action);
}

/* Education icons with different colors */
.education-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.education-icon svg {
    width: 100%;
    height: 100%;
}

.education-icon.ebooks {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.25) 100%);
    color: var(--color-action-dark);
}

.education-icon.videos {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.25) 100%);
    color: #dc2626;
}

.education-icon.library {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15) 0%, rgba(78, 205, 196, 0.25) 100%);
    color: #0d9488;
}

.education-icon.stem {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.25) 100%);
    color: #7c3aed;
}

.education-card h3 {
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.education-tagline {
    font-size: var(--font-size-sm);
    color: var(--color-action);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.education-desc {
    font-size: var(--font-size-sm);
    color: var(--color-gray-900);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.education-features {
    list-style: none;
    text-align: left;
}

.education-features li {
    font-size: var(--font-size-xs);
    color: var(--color-gray-700);
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.education-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
}

/* Education section responsive */
@media (max-width: 1200px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .education-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   ADD-ONS SECTION - CIRCULAR CAROUSEL
   ======================================== */
.addons-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.addons-carousel {
    position: relative;
    width: 600px;
    height: 450px;
    margin: 0 auto;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 280px;
    height: 280px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -140px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Circular positioning using transform */
.carousel-item[data-position="0"] {
    transform: rotateY(0deg) translateZ(350px);
    z-index: 4;
}

.carousel-item[data-position="1"] {
    transform: rotateY(90deg) translateZ(350px);
    z-index: 3;
}

.carousel-item[data-position="2"] {
    transform: rotateY(180deg) translateZ(350px);
    z-index: 2;
}

.carousel-item[data-position="3"] {
    transform: rotateY(270deg) translateZ(350px);
    z-index: 1;
}

/* Hover pause animation */
.addons-carousel:hover .carousel-item {
    animation-play-state: paused;
}

.carousel-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-item:hover .carousel-image img {
    transform: scale(1.1);
}

.carousel-content {
    padding: 20px;
    text-align: center;
    background: var(--color-white);
}

.carousel-content h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.carousel-content p {
    font-size: 0.875rem;
    color: var(--color-gray-700);
    line-height: 1.5;
    margin: 0;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(56, 176, 0, 0.3);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Auto-rotation animation */
@keyframes rotateCarousel {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.addons-carousel.auto-rotate {
    animation: rotateCarousel 20s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .addons-carousel {
        width: 400px;
        height: 400px;
    }

    .carousel-item {
        width: 220px;
        height: 220px;
        margin-left: -110px;
        margin-top: -110px;
    }

    .carousel-item[data-position="0"],
    .carousel-item[data-position="1"],
    .carousel-item[data-position="2"],
    .carousel-item[data-position="3"] {
        transform: rotateY(calc(var(--rotation, 0) * 90deg)) translateZ(250px);
    }

    .carousel-image {
        height: 140px;
    }

    .carousel-content {
        padding: 15px;
    }

    .carousel-content h3 {
        font-size: 1.1rem;
    }

    .carousel-content p {
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   PRINTING SECTION
   ======================================== */
.printing-section {
    background: var(--color-light);
}

.printing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.printing-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.printing-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.printing-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.printing-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.printing-content p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.printing-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.badge {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-rfid {
    background: rgba(78, 205, 196, 0.15);
    color: var(--color-sky-blue);
}

.badge-barcode {
    background: rgba(233, 30, 99, 0.15);
    color: var(--color-pink);
}

.badge-pvc {
    background: rgba(76, 175, 80, 0.15);
    color: var(--color-green);
}

.badge-omr {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-action);
}

.badge-custom {
    background: rgba(26, 46, 90, 0.1);
    color: var(--color-primary);
}

.badge-report {
    background: rgba(233, 30, 99, 0.15);
    color: var(--color-pink);
}

.badge-cert {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-action);
}

/* ========================================
   ACADEMICS SECTION
   ======================================== */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.academic-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.academic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.academic-card.featured {
    border: 2px solid var(--color-green);
}

.featured-label {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-green);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.academic-header {
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.academic-header svg {
    width: 80px;
    height: 80px;
}

.academic-header.content {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.2) 100%);
    color: var(--color-sky-blue);
}

.academic-header.robotics {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    color: var(--color-green);
}

.academic-header.programming {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(233, 30, 99, 0.2) 100%);
    color: var(--color-pink);
}

.academic-body {
    padding: var(--spacing-xl);
}

.academic-body h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.academic-body p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.academic-list {
    list-style: none;
}

.academic-list li {
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
}

.course-levels {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.course-level {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: var(--spacing-md);
}

.level-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-700);
}

.level-bar {
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-action) 0%, var(--color-action-light) 100%);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.level-tag {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.level-tag.beginner {
    background: rgba(76, 175, 80, 0.15);
    color: var(--color-green);
}

.level-tag.intermediate {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-action);
}

.level-tag.advanced {
    background: rgba(233, 30, 99, 0.15);
    color: var(--color-pink);
}

/* ========================================
   STATS SECTION
   Animated counter section with 5 stats
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--color-action) 0%, var(--color-action) 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

/* Section header in stats */
.stats-section .section-header {
    margin-bottom: var(--spacing-2xl);
}

.stats-section .section-header h2,
.stats-section .section-header p {
    color: var(--color-white);
}

.stats-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* 5-column grid for stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    color: var(--color-action);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

/* Stat icons with different colors */
.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    background: rgba(2, 62, 120, 0.1);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* Different colors for each icon type */
.stat-icon.schools {
    color: var(--color-action);
}

.stat-icon.students {
    color: var(--color-sky-blue);
}

.stat-icon.users {
    color: #a78bfa;
}

.stat-icon.uptime {
    color: var(--color-green);
}

.stat-icon.exams {
    color: #f472b6;
}

/* Stat value container */
.stat-value {
    margin-bottom: var(--spacing-xs);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    display: inline;
    color: var(--color-action);
}

.stat-suffix {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    opacity: 0.9;
}

.stat-label {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: var(--spacing-xs) 0 0;
    opacity: 0.95;
    color: var(--color-action);
}

.stat-sublabel {
    font-size: var(--font-size-xs);
    opacity: 0.7;
    margin: var(--spacing-xs) 0 0;
    color: var(--color-action);
}

/* ========================================
   STATS SECTION RESPONSIVE STYLES
   ======================================== */

/* Large tablets */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .stat-item:last-child {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-item:last-child {
        grid-column: span 2;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-suffix {
        font-size: var(--font-size-lg);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item:last-child {
        grid-column: span 1;
    }

    .stat-item {
        display: block;
        text-align: center;
        padding: var(--spacing-md);
    }

    .stat-icon {
        margin: 0 auto var(--spacing-md);
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   With video cards and text testimonials
   ======================================== */
.testimonials-section {
    background: var(--color-light);
}

/* Video Testimonials Grid */
.video-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.video-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.video-thumbnail {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    color: var(--color-white);
    transition: transform var(--transition-base);
}

.video-card:hover .play-button {
    transform: scale(1.15);
}

.video-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.video-info h4 {
    font-size: var(--font-size-base);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.video-info p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-900);
    font-style: italic;
}

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

@media (max-width: 768px) {
    .video-testimonials {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto var(--spacing-2xl);
    }
}

/* ========================================
   PARTNER SCHOOLS CAROUSEL
   Auto-scrolling logo marquee
   ======================================== */
.partner-schools-section {
    background: var(--color-white);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--color-gray-200);
}

.partner-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.partner-header h3 {
    font-size: var(--font-size-xl);
    color: var(--color-gray-900);
    font-weight: 500;
}

.school-logos-wrapper {
    overflow: hidden;
    position: relative;
}

.school-logos-wrapper::before,
.school-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.school-logos-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-white) 0%, transparent 100%);
}

.school-logos-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--color-white) 100%);
}

.school-logos-track {
    display: flex;
    gap: var(--spacing-2xl);
    animation: scroll-logos 30s linear infinite;
}

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

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

.school-logo {
    flex-shrink: 0;
}

/* Logo images */
.school-logo img {
    width: 150px;
    height: 60px;
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    padding: 10px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    display: block;
}

.school-logo:hover img {
    border-color: var(--color-action);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.2);
    transform: translateY(-2px);
}

/* Logo placeholders */
.logo-placeholder {
    width: 150px;
    height: 60px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    color: var(--color-gray-900);
    font-weight: 500;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.school-logo:hover .logo-placeholder {
    background: var(--color-gray-200);
    border-color: var(--color-action);
}

/* ========================================
   TECHNICAL PARTNERS SECTION
   ======================================== */
.tech-partners-section {
    background: var(--color-action);
    color: var(--color-white);
}

.tech-partners-section h2,
.tech-partners-section p,
.tech-partners-section span {
    color: var(--color-white);
}

.tech-partners-wrapper {
    overflow: hidden;
    position: relative;
}

.tech-partners-wrapper::before,
.tech-partners-wrapper::after {
    display: none;
}

.tech-partners-track {
    display: flex;
    /* gap: var(--spacing-xl); Removed to fix seamless scroll calculation */
    width: max-content;
    /* Ensure track takes full width of content */
    animation: scroll-partners 40s linear infinite;
}

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

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

.tech-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-xl);
    /* Use margin instead of gap for seamless scrolling loop */
}

.partner-logo {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    min-height: 100px;
    min-width: 180px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.partner-logo img {
    max-width: 150px;
    width: auto;
    height: 80px;
    object-fit: contain;
    display: block;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.tech-partners-section .section-header h2,
.tech-partners-section .section-header p,
.tech-partners-section .partner-name,
.tech-partners-section .partner-logo small {
    color: var(--color-white);
}

.tech-partners-section .section-header h2 span,
.tech-partners-section .section-header h2 .highlight {
    color: var(--color-primary);
}

.tech-partners-section .section-badge {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* Brand-specific colors */
.partner-logo.aws .partner-name {
    color: #FF9900;
}

.partner-logo.aws:hover {
    border-color: #FF9900;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.2);
}

.partner-logo.essl .partner-name {
    color: #0056b3;
}

.partner-logo.essl:hover {
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.partner-logo.bigrock .partner-name {
    color: #d32f2f;
}

.partner-logo.bigrock:hover {
    border-color: #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.partner-logo.google .partner-name {
    background: linear-gradient(90deg, #4285F4 0%, #EA4335 25%, #FBBC04 50%, #34A853 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-logo.google:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.partner-logo.openai .partner-name {
    color: #10a37f;
}

.partner-logo.openai:hover {
    border-color: #10a37f;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.2);
}

.partner-logo.cloudflare .partner-name {
    color: #F6821F;
}

.partner-logo.cloudflare:hover {
    border-color: #F6821F;
    box-shadow: 0 4px 12px rgba(246, 130, 31, 0.2);
}

.partner-logo.razorpay .partner-name {
    color: #3395FF;
}

.partner-logo.razorpay:hover {
    border-color: #3395FF;
    box-shadow: 0 4px 12px rgba(51, 149, 255, 0.2);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.testimonial-content {
    margin-bottom: var(--spacing-xl);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-action);
    opacity: 0.5;
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-size: var(--font-size-base);
    font-style: italic;
    color: var(--color-gray-700);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-action) 0%, var(--color-action-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.author-avatar svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.author-info h4 {
    font-size: var(--font-size-base);
    margin-bottom: 2px;
}

.author-info p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-lg);
}

.contact-info>p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(245, 166, 35, 0.2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-action);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: var(--font-size-base);
    margin-bottom: 2px;
}

.contact-item p {
    margin: 0;
    color: var(--color-gray-900);
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-action);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #002b55;
    color: var(--color-white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    color: var(--color-white);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-white);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-white);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ========================================
   FOOTER INDIA MAP
   Animated branch office markers
   ======================================== */
.footer-map {
    grid-column: span 1;
}

.footer-map h4 {
    color: var(--color-white);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
}

.india-map-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.india-map {
    width: 140px;
    height: auto;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.india-outline {
    stroke: rgba(255, 255, 255, 0.4);
}

/* Map markers with pulse animation */
.map-marker {
    cursor: pointer;
}

.marker-dot {
    fill: var(--color-action);
}

.marker-pulse {
    fill: var(--color-action);
    opacity: 0.4;
    animation: pulse-marker 2s ease-in-out infinite;
}

.head-office .marker-dot {
    fill: #ff6b6b;
}

.head-office .marker-pulse {
    fill: #ff6b6b;
}

@keyframes pulse-marker {

    0%,
    100% {
        opacity: 0.4;
        r: 6;
    }

    50% {
        opacity: 0.2;
        r: 12;
    }
}

.head-office .marker-pulse {
    animation: pulse-marker-hq 1.5s ease-in-out infinite;
}

@keyframes pulse-marker-hq {

    0%,
    100% {
        opacity: 0.5;
        r: 8;
    }

    50% {
        opacity: 0.2;
        r: 16;
    }
}

.marker-label {
    fill: var(--color-white);
    font-size: 7px;
    text-anchor: start;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 500;
}

/* Labels with visible class show by default */
.marker-label.visible {
    opacity: 1;
}

.marker-label.hq-label {
    fill: #ff4757;
    font-weight: 700;
    font-size: 8px;
}

/* Location pin styling */
.marker-pin {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.marker-pin.hq-pin {
    filter: drop-shadow(0 3px 5px rgba(255, 71, 87, 0.4));
}

.map-marker:hover .marker-label {
    opacity: 1;
}

/* Branch list */
.branch-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.branch-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
}

.branch-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-action);
    animation: pulse-small 2s ease-in-out infinite;
}

.branch-item.hq .branch-marker {
    background: #ff6b6b;
    width: 10px;
    height: 10px;
}

.branch-item.hq {
    font-weight: 600;
    color: var(--color-white);
}

@keyframes pulse-small {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Footer grid update for 5 columns with map */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

/* Footer responsive with map */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-map {
        grid-column: 1 / -1;
        margin-top: var(--spacing-xl);
    }

    .india-map-wrapper {
        justify-content: center;
    }
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-gray-200);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-900);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.modal-icon {
    width: 180px;
    height: auto;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-action);
}

.modal-header h2 {
    margin-bottom: var(--spacing-sm);
}

.modal-header p {
    margin: 0;
}

.demo-form .form-row {
    gap: var(--spacing-md);
}

.form-success {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.form-success svg {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-lg);
}

.form-success h3 {
    color: var(--color-green);
    margin-bottom: var(--spacing-md);
}

.form-success p {
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: var(--z-dropdown);
    display: none;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.floating-btn.whatsapp svg {
    width: 30px;
    height: 30px;
}

.floating-btn.demo {
    background: linear-gradient(135deg, var(--color-action) 0%, var(--color-action-dark) 100%);
    color: var(--color-white);
    width: auto;
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-sm);
}

.floating-btn.demo svg {
    width: 24px;
    height: 24px;
}

.floating-btn.demo span {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    left: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-action);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   AOS CUSTOM ANIMATIONS
   ======================================== */
[data-aos="slide-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="slide-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .erp-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .erp-card.featured {
        transform: none;
        order: -1;
    }

    .erp-card.featured:hover {
        transform: translateY(-10px);
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .printing-card {
        flex-direction: column;
        text-align: center;
    }

    .printing-badges {
        justify-content: center;
    }

    .academics-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--color-gray-700);
        font-size: var(--font-size-lg);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-buttons .btn {
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        text-align: center;
        padding: 0 var(--spacing-md);
    }

    .image-wrapper {
        display: none;
    }

    .addons-carousel {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .carousel-item {
        width: 220px;
        height: 220px;
        margin-left: -110px;
        margin-top: -110px;
    }

    .carousel-content h3 {
        font-size: 1rem;
    }

    .carousel-content p {
        font-size: 0.75rem;
    }

    .loader-logo {
        width: 100px;
    }

    .loader-spinner {
        width: 40px;
        height: 40px;
    }

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

    .hero-stats .stat-item {
        flex: 1 1 40%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .floating-btn.demo span {
        display: none;
    }

    .floating-btn.demo {
        width: 60px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .hero-logo {
        width: 150px;
    }

    .btn-lg {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
    }

    .modal-content {
        padding: var(--spacing-lg);
    }

    .floating-buttons {
        bottom: var(--spacing-md);
        right: var(--spacing-md);

    }

    .back-to-top {
        bottom: var(--spacing-md);
        left: var(--spacing-md);
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {

    .navbar,
    .floating-buttons,
    .back-to-top,
    .modal {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-2xl);
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ========================================
   TRUSTED BY SLIDER SECTION
   ======================================== */
.trusted-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-white);
    overflow: hidden;
}

.trusted-section .section-header {
    margin-bottom: var(--spacing-3xl);
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 0) 90%,
            rgba(255, 255, 255, 1) 100%);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.marquee-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

    100% {
        transform: translateX(calc(-50% - 2rem));
        /* Scroll half the track (single set) plus half gap */
    }
}

/* ========================================
   MULTI-ROW MARQUEE STYLES
   ======================================== */
.marquee-container.multi-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.marquee-track.reverse {
    animation-name: scroll-reverse;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-50% - 2rem));
    }

    100% {
        transform: translateX(0);
    }
}