/* TSA Request Page - Complete Styling */

/* Page Header */
.page-header {
    min-height: 55vh;
    background: linear-gradient(135deg, rgba(11, 30, 66, 0.95), rgba(27, 59, 111, 0.9)),
                url('img/tsa-header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15), transparent 70%);
}

.header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    color: var(--primary-color);
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* TSA Overview */
.tsa-overview {
    padding: 6rem 2rem 4rem;
    background: white;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

/* TSA Form Section */
.tsa-form-section {
    padding: 6rem 2rem 8rem;
    background: var(--light-gray);
}

.form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Form Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #4CAF50;
    color: white;
}

.progress-step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-align: center;
}

.progress-step.active span {
    color: var(--primary-color);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 1rem;
    align-self: center;
    margin-top: -30px;
}

.progress-step.active ~ .progress-line {
    background: #e0e0e0;
}

.progress-step.completed + .progress-line {
    background: #4CAF50;
}

/* TSA Form Container */
.tsa-form-container {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInSlide 0.5s ease;
}

.step-header {
    margin-bottom: 3rem;
    text-align: center;
}

.step-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 1.05rem;
    color: #666;
}

/* Form Rows and Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

.form-group small {
    color: #888;
    font-size: 0.85rem;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 107, 53, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--dark-blue);
}

/* Consent Group */
.consent-group {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
}

.consent-group .checkbox-label {
    background: transparent;
    padding: 0;
}

.consent-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.consent-group a:hover {
    text-decoration: underline;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-prev {
    background: var(--light-gray);
    color: var(--dark-blue);
}

.btn-prev:hover {
    background: #d0d0d0;
}

.btn-next {
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    color: white;
    margin-left: auto;
}

.btn-next:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-blue));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    margin-left: auto;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 4rem;
    animation: fadeInScale 0.5s ease;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.form-success h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.reference-number {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.reference-number strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.btn-home {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-blue));
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .form-progress {
        flex-wrap: wrap;
        padding: 1.5rem;
    }

    .progress-step {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    .progress-line {
        display: none;
    }

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

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .tsa-form-container {
        padding: 2rem;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-next,
    .btn-submit {
        margin-left: 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
