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

:root {
    /* Ultra-Vibrant Primary Colors (Refined to Trust Palette) */
    --primary-blue:   #0066FF;
    --accent-blue:    #4F46E5;
    --accent-green:   #10B981;
    --primary-purple: #4F46E5; /* mapped to premium indigo */
    --primary-pink:   #0066FF; /* mapped to corporate blue */
    --primary-orange: #10B981; /* mapped to emerald green */
    --primary-teal:   #10B981; /* mapped to emerald green */
    --primary-green:  #10B981; /* mapped to emerald green */

    /* Eye-Catching Gradients (Refined to Corporate Palette) */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #4F46E5 100%);
    --gradient-blue:    linear-gradient(135deg, #0066FF 0%, #3B82F6 100%);
    --gradient-purple:  linear-gradient(135deg, #0066FF 0%, #4F46E5 100%);
    --gradient-green:   linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-orange:  linear-gradient(135deg, #0066FF 0%, #10B981 100%);
    --gradient-rainbow: linear-gradient(135deg, #0066FF 0%, #4F46E5 50%, #10B981 100%);

    /* Dark Background Colors */
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --light-text: #ffffff;
    --gray-text: #e2e8f0;

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

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    overflow-x: hidden; /* FIX: prevent horizontal scroll on all viewports */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px; /* FIX: prevent layout collapse below 320px */
}

.container {
    max-width: var(--container-max-width, 1360px);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #0066FF;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo img {
    height: 50px;
    width: auto;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
        gap: var(--spacing-lg);
        align-items: center;
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Login Button */
.login-btn {
    border: 2px solid white !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    opacity: 1 !important;
    margin-left: 1rem;
}

.login-btn:hover {
    background: white;
    color: #0066FF !important;
}

.login-btn::after {
    display: none !important;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

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

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--light-text);
    border-left-color: #0066FF;
    padding-left: 2rem;
}

.nav-dropdown a::after {
    display: none;
}

.nav-cta .whatsapp-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-cta .whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===================================
   MINIMAL PAGE HEADER
   =================================== */
.page-header {
    padding: calc(80px + 2rem) 0 1rem;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f35 100%);
    text-align: center;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--gray-text);
    font-weight: 500;
}

.offer-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 50px;
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    animation: fadeInDown 0.8s ease, pulse 2s ease-in-out infinite;
}

/* Discount Badge */
.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 60px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
    animation: bounceIn 1s ease, glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.discount-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4), 0 0 20px rgba(245, 158, 11, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(245, 158, 11, 0.6), 0 0 30px rgba(245, 158, 11, 0.5);
    }
}

.discount-icon {
    font-size: 2rem;
    animation: rotate 2s linear infinite;
}

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

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

.discount-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.discount-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.discount-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.trust-icon {
    font-size: 1.25rem;
    font-weight: 900;
    color: #10b981;
}

.trust-item span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
}

/* Enhanced Buttons */
.btn-pulse {
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6), 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.btn-whatsapp-hero {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-whatsapp-hero:hover::before {
    width: 300px;
    height: 300px;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(0, 102, 255, 0.2);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

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

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: calc(80px + 2rem) 0 var(--spacing-2xl);
    background: #ffffff;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: #1a1a1a;
}

.section-description {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.06) 0%, rgba(79, 70, 229, 0.03) 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-card:hover::after {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 102, 255, 0.45);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.15);
}

.research-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.04) 0%, rgba(79, 70, 229, 0.02) 100%);
    animation: none;
}

.research-card::before {
    background: linear-gradient(135deg, #0066FF 0%, #4F46E5 100%);
}

.research-card:hover {
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    animation: none;
}

.programming-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.04) 0%, rgba(16, 185, 129, 0.02) 100%);
    animation: none;
}

.programming-card::before {
    background: linear-gradient(135deg, #0066FF 0%, #10B981 100%);
}

.programming-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    animation: none;
}

.exams-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.04) 0%, rgba(79, 70, 229, 0.02) 100%);
    animation: none;
}

.exams-card::before {
    background: linear-gradient(135deg, #0066FF 0%, #4F46E5 100%);
}

.exams-card:hover {
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    animation: none;
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-align: center;
    color: #1a1a1a;
}

.service-description {
    color: #4b5563;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    color: #374151;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition-fast);
}

.service-features li:hover {
    color: var(--light-text);
    padding-left: 10px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: #93c5fd;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.25);
}

.service-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.15);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about .section-title {
    color: #ffffff;
}

.about {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #0066FF 0%, #1a4fd6 50%, #0052cc 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.about-feature {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-feature:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #12172a 100%);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 102, 255, 0.45);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    color: #93c5fd;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-details a:hover {
    color: #c4b5fd;
}

.contact-cta {
    margin-top: var(--spacing-lg);
    text-align: center;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Glow Animations */
@keyframes cardGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1), 0 0 20px rgba(0, 102, 255, 0.05);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15), 0 0 30px rgba(0, 102, 255, 0.1);
    }
}

@keyframes cardGlowHover {

    0%,
    100% {
        transform: translateY(-15px) scale(1.02);
    }

    50% {
        transform: translateY(-18px) scale(1.03);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
/* ===================================
   MOBILE — max-width: 768px
   =================================== */
@media (max-width: 768px) {

    /* ── Navbar collapse ── */
    .nav-links {
        display: none;
        position: fixed;
        top: 72px; /* FIX: match actual navbar height */
        left: 0;
        right: 0;
        background: #0066FF;
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0;
        z-index: 998;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        animation: slideDown 0.25s ease;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        margin: 0; /* Reset margins on mobile */
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        width: 100%;
        font-size: 1rem;
    }
    .nav-links a:last-child { border-bottom: none; }

    .login-btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
    }

    /* FIX: hamburger button (now <button> not <div>) */
    .mobile-menu-toggle {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* ── Font scaling ── */
    .hero-title      { font-size: clamp(1.75rem, 7vw, 2.5rem); } /* FIX: was fixed 2.5rem */
    .hero-description{ font-size: 1rem; }
    .section-title   { font-size: clamp(1.5rem, 5vw, 2.25rem); }
    .main-title      { font-size: clamp(1.5rem, 5vw, 2rem); }

    /* ── Button sizes (min 44px touch target) ── */
    .btn {
        padding: 0.875rem 1.5rem;
        min-height: 44px;
        font-size: 0.95rem;
    }
    .nav-cta .whatsapp-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    /* ── Hero & section padding ── */
    .hero {
        padding: calc(72px + 1.5rem) 0 1.5rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta .btn { text-align: center; }

    /* ── Grids collapse to single column ── */
    .services-grid,
    .about-features,
    .contact-grid { grid-template-columns: 1fr !important; }

    /* ── Service cards: reduce padding ── */
    .service-card { padding: 1.5rem; }

    /* ── Stats bar wrap fix ── */
    .hero-stats { grid-template-columns: repeat(2, 1fr); }

    /* ── Container padding ── */
    .container { padding: 0 1rem; }
}

/* ===================================
   SMALL MOBILE — max-width: 480px
   =================================== */
@media (max-width: 480px) {
    .logo span { font-size: 0.95rem; }

    /* FIX: hide WhatsApp label text in nav to save space */
    .nav-cta .whatsapp-btn span { display: none; }
    .nav-cta .whatsapp-btn {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    /* ── Tighter font on tiny screens ── */
    .service-hero-title,
    .hero-title { font-size: clamp(1.5rem, 8vw, 2rem); }

    .section-title { font-size: clamp(1.35rem, 6vw, 1.75rem); }

    /* ── Single column everything ── */
    .hero-stats { grid-template-columns: 1fr; }

    /* ── Tighter button on very small screens ── */
    .btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* ── Form fields full width ── */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; } /* FIX: prevents iOS zoom on focus */

    .container { padding: 0 0.875rem; }

    /* ── Stats badges wrap ── */
    .stat { padding: 0.75rem; }
    .stat-number { font-size: 2rem; }
}

/* ===================================
   FLOATING CONTACT BUTTONS
   =================================== */
.floating-contacts {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    opacity: 0.92;
}

.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
    opacity: 1;
}

/* WhatsApp — desaturated green, no pulse */
.float-btn.whatsapp {
    background: #1fad54;
    animation: none;
    box-shadow: 0 4px 14px rgba(31, 173, 84, 0.28);
}

.float-btn.whatsapp:hover {
    background: #188f46;
    box-shadow: 0 8px 22px rgba(31, 173, 84, 0.36);
}

.float-btn.email {
    background: linear-gradient(135deg, #1a6fff 0%, #0047d9 100%);
}

.float-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
    50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 8px rgba(37,211,102,0); }
}

@media (max-width: 480px) {
    .floating-contacts { bottom: 1rem; right: 1rem; }
    .float-btn { padding: 0.65rem 1rem; font-size: 0.82rem; }
}