@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&display=swap');
/* Global Styles */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f3f4f6;
    color: #333333;
    padding-top: 60px;
    margin: 0;
    line-height: 1.6;
}

.navbar {
    background-color: #ffffff !important; /* Fondo blanco limpio */
    border-bottom: 2px solid #e0e0e0; /* Borde inferior sutil */
    padding: 12px 24px; /* Espaciado adecuado */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Sombra ligera */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

.navbar:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12); /* Sombra ligeramente más pronunciada al pasar el mouse */
}

.navbar-brand {
    font-size: 1.25rem; /* Tamaño de fuente más grande */
    color: #333333; /* Color de texto oscuro para buena visibilidad */
    font-weight: 600; /* Fuente semibold */
    transition: color 0.3s ease; /* Transición suave de color */
}

.navbar-brand:hover {
    color: #c18f2b; /* Cambio de color al pasar el mouse */
}

.navbar-toggler {
    border: none;
    outline: none;
    background-color: #c18f2b; /* Fondo azul para el toggler */
    color: #ffffff; /* Color blanco para el icono */
    padding: 8px 10px; /* Espaciado interno */
    border-radius: 4px; /* Bordes redondeados */
    transition: background-color 0.3s ease; /* Transición suave */
}

.navbar-toggler:hover {
    background-color: #0056b3; /* Fondo más oscuro al pasar el mouse */
}

.navbar-toggler-icon {
    font-size: 1.2rem; /* Tamaño del icono */
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px; /* Espaciado uniforme entre elementos */
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: #555555; /* Color gris oscuro para buen contraste */
    padding: 8px 16px;
    font-size: 1rem;
    transition: color 0.3s ease, background-color 0.3s ease; /* Transición suave para color y fondo */
    border-radius: 4px; /* Bordes ligeramente redondeados */
}

.nav-link:hover {
    color: #c18f2b; /* Azul al pasar el mouse */
    background-color: #ece1ca95; /* Fondo azul claro */
}

.nav-link.active {
    color: #c18f2b; /* Color azul para enlaces activos */
    background-color: rgb(223 211 186); /* Fondo más notorio para el activo */
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #c18f2b; /* Línea azul debajo del enlace */
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%; /* Ancho completo al pasar el mouse */
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--bs-navbar-active-color);
    color: #c18f2b;
}
/* Hero Section */
.hero {
    padding: 100px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #e0e0e5;
    margin-bottom: -100px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c18f2b;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #1a2930;
    margin-bottom: 30px;
}

.hero-image {
    margin-top: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.btn-primary {
    background-color: #c18f2b;
    border: none;
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #0d1847;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #c18f2b;
    text-align: center;
}

.section-text {
    font-size: 1rem;
    color: #455a64;
    margin-bottom: 20px;
}

/* Program Cards */
.program-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ddd;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card img {
    border-radius: 15px;
    margin-bottom: 15px;
}

.program-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 0.95rem;
    color: #546e7a;
}

/* Register Cards */
.register-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ddd;
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.register-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.register-card p {
    font-size: 0.95rem;
    color: #546e7a;
}

/* Hotel Cards */
.hotel-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ddd;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hotel-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hotel-card p {
    font-size: 0.95rem;
    color: #546e7a;
}

/* Footer */
footer {
    background-color: #c18f2b;
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.85rem;
}

footer .social-icons a {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0 10px;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #90caf9;
}

/* Section Spacing Adjustment */
section {
    padding-top: 120px; /* Adjusted for the navbar height */
    padding-bottom: 120px;
}


/* 1) Quita cualquier espacio fantasma arriba */
html, body { margin:0; padding:0; }
body { padding-top: 0 !important; }           /* por si quedó de un header fixed anterior */

/* Normaliza alturas de las navbars (opcional, más compacto) */
.navbar { --bs-navbar-padding-y: .5rem; }

/* Asegura colores de la barra de Gobierno */
.nav-gobmx { background:#611232 !important; }
.nav-gobmx .nav-link { color:#fff !important; }

/* Si tus links “parecen botones” por CSS global, limita el estilo solo al estado active real */
.navbar .nav-link { background: transparent; }
.navbar .nav-link.active { 
  background: #e7d7b3;      /* tu beige si lo quieres solo para active */
  border-radius: .5rem;
  font-weight: 700;
}

/* Compensación de scroll para anclas (para que no se oculten bajo la nav sticky) */
section, .section { scroll-margin-top: 72px; } /* ajusta si tu barra mide distinto */