:root {
    --navy-blue: #064271;
    --orange: #F36F21;
    --text-color: #333;
    --light-grey: #f4f4f4;
    --font-family: "trebuchet ms", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #F8F9FA;
    padding-top: 130px; /* Accounts for fixed header */
}

/* Header Base */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Top Bar */
.top-bar {
    background-color: var(--navy-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    font-size: 0.85rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contact-item i {
    font-size: 1rem;
}

.divider {
    width: 1px;
    height: 15px;
    background-color: rgba(255,255,255,0.3);
}

.slogan {
    font-weight: 500;
}

.highlight {
    color: var(--orange);
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--orange);
}

/* Main Header */
.main-header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.logo img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 0 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 18px;
    background-color: rgba(13, 36, 100, 0.25);
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-blue);
    font-family: Impact, "Arial Black", sans-serif;
    font-weight: normal;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--orange);
}

.nav-link.active {
    color: var(--navy-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--orange);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search-box {
    display: flex;
    align-items: center;
    background-color: #F0F2F5;
    border-radius: 6px;
    height: 45px;
    padding: 0 15px;
    border: 1px solid transparent;
    transition: border-color 0.3s, background-color 0.3s;
}

.header-search-box:focus-within {
    background-color: white;
    border-color: var(--orange);
}

.header-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-color);
    width: 120px;
    transition: width 0.3s ease;
    font-family: var(--font-family);
}

.header-search-input:focus {
    width: 180px;
}

.header-search-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
    padding-left: 0;
    outline: none;
}

.header-search-box:focus-within .header-search-btn {
    color: var(--orange);
}

.header-search-btn:hover {
    color: var(--navy-blue);
}

.btn-get-started {
    background-color: var(--navy-blue);
    color: white;
    height: 45px;
    padding: 0 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-get-started:hover {
    background-color: white;
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-get-started .highlight-icon {
    color: var(--orange);
    font-size: 1.2rem;
}

.btn-search {
    background-color: var(--navy-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.btn-search:hover {
    background-color: var(--dark-blue);
}

/* App Content */
#app-content {
    min-height: calc(100vh - 130px);
    display: block;
}

.page-title {
    font-size: 4rem;
    color: var(--navy-blue);
    font-weight: 800;
    text-align: center;
    padding-top: 100px;
}
.page-title span {
    color: var(--orange);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    display: flex;
    justify-content: flex-start; /* Changed from center to align left */
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 65, 112, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left; /* Changed from center */
    color: white;
    max-width: 1200px; /* Let it stretch out beautifully */
    padding: 0 5%; /* Align with header padding */
    width: 100%;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start; /* Changed from center */
    gap: 20px;
}

.btn-primary {
    background-color: var(--orange);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #d95e1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    text-decoration: none;
    padding: 13px 35px;
    border-radius: 5px;
    border: 2px solid white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--navy-blue);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0 15px;
    }
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .main-header {
        padding: 10px 2%;
    }
    .logo .title {
        font-size: 1.5rem;
    }
    .top-bar-left, .top-bar-right {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }
    .main-header {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 20px;
    }
    .nav-container {
        justify-content: center;
    }
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    body {
        padding-top: 100px; /* Reduced to fix hero gap */
    }
}

/* Job Offers Hero */
.job-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('job_offers_bg.png') no-repeat center center/cover;
}

.job-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 65, 112, 0.7); /* dark blue overlay */
    z-index: 1;
}

.job-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.job-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.job-hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.job-search-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
}

.job-search-box .search-icon {
    color: var(--navy-blue);
    font-size: 1.5rem;
    padding: 0 20px;
}

.job-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    color: var(--text-color);
    background: transparent;
    font-family: var(--font-family);
    padding: 10px 0;
}

.job-search-input::placeholder {
    color: #999;
}

.job-search-btn {
    background-color: var(--orange);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.job-search-btn:hover {
    background-color: #d95e1c;
    transform: scale(1.02);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin: 60px 0 40px;
    font-weight: 800;
}

/* Opportunities Header Professional Upgrade */
.opportunities-header {
    text-align: center;
    margin: 60px 0 40px;
}

.opportunities-header .sub-heading {
    display: block;
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.opportunities-header .section-title {
    margin: 0;
}

/* Job Grid */
.job-listings-section {
    padding-bottom: 80px;
    background-color: #F8F9FA;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.job-image-container {
    position: relative;
    height: 220px;
    width: 100%;
}

.job-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-flag {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background: white;
}

.job-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.job-title {
    font-size: 1.2rem; /* Reduced from 1.4rem for a more professional, clean look */
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.job-location {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-location i {
    color: var(--orange);
}

.job-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
    align-self: flex-start;
}

.btn-see-more:hover {
    color: var(--dark-blue);
}

.btn-see-more i {
    transition: transform 0.3s;
}

.btn-see-more:hover i {
    transform: translateX(5px);
}

/* Job Offers Details Page */
.bg-light-blue {
    background-color: #f0f4f8; /* Soft light blue background like the image */
}

.detailed-job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.detailed-job-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.detailed-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.detailed-info-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.text-yellow { color: #d4af37; }
.text-green { color: #00c853; font-weight: 700; }
.text-gray { color: #9aa0a6; }
.text-dark { color: #444; font-weight: 500; }

.info-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
}

.detailed-divider {
    border-top: 1px dashed #e0e0e0;
    margin: 0 0 25px 0;
}

.detailed-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.detailed-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.detailed-list li {
    position: relative;
    padding-left: 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.detailed-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #888;
    font-size: 1.2rem;
    line-height: 1;
    top: -1px;
}

.list-label {
    color: #555;
}

.btn-apply-blue {
    background-color: var(--navy-blue);
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: auto;
}

.btn-apply-blue:hover {
    background-color: var(--orange);
    transform: translateY(-2px);
}

/* About Us Page */
.about-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 65, 112, 0.85); /* Navy blue overlay */
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.about-hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.about-section {
    padding: 100px 5%;
    background-color: white;
}

.who-we-are-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-text h2 {
    font-size: 2.8rem;
    color: var(--navy-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.who-text .highlight {
    color: var(--orange);
}

.who-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.who-image {
    position: relative;
}

.who-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-vision-section {
    background-color: var(--navy-blue);
    padding: 100px 5%;
    color: white;
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-card {
    background: rgba(255,255,255,0.05);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, background 0.3s;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.mv-card i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 25px;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-title {
    text-align: left;
    font-size: 2.8rem;
    color: var(--navy-blue);
    margin-bottom: 70px;
    font-weight: 800;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: left;
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform 0.5s ease;
}

.team-member:hover .team-img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    left: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.team-social a {
    width: 38px;
    height: 38px;
    background: white;
    color: var(--navy-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--orange);
    color: white;
}

.team-info {
    padding: 30px;
}

.team-name {
    font-size: 1.4rem;
    color: var(--navy-blue);
    font-weight: 800;
    margin-bottom: 5px;
}

.team-role {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.team-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Us Page */
.contact-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1596524430615-b46475ddff6e?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
}

.contact-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 65, 112, 0.85);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-bottom: 40px; /* Offset to balance the overlapping form */
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

.contact-main-section {
    padding: 0 5% 100px;
    background-color: #F8F9FA;
}

.contact-container {
    max-width: 1200px;
    margin: -100px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-info-wrapper {
    background: var(--navy-blue);
    color: white;
    padding: 60px 40px;
}

.contact-info-wrapper h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-block i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-top: 5px;
}

.info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-block span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-socials {
    margin-top: 50px;
    display: flex;
    gap: 15px;
}

.contact-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-socials a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    padding: 60px 50px;
}

.contact-form-wrapper h3 {
    font-size: 2.2rem;
    color: var(--navy-blue);
    font-weight: 800;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(243, 111, 33, 0.1);
}

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

.btn-submit {
    background: var(--orange);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: inline-block;
    width: max-content;
}

.btn-submit:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(9, 65, 112, 0.2);
}

/* Blog Page */
.blog-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
}

.blog-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 36, 100, 0.85);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.blog-main-section {
    padding: 80px 5%;
    background-color: #f4f7f6;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlapping Date Ribbon Badge */
.blog-date-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--orange);
    color: white;
    width: 65px;
    text-align: center;
    padding: 12px 0;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.blog-date-badge::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #c75615 transparent transparent transparent; /* Darker orange fold shadow */
}

.blog-date-day {
    font-size: 1.8rem;
    line-height: 1;
    display: block;
    font-weight: 800;
}

.blog-date-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 3px;
    display: block;
}

.blog-content {
    padding: 30px;
    background: white;
}

.blog-category {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.blog-title {
    color: var(--navy-blue);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Homepage Sections */
.home-section {
    padding: 40px 5%;
    background-color: white;
}

.home-section.bg-light {
    background-color: #f4f7f6;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 auto 30px auto;
    max-width: 1200px;
}

.header-content {
    text-align: left;
}

.section-title {
    color: var(--navy-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.btn-see-more-wrapper {
    /* No longer needed at the bottom, but keeping for safety if used elsewhere */
    text-align: center;
    margin-top: 30px;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 30px;
    border: 2px solid var(--navy-blue);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: var(--navy-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 36, 100, 0.15);
}

/* Testimonial Carousel */
.testimonials-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--navy-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}
.testimonials-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 30px;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.testimonials-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    flex: 0 0 auto;
    position: relative;
    border-top: 4px solid var(--orange);
}

.quote-icon {
    color: var(--orange);
    font-size: 2.5rem;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--navy-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--navy-blue);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.author-info p {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================= */
/* MOBILE MENU (Off-Canvas) STYLES                           */
/* ========================================================= */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--navy-blue);
    cursor: pointer;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-header {
    display: none;
}

.sidebar-footer {
    display: none;
}

.nav-icon {
    display: none !important; /* Strictly hidden on desktop to prevent FontAwesome overrides */
}

@media (max-width: 991px) {
    /* Ensure header stays single line with logo on left, toggle on right */
    .main-header {
        padding: 15px 20px;
        flex-wrap: nowrap;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100%;
        height: auto !important;
    }

    .logo {
        padding-right: 0;
    }

    .logo img {
        max-height: 80px !important; /* Base size */
        transform: scale(1.35); /* Visually scales up by 35% without expanding header */
        transform-origin: left center;
    }

    /* Hide top bar entirely on mobile */
    .top-bar {
        display: none;
    }

    /* Show hamburger icon */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide the Get Started button and search box on mobile to make room for logo/hamburger */
    .header-actions {
        display: none;
    }

    /* Side Menu Container */
    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        width: 300px;
        max-width: 80%;
        height: 100vh;
        background-color: white;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
    }

    /* Active state to slide in */
    .nav-container.active {
        transform: translateX(0);
    }

    /* Overlay active state */
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    /* Sidebar Header (Logo + Close btn) */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid #eee;
    }

    .sidebar-logo {
        height: 60px;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #666;
        cursor: pointer;
    }

    /* Sidebar Navigation Links */
    .nav-links {
        flex-direction: column;
        padding: 10px 0;
        margin: 0;
        gap: 0 !important; /* Forces removal of the large desktop gap */
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-container.active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-container.active .nav-links li:nth-child(1) { transition-delay: 0.10s; }
    .nav-container.active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-container.active .nav-links li:nth-child(3) { transition-delay: 0.20s; }
    .nav-container.active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-container.active .nav-links li:nth-child(5) { transition-delay: 0.30s; }

    /* Remove the vertical separator line from desktop */
    .nav-links li:not(:last-child)::after {
        display: none;
    }

    /* Remove the orange bottom border from desktop */
    .nav-link.active::after {
        display: none;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 15px !important;
        padding: 14px 25px; /* Perfect balance between height and space */
        font-size: 1.1rem;
        border-radius: 0;
        border-left: 4px solid transparent;
        font-weight: 600;
        width: 100%; /* Ensures background strictly spans full width */
        box-sizing: border-box;
    }

    .nav-link:hover, .nav-link.active {
        background-color: #f4f7f6;
        color: var(--navy-blue);
        border-left-color: var(--navy-blue); /* Matches the screenshot you provided */
    }

    .nav-link:hover .nav-icon, .nav-link.active .nav-icon {
        color: var(--navy-blue) !important;
    }

    .nav-icon {
        display: flex !important; /* Overrides the desktop 'display: none !important' so they show on mobile */
        align-items: center;
        justify-content: center;
        width: 24px;
        color: var(--orange);
        font-size: 1.2rem;
        margin: 0 !important; 
    }

    /* Sidebar Footer (Contact Info & Socials) */
    .sidebar-footer {
        display: block;
        margin-top: auto; /* Pushes it to the bottom if there's room */
        padding: 25px;
        background-color: #f9f9f9;
        border-top: 1px solid #eee;
    }

    .sidebar-contact .contact-item {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        color: #555;
        font-size: 0.95rem;
    }

    .sidebar-contact .contact-item i {
        color: var(--navy-blue);
        font-size: 1.1rem;
    }

    .sidebar-socials {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }

    .sidebar-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-color: var(--navy-blue);
        color: white;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .sidebar-socials a:hover {
        background-color: var(--gold);
    }
}

@media (max-width: 768px) {
    /* Home Hero Professional Adjustments */
    .hero-content {
        text-align: left !important;
        padding: 0 20px !important;
    }

    .hero-title {
        font-size: 2.2rem !important; /* Reduced from 3.8rem */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .hero-description {
        font-size: 1.05rem !important; /* Reduced from 1.3rem */
        margin-bottom: 25px !important;
        text-align: left !important;
    }

    .hero-buttons {
        justify-content: flex-start !important; /* Align left */
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 22px !important; /* Reduced button padding */
        font-size: 0.95rem !important; /* Reduced button text size */
    }

    /* Mobile Section Header Layout */
    .section-header {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        row-gap: 8px !important;
        align-items: center !important;
        margin-bottom: 25px !important;
    }

    .header-content {
        display: contents !important; /* Extracts title and subtitle to be direct grid items */
    }

    .section-title {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        font-size: 1.6rem !important; /* Reduced size */
        margin: 0 !important;
        text-align: left !important;
        line-height: 1.2 !important;
    }

    .header-action {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        text-align: right !important;
    }

    .section-subtitle {
        grid-column: 1 / 3 !important;
        grid-row: 2 / 3 !important;
        font-size: 0.95rem !important;
        text-align: left !important;
        margin: 0 !important;
        line-height: 1.5 !important;
    }

    .btn-see-more {
        padding: 6px 14px !important; /* Reduced size */
        font-size: 0.85rem !important;
        gap: 6px !important;
        border-width: 1.5px !important;
        border-radius: 4px !important;
    }

    /* Testimonials Mobile Enhancements */
    .slider-btn {
        display: none !important; /* Hide arrows on mobile, rely on swipe */
    }

    .testimonials-container {
        gap: 20px !important;
        padding-bottom: 20px !important;
        padding-left: 20px !important; /* Padding for first card */
        padding-right: 20px !important;
        scroll-padding-left: 20px !important;
        margin-left: -5%; /* Break out of section padding */
        margin-right: -5%;
    }

    .testimonial-card {
        min-width: 85vw !important; /* Card takes up 85% of screen width */
        padding: 30px 25px !important;
        scroll-snap-align: center !important; /* Snap to center instead of start */
    }

    /* Job Offers Hero Mobile Enhancements */
    .job-hero {
        min-height: 300px !important;
        height: auto !important;
        padding: 60px 0 !important;
    }
    
    .job-hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .job-hero-description {
        font-size: 1.05rem !important;
        margin-bottom: 25px !important;
    }
    
    .job-search-box {
        padding: 6px !important; /* Make search box more compact */
        border-radius: 40px !important;
    }
    
    .job-search-input {
        font-size: 1rem !important;
    }
    
    .job-search-btn {
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .job-search-btn .btn-text {
        display: none !important;
    }
    
    .job-search-btn .btn-icon {
        display: block !important;
        font-size: 1.2rem !important;
    }

    /* Footer Mobile Enhancements */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: left !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .footer-brand p {
        margin: 0 0 20px 0 !important;
    }

    .footer-logo {
        margin: 0 0 20px 0 !important;
        display: block !important;
    }
    
    .footer-socials {
        justify-content: flex-start !important;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 0 !important;
        transform: none !important;
    }
    
    .footer-contact p {
        justify-content: flex-start !important;
    }
    
    .floating-whatsapp {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 1.8rem !important;
    }

    /* About Us Mobile Enhancements */
    .about-hero {
        height: auto !important;
        padding: 70px 20px 40px 20px !important;
    }
    
    .about-hero-content {
        text-align: left !important;
    }

    .about-hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .about-hero-subtitle {
        font-size: 1rem !important;
        margin: 0 !important;
    }

    .about-section {
        padding: 50px 5% !important;
    }

    .who-we-are-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .who-text h2 {
        font-size: 2rem !important;
    }

    .mv-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .mv-card {
        padding: 30px !important;
    }
    
    .team-container {
        padding: 0 5% !important;
    }
    
    .team-title {
        font-size: 2rem !important;
    }

    /* Blog & Contact Mobile Enhancements */
    .blog-hero {
        height: auto !important;
        padding: 70px 20px 40px 20px !important;
    }

    .blog-hero-content h1 {
        font-size: 2.2rem !important;
        text-align: left !important;
    }

    .blog-hero-content p {
        font-size: 1rem !important;
        text-align: left !important;
    }

    .blog-main-section {
        padding: 50px 0 !important; /* Forces edge-to-edge layout */
        background-color: white !important;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .blog-card {
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 8px solid #f4f7f6 !important;
        padding-bottom: 20px !important;
    }

    .blog-img-wrapper {
        border-radius: 0 !important;
    }
    
    .blog-content {
        padding: 20px !important;
    }

    .contact-hero {
        height: auto !important;
        padding: 70px 20px 40px 20px !important;
    }

    .contact-hero-content {
        text-align: left !important;
    }

    .contact-hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px !important;
    }

    .contact-hero-subtitle {
        font-size: 1rem !important;
        margin: 0 !important;
    }

    .contact-main-section {
        padding: 0 0 50px 0 !important;
    }

    .contact-container {
        grid-template-columns: 1fr !important;
        margin: -30px 15px 0 15px !important;
        border-radius: 12px !important;
    }

    .contact-info-wrapper, .contact-form-wrapper {
        padding: 30px 20px !important;
    }

    /* Edge-to-Edge Global Cards on Mobile */
    .jobs-section, .about-section, .mission-vision-section, .testimonials-section, .blog-main-section, .team-container, .contact-main-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .job-grid, .mv-container, .team-grid, .testimonials-slider, .blog-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0 !important;
    }
    
    .job-card, .mv-card, .team-member, .testimonial-card, .blog-card {
        border-radius: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border-bottom: 8px solid #f4f7f6 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Contact edge to edge */
    .contact-container {
        margin: -30px 0 0 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 8px solid #f4f7f6 !important;
    }
    
    /* Ensure internal text is padded */
    .section-header, .who-text, .team-title, .job-filters, .job-content, .mv-card, .team-info, .testimonial-card, .blog-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .who-image img, .blog-img-wrapper img, .team-img-wrapper img, .team-img {
        border-radius: 0 !important;
    }
}

/* ========================================================= */
/* FOOTER & WHATSAPP STYLES                                  */
/* ========================================================= */

.site-footer {
    background-color: var(--navy-blue);
    color: #fff;
    padding: 70px 0 0 0;
    /* Inherits the page's default text style */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--orange);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-contact p {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact p i {
    color: var(--orange);
    font-size: 1.1rem;
}

.footer-bottom {
    background-color: #081742; 
    text-align: center;
    padding: 20px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* ========================================================= */
/* APPLY FORM STYLES                                         */
/* ========================================================= */

.apply-hero {
    position: relative;
    height: 350px;
    background-image: url('job-offers-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.apply-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(6, 66, 113, 0.85), rgba(6, 66, 113, 0.95));
}

.apply-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}

.apply-hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.apply-hero-title .highlight {
    color: var(--orange);
}

.apply-hero-subtitle {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.apply-form-section {
    padding: 60px 0;
    background-color: #f4f7f6;
}

.apply-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-card-header {
    background-color: white;
    padding: 30px 40px 15px;
    border-bottom: 1px solid #eee;
}

.form-card-header h2 {
    color: var(--navy-blue);
    margin: 0;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.application-form {
    padding: 30px 40px 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #fafafa;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--navy-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(6, 66, 113, 0.1);
    outline: none;
}

.form-group input[readonly] {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
}

.custom-input.hidden {
    display: none;
}

.custom-input {
    margin-top: 10px;
}

.btn-submit-apply {
    background-color: var(--navy-blue);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    align-self: flex-start;
}

.btn-submit-apply:hover {
    background-color: #042a49;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 66, 113, 0.3);
}

@media (max-width: 768px) {
    .apply-hero {
        height: 250px;
    }
    
    .apply-hero-title {
        font-size: 2.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-card-header {
        padding: 25px 20px 15px;
    }
    
    .application-form {
        padding: 20px 20px 30px;
    }
    
    .btn-submit-apply {
        width: 100%;
        text-align: center;
    }
}
