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

:root {
    --primary: #005c43;
    --primary-light: #00805d;
    --primary-dark: #003d2c;
    --accent: #ffc107;
    --accent-hover: #e0a800;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9f3ef 100%);
    --card-shadow: 0 10px 30px rgba(0, 92, 67, 0.06);
    --card-hover-shadow: 0 15px 40px rgba(0, 92, 67, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    display: block !important;
    height: auto !important;
    min-height: 100vh !important;
}

body {
    background: var(--bg-gradient);
    font-family: 'Outfit', sans-serif;
    color: #2d3748;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Navigation bar --- */
.navbar-custom {
    background: rgba(0, 92, 67, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--accent);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar-custom .navbar-brand img {
    height: 55px;
    transition: var(--transition);
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 1.2rem !important;
    border-radius: 30px;
    margin: 0 0.2rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    background: var(--accent);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* --- Hero Banner --- */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 7.5rem 0 4rem;
    margin-top: -95px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-banner h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-banner p.lead {
    font-weight: 400;
    opacity: 0.9;
    font-size: 1.25rem;
}

/* --- Card Styles --- */
.premium-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 92, 67, 0.08);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 92, 67, 0.15);
}

.premium-card .card-body {
    padding: 2rem;
}

/* --- Buttons --- */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 92, 67, 0.2);
}

.btn-accent-custom {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-accent-custom:hover {
    background: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
}

/* --- Input Fields --- */
.form-control-custom {
    background: #fdfdfd;
    border: 1.5px solid rgba(0, 92, 67, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control-custom:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 92, 67, 0.1);
    outline: none;
}

/* --- Custom Badges --- */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-custom-primary {
    background: rgba(0, 92, 67, 0.1);
    color: var(--primary);
}

.badge-custom-accent {
    background: rgba(255, 193, 7, 0.15);
    color: #b28000;
}

/* --- Search Field Banner --- */
.search-banner {
    max-width: 600px;
    margin: -2.5rem auto 2.5rem;
    position: relative;
    z-index: 10;
}

.search-banner input {
    box-shadow: 0 10px 25px rgba(0, 92, 67, 0.08);
}

/* --- Steps Timeline --- */
.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-number {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 92, 67, 0.2);
}

.timeline-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    border: 1px solid rgba(0, 92, 67, 0.06);
    box-shadow: var(--card-shadow);
    width: 100%;
}

/* --- Spacing Helper --- */
.main-content {
    display: block !important;
    height: auto !important;
    min-height: calc(100vh - 350px) !important;
    padding-top: 95px;
    padding-bottom: 4rem;
}

footer {
    display: block !important;
    position: relative !important;
    clear: both !important;
    z-index: 1;
}

/* --- Step Progress Bar --- */
.step-progress-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.step-progress {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    background: white;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 92, 67, 0.05);
    border: 1px solid rgba(0, 92, 67, 0.06);
}
.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}
.step-item.active .step-number {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 92, 67, 0.2);
}
.step-item.active .step-label {
    color: var(--primary) !important;
    font-weight: 700 !important;
}
.step-item.complete .step-number {
    background: #198754 !important;
    color: white !important;
}
.step-item.complete .step-label {
    color: #198754 !important;
    font-weight: 600 !important;
}
.step-label {
    font-size: 0.9rem;
    color: var(--secondary);
    transition: var(--transition);
}
.step-line {
    flex: 1;
    height: 3px;
    min-width: 30px;
    margin: 0 1rem;
    border-radius: 2px;
    transition: var(--transition);
}
.step-line.active {
    background: var(--primary) !important;
}
.step-line.complete {
    background: #198754 !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .navbar-custom .navbar-collapse {
        background: var(--primary-dark);
        border-radius: 12px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    .navbar-custom .nav-link {
        margin: 0.4rem 0;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .step-progress-wrapper {
        margin-bottom: 2rem;
    }
    .step-progress {
        padding: 1rem 1.25rem;
    }
    .step-label {
        display: none !important;
    }
    .step-line {
        margin: 0 0.5rem;
    }
}

