@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #002D62; /* Azul oscuro */
    --accent-color: #00BFFF;  /* Azul cian brillante */
    --white-color: #FFFFFF;
    --dark-text: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
}

/* --- Botón CTA Global --- */
.btn-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
    background-color: #001a36; /* Un poco más oscuro al pasar el mouse */
    color: var(--white-color);
    transform: translateY(-2px);
}

/* --- 1. Hero Section --- */
.hero-section {
    background-color: var(--primary-color);
    padding-top: 150px;
    padding-bottom: 100px;
    background-image: linear-gradient(rgba(0, 45, 98, 0.8), rgba(0, 45, 98, 0.8)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2068&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-section .display-4 {
    font-weight: 700;
}

/* --- 2. Problem Section --- */
.problem-section {
    padding: 80px 0;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 1rem;
}

/* --- 3. Solution Section --- */
.solution-section {
    padding: 80px 0;
}

.solution-section .row > div {
    padding: 20px;
    margin-bottom: 30px; /* Add some space between columns on smaller screens */
}

.tool-icons i {
    font-size: 3rem;
    margin: 0 15px;
    color: var(--primary-color);
}

/* --- 4. Modules Section (Timeline) --- */
.modules-section {
    padding: 80px 0;
}

 

/* --- 5. Benefits Section --- */
.benefits-section {
    padding: 80px 0;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* --- 6. Credibility Section --- */
.credibility-section {
    padding: 80px 0;
}

.instructor-card {
    border-radius: 15px;
    overflow: hidden;
}

.instructor-photo {
    height: 100%;
    object-fit: cover;
}

/* --- Day in the Life Section --- */
.day-in-life-section {
    background-color: var(--white-color);
    padding: 80px 0;
}

.day-in-life-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.day-step {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 calc(33% - 30px); /* 3 items per row on larger screens */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.day-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* --- 7. Pricing Section --- */
.pricing-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0;
}

.pricing-card {
    max-width: 400px;
    border: none;
    border-radius: 15px;
    color: var(--dark-text);
}

.price-offer {
    color: var(--primary-color);
}

/* --- 8. FAQ Section --- */
.faq-section {
    padding: 80px 0;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e7f5ff;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.2);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
}

footer .btn-cta {
    font-size: 1rem;
    padding: 8px 20px;
}

/* --- Hover Animation --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Animation Classes --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        left: 0 !important;
    }

    .timeline-item::after {
        left: 10px;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }
}

/* --- Modal --- */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.solution-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-icon {
    color: var(--primary-color);
}

/* --- Navbar Scroll Effect --- */
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.navbar-scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Custom Navbar Link Color --- */
.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
    transition: color 0.3s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Timeline Cards --- */
.timeline-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.timeline-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #e7f5ff; /* Light blue background for the icon */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}