:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --primary: #00f0ff;
    --secondary: #7000ff;
    --accent: #ff0055;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Blobs for Glassmorphism */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.5;
    animation: drift 10s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--secondary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background-color: var(--primary);
    top: 50vh;
    right: -200px;
    opacity: 0.3;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Buttons */
.btn-primary,
.btn-primary-sm {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    display: inline-block;
}

.btn-primary-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-primary:hover,
.btn-primary-sm:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
    margin-top: 80px;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Services Section */
.services,
.about {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.about-card.mission::before {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.about-card.vision::before {
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    color: #d0d0d0;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.about-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-card.vision ul li::before {
    color: var(--secondary);
}

.quienes-somos {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.quienes-somos h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.quienes-somos p {
    color: #c0c0c0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.quienes-somos strong {
    color: #fff;
}

.why-choose-us {
    margin-top: 6rem;
    text-align: center;
}

.why-choose-us h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.why-choose-us .subtitle {
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.why-card h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.why-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Contact Form */
.contact {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.glass-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-whatsapp {
    background: linear-gradient(45deg, #128C7E, #25D366);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-whatsapp:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp .icon {
    font-size: 1.5rem;
}

.whatsapp-number {
    color: var(--primary);
    font-weight: 600;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.glass-form-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */

.glass-form-container p {
    color: #a0a0a0;
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.input-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: #666;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .hero-content {
        padding-top: 40px;
    }
}