@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter_variablefont_opsz_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins_semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --cernodo-turquoise: #25D4C3;
    --cernodo-blue: #3DA9FC;
    --cernodo-dark: #343a40;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: var(--cernodo-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-primary-cernodo {
    color: var(--cernodo-turquoise);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    background-color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6fffa 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 85vh;
    /* adjust as needed */
    display: flex;
    align-items: center;
}

/* Form Card */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Fixed height for stability */
    overflow-y: auto;
}

/* Tabs */
.nav-pills .nav-link {
    color: #6c757d;
    border-radius: 50rem;
    /* Fully rounded */
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--cernodo-blue);
    color: white;
    box-shadow: 0 4px 6px rgba(61, 169, 252, 0.3);
}

/* Buttons */
.btn-primary {
    background-color: var(--cernodo-blue);
    border-color: var(--cernodo-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(61, 169, 252, 0.25);
    transition: transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #2b90d9;
    border-color: #2b90d9;
    transform: translateY(-1px);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--cernodo-turquoise);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--cernodo-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Carousel Customization */
.carousel-item {
    text-align: center;
}

.carousel-img {
    height: 800px;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    background-color: transparent;
    margin-top: 1.5rem;
    /* Space from top */
    border-radius: 16px;
    /* Rounded corners */
    margin-left: auto;
    margin-right: auto;
}

.carousel-caption-below {
    margin-top: 1rem;
    color: var(--cernodo-dark);
    background: rgba(255, 255, 255, 0.8);
    /* Optional: background for better readability over hero bg */
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 140px;
    /* Fixed height to prevent resizing */
    overflow-y: auto;
    /* Scroll if text is too long (unlikely with current text) */
    display: flex;
    align-items: center;
    justify-content: center;
}