/* ============================================================
   RAYBOTICS ACADEMY - ENHANCED UI STYLES v2.0
   Modern, responsive, and accessible design system
   Color Theme: Blues (#5496ad, #b3e7fb, #1890bc)
   ============================================================ */

/* ============================================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
    /* Primary Colors - Blue Theme */
    --primary: #5496ad;
    --primary-light: #7bb4c7;
    --primary-dark: #3d7a8f;
    --primary-rgb: 84, 150, 173;
    
    /* Secondary Colors */
    --secondary: #b3e7fb;
    --secondary-light: #d4f3ff;
    --secondary-dark: #8fd9f5;
    
    /* Accent Colors */
    --accent: #1890bc;
    --accent-light: #00A8E8;
    --accent-dark: #0077B6;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(189, 36%, 56%, 0.15) 0px, transparent 50%), 
                     radial-gradient(at 80% 0%, hsla(197, 95%, 45%, 0.1) 0px, transparent 50%), 
                     radial-gradient(at 0% 50%, hsla(189, 36%, 85%, 0.15) 0px, transparent 50%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 10px 40px -10px rgba(var(--primary-rgb), 0.4);
    --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.3);
    
    /* 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-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* 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;
}

/* ============================================================
   FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   BASE STYLES & RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.display-5 {
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fadeInUp"].animated {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll[data-animation="fadeInLeft"].animated {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-on-scroll[data-animation="fadeInRight"].animated {
    animation: slideInRight 0.6s ease forwards;
}

.animate-on-scroll[data-animation="scaleIn"].animated {
    animation: scaleIn 0.6s ease forwards;
}

/* Stagger delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="600"] { transition-delay: 0.6s; }
.animate-on-scroll[data-delay="700"] { transition-delay: 0.7s; }
.animate-on-scroll[data-delay="800"] { transition-delay: 0.8s; }
.animate-on-scroll[data-delay="900"] { transition-delay: 0.9s; }
.animate-on-scroll[data-delay="1000"] { transition-delay: 1s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Primary Button */
.btn-primary,
.lightbluecolor {
    background: var(--gradient-primary);
    color: var(--white) !important;
    box-shadow: var(--shadow-md), var(--shadow-primary);
}

.btn-primary:hover,
.lightbluecolor:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 15px 50px -10px rgba(var(--primary-rgb), 0.5);
    color: var(--white) !important;
}

.btn-primary:active,
.lightbluecolor:active {
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.0625rem;
}

/* Enhanced Button */
.btn-enhanced {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-8);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg), var(--shadow-primary);
}

.btn-enhanced:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-gradient {
    background: var(--gradient-secondary);
    border: none;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--gradient-mesh), var(--gray-50);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-images {
    position: relative;
}

.about-images .col-6 {
    animation: fadeInUp 0.8s ease forwards;
}

.about-images .col-6:nth-child(1) { animation-delay: 0s; }
.about-images .col-6:nth-child(2) { animation-delay: 0.15s; }
.about-images .col-6:nth-child(3) { animation-delay: 0.3s; }
.about-images .col-6:nth-child(4) { animation-delay: 0.45s; }

.about-images img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    filter: brightness(0.95);
}

.about-images img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-2xl);
    filter: brightness(1);
}

.floating-element {
    animation: float 4s ease-in-out infinite;
}

.floating-element:nth-child(2) { animation-delay: -1s; }
.floating-element:nth-child(3) { animation-delay: -2s; }
.floating-element:nth-child(4) { animation-delay: -3s; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--gradient-secondary);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%235496ad' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    object-fit: cover;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.testimonial-quote-icon {
    color: var(--primary);
    opacity: 0.6;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-search-container {
    max-width: 600px;
    margin: 0 auto var(--space-12);
    position: relative;
}

.faq-search {
    width: 100%;
    padding: var(--space-4) var(--space-6) var(--space-4) var(--space-12);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 1rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.faq-search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.25rem;
}

.faq-category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.faq-filter-btn {
    padding: var(--space-2) var(--space-5);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 0.875rem;
}

.faq-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.faq-filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-md), var(--shadow-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
    transform-origin: bottom;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.faq-item:hover::before,
.faq-item.active::before {
    transform: scaleY(1);
}

.faq-item.active {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.faq-header {
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-header-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.faq-icon {
    background: var(--gradient-secondary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-4);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-item:hover .faq-icon,
.faq-item.active .faq-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
}

.faq-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-800);
    transition: color var(--transition-fast);
}

.faq-item:hover .faq-title,
.faq-item.active .faq-title {
    color: var(--primary);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-toggle::before {
    content: '+';
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-base);
    line-height: 1;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle::before {
    color: var(--white);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 500px;
}

.faq-content-inner {
    padding: 0 var(--space-6) var(--space-6);
    padding-left: calc(50px + var(--space-10));
}

.faq-answer {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.faq-no-results {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    color: var(--gray-500);
    display: none;
}

.faq-no-results.show {
    display: block;
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.courses-section {
    padding: var(--space-20) 0;
}

.course-card {
    height: 100%;
    border: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.course-card:hover .card-img-top {
    transform: scale(1.1);
}

.course-card .card-body {
    padding: var(--space-6);
}

.course-card .card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.course-card .card-text {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.course-details {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4);
}

.course-details li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.course-details li:last-child {
    border-bottom: none;
}

.course-details li strong {
    color: var(--primary);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: opacity var(--transition-base);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.team-card:hover::before {
    opacity: 0.2;
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.team-card:hover img {
    transform: scale(1.1);
    border-color: var(--primary);
}

.team-card h4 {
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.team-card p {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-img {
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-nav {
    background: var(--gradient-mesh), var(--gray-50);
    padding: var(--space-6) 0;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--accent);
}

.breadcrumb-item.active {
    color: var(--gray-600);
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
    height: 4px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    margin: var(--space-10) auto;
    transition: all var(--transition-base);
}

.section-divider:hover {
    transform: scaleX(1.2);
}

/* ============================================================
   GLASS MORPHISM UTILITIES
   ============================================================ */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   LOADING STATES
   ============================================================ */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg), var(--shadow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 991px) {
    :root {
        --space-24: 4rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-24: 3rem;
        --space-20: 2.5rem;
        --space-16: 2rem;
    }
    
    .faq-header {
        padding: var(--space-4);
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        margin-right: var(--space-3);
    }
    
    .faq-title {
        font-size: 0.9375rem;
    }
    
    .faq-content-inner {
        padding-left: calc(40px + var(--space-7));
    }
    
    .testimonial-card {
        padding: var(--space-5);
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        margin-bottom: var(--space-4);
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--space-4);
        right: var(--space-4);
    }
}

@media (max-width: 480px) {
    .faq-category-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .faq-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .faq-icon {
        margin-right: 0;
        margin-bottom: var(--space-2);
    }
    
    .faq-toggle {
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
    }
    
    .faq-content-inner {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .back-to-top,
    .faq-search-container,
    .faq-category-filter {
        display: none !important;
    }
    
    .faq-content {
        max-height: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        text-decoration: underline;
    }
}
