body {
    font-family: Arial, sans-serif;
}

.navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar .navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0d6efd;
}

.navbar .navbar-brand:hover {
    color: #0a58ca;
}

.navbar .nav-link {
    font-weight: 600;
    color: #0f172a;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.12);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.navbar .btn-outline-primary {
    border-width: 1.5px;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.2);
}

.navbar .btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.navbar .navbar-toggler {
    border: none;
    padding: 0.45rem 0.75rem;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 14px;
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.35);
}

.navbar .navbar-toggler-icon {
    filter: invert(39%) sepia(88%) saturate(2313%) hue-rotate(205deg) brightness(94%) contrast(92%);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        gap: 0.35rem;
        padding: 0.5rem 0;
    }

    .navbar .nav-link {
        display: block;
    }

    .navbar .btn-outline-primary {
        width: 100%;
        margin-top: 0.35rem;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}

.hero::after {
    content: "";
    position: absolute;
    inset: -25% 10% auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.32), rgba(13, 110, 253, 0));
    filter: blur(10px);
    opacity: 0.8;
    z-index: 0;
    animation: float 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.9s ease 0.15s both;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 15px;
}

.hero .btn {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 25px;
}

/* Secciones y bloques */
section {
    position: relative;
}

.section-title {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.section-subtitle {
    color: #4b5563;
    max-width: 720px;
}

.col-md-6.d-flex {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f5f7fb);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.col-md-6.d-flex:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.07);
}

.col-md-6.d-flex .me-3 {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-weight: 800;
}

.list-unstyled li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #1f2937;
    font-weight: 600;
}

.list-unstyled li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d6efd;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.14);
}

.contact-card,
.form-control,
.form-label {
    transition: all 0.2s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
    border-color: #0d6efd;
}

.btn-primary {
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.28);
}

/* Utilidades de animación */
.fade-in {
    animation: fadeIn 0.7s ease both;
}

.fade-up {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
