/* site.css */
:root {
    --primary-blue: #0056a9;
    --secondary-blue: #0077cc;
    --accent-orange: #ff6600;
    --light-gray: #f5f7fa;
    --dark-gray: #333333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px; /* Fixed height for consistent alignment */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: 700;
    color: navy;
    line-height: 1.2;
    margin-left: -30px;
    padding-top: 5px;
}

    .logo-text span {
        color: var(--accent-orange);
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.2;
    }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%; /* Take full height of navbar */
}

    .nav-links li {
        margin-left: 2rem;
        height: 100%; /* Take full height */
        display: flex;
        align-items: center; /* Vertically center */
    }

    .nav-links a {
        text-decoration: none;
        color: var(--dark-gray);
        font-weight: 600;
        transition: color 0.3s;
        height: 100%; /* Take full height */
        display: flex;
        align-items: center; /* Vertically center */
        padding: 0 5px; /* Add some padding */
        gap: 5px; /* Space between icon and text */
    }

        .nav-links a:hover {
            color: var(--accent-orange);
        }

    /* Apply Now link - orange color like other links */
    .nav-links li:has(a[href*="Application"]) a {
        color: var(--accent-orange);
        font-weight: 700;
    }

        .nav-links li:has(a[href*="Application"]) a:hover {
            color: var(--primary-blue);
        }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 169, 0.85), rgba(0, 86, 169, 0.9)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 1rem;
}

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 2rem;
        opacity: 0.9;
    }

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

    .cta-button:hover {
        background-color: #e55a00;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* Section Styling */
.section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
}

    .section-title:after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background-color: var(--accent-orange);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Services & Stats */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
}

.stat-text {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-img {
    height: 250px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 5rem;
}

.team-info {
    padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
}

.faq-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    border: none;
    border-radius: 50px;
    margin: 0 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

    .faq-tab.active {
        background-color: var(--accent-orange);
        color: var(--white);
    }

.faq-content {
    display: none;
}

    .faq-content.active {
        display: block;
    }

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: var(--accent-orange);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Logo Styles */
.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
    background-color: var(--white);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.footer-tagline {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    text-align: center;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

    .footer-links li {
        margin: 0 1rem;
    }

    .footer-links a {
        color: var(--white);
        text-decoration: none;
        opacity: 0.9;
        transition: opacity 0.3s;
    }

        .footer-links a:hover {
            opacity: 1;
            text-decoration: underline;
        }

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

    .social-icon:hover {
        opacity: 1;
        transform: translateY(-3px);
    }

/* Footer Contact Info */
.contact-info-footer {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.footer-contact-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .footer-contact-item i {
        color: var(--accent-orange);
        min-width: 20px;
    }

.copyright {
    opacity: 0.8;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 5rem 1rem 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
        height: auto;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin-left: 0;
            width: 100%;
            text-align: center;
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
            height: auto;
            justify-content: center;
        }

        .nav-links a {
            font-size: 1.1rem;
            padding: 0.5rem 0;
            display: block;
            width: 100%;
            height: auto;
            justify-content: center;
        }

        /* Apply Now in mobile */
        .nav-links li:has(a[href*="Application"]) a {
            color: var(--accent-orange);
            font-weight: 700;
        }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 4rem 1rem;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .section {
        padding: 3rem 1rem;
    }

    /* Logo adjustments for mobile */
    .logo-image {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
        margin-left: -30px;
        padding-top: 5px;
    }

        .logo-text span {
            font-size: 0.9rem;
        }

    .footer-logo-image {
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }
}

/* Application Form Styles (if you're adding the application page) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Upload Section */
.upload-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

    .upload-section h3 {
        color: var(--primary-blue);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.upload-note {
    background: var(--white);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--accent-orange);
    margin-bottom: 2rem;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.upload-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

    .upload-card:hover {
        transform: translateY(-5px);
    }

.upload-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.upload-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.upload-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.file-input {
    display: none;
}

.upload-btn {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

    .upload-btn:hover {
        background: #e55a00;
    }

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

    .form-section h3 {
        color: var(--primary-blue);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark-gray);
    }

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 2px rgba(0,86,169,0.1);
    }

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.text-danger {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Form Footer */
.form-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.form-check {
    margin-bottom: 2rem;
}

.form-check-input {
    margin-right: 10px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-secondary:hover {
        background: #e0e0e0;
    }

/* Status Page */
.status-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.status-subtitle {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.status-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Success Page */
.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.success-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--white);
    opacity: 0.9;
}

.success-details {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    text-align: left;
}

    .success-details h3 {
        color: var(--white);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .success-details ul {
        list-style: none;
        padding: 0;
    }

    .success-details li {
        color: var(--white);
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

        .success-details li i {
            color: var(--accent-orange);
            margin-top: 3px;
        }

.success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Application form responsive */
@media (max-width: 768px) {
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .cta-button, .btn-secondary {
        width: 100%;
    }

    .success-actions {
        flex-direction: column;
    }

        .success-actions .cta-button,
        .success-actions .btn-secondary {
            width: 100%;
        }
}

/* Form validation styles */
.input-validation-error {
    border-color: #dc3545 !important;
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary-errors {
    color: #dc3545;
    margin-bottom: 1rem;
}

    .validation-summary-errors ul {
        list-style-type: none;
        padding-left: 0;
    }

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* File upload improvements */
.upload-btn {
    cursor: pointer;
    transition: all 0.3s;
}

    .upload-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }