


/*--------------------------------------------------------------
>>> Professional "Advertise With Us" Page (V4 - Final Responsive)
--------------------------------------------------------------*/

/* Force visibility of the active advert form step */
.advert-page__form-section .form-card .form-step--active {
    display: block !important;
}

/* --- 1. Global Reset & Core Layout --- */
*, *::before, *::after {
    box-sizing: border-box; /* Prevents padding from affecting element dimensions */
}

body {
    background-color: #f4f6f9;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; /* Smoother fonts */
    -moz-osx-font-smoothing: grayscale;
}

.advert-page {
    overflow-x: hidden; /* Prevents horizontal scrollbars */
}

.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- 2. Hero Section --- */
.advert-page__hero {
    background: #00233b;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero__title {
    font-size: 3.2em;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.hero__subtitle {
    font-size: 1.25em;
    max-width: 750px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero__stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.hero__stats-bar .stat-item {
    font-size: 1.1em;
    font-weight: 500;
}

.hero__stats-bar .stat-item strong {
    font-size: 1.3em;
    margin-right: 8px;
    color: #4fbbff;
}

/* --- 3. Form Section --- */
.advert-page__form-section {
    padding: 60px 0;
}

.form-card {
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 35, 59, 0.08);
}

.form-card__header {
    text-align: center;
    margin-bottom: 40px;
}

.form-card__header h2 {
    font-size: 2.2em;
    margin-bottom: 5px;
    color: #1d2d3d;
}

.form-card__header p {
    color: #495057;
    font-size: 1.1em;
}

/* --- 4. Step Progress Bar --- */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.progress-bar__step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.progress-bar__step--active {
    background: #0073aa;
    color: #fff;
    transform: scale(1.1);
}

.progress-bar__step::after {
    content: attr(data-step-title);
    position: absolute;
    top: 130%;
    font-size: 0.85em;
    white-space: nowrap;
    color: #6c757d;
    font-weight: 500;
}

.progress-bar__step--active::after {
    color: #0073aa;
    font-weight: bold;
}

.progress-bar__connector {
    flex-grow: 1;
    height: 2px;
    background: #e9ecef;
    margin: 0 -10px;
}

/* --- 5. Form Steps & Fields --- */
.form-step { display: none; }
.form-step--active { display: block; animation: fadeIn 0.5s ease; }

.form-step__title {
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #343a40;
}
.form-subsection-title {
    font-size: 1.1em;
    font-weight: 500;
    margin: 20px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* --- 6. Budget Cards --- */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.budget-card {
    display: block;
    border: 2px solid #dee2e6;
    padding: 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.budget-card:hover {
    border-color: #0073aa;
    transform: translateY(-3px);
}

.budget-card input[type="radio"] { display: none; }

.budget-card--selected {
    border-color: #0073aa;
    background-color: #f0f7ff;
    box-shadow: 0 0 0 2px #0073aa;
}

.budget-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 12px;
}

.budget-card__title {
    display: block;
    font-weight: bold;
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 8px;
}

.budget-card__title small {
    font-size: 0.6em;
    font-weight: 400;
    color: #6c757d;
}

.budget-card__desc {
    display: block;
    font-size: 0.95em;
    color: #495057;
    line-height: 1.6;
}

/* --- 7. Thank You Page --- */
/* (Styles for the Thank you page remain the same as previous version) */

/* --- 7. Thank You Page --- */
.advert-page__thanks {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.confirmation-box {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.confirmation-box__icon {
    width: 70px;
    height: 70px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.confirmation-box__icon svg {
    width: 40px;
    height: 40px;
}

.confirmation-box__title {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.confirmation-box__message {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 8. Responsive Adjustments --- */
@media (max-width: 768px) {
    /* Make Form Card Edge-to-Edge on Mobile */
    .advert-page__form-section > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .form-card {
        border-radius: 0;
        box-shadow: none;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero__title { font-size: 2.5em; }
    .advert-page__hero { padding: 60px 0; }
    
    .budget-grid { grid-template-columns: 1fr; }
    .progress-bar { width: 100%; }
}

@media (max-width: 480px) {
    .hero__stats-bar {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .form-card__header h2 { font-size: 1.8em; }
    .form-card { padding-top: 30px; padding-bottom: 30px; }
}