﻿/* Hero Section - Fixed */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 120px;
    padding-bottom: 60px;
}

    .service-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
        background-size: cover;
    }

.service-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

.service-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    hyphens: auto;
}

.service-hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.service-hero .cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    background: white;
    color: #2563eb;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    font-size: 1rem;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        color: #2563eb;
        text-decoration: none;
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

    .btn-secondary:hover {
        background: white;
        color: #2563eb;
        transform: translateY(-3px);
        text-decoration: none;
    }

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #2563eb, #1d4ed8);
    }

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Two Column Section */
.two-column {
    padding: 5rem 0;
    background: #f8fafc;
}

.two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.column-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.column-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2563eb;
    margin-top: 1.5rem;
}

.column-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.column-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.column-text li {
    color: #6b7280;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

    .column-text li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #2563eb;
        font-weight: bold;
    }

.column-image {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.process-step p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Application Form Section */
.application-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .form-container h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-align: center;
    }

    .form-container > p {
        text-align: center;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

.application-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: white;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #60a5fa;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
        }

    .form-group select {
        cursor: pointer;
    }

        .form-group select option {
            background: #374151;
            color: white;
        }

.submit-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    width: 100%;
}

    .submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    }

.required {
    color: #ef4444;
    font-size: 1.2rem;
}

/* Validation Styles */
.text-danger {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.field-validation-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .faq-question:hover {
        background: #f8fafc;
    }

    .faq-question span {
        font-size: 1.5rem;
        color: #2563eb;
        flex-shrink: 0;
        margin-left: 1rem;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
    display: none;
}

    .faq-answer.active {
        display: block;
    }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .service-hero {
        padding-top: 100px;
        min-height: 65vh;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .two-column-content {
        gap: 3rem;
    }

    .column-image {
        height: 350px;
        font-size: 3.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .service-hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: 60vh;
        margin-top: -60px;
    }

        .service-hero h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .service-hero p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .service-hero .cta-buttons {
            flex-direction: column;
            align-items: stretch;
            gap: 0.75rem;
        }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    /* Benefits Section */
    .benefits {
        padding: 3rem 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    /* Two Column Section */
    .two-column {
        padding: 3rem 0;
    }

    .two-column-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .column-text h2 {
        font-size: 1.75rem;
    }

    .column-text h3 {
        font-size: 1.15rem;
    }

    .column-image {
        height: 300px;
        font-size: 3rem;
    }

    /* Process Section */
    .process {
        padding: 3rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Form Section */
    .application-form-section {
        padding: 3rem 0;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

        .form-container h2 {
            font-size: 1.75rem;
        }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* FAQ Section */
    .faq {
        padding: 3rem 0;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

        .faq-question span {
            font-size: 1.25rem;
        }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .service-hero {
        padding-top: 90px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .service-hero h1 {
            font-size: 1.75rem;
        }

        .service-hero p {
            font-size: 0.95rem;
        }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Benefits */
    .benefits,
    .two-column,
    .process,
    .application-form-section,
    .faq {
        padding: 2.5rem 0;
    }

    .benefit-card {
        padding: 1.25rem;
    }

        .benefit-card h3 {
            font-size: 1.25rem;
        }

        .benefit-card p {
            font-size: 0.9rem;
        }

    /* Form */
    .form-container {
        padding: 1.5rem 1rem;
    }

        .form-container h2 {
            font-size: 1.5rem;
        }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Two Column */
    .column-text h2 {
        font-size: 1.5rem;
    }

    .column-text h3 {
        font-size: 1.1rem;
    }

    .column-text p,
    .column-text li {
        font-size: 0.9rem;
    }

    .column-image {
        height: 250px;
        font-size: 2.5rem;
    }

    /* Process */
    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.25rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .service-hero h1 {
        font-size: 1.5rem;
    }

    .service-hero p {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1.25rem 0.75rem;
    }

    .column-image {
        height: 200px;
        font-size: 2rem;
    }
}
