/* ====================================
   YUHITECH CONSULTANCY SERVICES
   Master CSS Stylesheet
   Version: 1.0
   ====================================

   TABLE OF CONTENTS:
   1. CSS Variables
   2. Reset & Base Styles
   3. Glassmorphism Effects
   4. Typography
   5. Header & Navigation
   6. Hero Sections
   7. Buttons
   8. Forms
   9. Cards
   10. Sections & Containers
   11. Stats & Counters
   12. Services
   13. Testimonials
   14. Footer
   15. Utilities
   16. Animations
   17. Responsive Design
   ==================================== */

/* ====================================
   1. CSS VARIABLES
   ==================================== */
:root {
    /* Brand Colors */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --secondary: #1e3a8a;
    --accent: #60a5fa;
    --accent-light: #93c5fd;
    
    /* Glassmorphism */
    --glass-light: rgba(255, 255, 255, 0.25);
    --glass-medium: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(255, 255, 255, 0.05);
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 30px;
    --radius-xl: 50px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    --font-mono: 'Monaco', 'Courier New', monospace;
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ====================================
   2. RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ====================================
   3. GLASSMORPHISM EFFECTS
   ==================================== */
.glass-strong {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-medium {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s;
    pointer-events: none;
}

.glass-shine:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* ====================================
   4. TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -3px;
}

h2 {
    font-size: 3.5rem;
    letter-spacing: -2px;
}

h3 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

/* ====================================
   5. HEADER & NAVIGATION (UPDATED)
   ==================================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    padding: 1rem 0;
    transition: all var(--transition-slow);
}

/* Header after scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

/* ====================================
   LOGO (swap: top=black, scrolled=color)
   ==================================== */
.logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition-base);
    cursor: pointer;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

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

/* logo swap */
.logo-img--scrolled { display: none; }
header.scrolled .logo-img--default { display: none; }
header.scrolled .logo-img--scrolled { display: block; }

/* ====================================
   NAV LINKS (top=white, scrolled=black)
   underline = currentColor
   ==================================== */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

/* Base nav link (TOP) */
.nav-links a {
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-base);
}

/* After scroll text black */
header.scrolled .nav-links a {
    color: #000;
}

/* Underline follows text color */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width var(--transition-base);
}

/* hover + active underline */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Active bold only (no double underline) */
.nav-links a.active {
    font-weight: 700;
    text-decoration: none;
}

/* CTA: no underline */
.nav-links a.cta-nav::after {
    display: none !important;
}

/* ====================================
   CTA BUTTON
   ==================================== */
.cta-nav {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

header.scrolled .cta-nav {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ====================================
   DROPDOWN MENU (fix color var issue)
   ==================================== */
.dropdown {
    position: relative;
}

.dropdown-menu a {
    color: var(--gray-800);
    position: relative;
    text-decoration: none;
}

/* dropdown underline */
.dropdown-menu a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width var(--transition-base);
}

.dropdown-menu a:hover::after,
.dropdown-menu a.active::after {
    width: calc(100% - 3rem);
}

/* ====================================
   MOBILE MENU TOGGLE (TOP white, scrolled black)
   ==================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

/* TOP: white bars */
.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    transition: var(--transition-base);
}

/* SCROLLED: black bars */
header.scrolled .mobile-menu-toggle span {
    background: #000;
}

/* ====================================
   MOBILE MENU LINKS underline support
   ==================================== */
.mobile-menu ul li a {
    position: relative;
}

/* mobile underline */
.mobile-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width var(--transition-base);
}

/* mobile hover + active underline */
.mobile-menu ul li a:hover::after,
.mobile-menu ul li a.active::after {
    width: calc(100% - 3rem);
}


/* ====================================
   6. HERO SECTIONS
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    padding: 8rem 2rem 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        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='%23ffffff' 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");
    animation: gradientFlow 20s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    filter: blur(60px);
    animation: float 25s ease-in-out infinite;
    opacity: 0.6;
}

.orb:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
    animation-delay: 8s;
}

.orb:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 40%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================================
   7. BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-primary {
    background: white;
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-solid {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-solid:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.3);
}

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

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

/* ====================================
   8. FORMS
   ==================================== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ====================================
   9. CARDS
   ==================================== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

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

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
}

/* ====================================
   10. SECTIONS & CONTAINERS
   ==================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 2rem;
}

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

.section-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.section-description {
    font-size: 1.3rem;
    color: var(--gray-600);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
}

/* Glass CTA */
.glass-cta {
    margin: 5rem auto;
    max-width: 1200px;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    z-index: 10;
}

.glass-cta:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.glass-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ====================================
   11. STATS & COUNTERS
   ==================================== */
.stats {
    position: relative;
    padding: 6rem 2rem;
    margin-top: -80px;
    z-index: var(--z-sticky);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.stat-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ====================================
   12. SERVICES
   ==================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.15);
}

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

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-card > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.service-list li {
    padding: 0.7rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 2rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition-base);
}

.service-link:hover {
    transform: translateX(10px);
}

/* ====================================
   13. TESTIMONIALS
   ==================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.15);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ====================================
   14. FOOTER
   ==================================== */
footer {
    background: var(--gray-900);
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--gray-400);
    margin-bottom: 0.8rem;
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-500);
    transition: var(--transition-base);
}

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

/* ====================================
   15. UTILITIES
   ==================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
}

.bg-gray { background: var(--gray-50); }
.bg-white { background: white; }

/* ====================================
   16. ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-up {
    animation: slideUp 0.8s ease;
}

/* ====================================
   17. RESPONSIVE DESIGN
   ==================================== */

/* Tablets and below (1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2rem; }
    
    nav { padding: 0 2rem; }
    
    .hero-content { padding: 0 1.5rem; }
    
    .stats-container,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile devices (768px) */
@media (max-width: 768px) {
    html { font-size: 14px; }
    
    h1 { font-size: 2.5rem; letter-spacing: -1px; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    
    .hero { min-height: 80vh; padding: 6rem 1rem 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    section { padding: 5rem 1.5rem; }
    
    .section-title { font-size: 2.5rem; }
    .section-description { font-size: 1.1rem; }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .glass-cta {
        padding: 3rem 2rem;
    }
    
    .glass-cta h3 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stat-number { font-size: 3rem; }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    
    nav { padding: 0 1rem; }
    
    .logo-img { height: 28px; }
    
    .container { padding: 0 1rem; }
    
    .service-card,
    .testimonial-card,
    .stat-card {
        padding: 1.5rem;
    }
}

/* ====================================
   DROPDOWN & MOBILE MENU
   ==================================== */

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem 0;
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

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

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--gray-800);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    /* Full-screen overlay (no 80px gap). We add padding-top equal to header height */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 30, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    overflow-y: auto;
    /* Push links below the fixed header, but keep overlay covering full screen */
    padding: calc(var(--header-h, 80px) + 1.5rem) 2rem 2rem;
}

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

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 0.5rem;
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* Flash Messages */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* ====================================
   18. SMALL FIXES (v1.5)
   ==================================== */

/* Keep menu above page content */
#mobileMenu {
    z-index: 10001;
}

/* Body lock (used by JS scroll-lock) */
body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* ====================================
   END OF STYLESHEET
   ==================================== */