/* ============================================
   MLChronix - Premium Glassmorphism Design
   VIP Professional Website with Animations
   ============================================ */

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --accent-primary: #3b82f6;
    --accent-secondary: #22d3ee;
    --accent-tertiary: #8b5cf6;
    --text-primary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Ensure all text is visible */
.card p, .card-text, p {
    color: var(--text-muted) !important;
}

.card h4, .card h5, .card-title, h4, h5 {
    color: var(--text-primary) !important;
}

/* Fix any dark text issues - ensure proper contrast */
body, .card, .service-card, .team-card, .feature-item {
    color: var(--text-primary);
}

/* Make sure links are visible */
a {
    color: var(--accent-secondary) !important;
}

a:hover {
    color: var(--accent-primary) !important;
}

/* Footer links */
.footer a {
    color: var(--text-muted) !important;
}

.footer a:hover {
    color: var(--accent-secondary) !important;
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.5));
    transform: rotate(5deg);
}

.brand-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.8));
    }
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-secondary) !important;
    transform: translateY(-2px);
}

/* Glassmorphism Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.2) !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.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) scale(1.05) !important;
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.6), 0 0 30px rgba(59, 130, 246, 0.3) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-primary i {
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-outline-primary {
    border: 2px solid var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    background: rgba(59, 130, 246, 0.15) !important;
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.75rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2) !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.5), 0 0 25px rgba(59, 130, 246, 0.3) !important;
    border-color: transparent !important;
}

.btn-outline-primary i {
    color: inherit !important;
}

/* Light Button for CTA Sections - Enhanced */
.btn-light {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #0a0e27 !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-shadow: none !important;
}

.btn-light:hover {
    background: #ffffff !important;
    color: #0a0e27 !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 45px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.btn-light i {
    color: #0a0e27 !important;
}

/* Hero Section with Glassmorphism */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-secondary) 50%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Technology Badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.tech-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--accent-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.tech-badge:hover::before {
    left: 100%;
}

.tech-badge:hover {
    transform: translateY(-3px);
    border-color: var(--accent-secondary);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Glassmorphism Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.card-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.process-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
    animation: ripple 2s ease-out infinite;
}

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

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Why Choose Section */
.feature-item {
    padding: 1.5rem;
    border-left: 3px solid var(--accent-primary);
    margin-bottom: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-section > * {
    position: relative;
    z-index: 10 !important;
}

.cta-section h2,
.cta-section p,
.cta-section .mt-4,
.cta-section .btn,
.cta-section .whatsapp-btn {
    position: relative;
    z-index: 10 !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.cta-section h2 {
    color: #ffffff !important;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10 !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10 !important;
    font-size: 1.1rem !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
}

.cta-section .mt-4 {
    position: relative;
    z-index: 10 !important;
}

/* WhatsApp Button - Enhanced Visibility */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 50%, #128C7E 100%) !important;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 0.75rem;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.whatsapp-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 ease;
}

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

.whatsapp-btn i {
    font-size: 1.2rem !important;
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7), 0 0 30px rgba(37, 211, 102, 0.4) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #20BA5A 0%, #25D366 50%, #20BA5A 100%) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
}

.footer h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-secondary);
    transform: translateX(5px);
    display: inline-block;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-5px) rotate(360deg);
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-control {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(10, 14, 39, 0.7);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25), 0 8px 25px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.form-label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.service-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.benefit-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    color: var(--accent-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.3);
    transition: all 0.3s ease;
}

.benefit-badge:hover {
    transform: scale(1.05);
    background: rgba(34, 211, 238, 0.2);
}

/* Stats Section */
.stats-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.stats-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stats-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .tech-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Advanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out both;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out both;
}

.slide-in {
    animation: slideIn 0.6s ease-out both;
}

/* Team Member Images */
.team-member-img {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    background: var(--glass-bg);
    padding: 3px;
    display: block;
    flex-shrink: 0;
}

.team-member-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
    border-color: var(--accent-primary);
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 380px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.team-card .card-title {
    color: var(--text-primary) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
    line-height: 1.3;
}

.team-role {
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.team-experience {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Ensure team cards row has equal heights */
.row .col-md-6.col-lg-4 {
    display: flex;
}

.row .col-md-6.col-lg-4 .team-card {
    width: 100%;
}

/* Ensure buttons and links are clickable */
a, button, .btn {
    cursor: pointer !important;
    position: relative;
    z-index: 1;
}

/* Fix any z-index issues */
.cta-section a, .whatsapp-btn, .btn-primary, .btn-light, .btn-outline-primary {
    position: relative;
    z-index: 10;
}

/* Ensure all buttons have proper text visibility */
.btn-primary, .btn-light, .btn-outline-primary, .whatsapp-btn {
    text-decoration: none !important;
}

.btn-primary *, .btn-light *, .btn-outline-primary *, .whatsapp-btn * {
    pointer-events: none;
}

/* Button text visibility */
.btn-primary, .btn-primary span, .btn-primary i {
    color: #ffffff !important;
}

.btn-light, .btn-light span, .btn-light i {
    color: #0a0e27 !important;
}

.btn-outline-primary, .btn-outline-primary span {
    color: var(--accent-primary) !important;
}

.btn-outline-primary:hover, .btn-outline-primary:hover span, .btn-outline-primary:hover i {
    color: #ffffff !important;
}

/* Ensure text visibility in cards */
.card-body p, .card-body .card-text {
    color: var(--text-muted) !important;
}

.card-body h3, .card-body h4, .card-body h5, .card-body .card-title {
    color: var(--text-primary) !important;
}

/* Contact Information Section */
.card-body h5 {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.card-body p {
    color: var(--text-muted) !important;
}

/* Ensure all headings are visible */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

/* Phone number visibility */
.whatsapp-btn span {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Effect Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
    opacity: 0.5;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-message {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
}

.alert-success {
    background: rgba(34, 211, 238, 0.2) !important;
    border-color: var(--accent-secondary) !important;
    color: var(--accent-secondary) !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: #dc3545 !important;
    color: #ff6b6b !important;
}

.alert-info {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
}

/* Pricing Page Styles */
.pricing-toggle {
    display: flex;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.25rem;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.toggle-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.pricing-card.featured::before {
    transform: scaleX(1);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 2;
}

.pricing-badge.featured-badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.pricing-badge.premium {
    background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
    color: white;
}

.pricing-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0 1.5rem 0;
    display: block;
    animation: float 3s ease-in-out infinite;
    width: 100%;
    text-align: center;
}

.pricing-title {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
}

.pricing-price {
    margin: 1.5rem 0 2rem 0;
    width: 100%;
    text-align: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    display: block;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.pricing-features li i {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-card .btn {
    margin-top: 2rem;
    width: 100%;
    align-self: flex-end;
}

/* Ensure equal height cards */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-4 > [class*='col-'] {
    display: flex;
}

/* Pricing section alignment */
.pricing-section {
    width: 100%;
}

.pricing-section .row {
    align-items: stretch;
}

/* Better spacing for pricing cards */
.pricing-card {
    min-height: 600px;
}

@media (max-width: 992px) {
    .pricing-card {
        min-height: auto;
        margin-bottom: 2rem;
    }
}
