* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ============================================
       WORLD-CLASS AI-INSPIRED COLOR PALETTE
       Modern, Professional, Sophisticated
       ============================================ */
    
    /* Primary: Deep Indigo/Purple - AI Tech, Innovation, Trust */
    --primary-color: #6366f1; /* Indigo-500 - Modern AI tech feel */
    --primary-dark: #4f46e5; /* Indigo-600 - Depth and sophistication */
    --primary-darker: #4338ca; /* Indigo-700 - Rich depth */
    --primary-light: #818cf8; /* Indigo-400 - Energy and vibrancy */
    --primary-lighter: #a5b4fc; /* Indigo-300 - Light accents */
    --primary-50: #eef2ff; /* Lightest tint - subtle backgrounds */
    --primary-100: #e0e7ff; /* Very light tint */
    
    /* Secondary: Royal Purple/Violet - Premium, Innovation */
    --secondary-color: #8b5cf6; /* Violet-500 - Premium feel */
    --secondary-dark: #7c3aed; /* Violet-600 - Rich depth */
    --secondary-light: #a78bfa; /* Violet-400 - Vibrant */
    --secondary-50: #f5f3ff; /* Light tint */
    
    /* Accent: Vibrant Amber/Gold - Energy, Success, Action */
    --accent-color: #f59e0b; /* Amber-500 - Premium gold accent */
    --accent-dark: #d97706; /* Amber-600 - Rich gold */
    --accent-light: #fbbf24; /* Amber-400 - Bright energy */
    --accent-50: #fffbeb; /* Light tint */
    
    /* Success: Emerald Green - Growth, Prosperity */
    --success-color: #10b981; /* Emerald-500 */
    --success-dark: #059669; /* Emerald-600 */
    --success-light: #34d399; /* Emerald-400 */
    
    /* Neutral Palette - Sophisticated Gray Scale with Blue/Purple Tints */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Text Colors - Optimized for Readability */
    --text-dark: #0f172a; /* Rich dark for headings */
    --text-medium: #334155; /* Body text */
    --text-light: #64748b; /* Secondary text */
    --text-white: #ffffff;
    --text-primary: #6366f1; /* Primary text accent */
    
    /* Background Colors - Clean and Modern */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-primary-tint: #eef2ff; /* Indigo tint */
    --bg-secondary-tint: #f5f3ff; /* Violet tint */
    --bg-accent-tint: #fffbeb; /* Amber tint */
    
    /* Advanced Gradients - AI-Inspired, World-Class */
    --bg-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #4f46e5 100%);
    --bg-gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.92) 50%, rgba(79, 70, 229, 0.95) 100%);
    --bg-gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
    --bg-gradient-section: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    --bg-gradient-premium: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --bg-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --bg-gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    
    /* Glassmorphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Border & Shadow - Modern Depth System */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-primary: rgba(99, 102, 241, 0.2);
    --border-secondary: rgba(139, 92, 246, 0.2);
    --border-accent: rgba(245, 158, 11, 0.2);
    
    /* Shadow System - Layered Depth with Color */
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 25px rgba(99, 102, 241, 0.25), 0 4px 10px rgba(99, 102, 241, 0.15);
    --shadow-secondary: 0 10px 25px rgba(139, 92, 246, 0.25), 0 4px 10px rgba(139, 92, 246, 0.15);
    --shadow-accent: 0 10px 25px rgba(245, 158, 11, 0.25), 0 4px 10px rgba(245, 158, 11, 0.15);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(139, 92, 246, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* Enhanced mobile compatibility */
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
    touch-action: manipulation;
    /* Smart TV compatibility */
    min-height: 100vh;
    /* Prevent horizontal scroll on all devices */
    width: 100%;
    max-width: 100vw;
    /* Better scrolling on iOS */
    -webkit-overflow-scrolling: touch;
    /* Prevent text selection issues on mobile */
    -webkit-user-select: text;
    user-select: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    /* Prevent overflow on small devices */
    overflow-x: hidden;
    /* Center content on all devices */
    position: relative;
}

/* Mobile container padding - Enhanced */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
}

/* Ensure no horizontal scroll on any device */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1), var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    /* Better touch targets */
    padding: 0.5rem 0.75rem;
    display: inline-block;
    /* Prevent text selection on navigation */
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    background: var(--bg-gradient-premium);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.lang-btn:hover {
    background: var(--bg-gradient-premium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    filter: brightness(1.1);
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    /* Enhanced touch target */
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    /* Better click handling */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    display: block;
}

/* Home Section */
.home-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-banner {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('backgroung.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    opacity: 0;
    display: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    color: white;
}

.hero-tagline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.9), 3px 3px 15px rgba(0, 0, 0, 0.95), 2px 2px 10px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.02em;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
    margin-top: 2rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    /* Enhanced touch targets for mobile */
    min-height: 44px;
    min-width: 44px;
    /* Better text rendering */
    -webkit-font-smoothing: antialiased;
    text-align: center;
    /* Prevent text selection on buttons */
    -webkit-user-select: none;
    user-select: none;
    /* Better click handling */
    touch-action: manipulation;
}

.btn-primary {
    background: var(--bg-gradient-premium);
    color: var(--text-white);
    font-weight: 600;
    box-shadow: var(--shadow-primary), 0 0 0 0 rgba(99, 102, 241, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary), var(--shadow-glow);
    background: var(--bg-gradient-premium);
    color: var(--text-white);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    font-weight: 600;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(139, 92, 246, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

/* About Section */
.about-section {
    background: var(--bg-white);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 400;
}

/* About Story Section */
.about-story {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.story-content h3 {
    font-size: 2rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Why Section */
.why-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.why-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.why-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Ensure single column on mobile */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.why-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Values Section */
.values-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.values-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Ensure single column on mobile */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.value-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.innovation-image {
    object-position: center center;
}

.value-card:hover .value-image {
    transform: scale(1.05);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.value-card h4 {
    font-size: 1.5rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Experience Box */
.experience-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.experience-image-wrapper {
    width: 100%;
    height: 500px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-light);
}

.experience-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
    display: block;
}

.experience-box:hover .experience-image {
    transform: scale(1.02);
}

.experience-box h3 {
    font-size: 1.5rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1rem;
}

.experience-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.mission-expertise {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.mission-box,
.expertise-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.mission-box h3,
.expertise-box h3 {
    font-size: 1.5rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mission-box p,
.expertise-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.expertise-list li {
    color: var(--text-light);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-content {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-light);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
    padding: 100px 20px;
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Ensure single column on mobile */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-card.featured {
    border-top-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
    box-shadow: var(--shadow-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-premium);
}

.benefit-image-wrapper {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.benefit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-image {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-features li {
    color: var(--text-dark);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.benefit-features li:last-child {
    border-bottom: none;
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Ensure single column on mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-align: left;
    border-top: 4px solid var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.service-card.featured {
    border-top-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-premium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-video-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Better video rendering on all devices */
    background-color: #000;
    /* Responsive video sizing */
    max-width: 100%;
    height: auto;
}

.service-video-center {
    object-position: top center;
}

/* Video controls styling for better mobile experience */
.service-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.service-video::-webkit-media-controls-play-button,
.service-video::-webkit-media-controls-volume-slider {
    filter: invert(1);
}

/* Enhanced video wrapper for all devices */
.service-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.service-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.breed-consultation-image {
    object-position: center center;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.service-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li {
    color: var(--text-light);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.service-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
    text-align: left;
}

/* Education Section */
.education-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
    position: relative;
}

.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Ensure single column on mobile */
@media (max-width: 768px) {
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.education-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-card.main-card {
    grid-column: 1 / -1;
    border-left-color: var(--secondary-color);
    border-left-width: 5px;
    box-shadow: var(--shadow-md);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
}

.education-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.education-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.education-card ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.education-card ul li {
    color: var(--text-light);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.education-card ul li:last-child {
    border-bottom: none;
}

.education-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.education-card ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Preparation Tips */
.preparation-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.tip-category {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.tip-category h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.tip-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-category ul li {
    color: var(--text-light);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tip-category ul li:last-child {
    border-bottom: none;
}

.tip-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Recommendation Card */
.recommendation-card {
    grid-column: 1 / -1;
    border-left-color: var(--secondary-color);
    border-left-width: 5px;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
}

.recommendation-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.recommendation-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reason-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.reason-item h4 {
    font-size: 1.2rem;
    background: var(--bg-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.reason-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.recommendation-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.recommendation-cta p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.recommendation-cta .btn {
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Contact Information Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-premium);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.contact-card-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient-premium);
    color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-primary);
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary-tint);
    color: var(--primary-color);
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.method-content {
    flex: 1;
}

.method-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.method-value {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin-bottom: 0.25rem;
}

.method-value:hover {
    color: var(--primary-color);
}

.method-value.whatsapp-method {
    color: #25D366;
    font-weight: 600;
}

.method-value.whatsapp-method:hover {
    color: #128C7E;
}

.method-value p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.hours-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateX(4px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}

.social-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.social-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.whatsapp-social:hover {
    background: rgba(37, 211, 102, 0.1);
}

.whatsapp-social:hover .social-icon {
    background: #25D366;
    color: white;
}

.instagram-social:hover {
    background: rgba(228, 64, 95, 0.1);
}

.instagram-social:hover .social-icon {
    background: #E4405F;
    color: white;
}

.facebook-social:hover {
    background: rgba(24, 119, 242, 0.1);
}

.facebook-social:hover .social-icon {
    background: #1877F2;
    color: white;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: sticky;
    top: 100px;
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.5rem;
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #128C7E;
    text-decoration: none;
    transform: translateY(-2px);
}

.instagram-link {
    color: #E4405F;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(228, 64, 95, 0.1);
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.5rem;
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.2);
    color: #C13584;
    text-decoration: none;
    transform: translateY(-2px);
}

.facebook-link {
    color: #1877F2;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(24, 119, 242, 0.1);
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.5rem;
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.2);
    color: #166FE5;
    text-decoration: none;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.1rem;
}

.optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.form-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--secondary-dark) 100%);
    color: var(--text-white);
    text-align: center;
    padding: 2.5rem 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-gradient-premium);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-branding {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 600px;
}

.branding-text {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0;
    color: var(--text-white);
}

.bcom-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.bcom-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

.bcom-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.bcom-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - ALL DEVICE COMPATIBILITY
   ============================================ */

/* Base responsive optimizations */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* High DPI Displays - Retina, 4K, etc. */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo,
    .service-image,
    .benefit-image,
    .value-image,
    .experience-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ============================================
   MOBILE DEVICES (320px - 768px)
   ============================================ */

/* Mobile - Remove fixed background for better performance */
@media (max-width: 768px) {
    .hero-banner {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    .language-selector {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    .nav-logo {
        height: 40px;
    }

    .nav-brand h2 {
        font-size: 1.25rem;
    }

    .language-selector {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        /* Better scrolling on mobile */
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-tagline {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .about-story {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }

    .story-content h3 {
        font-size: 1.75rem;
    }

    .why-section {
        margin: 3rem auto;
    }

    .why-section h3 {
        font-size: 1.75rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .values-section {
        padding: 2rem 1.5rem;
        margin: 3rem auto;
    }

    .values-section h3 {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 2rem;
    }

    .value-image-wrapper {
        height: 180px;
        margin-bottom: 1.25rem;
    }

    .experience-box {
        padding: 1.5rem;
    }

    .experience-image-wrapper {
        height: 380px;
        margin-bottom: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .service-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .value-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .education-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-wrapper {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image-wrapper {
        height: 180px;
    }

    .service-video-wrapper {
        height: 180px;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .benefit-image-wrapper {
        height: 220px;
    }

    .education-content {
        grid-template-columns: 1fr;
    }

    .education-card.main-card {
        grid-column: 1;
    }

    .education-card {
        padding: 2rem;
    }

    .education-card h3 {
        font-size: 1.5rem;
    }

    .preparation-tips {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tip-category {
        padding: 1.25rem;
    }

    .recommendation-card {
        grid-column: 1;
    }

    .recommendation-reasons {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .reason-item {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .hero-tagline {
        font-size: 2rem;
        line-height: 1.2;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .nav-brand h2 {
        font-size: 1.1rem;
    }

    .nav-logo {
        height: 35px;
    }

    section {
        padding: 60px 20px;
    }
}

/* Extra Small Devices (360px and below) - iPhone SE, small Android */
@media (max-width: 360px) {
    .hero-tagline {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .benefit-card,
    .value-card,
    .education-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   TABLETS AND SMALL LAPTOPS (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-tagline {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 3rem;
    }

    .experience-image-wrapper {
        height: 400px;
    }
}

/* ============================================
   LAPTOPS (1025px - 1366px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1200px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   LARGE DESKTOPS (1367px - 1919px)
   ============================================ */
@media (min-width: 1367px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
    }

    .hero-tagline {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* ============================================
   SMART TVs AND LARGE SCREENS (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-tagline {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .service-card,
    .benefit-card,
    .education-card {
        padding: 3rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .intro-text {
        font-size: 1.2rem;
    }

    .service-card > p,
    .benefit-card > p {
        font-size: 1.1rem;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* ============================================
   ULTRA-WIDE SMART TVs (2560px+)
   ============================================ */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }

    .hero-tagline {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    body {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .services-grid,
    .benefits-grid {
        gap: 4rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION - MOBILE
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .hero-tagline {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    section {
        padding: 60px 20px;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .contact-link,
    .whatsapp-button,
    .lang-btn,
    .social-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .service-card:hover,
    .benefit-card:hover,
    .value-card:hover {
        transform: none;
    }

    .service-card:active,
    .benefit-card:active,
    .value-card:active {
        transform: translateY(-2px);
    }

    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ============================================
   ADDITIONAL DEVICE-SPECIFIC OPTIMIZATIONS
   ============================================ */

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-banner {
        background-attachment: scroll;
    }
    
    input, textarea, select {
        font-size: 16px !important; /* Prevents zoom on focus */
    }
}

/* Android Chrome specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .service-video,
    .service-image,
    .benefit-image {
        transform: translateZ(0); /* Hardware acceleration */
    }
}

/* Large screen optimizations for TVs */
@media (min-width: 1920px) {
    .hero-banner {
        background-size: cover;
        background-position: center;
    }
    
    /* Better readability on large screens */
    .intro-text,
    .service-card > p,
    .benefit-card > p {
        font-size: 1.15rem;
        line-height: 1.9;
    }
    
    /* Larger clickable areas for TV navigation */
    .btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.15rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
}

/* Ensure images scale properly on all devices */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Better image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Better form input sizing on mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 1rem 1.25rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }

    .hero-banner {
        height: auto;
        min-height: auto;
    }

    section {
        page-break-inside: avoid;
    }
    
    .service-card,
    .benefit-card {
        page-break-inside: avoid;
    }
}


