/**
* CatMock - Modern CAT Exam Preparation Platform
* Redesigned for maximum conversion and modern UX
* Version: 3.0
*/

/*--------------------------------------------------------------
# Modern Design System Variables
--------------------------------------------------------------*/

:root {
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Color Palette - Modern & Conversion Focused */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --secondary-50: #f8fafc;
    --secondary-100: #f1f5f9;
    --secondary-200: #e2e8f0;
    --secondary-300: #cbd5e1;
    --secondary-400: #94a3b8;
    --secondary-500: #64748b;
    --secondary-600: #475569;
    --secondary-700: #334155;
    --secondary-800: #1e293b;
    --secondary-900: #0f172a;
    
    --success-50: #f0fdf4;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    
    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    --error-50: #fef2f2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    
    /* Semantic Colors */
    --color-primary: var(--primary-600);
    --color-primary-light: var(--primary-500);
    --color-primary-dark: var(--primary-700);
    --color-secondary: var(--secondary-600);
    --color-success: var(--success-600);
    --color-warning: var(--warning-600);
    --color-error: var(--error-600);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--secondary-50);
    --bg-tertiary: var(--secondary-100);
    --bg-dark: var(--secondary-900);
    
    /* Text Colors */
    --text-primary: var(--secondary-900);
    --text-secondary: var(--secondary-600);
    --text-tertiary: var(--secondary-500);
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-light: var(--secondary-200);
    --border-medium: var(--secondary-300);
    --border-dark: var(--secondary-400);
    
    /* Shadow System */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Transitions */
    --transition-fast: 100ms ease-in-out;
    --transition-normal: 150ms ease-in-out;
    --transition-slow: 200ms ease-in-out;
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/*--------------------------------------------------------------
# Base Styles & Reset
--------------------------------------------------------------*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-3xl); font-weight: 600; }
h4 { font-size: var(--text-2xl); font-weight: 600; }
h5 { font-size: var(--text-xl); font-weight: 600; }
h6 { font-size: var(--text-lg); font-weight: 600; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

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

a:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-400);
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/

.text-gradient {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-800));
}

.shadow-soft {
    box-shadow: var(--shadow-md);
}

.shadow-strong {
    box-shadow: var(--shadow-xl);
}

.rounded-modern {
    border-radius: var(--radius-lg);
}

.rounded-modern-xl {
    border-radius: var(--radius-xl);
}

/*--------------------------------------------------------------
# Modern Button System
--------------------------------------------------------------*/

.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn-success {
    background: var(--color-success);
    color: var(--text-inverse);
}

.btn-success:hover {
    background: var(--success-700);
    color: var(--text-inverse);
}

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

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

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
}

/*--------------------------------------------------------------
# Modern Header & Navigation
--------------------------------------------------------------*/

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    padding: var(--space-md) 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header .logo img {
    height: 40px;
    width: auto;
}

.header .logo h1 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Navigation */
.navmenu {
    display: flex;
    align-items: center;
}

.navmenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xl);
}

.navmenu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.navmenu a:hover,
.navmenu a.active {
    color: var(--color-primary);
    background: var(--primary-50);
}

.navmenu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.navmenu a:hover::after,
.navmenu a.active::after {
    width: 80%;
}

/* CTA Button in Header */
.header .btn-getstarted {
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.header .btn-getstarted:hover {
    background: var(--color-primary-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .navmenu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        box-shadow: var(--shadow-xl);
        padding: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .navmenu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navmenu ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .navmenu a {
        display: block;
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
}

/*--------------------------------------------------------------
# Hero Section - Conversion Focused
--------------------------------------------------------------*/

.hero {
    padding: 60px 0 var(--space-xs);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
}

.hero .row {
    align-items: flex-start;
}

.hero .col-lg-6:first-child {
    padding-top: 0;
    margin-top: -8rem;
}

.hero .hero-contents {
    margin-top: 4rem;
    padding-left: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    line-height: var(--leading-relaxed);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: white;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    line-height: var(--leading-relaxed);
    opacity: 0.9;
}

.hero .btn-get-started {
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-xl);
    font-size: var(--text-lg);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.hero .btn-get-started:hover {
    background: var(--color-primary-dark);
    color: var(--text-inverse);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.hero .btn-get-started i {
    margin-left: var(--space-sm);
    transition: transform var(--transition-fast);
}

.hero .btn-get-started:hover i {
    transform: translateX(4px);
}

.hero .hero-img {
    position: relative;
}

.hero .teacher-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
}

.hero .teacher-img:hover {
    transform: scale(1.02);
}

/* Social icon buttons */
.hero-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Platform colors */
.hero-social-icons .social-icon.whatsapp { background-color: #25D366; }
.hero-social-icons .social-icon.telegram { background-color: #0088cc; }
.hero-social-icons .social-icon.instagram {
    background-color: #E1306C;
}

/* Hover effect */
.hero-social-icons .social-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hero Visual and Images */
.hero-visual {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 100%;
    z-index: 2;
}

.hero-main-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 2;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

/* Floating Cards - Now in grid layout below image */
.floating-cards-container {
    margin-top: 2rem;
}

.floating-card {
    position: relative;
    max-width: 100%;
    transition: all var(--transition-normal);
}

.floating-card:hover {
    transform: translateY(-4px);
}

.floating-card .card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.floating-card:hover .card {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.floating-card .card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Video Preview */
.video-preview {
    margin-top: 2rem;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: var(--radius-xl);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none; 
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.play-button:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

/* Trust Logos */
.hero-trust {
    margin-top: 2rem;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-logo {
    height: 30px;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    max-width: 100px;
}

.trust-logo:hover {
    opacity: 1;
}

/* Responsive Design for Hero Visual */
@media (max-width: 992px) {
    .hero-visual {
        margin-top: 2rem;
    }
    
    .floating-cards-container {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        margin-top: 1rem;
        overflow: visible;
    }
    
    .hero-image-wrapper {
        margin-bottom: 1rem;
    }
    
    .floating-cards-container {
        margin-top: 1rem;
    }
    
    .floating-card {
        margin-bottom: 1rem;
    }
    
    .video-wrapper iframe {
        height: 200px;
    }
    
    .trust-logos {
        justify-content: center;
        gap: 1rem;
    }
    
    .trust-logo {
        height: 25px;
        max-width: 80px;
    }
}

@media (max-width: 576px) {
    .hero-visual {
        margin-top: 0.5rem;
    }
    
    .floating-cards-container {
        margin-top: 0.75rem;
    }
    
    .floating-card {
        margin-bottom: 0.75rem;
    }
    
    .floating-card .card-body {
        padding: 0.75rem;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .video-wrapper iframe {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .trust-logos {
        gap: 0.75rem;
    }
    
    .trust-logo {
        height: 20px;
        max-width: 60px;
    }
}

/* ------------------- Mobile Fixes for Hero Section ------------------- */
@media (max-width: 768px) {

    /* Reduce gap between content and hero visual */
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero .hero-contents {
        margin-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Stack buttons vertically and center */
    .hero-cta {
        flex-direction: column !important;
        align-items: center;
        gap: 0.75rem;
    }

    /* Social icons centered under buttons */
    .hero-social-icons {
        justify-content: center !important;
        margin-top: 1rem;
        gap: 1rem;
    }

    /* Reduce video height for mobile */
    .video-wrapper iframe {
        height: 200px !important;
    }

    /* Reduce hero image carousel height on mobile */
    .hero-visual .carousel-inner img {
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }

    /* Reduce spacing between hero content and video */
    .hero-visual {
        margin-top: 1rem !important;
    }
}

/* Extra small screens <576px */
@media (max-width: 576px) {

    .hero-cta {
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .hero-social-icons {
        gap: 0.75rem;
    }

    .video-wrapper iframe {
        height: 160px !important;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

}
/*--------------------------------------------------------------
# Modern Card System
--------------------------------------------------------------*/

.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

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

.card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
}

.card .price {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.card .price .currency {
    font-size: var(--text-lg);
    vertical-align: top;
}

.card .features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.card .features li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card .features li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
    font-size: var(--text-lg);
}

/*--------------------------------------------------------------
# Service Items (Exam Cards)
--------------------------------------------------------------*/

.services .service-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.services .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.services .service-item:hover::before {
    transform: scaleX(1);
}

.services .service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.services .service-item .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-normal);
}

.services .service-item:hover .icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.services .service-item .icon i {
    font-size: var(--text-2xl);
    color: var(--text-inverse);
}

.services .service-item h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.services .service-item p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
}

.services .service-item .read-more {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
}

.services .service-item .read-more:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.services .service-item .read-more i {
    transition: transform var(--transition-fast);
}

.services .service-item .read-more:hover i {
    transform: translateX(4px);
}

/*--------------------------------------------------------------
# Modern Footer
--------------------------------------------------------------*/

.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
}

.footer h4 {
    color: var(--text-inverse);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

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

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

.footer .footer-links ul a {
    color: var(--secondary-300);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer .footer-links ul a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.footer .social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    transition: all var(--transition-fast);
}

.footer .social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer .copyright {
    border-top: 1px solid var(--secondary-800);
    padding-top: var(--space-lg);
    margin-top: var(--space-2xl);
    text-align: center;
    color: var(--secondary-400);
}

/*--------------------------------------------------------------
# Modern Form Elements
--------------------------------------------------------------*/

.form-control {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--primary-100);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: block;
}

/*--------------------------------------------------------------
# Modern Alert System
--------------------------------------------------------------*/

.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: none;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.alert-success {
    background: var(--success-50);
    color: var(--success-700);
    border-left: 4px solid var(--success-500);
}

.alert-warning {
    background: var(--warning-50);
    color: var(--warning-600);
    border-left: 4px solid var(--warning-500);
}

.alert-error {
    background: var(--error-50);
    color: var(--error-600);
    border-left: 4px solid var(--error-500);
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-700);
    border-left: 4px solid var(--primary-500);
}

/*--------------------------------------------------------------
# Modern Badge System
--------------------------------------------------------------*/

.badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-700);
}

.badge-success {
    background: var(--success-50);
    color: var(--success-700);
}

.badge-warning {
    background: var(--warning-50);
    color: var(--warning-600);
}

.badge-error {
    background: var(--error-50);
    color: var(--error-600);
}

/*--------------------------------------------------------------
# Modern Table System
--------------------------------------------------------------*/

.table {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead {
    background: var(--bg-secondary);
}

.table th {
    padding: var(--space-lg);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
}

.table td {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

/*--------------------------------------------------------------
# Modern Modal System
--------------------------------------------------------------*/

.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xl);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: var(--space-xl);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/

@media (max-width: 768px) {
    .hero {
        padding: 50px 0 0.5rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero .col-lg-6:first-child {
        padding-top: 0;
        margin-top: -4rem;
    }
    
    .hero .hero-contents {
        margin-top: -2rem;
    }
    
    .hero h1 {
        font-size: var(--text-3xl);
    }
    
    .hero p {
        font-size: var(--text-lg);
    }
    
    .hero .row {
        min-height: auto;
    }
    
    .card,
    .services .service-item {
        padding: var(--space-lg);
    }
    
    .btn-lg {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-base);
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .hero .col-lg-6:first-child {
        padding-top: 0;
    }
    
    .hero h1 {
        font-size: var(--text-2xl);
    }
    
    .card,
    .services .service-item {
        padding: var(--space-md);
    }
}

/*--------------------------------------------------------------
# Animation Classes
--------------------------------------------------------------*/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/*--------------------------------------------------------------
# Legacy Compatibility
--------------------------------------------------------------*/

/* Maintain compatibility with existing classes */
.color-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-white {
    color: var(--text-inverse) !important;
}

.bg-white {
    background-color: var(--bg-primary) !important;
}

/*--------------------------------------------------------------
# Custom Scroll Top Button
--------------------------------------------------------------*/

.scroll-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

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

.scroll-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.scroll-top i {
    font-size: var(--text-lg);
}

/*--------------------------------------------------------------
# About Section Styles
--------------------------------------------------------------*/

.about-section {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-50);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-100);
}

.section-badge i {
    font-size: 0.75rem;
}

/* About Title */
.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.about-title .text-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mission Statement */
.mission-statement {
    margin-bottom: 2.5rem;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* About Points */
.about-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.point-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.point-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.point-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Buttons */
.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-cta .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.about-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: var(--text-inverse);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-content .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-content .text {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* About Section Responsive */
@media (max-width: 992px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .floating-stats {
        top: 1rem;
        right: 1rem;
    }
    
    .experience-badge {
        bottom: 1rem;
        left: 1rem;
        padding: 1rem;
    }
    
    .badge-content .years {
        font-size: 1.5rem;
    }
    
    .badge-content .text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 0.25rem 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .point-item {
        padding: 1.25rem;
    }
    
    .point-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-image-wrapper {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .floating-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .experience-badge {
        position: static;
        margin-top: 1rem;
        max-width: 150px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.75rem;
    }
    
    .point-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .point-icon {
        align-self: center;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/*--------------------------------------------------------------
# FAQ Section - Modern Design System
--------------------------------------------------------------*/

/* FAQ Section */
.faq-section {
    padding: 1rem 0;
    background: var(--bg-secondary);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.faq-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.faq-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

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

.faq-card.faq-active {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--primary-50);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-size: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.faq-card:hover .faq-toggle {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.faq-card.faq-active .faq-toggle {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    opacity: 0;
    padding: 0 1rem;
}

.faq-card.faq-active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 1rem 1rem;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Responsive Design */
@media (max-width: 992px) {
    .faq-section .section-title {
        font-size: 2rem;
    }
    
    .faq-section .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 0.75rem 0;
    }
    
    .faq-section .section-title {
        font-size: 1.75rem;
    }
    
    .faq-section .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-card.faq-active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .faq-section .section-title {
        font-size: 1.5rem;
    }
    
    .faq-list {
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.75rem;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-card.faq-active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

/*--------------------------------------------------------------
# Team Section - Modern Design System
--------------------------------------------------------------*/

.team-section {
    padding: 1rem 0;
    background: var(--bg-primary);
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.team-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.team-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    text-align: center;
}

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

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease;
    padding: 0.5rem;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.team-position {
    font-size: 0.9rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/*--------------------------------------------------------------
# Testimonials Section - Modern Design System
--------------------------------------------------------------*/

.testimonials-section {
    padding: 1rem 0;
    background: var(--bg-secondary);
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.testimonials-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    position: relative;
    scroll-behavior: smooth;
    width: 100%;
}

.testimonials-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 1.2s ease-in-out;
    width: 100%;
    user-select: none;
    cursor: grab;
    will-change: transform;
    transform: translateZ(0);
}

.testimonials-container:active {
    cursor: grabbing;
}

.testimonial-card {
    width: calc(25% - 1.125rem); /* Exactly 4 cards per row */
    flex-shrink: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.pagination-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}







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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
}

/*--------------------------------------------------------------
# GDPI Section - Modern Design System
--------------------------------------------------------------*/

.gdpi-section {
    padding: 1rem 0;
    background: var(--bg-primary);
}

.gdpi-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.gdpi-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.gdpi-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.gdpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gdpi-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    text-align: center;
}

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

.gdpi-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.gdpi-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.gdpi-card:hover .gdpi-image img {
    transform: scale(1.05);
}

.gdpi-content {
    padding: 1.5rem;
}

.gdpi-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.gdpi-position {
    font-size: 0.9rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gdpi-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design for Team, Testimonials, and GDPI */
@media (max-width: 992px) {
    .team-grid,
    .gdpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .testimonial-card {
        width: calc(50% - 0.625rem); /* Exactly 2 cards per row on tablet */
    }
}

@media (max-width: 768px) {
    .team-section,
    .testimonials-section,
    .gdpi-section {
        padding: 0.75rem 0;
    }
    
    .team-section .section-title,
    .testimonials-section .section-title,
    .gdpi-section .section-title {
        font-size: 1.5rem;
    }
    
    .team-section .section-subtitle,
    .testimonials-section .section-subtitle,
    .gdpi-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .team-grid,
    .gdpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .testimonial-card {
        width: calc(100% - 0.5rem); /* Exactly 1 card per row on mobile */
        padding: 1.25rem;
    }
    
    .team-content,
    .gdpi-content {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .team-grid,
    .gdpi-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        width: calc(100% - 0.5rem);
        padding: 1rem;
    }
    
    .team-image,
    .gdpi-image {
        height: 200px;
    }
    
    .team-content,
    .gdpi-content {
        padding: 1rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-image {
        width: 45px;
        height: 45px;
    }
    
    .author-image img {
        padding: 0.2rem;
    }

    .categories-section .section-title,
    .combos-section .section-title {
        font-size: var(--text-2xl);
    }

    .categories-section .section-subtitle,
    .combos-section .section-subtitle {
        font-size: var(--text-sm);
    }
    
    /* Categories and Combos Responsive */
    .categories-section,
    .combos-section {
        padding: 2rem 0;
    }
    
    .categories-grid,
    .combos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .category-card,
    .combo-card {
        margin: 0 1rem;
    }
    
    .category-content,
    .combo-content {
        padding: 1.5rem;
    }
    
    .category-actions,
    .combo-actions {
        padding: 0 1.5rem 1.5rem;
    }
    
    .category-name,
    .combo-name {
        font-size: 1.25rem;
    }
    
    .category-link,
    .combo-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-cta {
        margin-top: 2rem;
    }
    
    .section-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .categories-section .section-title,
    .combos-section .section-title {
        font-size: var(--text-3xl);
    }

    .categories-section .section-subtitle,
    .combos-section .section-subtitle {
        font-size: var(--text-base);
    }

    .categories-section .section-header,
    .combos-section .section-header {
        margin-bottom: 2rem;
    }

    .combo-header {
        padding: 0.8rem;
    }

    .combo-title {
        font-size: 0.9rem;
    }

    .combo-description {
        font-size: 0.75rem;
    }

    .price-amount {
        font-size: 1.35rem;
    }

    .combo-content {
        padding: 0.8rem;
    }

    .combo-features li {
        font-size: 0.7rem;
        padding: 0.15rem 0;
    }

    .combo-actions .btn {
        padding: 0.45rem 0.6rem;
        font-size: 0.7rem;
        min-width: 75px;
    }
}

/* Ensure proper grid layout for larger screens */
@media (min-width: 768px) {
    .combos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .combos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Categories Section */
.categories-section {
    padding: 0.5rem 0 2rem 0;
    background: var(--bg-secondary);
}

.categories-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.categories-section .section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.categories-section .section-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.3;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards by default */
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Below 992px → 2 cards */
@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

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

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 0.5rem;
    color: var(--text-inverse);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.category-content {
    padding: 0 0.75rem 0.75rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    text-align: center;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
}

.category-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.category-features .feature-item {
    display: flex;
    align-items: center;
    gap: 6px;       /* space between icon and text */
    font-size: 0.8rem;  /* readable size */
    color: var(--text-primary); /* make visible on your card */
}

.category-features .feature-item i {
  
    font-size: 0.9rem;  /* visible tick */
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-500);
    font-size: 0.6rem;
    font-weight: bold;
}

.category-actions {
    padding: 0 0.75rem 0.75rem;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 100%;
}

.category-link:hover {
    background: var(--primary-color-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.category-link i {
    transition: transform 0.2s ease;
}

.category-link:hover i {
    transform: translateX(3px);
}

/* Combos Section */
.combos-section {
    padding: 0.5rem 0;
    background: var(--bg-primary);
}

.combos-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.combos-section .section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.combos-section .section-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.3;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.combo-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.combo-header {
    padding: 0.6rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    position: relative;
    overflow: hidden;
}

.combo-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.combo-card:hover .combo-header::before {
    transform: rotate(45deg) translateX(100%);
}

.combo-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.1rem 0.4rem;
    background: var(--primary-color);
    color: blue;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.combo-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
    padding-right: 4rem;
    line-height: 1.2;
}

.combo-badge.badge-success {
    background: var(--success-500);
    color:var(--text-inverse) ;
   
}

.combo-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.combo-description {
    color: var(--text-secondary);
    line-height: 1.25;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
}

.combo-price {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.price-amount {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-label {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.combo-content {
    padding: 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.combo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem 0;
}

.combo-features li {
    padding: 0.15rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
}

.combo-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.75rem;
}

.combo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.combo-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.combo-actions .btn {
    flex: 1;
    min-width: 80px;
    padding: 0.5rem 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.combo-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.combo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 100%;
}

.combo-link:hover {
    background: var(--primary-color-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.combo-link i {
    transition: transform 0.2s ease;
}

.combo-link:hover i {
    transform: translateX(3px);
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 1rem;
}

.section-cta .btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
}

.section-cta .btn:hover {
    background: var(--primary-200);
    color: var(--primary-800);
    border-color: var(--primary-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}


