/* Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.6;
}

/* Navbar Centrada */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 50px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: 0.3s;
}

.nav-register {
    color: #00a896;
    border: 2px solid #00a896;
}

.nav-login {
    background-color: #0056b3;
    color: white;
}

/* Hero Section */
.hero-section {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f8fafc;
}

.hero-content h1 {
    font-size: 4rem;
    color: #0056b3;
}

.slogan {
    font-size: 1.4rem;
    color: #475569;
    margin-bottom: 25px;
}

/* SECCIÓN DE SERVICIOS */
.services-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Centra el título y subtítulo */
}

.section-title {
    margin-bottom: 60px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #00a896;
    margin: 10px auto 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center; /* Centra los recuadros si hay pocos */
}

/* Estilo de los Recuadros (Tarjetas) */
.service-card {
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido horizontalmente */
    text-align: center;   /* Centra el texto */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Variaciones de fondos tenues */
.card-blue { background-color: #eef6ff; border-bottom: 4px solid #0056b3; }
.card-green { background-color: #f0fdf4; border-bottom: 4px solid #00a896; }
.card-teal { background-color: #f0fdfa; border-bottom: 4px solid #20c997; }

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.card-link {
    text-decoration: none;
    color: #0056b3;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px;
    background-color: #1e293b;
    color: #ffffff;
}