/* Modern Redesign Variables */
:root {
    /* Brand Colors */
    --primary-color: #3ed2a7;
    --primary-hover: #2bb890;
    --primary-glow: rgba(62, 210, 167, 0.4);
    
    /* Background Colors - Dark Theme */
    --bg-dark: #0a0f1c;       /* Deepest background */
    --bg-card: #111a2e;       /* Card background */
    --bg-card-hover: #16223a; /* Card hover state */
    --bg-overlay: rgba(10, 15, 28, 0.85);
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #cbd5e1; /* Lighter grey for better contrast */
    --text-dark: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3ed2a7 0%, #4ade80 100%); /* Brighter Green */
    --gradient-text-hero: linear-gradient(135deg, #ffffff 0%, #3ed2a7 100%); /* White to Teal for Hero */
    --gradient-dark: linear-gradient(180deg, rgba(17, 26, 46, 0) 0%, #111a2e 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(62, 210, 167, 0.25) 0%, transparent 70%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --border-light: rgba(255, 255, 255, 0.15); /* Slightly stronger border */
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 25px rgba(62, 210, 167, 0.4);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Reset & Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Force High Contrast for Headings */
h1, h2, h3, h4, h5, h6,
.section-title,
.service-title,
.fancy-title h2,
.fancy-title h3 {
    color: #ffffff !important;
}

/* Deep Contrast Fixes for Services */
.service-box p,
.service-description {
    color: var(--text-muted) !important;
}

.service-features,
.service-features li {
    color: #ffffff !important; /* Force list items to be white */
}

/* Brand Branding Fixes */
.brand-details {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    line-height: 1;
}

.brand-text {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.brand-tagline {
    display: block;
    font-size: 0.65rem !important;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
a {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-text-hero); /* Use clearer text gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
/* Brand Separator */
.brand-separator {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,0.15);
    margin: 0 12px;
    display: inline-block;
}

.glass-card {
    background: rgba(17, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Overrides */
.modern-navbar {
    background: rgba(10, 15, 28, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.cta-button {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(62, 210, 167, 0.5);
}

/* Section Spacing */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll from shapes */
}

/* Background Elements */
.bg-shape {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(62, 210, 167, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 184, 144, 0.15) 0%, transparent 70%);
    bottom: 0;
    left: -100px;
}

/* Modern CTA Section */
.modern-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1c 0%, #151e32 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon {
    font-size: 8rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 30px rgba(62,210,167,0.3));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.cta-particles .particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.particle-1 { width: 10px; height: 10px; top: 20%; left: 20%; animation: float 8s infinite reverse; }
.particle-2 { width: 15px; height: 15px; bottom: 30%; right: 20%; animation: float 10s infinite; }
.particle-3 { width: 8px; height: 8px; top: 60%; left: 80%; animation: float 7s infinite reverse; }

.cta-content {
    flex: 1.2;
}

.cta-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(62,210,167,0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(62,210,167,0.2);
}

.cta-content h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.cta-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.cta-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-primary-btn {
    background: var(--primary-color);
    color: #0a0f1c;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* View Case Button */
.btn-view-case,
.btn.btn-view-case {
    background: transparent !important;
    border: 1px solid rgba(62, 210, 167, 0.4) !important;
    color: var(--primary-color) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

.btn-view-case i,
.btn.btn-view-case i {
    color: var(--primary-color) !important;
}

.btn-view-case:hover,
.btn.btn-view-case:hover {
    background: var(--primary-color) !important;
    color: #0f172a !important;
    box-shadow: 0 0 20px rgba(62, 210, 167, 0.4) !important;
    transform: translateY(-2px) !important;
    border-color: var(--primary-color) !important;
}
.btn-view-case:hover i,
.btn.btn-view-case:hover i {
    color: #0f172a !important;
}


.cta-secondary-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 991px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    .cta-visual { height: 200px; }
    .cta-stats { justify-content: center; }
    .cta-buttons { justify-content: center; }
}

/* Professional Modals */
.custom-pro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-pro-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.pro-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 16, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-wrapper {
    position: relative;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    z-index: 100; /* Increased to be safe */
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-pro-modal.active .modal-wrapper {
    transform: scale(1) translateY(0);
}

.pro-modal-dialog {
    background: #0f172a;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Modal Header */
.modal-header-professional {
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(62,210,167,0.1);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: white;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.modal-close-professional {
    background: rgba(255,255,255,0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-close-professional:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body-professional {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    background: #0f172a;
}

.modal-hero-visual {
    padding: 40px;
    background: rgba(0,0,0,0.2);
}

.project-visual-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.project-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.project-status-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.project-meta-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.meta-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.meta-item i { color: var(--primary-color); }

/* Metrics Section */
.modal-metrics-section {
    padding: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: #0f172a;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card-professional {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s;
}

.metric-card-professional:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
}

.metric-visual {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 60px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.metric-chart {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: flex-end;
}

.chart-bar {
    width: 100%;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.metric-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.metric-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Narrative Section */
.modal-narrative-section {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #0f172a;
}

.narrative-content h4 {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.narrative-content p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Tech Stack */
.modal-tech-section {
    padding: 0 40px 40px;
    background: #0f172a;
}

.tech-stack-professional {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-category h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item-pro {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.tech-item-pro:before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}

/* Modal Footer */
.modal-footer-professional {
    padding: 20px 40px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: flex-end;
}

.btn-primary-professional {
    background: var(--primary-color);
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: all 0.2s;
}

.btn-primary-professional:hover {
    background: #34d399;
    transform: translateY(-1px);
    color: #0f172a;
}

.btn-outline-professional {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-professional:hover {
    background: rgba(255,255,255,0.05);
    border-color: white;
}

@media (max-width: 991px) {
    .project-visual-container { grid-template-columns: 1fr; }
    .metrics-dashboard { grid-template-columns: 1fr 1fr; }
    .display-grid { grid-template-columns: 1fr; } /* Fallback */
    .modal-narrative-section { grid-template-columns: 1fr; }
    .tech-stack-professional { grid-template-columns: 1fr 1fr; }
}

/* Result Highlights - Dark Theme */
.results-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-highlight {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-highlight .highlight-icon {
    width: 40px;
    height: 40px;
    background: rgba(62, 210, 167, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-highlight .highlight-icon i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.result-highlight .highlight-content h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.result-highlight .highlight-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Tech Category Cards - Dark Theme */
.tech-category {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
}

.tech-section-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-section-title i {
    color: var(--primary-color);
}

/* Narrative Results Section */
.narrative-results {
    background: #0f172a;
}

.narrative-results h4 {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.narrative-results h4 i {
    color: var(--primary-color);
}

/* Footer Sections - Dark Theme */
.footer-section {
    background: transparent;
}

.footer-title {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: #02040a;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom .copyright p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links .separator {
    color: #475569;
    margin: 0 10px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary-color);
    color: #0f172a;
}

/* Contact Section - White Text Fix */
.contact-section {
    color: white;
}

.contact-section h2,
.contact-section h3,
.contact-section h4 {
    color: white !important;
}

.contact-section p {
    color: #cbd5e1;
}

.contact-info-card {
    color: white;
}

.contact-info-card h3 {
    color: white !important;
}

.contact-info-card .detail-item div {
    color: white;
}

.contact-info-card .detail-item div[style*="font-size: 0.8rem"] {
    color: #94a3b8 !important;
}

/* Form Labels - Brighter Color */
.contact-form-wrapper label,
.modern-form label {
    color: #e2e8f0 !important;
}

/* Select Dropdown Fix */
.contact-form-wrapper select,
.modern-form select,
.contact-section select.form-control {
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-size: 0.95rem !important;
    appearance: auto !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

.contact-form-wrapper select option,
.modern-form select option,
.contact-section select.form-control option {
    background-color: #0f172a !important;
    color: white !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.contact-form-wrapper select:focus,
.modern-form select:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(62, 210, 167, 0.2) !important;
}

/* Form Inputs */
.contact-form-wrapper input,
.contact-form-wrapper textarea,
.modern-form input,
.modern-form textarea {
    color: white !important;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #64748b !important;
}

/* Custom Checkbox */
.custom-control-label {
    color: #e2e8f0 !important;
}

/* Form Label White */
.form-label-white {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

/* Dark Select Dropdown - Fixed */
.form-select-dark {
    background-color: #0f172a !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 14px 40px 14px 16px !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    cursor: pointer !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.form-select-dark:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(62, 210, 167, 0.15) !important;
}

.form-select-dark option {
    background-color: #0f172a !important;
    color: white !important;
    padding: 12px !important;
}

/* Modern CTA Section */
.modern-cta-section {
    background: linear-gradient(135deg, #0a0f1c 0%, #0f172a 50%, #0a0f1c 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.modern-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(62, 210, 167, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(62, 210, 167, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(62, 210, 167, 0.1);
    border: 1px solid rgba(62, 210, 167, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    min-width: 140px;
}

.cta-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.cta-stat .stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-visual {
    display: none;
}

/* Hide old CTA visual elements that look broken */
.cta-icon,
.cta-particles,
.particle {
    display: none !important;
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8 !important;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #0f172a !important;
    transform: translateY(-3px);
}

.footer-social-icon i {
    display: block;
    line-height: 1;
}

