﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #003d82 0%, #0059b3 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

    .header-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.header-top-left {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-login, .btn-signup {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-login {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-login:hover {
        background-color: white;
        color: #003d82;
    }

.btn-signup {
    background-color: #00b3e3;
    color: white;
}

    .btn-signup:hover {
        background-color: #c9a87f;
    }

.header-main {
    padding: 20px 0;
}

    .header-main .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #003d82;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav {
    background-color: #002855;
}

    nav ul {
        list-style: none;
        display: flex;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

        nav ul li {
            position: relative;
        }

            nav ul li a {
                color: white;
                text-decoration: none;
                padding: 15px 20px;
                display: block;
                transition: background-color 0.3s;
            }

                nav ul li a:hover,
                nav ul li a.active {
                    background-color: #003d82;
                }

/* Mobile hamburger menu */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background-color: #003d82;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

    .mobile-nav-toggle:hover {
        background-color: #002855;
    }

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .hamburger-icon span {
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s;
    }

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

    .nav-overlay.active {
        display: block;
    }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 61, 130, 0.4), rgba(0, 61, 130, 0.4)),url('../images/carousel four.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00b3e3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .btn:hover {
        background-color: #c9a87f;
        transform: translateY(-2px);
    }

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background-color: white;
        color: #003d82;
    }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main-content {
    padding: 50px 20px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003d82, #0059b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #003d82;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Jobs Section */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #003d82;
}

    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.job-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #003d82;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .job-card:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

.job-header {
    margin-bottom: 15px;
}

.job-title {
    color: #003d82;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

    .job-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.job-description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.deadline {
    color: #ff6b35;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #003d82, #0059b3);
    color: white;
    padding: 25px;
    border-radius: 10px 10px 0 0;
}

    .modal-header h2 {
        margin-bottom: 10px;
    }

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

    .close:hover {
        opacity: 0.7;
    }

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #003d82;
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #003d82;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.required {
    color: #ff6b35;
}

/* Footer */
footer {
    background-color: #002855;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }

            .footer-section ul li a:hover {
                color: #fff;
            }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.auth-modal .modal-content {
    max-width: 550px;
}

.auth-form {
    padding: 0;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background-color: #ddd;
    }

    .divider span {
        background-color: white;
        padding: 0 15px;
        position: relative;
        color: #666;
        font-size: 0.9rem;
    }

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

    .social-btn:hover {
        background-color: #f8f9fa;
        border-color: #003d82;
    }

    .social-btn img {
        width: 20px;
        height: 20px;
    }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

    .auth-footer a {
        color: #003d82;
        text-decoration: none;
        font-weight: 600;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.password-requirements {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

    .password-requirements ul {
        margin: 5px 0 0 20px;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
}

.form-group-password {
    position: relative;
}

.job-details-modal .modal-content {
    max-width: 900px;
}

.job-details-header {
    background: linear-gradient(135deg, #003d82, #0059b3);
    color: white;
    padding: 30px;
    border-radius: 10px 10px 0 0;
}

    .job-details-header h2 {
        margin-bottom: 15px;
        font-size: 2rem;
    }

.job-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

    .job-details-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 8px 15px;
        border-radius: 5px;
    }

.job-details-body {
    padding: 30px;
}

.details-section {
    margin-bottom: 30px;
}

    .details-section h3 {
        color: #003d82;
        font-size: 1.5rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #003d82;
    }

    .details-section ul {
        list-style: none;
        padding: 0;
    }

        .details-section ul li {
            padding: 10px 0;
            padding-left: 30px;
            position: relative;
            line-height: 1.6;
        }

            .details-section ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                color: #ff6b35;
                font-weight: bold;
                font-size: 1.2rem;
            }

    .details-section p {
        line-height: 1.8;
        color: #555;
        margin-bottom: 15px;
    }

.job-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.btn-outline {
    background-color: white;
    color: #003d82;
    border: 2px solid #003d82;
}

    .btn-outline:hover {
        background-color: #003d82;
        color: white;
    }

.btn-details {
    padding: 8px 15px;
    font-size: 0.9rem;
    background-color: #003d82;
}

    .btn-details:hover {
        background-color: #002855;
    }

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.job-footer-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block !important;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Mobile navigation sidebar */
    nav {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        background-color: #002855 !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3) !important;
    }

        nav.active {
            left: 0 !important;
        }

        nav ul {
            flex-direction: column;
            padding: 60px 0 20px 0 !important;
        }

            nav ul li a {
                padding: 15px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

    .form-row {
        grid-template-columns: 1fr;
    }

    .header-main .container {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }

    .header-top-left {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }

    .header-top-right {
        flex-direction: column;
        gap: 10px;
        font-size: 0.8rem;
    }

    .auth-buttons {
        margin-left: 0;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info, .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-map {
        height: 300px;
    }
}

/* Contact Section Styles */
.contact-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .contact-info h3 {
        color: #003d82;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .contact-info p {
        color: #666;
        margin-bottom: 30px;
        line-height: 1.6;
    }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003d82 0%, #0059b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    color: #003d82;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item-content p {
    margin: 0;
    color: #666;
}

.contact-item-content a {
    color: #003d82;
    text-decoration: none;
}

    .contact-item-content a:hover {
        text-decoration: underline;
    }

.contact-form-wrapper {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .contact-form-wrapper h3 {
        color: #003d82;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .contact-form-wrapper > p {
        color: #666;
        margin-bottom: 30px;
    }

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

    .contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus {
        outline: none;
        border-color: #003d82;
    }

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .required {
    color: #ff6b35;
}

.contact-success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.contact-map {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .contact-map h3 {
        color: #003d82;
        margin-bottom: 20px;
    }

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
