:root {
    --primary-color: #0033ff;
    /* Azul vibrante basado en el logo */
    --primary-hover: #0022cc;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #4a5568;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 51, 255, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 3rem 0;
}

.text-center .section-subtitle {
    margin: 0 auto 3rem;
}

.badge {
    display: inline-block;
    background: rgba(0, 51, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

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

/* Forzamos que el botón del presupuesto se posicione de forma independiente a la derecha en escritorio */
.nav-links a.btn-primary {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff !important;
}

.nav-links a.btn-primary::after {
    display: none;
}

@media (min-width: 769px) {
    .nav-container {
        position: relative;
        padding-right: 180px;
        /* Dejamos espacio reservado para el botón de la derecha */
    }
}

@media (max-width: 768px) {
    .nav-links a.btn-primary {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 1rem;
        display: inline-block;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(10, 20, 40, 0.8), rgba(0, 51, 255, 0.7)), url('images/indos/complejo_ciudad_deportiva_la_linea.png') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeUp 1s ease-out forwards;
    color: #ffffff;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #ffffff;
}

.hero h1 span {
    color: #99bbff;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sobre Nosotros */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 51, 255, 0.3);
}

.info-card .icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    color: var(--primary-color);
}

.brands-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.brands-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.brands-list span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.brands-list span:hover {
    color: var(--primary-color);
}

/* Proyectos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.location {
    display: inline-block;
    font-size: 0.8rem;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #f1f5f9;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    background-color: var(--bg-white);
    padding: 8px 12px;
    border-radius: 6px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 400px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-legal h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-legal a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Nuevos Estilos (Contacto, Formularios, Utilidades, Footer, Back-to-top) */
.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.p-8 {
    padding: 2rem;
}

.text-left {
    text-align: left;
}

.text-sm {
    font-size: 0.875rem;
}

.text-primary {
    color: var(--primary-color);
}

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

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

.rounded-lg {
    border-radius: 16px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.border {
    border: 1px solid var(--border-color);
}

.w-full {
    width: 100%;
    display: block;
    text-align: center;
}

.gap-4 {
    gap: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.list-features {
    list-style: none;
    padding-left: 0;
}

.list-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.grid-2-col-sm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.distributor {
    font-size: 1.2rem !important;
    color: #94a3b8 !important;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {

    .grid-2-col-sm,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- DISEÑO PREMIUM: ACORDEÓN ISO 9001 --- */
.iso-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.iso-header-block {
    text-align: center;
    margin-bottom: 2rem;
}

.iso-seal-img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    display: inline-block;
}

.iso-header-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
    transition: var(--transition);
}

.accordion-toggle {
    display: none;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    background: var(--bg-white);
    transition: var(--transition);
}

.accordion-title:hover {
    color: var(--primary-color);
    background: rgba(0, 51, 255, 0.02);
}

.accordion-title .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.accordion-toggle:checked~.accordion-title {
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.accordion-toggle:checked~.accordion-title .arrow {
    transform: rotate(-135deg);
    border-color: var(--primary-color);
}

.accordion-toggle:checked~.accordion-content {
    max-height: 1000px;
    padding: 1.5rem;
    background: var(--bg-white);
}

/* --- CUADRÍCULA PROFESIONAL DE LOGOS DE PARTNERS --- */
.brands-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logo-showcase-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.showcase-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.logo-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 51, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #d1fae5;
    color: #10b981;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
}


/* --- Modernization Effects --- */
/* 1. Enhanced Hover for Buttons */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 51, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn:active {
    transform: translateY(1px);
}

/* 2. Enhanced Hover for Cards */
.service-card,
.info-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover,
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 51, 255, 0.3);
}

/* 3. Enhanced Glassmorphism for Header */
.header {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
}


/* --- Dark Mode --- */
[data-theme="dark"] {
    --bg-light: #121212;
    --bg-white: #1e1e1e;
    --text-dark: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: #333333;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .header {
    background: rgba(30, 30, 30, 0.65) !important;
}

[data-theme="dark"] .header.scrolled {
    background: rgba(30, 30, 30, 0.8) !important;
}

[data-theme="dark"] .bg-white {
    background-color: var(--bg-white) !important;
}

[data-theme="dark"] .bg-gray-50 {
    background-color: var(--bg-light) !important;
}

[data-theme="dark"] .text-gray-600 {
    color: var(--text-muted) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
    background-color: #2d2d2d;
    color: white;
    border-color: #444;
}

[data-theme="dark"] .modal-content {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

margin-bottom: 2rem;
}

.logo-showcase-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.showcase-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.logo-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 51, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #d1fae5;
    color: #10b981;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
}


/* --- Modernization Effects --- */
/* 1. Enhanced Hover for Buttons */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 51, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn:active {
    transform: translateY(1px);
}

/* 2. Enhanced Hover for Cards */
.service-card,
.info-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover,
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 51, 255, 0.3);
}

/* 3. Enhanced Glassmorphism for Header */
.header {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
}


/* --- Dark Mode --- */
[data-theme="dark"] {
    --bg-light: #121212;
    --bg-white: #1e1e1e;
    --text-dark: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: #333333;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .header {
    background: rgba(30, 30, 30, 0.65) !important;
}

[data-theme="dark"] .header.scrolled {
    background: rgba(30, 30, 30, 0.8) !important;
}

[data-theme="dark"] .bg-white {
    background-color: var(--bg-white) !important;
}

[data-theme="dark"] .bg-gray-50 {
    background-color: var(--bg-light) !important;
}

[data-theme="dark"] .text-gray-600 {
    color: var(--text-muted) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
    background-color: #2d2d2d;
    color: white;
    border-color: #444;
}

[data-theme="dark"] .modal-content {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}


[data-theme="dark"] .logo-card {
    background-color: #f1f5f9;
}