/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

/* Hero Header Section */
.hero-header {
    position: relative;
    min-height: 500px;
    background-image: url('img/NGN_Classified Header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.header-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    max-width: 600px;
}

.header-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 400;
    margin: 0;
}

/* Introduction Section */
.intro-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 30px;
}

.pricing-info,
.publication-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pricing-info h3,
.publication-info h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 15px;
}

.pricing-info ul {
    list-style: none;
    padding: 0;
}

.pricing-info li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
    color: #495057;
}

.pricing-info li:last-child {
    border-bottom: none;
}

.pricing-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.publication-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Calculator Section */
.calculator-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.calculator-section > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.calculator-box {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calculator-input {
    margin-bottom: 25px;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1rem;
}

.calculator-input input,
.calculator-input textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.calculator-input textarea {
    resize: vertical;
}

.calculator-input input:focus,
.calculator-input textarea:focus {
    outline: none;
    border-color: #000000;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 8px;
}

.calc-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.calc-stat:last-child {
    border-bottom: none;
}

.calc-stat.total {
    padding-top: 15px;
    border-top: 2px solid #000000;
}

.calc-label {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.calc-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
}

.calc-stat.total .calc-value {
    font-size: 1.5rem;
}

.calculator-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

.calculator-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-proceed {
    background-color: #000000;
    color: white;
    padding: 16px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-proceed:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Form Section */
.form-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Form Messages */
.message {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Form Styling */
#classified-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section-header {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
}

.form-section-header:first-child {
    margin-top: 0;
}

.form-section-header h3 {
    color: #000000;
    font-size: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-color: white;
}

.form-group input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.word-count-display {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

/* Date Range Picker */
.form-help-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.date-range-picker {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.checkbox-wrapper-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.date-range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #2c3e50;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #000000;
}

.run-dates-display {
    font-size: 0.95rem;
    color: #000000;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #000000;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.btn-secondary {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-primary {
    padding: 10px 20px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #333333;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    background-color: #000000;
    color: white;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    margin: 0;
    color: #bdc3c7;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-header {
        min-height: 400px;
    }

    .header-content {
        padding: 30px 20px;
    }

    .header-logo {
        max-width: 250px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .intro-section h2,
    .calculator-section h2,
    .form-section h2 {
        font-size: 1.8rem;
    }

    .pricing-info,
    .publication-info {
        padding: 20px;
    }

    .calculator-box {
        padding: 20px;
    }

    #classified-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .date-range-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .date-range-picker {
        padding: 20px 15px;
    }
    
    .checkbox-wrapper-top {
        flex-direction: column;
        text-align: center;
    }

}

@media screen and (max-width: 480px) {
    .hero-header {
        min-height: 350px;
    }

    .header-logo {
        max-width: 200px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .calculator-box,
    #classified-form {
        padding: 15px;
    }

    .calc-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .calc-value {
        font-size: 1.1rem;
    }

    .calc-stat.total .calc-value {
        font-size: 1.3rem;
    }

}


