﻿/* ========== GLOBAL ========== */
body {
    margin: 0;
    padding: 0;
    background: #f4f6f9;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.arabic {
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
}



/* ========== NAVBAR ========== */
.navbar {
    background-color: #003366 !important; /* same as hero section */
    position: ;
    top: 0;
    z-index: 999;
}

    .navbar .nav-link {
        color: white;
    }

        .navbar .nav-link:hover {
            color: #cccccc;
        }

/* ========== HERO SECTION ========== */
/* ========== HERO SECTION #003366 ========== */

#heroSection {
    background: #003366 !important;
    color: white;
    padding: 20px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* This replaces Bootstrap container for perfect centering */
.heroInner {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 0 10px;
}

/* Main title */
.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

/* English subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
    opacity: 0.95;
}

    /* Arabic subtitle */
    .hero-subtitle.arabic {
        font-size: 1.05rem;
        direction: rtl;
        font-weight: 500;
        opacity: 0.95;
    }

/* Mobile tuning */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

        .hero-subtitle.arabic {
            font-size: 0.95rem;
        }
}

/* ========== End Of HERO SECTION ========== */



/* ==========  Job Card ========== */
/* ===== HEADER BAR ===== */
.jobsHeaderBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.jobsHeaderText h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
}

.jobsHeaderText span {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===== STATE FILTER ===== */
.stateFilterBox {
    margin-top: 10px;
}

.stateSelect {
    min-width: 220px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 0.95rem;
    background: white;
}

/* ===== JOB CARD ===== */
.jobCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

    .jobCard:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    }

/* ===== LEFT SIDE ===== */
.jobCardLeft {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== LOGO ===== */
.logoBox {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logoBox {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f8fafc; /* light background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .logoBox img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* VERY IMPORTANT */
        border-radius: 10px;
    }


.logoPlaceholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg,#1e3a8a,#2563eb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== TEXT ===== */
.jobTitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.jobOrg {
    font-size: 0.9rem;
    color: #475569;
}

/* Duty Station – SAME style as Organization */
.jobLocation {
    font-size: 0.9rem;
    color: #475569;
    margin-top: 2px;
}

.jobDates {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    gap: 15px;
}

/* ===== BUTTON ===== */
.viewBtn {
    background: #16a34a;
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
}

    .viewBtn:hover {
        background: #15803d;
    }

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .jobsHeaderBar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .stateSelect {
        width: 100%;
    }

    .jobCard {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .jobCardRight {
        width: 100%;
    }

    .viewBtn {
        width: 100%;
    }

    .jobDates {
        flex-direction: column;
        gap: 5px;
    }
}




/* ========== Job alert section========== */
#jobAlertSection input.form-control {
    border-radius: 50px;
}

#jobAlertSection button {
    border-radius: 50px;
    transition: all 0.3s ease;
}

    #jobAlertSection button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

#jobAlertSection p, #jobAlertSection h2 {
    color: white;
}

/* ========== End of Job alert section========== */



/* ========== End of Job Card ========== */

/* Job Details Style */

/* ===== MAIN CARD ===== */
#jobDetailsSection .jobDetailsCard {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: auto;
}

/* ===== TITLE ===== */
#jobDetailsSection .jobTitle {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

#jobDetailsSection .employerName {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

/* ===== APPLY BUTTON ===== */
#jobDetailsSection .applyBtn {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: none;
    color: white;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: fit-content;
}

    #jobDetailsSection .applyBtn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(34,197,94,0.4);
    }

/* ===== JOB INFO GRID ===== */
#jobDetailsSection .jobInfo {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

    #jobDetailsSection .jobInfo strong {
        color: #334155;
    }

/* ===== DESCRIPTION ===== */
#jobDetailsSection .jobDescription {
    margin-top: 30px;
}

    #jobDetailsSection .jobDescription h5 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: #0f172a;
    }

/* ===== WORD-STYLE TEXT ===== */
.jobText {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 15px;
    line-height: 1.8;
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 25px;
    color: #1f2937;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    #jobDetailsSection .jobDetailsCard {
        padding: 1.5rem;
        border-radius: 12px;
    }

    #jobDetailsSection .jobTitle {
        font-size: 1.5rem;
    }

    #jobDetailsSection .jobInfo {
        flex-direction: column;
        gap: 4px;
        font-size: 0.9rem;
    }

    #jobDetailsSection .applyBtn {
        width: 100%;
        text-align: center;
    }
}

.job-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #f9fafb;
    border-left: 4px solid #0d6efd;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.92rem;
    color: #2c2c2c;
}

.disclaimer-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclaimer-text {
    line-height: 1.6;
}
.external-apply-link {
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

    .external-apply-link:hover {
        text-decoration: underline;
    }



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.external-apply-link {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    color: #0d6efd; /* bootstrap primary blue */
    text-decoration: underline;
    font-weight: 500;
    display: inline;
}

    .external-apply-link:hover {
        color: #084298;
        text-decoration: underline;
    }


/*end of  Job Details Style */




/* ========== FOOTER ========== */
#footer {
    background: #003366 !important;
    color: white;
}

    #footer a {
        text-decoration: none;
        color: white;
    }

    #footer h6 {
        font-weight: bold;
    }

    #footer ul li {
        margin-bottom: 6px;
    }
/* ===== SOCIAL ICONS ===== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.25s ease;
}

    /* Facebook style */
    .social-icon.facebook {
        background: #1877F2;
        color: #fff;
    }

        .social-icon.facebook:hover {
            background: #0f5dc4;
            transform: translateY(-2px);
        }



/* STATE SEARCH NEXT TO TITLE */
.state-search {
    min-width: 180px;
}

    .state-search .form-select {
        height: 38px;
        font-size: 0.9rem;
    }

/* Flex-wrap for small screens */
@media (max-width: 575px) {
    #jobsSection .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .state-search {
        width: 100%;
        margin-top: 10px;
    }
}


/* Job row separator inside job card */
.jobCard .card-body {
    border-bottom: 2px solid #e5e7eb;
    padding-top: 15px;
    padding-bottom: 15px;
}

    /* Remove border from last job */
    .jobCard .card-body:last-child {
        border-bottom: none;
    }

    .jobCard .card-body:hover {
        background-color: #f8f9fb;
    }





.employer-hero {
    background-color: #003366; /* Same as hero & navbar */
    color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .employer-hero:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 60px rgba(13, 110, 253, 0.4);
    }

    .employer-hero h1 {
        font-size: 2.8rem;
    }

    .employer-hero .hero-tagline {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto;
    }

.hero-tagline {
    font-size: 1.15rem;
    max-width: 850px;
    margin: auto;
    color: #d1d5db;
}

.intro-text {
    font-size: 1.05rem;
    color: #374151;
}

/* Value Cards */
.value-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

    .value-card .icon {
        font-size: 2rem;
        display: block;
        margin-bottom: 12px;
    }

    .value-card h6 {
        font-weight: 600;
        margin-bottom: 8px;
    }

/* Pricing */
.pricing-section {
    background: #f9fafb;
    border-radius: 24px;
    padding: 50px 30px;
}

.plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
}

    .plan-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

    .plan-card.featured {
        border: 2px solid #111827;
    }

    .plan-card ul {
        padding-left: 0;
        list-style: none;
    }

    .plan-card li {
        margin-bottom: 8px;
    }

/* Offer */
.launch-offer {
    background-color: #0d6efd; /* Same blue as hero & navbar */
    color: white;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
    display: inline-block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .launch-offer:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(13, 110, 253, 0.35);
    }

    .launch-offer strong {
        text-decoration: underline;
    }

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #f3f4f6, #ffffff);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}


/* Fomrs design */
/* ========== Employer Registration Form Styling ========== */
/* ===== Registration Layout ===== */
.registration-container {
    max-width: 900px;
    margin: auto;
    padding: 6px;
}

.registration-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 35px;
}

.registration-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1e3c72;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

.soft-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
}

.mandatory {
    color: red;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 15px;
}

.registration-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

    .registration-message.success {
        background: #d1fae5;
        color: #065f46;
    }

    .registration-message.error {
        background: #fee2e2;
        color: #991b1b;
    }

/* Mobile */
@media(max-width:768px) {
    .registration-card {
        padding: 20px;
    }

    .registration-title {
        font-size: 22px;
    }
}

/* ================= CANDIDATE REGISTRATION ================= */
/* ================= LAYOUT ================= */

.candidate-registration-container {
    max-width: 850px;
    margin: auto;
    padding: 15px;
}

.candidate-registration-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    padding: 35px;
}

.candidate-registration-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1e3c72;
}

.candidate-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}


/* ================= FORM GRID ================= */

.candidate-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


/* ================= DATE OF BIRTH ================= */

.dob-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 10px;
}


/* ================= MESSAGES ================= */

.candidate-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

    .candidate-message.success {
        background: #d1fae5;
        color: #065f46;
    }

    .candidate-message.error {
        background: #fee2e2;
        color: #991b1b;
    }


/* ================= MOBILE ================= */

@media (max-width:768px) {

    .candidate-registration-card {
        padding: 20px;
    }

    .candidate-registration-title {
        font-size: 22px;
    }

    .candidate-form-row {
        grid-template-columns: 1fr;
    }

    .dob-row {
        grid-template-columns: 1fr;
    }
}

/*End Of Candidate SignUp Form Styling */



/* ========== about Page ========== */
/* ========================================================= */
/* ========== POST VACANCY HERO BUTTONS ==================== */
/* These styles support the two buttons under the blue hero  */
/* Join Now & Post Jobs / Login to Your Account               */
/* ========================================================= */
.employer-hero .hero-buttons {
    margin-top: 1.5rem;
}

    .employer-hero .hero-buttons .btn {
        min-width: 200px;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    /* Primary button (Join Now) already uses .btn-primary */
    /* This improves contrast on blue hero background */
    .employer-hero .hero-buttons .btn-primary {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    /* Outline login button on blue background */
    .employer-hero .hero-buttons .btn-outline-light {
        border-width: 2px;
    }

    /* Hover effects */
    .employer-hero .hero-buttons .btn:hover {
        transform: translateY(-3px);
    }

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 768px) {
    .employer-hero .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

        .employer-hero .hero-buttons .btn {
            width: 100%;
            min-width: auto;
        }
}

/* ========== End of hero buttons ==================== */

/* ========== ABOUT HERO ========== */
.about-hero {
    background-color: #003366 !important; /* deep professional blue */
    color: white;
}

    .about-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .about-hero p.lead {
        font-size: 1.2rem;
    }

/* ========== ABOUT CONTENT ========== */
.about-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #003366;
}

.about-content p {
    font-size: 1rem;
    color: #333;
}

.about-content ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-content img {
    max-height: 300px;
    object-fit: cover;
}

/* ========== CALL TO ACTION ========== */
.about-content .btn-success {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .about-content img {
        max-height: 250px;
        margin-bottom: 20px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p.lead {
        font-size: 1rem;
    }
}
/* ========== End Of about Page ========== */




/* ========== Contact Page ========== */
please merge this style for contact page and remove duplicate and make sure the hero has the color we use
/* ========== CONTACT HERO ========== */
.contact-hero {
    background-color: #003366 !important; /* deep professional blue */
    color: white;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-hero p.lead {
    font-size: 1.1rem;
}

.contact-hero p.arabic {
    direction: rtl;
    font-size: 1rem;
}

/* ========== CONTACT CONTENT ========== */
.contact-content .card {
    border-radius: 12px;
}

.contact-content .card-header {
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-content .card-body p,
.contact-content .card-body a {
    font-size: 1rem;
    color: #333;
}

    .contact-content .card-body a:hover {
        text-decoration: underline;
    }

.contact-content form .form-label {
    font-weight: 500;
}

.contact-content form .btn {
    font-weight: 600;
    font-size: 1rem;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p.lead,
    .contact-hero p.arabic {
        font-size: 0.95rem;
    }
}


/* Rounded inputs and cards for modern look */
.contact-content .card {
    border-radius: 1rem;
}

.contact-content .card-header {
    border-radius: 1rem 1rem 0 0;
}

.contact-content input.form-control,
.contact-content textarea.form-control {
    border-radius: 0.75rem;
}

    .contact-content input.form-control:focus,
    .contact-content textarea.form-control:focus {
        box-shadow: 0 0 10px rgba(0, 51, 102, 0.3);
        border-color: #003366;
    }

/* Button hover effect */
.contact-content .btn-warning:hover {
    background-color: #e6a700;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Make text responsive */
@media (max-width: 768px) {
    .contact-content .card-header {
        font-size: 1.1rem;
    }

    .contact-content h1, .contact-content p {
        font-size: 0.95rem;
    }
}

/* ========== End of Contact Page ========== */





/* ========== Share Job ========== */
/* ===== Job Header (Title + Share Buttons) ===== */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

/* ===== Share Buttons Container ===== */
.job-share {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===== Share Button ===== */
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    /* Optional icon size (if using <i>) */
    .share-btn i {
        font-size: 17px;
    }

    /* ===== Hover Effects ===== */
    .share-btn:hover {
        background: #0d6efd;
        color: #ffffff;
    }

    .share-btn.fb:hover {
        background: #1877f2;
    }

    .share-btn.wa:hover {
        background: #25d366;
    }

/* ===== Copy Feedback ===== */
.share-feedback {
    display: none;
    font-size: 13px;
    color: green;
    margin-left: 5px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {

    .job-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 15px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

        .share-btn i {
            font-size: 14px;
        }

    .job-share {
        justify-content: center;
        gap: 6px;
        margin-bottom: 5px;
    }

    /* ONLY affect Job Details page */
    .job-header .jobTitle,
    .job-header .employerName {
        text-align: center;
    }
}


/* ========== end of  Share Job ========== */

