
/* =======================================================
   HEADER – FIXED FROM TOP
======================================================= */

/* Remove browser default spacing */
body {
    margin: 0;
    padding: 0;
}

/* Make header fixed to very top */
.site-header {
    position: fixed;     /* changed from sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-soft);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

/* Prevent content hiding behind fixed header */
body {
    padding-top: 110px;  /* match header height */
}

/* Header content */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* Logo size */
.logo-image {
    height: 90px;
}

@media (max-width: 992px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -10px);

        width: 90%;              /* 👈 smaller */
        max-width: 500px;        /* 👈 control max size */
        
        background: var(--color-bg-soft);
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);

        max-height: 0;
        overflow: hidden;
        opacity: 0;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            transform 0.3s ease;

        padding: 0;
    }

    .main-nav.active {
        max-height: 600px;
        opacity: 1;
        transform: translate(-50%, 0);
        padding: 1.5rem 0;
    }

    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}



/* Smaller phones */
@media (max-width: 576px) {

    .logo-image {
        height: 70px;
    }

    body {
        padding-top: 90px;
    }
}




/* =======================================================
   HERO – RESPONSIVE ONLY
======================================================= */

/* 1200px */
@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .main-image img {
        height: 450px;
    }
}

/* 992px – Tablet Landscape */
@media (max-width: 992px) {

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
    }

    .main-image img {
        height: 400px;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

/* 768px – Tablet Portrait */
@media (max-width: 768px) {

    .section-hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 2rem;
    }

    .main-image img {
        height: 350px;
    }

    .feature-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}

/* 576px – Large Phones */
@media (max-width: 576px) {

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .main-image img {
        height: 280px;
    }

    .floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        text-align: center;
    }

    .image-stack {
        padding: 0;
    }
}

/* 400px – Small Phones */
@media (max-width: 400px) {

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .trust-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .main-image img {
        height: 240px;
    }
}



/* =======================================================
   ABOUT SECTION – RESPONSIVE ONLY
======================================================= */

/* 1200px – Reduce Bento Complexity */
@media (max-width: 1200px) {

    .about-bento {
        grid-template-columns: 1fr;   /* Stack everything */
        grid-template-rows: auto;
    }

    .story-card {
        grid-row: auto;               /* Remove span */
    }

    .stats-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-circle {
        margin-bottom: 15px;
    }

    .identity-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* 992px – Tablet Landscape */
@media (max-width: 992px) {

    .about-section {
        padding: 80px 0;
    }

    .bento-card {
        padding: 35px;
        border-radius: 30px;
    }

    .expertise-tags {
        grid-template-columns: 1fr;  /* One tag per row */
    }

    .stat-circle {
        min-width: 90px;
        height: 90px;
    }
}


/* 768px – Tablet Portrait */
@media (max-width: 768px) {

    .about-header {
        margin-bottom: 40px;
    }

    .bento-card {
        padding: 30px;
    }

    .expertise-tags span {
        font-size: 0.85rem;
    }

    .stat-circle .number {
        font-size: 1.3rem;
    }

    .stat-text h4 {
        font-size: 1.1rem;
    }

    .stat-text p {
        font-size: 0.85rem;
    }
}


/* 576px – Large Phones */
@media (max-width: 576px) {

    .about-section {
        padding: 70px 0;
    }

    .bento-card {
        padding: 25px;
        border-radius: 25px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .stat-circle {
        min-width: 80px;
        height: 80px;
    }

    .stat-circle .number {
        font-size: 1.2rem;
    }

    .identity-flex i {
        width: 32px;
        height: 32px;
    }
}


/* 400px – Small Phones */
@media (max-width: 400px) {

    .badge-accent {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .bento-card {
        padding: 20px;
    }

    .expertise-tags {
        gap: 10px;
    }

    .expertise-tags span {
        font-size: 0.8rem;
    }

    .stat-text h4 {
        font-size: 1rem;
    }

    .stat-text p {
        font-size: 0.8rem;
    }
}



/* =======================================================
   SERVICES PAGE – RESPONSIVE ONLY
======================================================= */

/* 1200px – Reduce Columns */
@media (max-width: 1200px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}


/* 992px – Tablet Landscape */
@media (max-width: 992px) {

    .services-hero {
        margin-bottom: 2.5rem;
    }

    /* One service per row */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    /* Split & compliance stack */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-split {
        margin: 4rem 0;
    }

    .compliance-section {
        margin: 3rem 0;
    }

    .services-cta-hero {
        padding: 4rem 2rem;
    }

    .services-cta-hero h2 {
        font-size: 2rem;
    }

    .services-cta-hero p {
        font-size: 1.05rem;
    }
}


/* 768px – Tablet Portrait */
@media (max-width: 768px) {

    .service-image-wrapper {
        height: 180px;
    }

    .split-title {
        font-size: 1.75rem;
    }

    .split-lead {
        font-size: 1rem;
    }

    .feature-list-modern li {
        font-size: 1rem;
    }

    .services-cta-hero {
        padding: 3.5rem 1.5rem;
    }

    .services-cta-hero h2 {
        font-size: 1.75rem;
    }
}


/* 576px – Large Phones */
@media (max-width: 576px) {

    .services-hero {
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon-frame {
        width: 56px;
        height: 56px;
    }

    .split-title {
        font-size: 1.5rem;
    }

    .split-lead {
        font-size: 0.95rem;
    }

    .feature-list-modern li {
        align-items: flex-start;
        font-size: 0.95rem;
    }

    .icon-box {
        width: 36px;
        height: 36px;
    }

    .services-cta-hero {
        padding: 3rem 1.25rem;
        border-radius: 20px;
    }

    .services-cta-hero h2 {
        font-size: 1.5rem;
    }

    .services-cta-hero p {
        font-size: 0.95rem;
    }

    .btn-white-pill {
        width: 100%;
        justify-content: center;
    }
}


/* 400px – Small Phones */
@media (max-width: 400px) {

    .service-card {
        padding: 1.25rem;
    }

    .service-icon-frame {
        width: 48px;
        height: 48px;
    }

    .feature-list-modern li {
        font-size: 0.9rem;
    }

    .split-title {
        font-size: 1.3rem;
    }

    .services-cta-hero h2 {
        font-size: 1.3rem;
    }

    .services-cta-hero p {
        font-size: 0.9rem;
    }
}


/* =======================================================
   GALLERY – RESPONSIVE FIXED
======================================================= */

/* 1200px */
@media (max-width: 1200px) {

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.25rem;
    }

    .gallery-stats-bar {
        padding: 2.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}


/* 992px */
@media (max-width: 992px) {

    .gallery-section {
        padding: 4rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-auto-rows: 220px;
    }

    .gallery-overlay {
        padding: 1.5rem;
    }

    .overlay-content h4 {
        font-size: 1.1rem;
    }

    .overlay-content p {
        font-size: 0.85rem;
    }

    .gallery-stats-bar {
        grid-template-columns: repeat(3, 1fr);
        padding: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}


/* 768px – Mobile Layout */
@media (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 1.25rem;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    /* IMPORTANT FIX: keep overlay hidden */
    .gallery-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .overlay-content {
        transform: translateY(20px);
    }

    /* Show only when tapping */
    .gallery-card:active .gallery-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .gallery-card:active .overlay-content {
        transform: translateY(0);
    }

    .gallery-stats-bar {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}


/* 576px */
@media (max-width: 576px) {

    .gallery-section {
        padding: 3.5rem 0;
    }

    .gallery-hero {
        margin-bottom: 2.5rem;
    }

    .gallery-grid {
        grid-auto-rows: 260px;
    }

    .overlay-content h4 {
        font-size: 1rem;
    }

    .overlay-content p {
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}


/* 400px */
@media (max-width: 400px) {

    .gallery-grid {
        grid-auto-rows: 220px;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .category-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .overlay-content h4 {
        font-size: 0.9rem;
    }

    .overlay-content p {
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

/* =======================================================
   RESOURCES SECTION – RESPONSIVE ONLY
======================================================= */

/* 1200px – Slight grid tightening */
@media (max-width: 1200px) {

    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.75rem;
    }

    .resource-group {
        padding: 1.75rem;
    }
}


/* 992px – Tablet Landscape */
@media (max-width: 992px) {

    .resources-section {
        padding: 5rem 0;
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .download-item {
        padding: 0.9rem 1rem;
    }

    .file-name {
        font-size: 0.9rem;
    }

    .file-meta {
        font-size: 0.7rem;
    }
}


/* 768px – Tablet Portrait */
@media (max-width: 768px) {

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-group {
        padding: 1.5rem;
    }

    .group-header h3 {
        font-size: 1.1rem;
    }

    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .download-item i {
        align-self: flex-end;
    }

    .guideline-disclaimer {
        margin-top: 3rem;
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}


/* 576px – Large Phones */
@media (max-width: 576px) {

    .resources-section {
        padding: 4rem 0;
    }

    .resource-group {
        padding: 1.25rem;
    }

    .group-header {
        gap: 0.75rem;
    }

    .group-header i {
        width: 22px;
        height: 22px;
    }

    .file-name {
        font-size: 0.85rem;
    }

    .file-meta {
        font-size: 0.65rem;
    }

    .download-item {
        padding: 0.8rem 0.9rem;
    }
}


/* 400px – Small Phones */
@media (max-width: 400px) {

    .group-header h3 {
        font-size: 1rem;
    }

    .download-item {
        padding: 0.75rem;
    }

    .file-name {
        font-size: 0.8rem;
    }

    .file-meta {
        font-size: 0.6rem;
    }

    .guideline-disclaimer {
        font-size: 0.75rem;
    }
}


/* =======================================================
   NEWS SECTION – RESPONSIVE ONLY
======================================================= */

/* 1200px */
@media (max-width: 1200px) {

    .news-main-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 2rem;
    }

    .news-content {
        padding: 2rem;
    }

    .news-content h3 {
        font-size: 1.6rem;
    }
}


/* 992px – Tablet Landscape */
@media (max-width: 992px) {

    .news-section {
        padding: 5rem 0;
    }

    .news-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .news-image-wrapper {
        height: 300px;
    }

    .news-content h3 {
        font-size: 1.5rem;
    }

    .news-sidebar {
        gap: 1.25rem;
    }

    .news-card-mini {
        grid-template-columns: 90px 1fr;
    }

    .mini-image {
        height: 90px;
    }
}


/* 768px – Tablet Portrait */
@media (max-width: 768px) {

    .news-hero {
        margin-bottom: 3rem;
    }

    .news-image-wrapper {
        height: 260px;
    }

    .news-content {
        padding: 1.75rem;
    }

    .news-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .news-content h3 {
        font-size: 1.3rem;
    }

    .news-card-mini {
        grid-template-columns: 80px 1fr;
        padding: 0.9rem;
    }

    .mini-image {
        height: 80px;
    }

    .mini-content h4 {
        font-size: 0.95rem;
    }
}


/* 576px – Large Phones */
@media (max-width: 576px) {

    .news-section {
        padding: 4rem 0;
    }

    .news-image-wrapper {
        height: 220px;
    }

    .news-badge {
        top: 1rem;
        left: 1rem;
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-link {
        font-size: 0.9rem;
    }

    .news-card-mini {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
    }

    .mini-image {
        height: 70px;
    }

    .news-mini-form {
        flex-direction: column;
    }

    .news-mini-form input {
        width: 100%;
    }

    .btn-icon {
        width: 100%;
        padding: 10px;
    }
}


/* 400px – Small Phones */
@media (max-width: 400px) {

    .news-image-wrapper {
        height: 200px;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .mini-content h4 {
        font-size: 0.85rem;
    }

    .news-meta {
        font-size: 0.75rem;
    }

    .news-cta-box {
        padding: 1.5rem;
    }

    .news-cta-box p {
        font-size: 0.8rem;
    }
}


/* ========================================== */
/* RESPONSIVE: SUPPORT HUB – MOBILE & TABLET  */
/* ========================================== */

@media (max-width: 991px) {
    .support-section {
        padding: 4rem 1.5rem;
        margin: 1rem;
        border-radius: 30px;
    }

    .support-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* ---------- Section container ---------- */
    .support-section {
        padding: 3rem 1rem;
        margin: 0.5rem;
        border-radius: 20px;
    }

    .support-grid {
        gap: 2.5rem;
    }

    /* ---------- Typography ---------- */
    .section-badge {
        padding: 6px 16px;
        font-size: 0.7rem;
        margin-bottom: 1.25rem;
    }

    .support-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .support-title span {
        display: inline; /* remove block on mobile to save space */
    }

    .support-text {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    /* ---------- FAQ ---------- */
    .faq-trigger {
        padding: 1.25rem;
    }

    .faq-q-text {
        font-size: 1rem;
        line-height: 1.4;
        padding-right: 1rem; /* space for icon */
    }

    .trigger-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .faq-content-inner {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }

    /* ---------- Contact glass card ---------- */
    .contact-glass-card {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }

    .card-header h3 {
        font-size: 1.75rem;
    }

    .card-header p {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    /* ---------- Form – stack name & email ---------- */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .form-group label i {
        width: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 16px; /* prevents zoom on iOS */
        border-radius: 12px;
    }

    /* ---------- Submit button ---------- */
    .btn-submit {
        padding: 16px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .btn-submit i {
        width: 18px;
    }

    /* ---------- Contact footer – stack vertically ---------- */
    .contact-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-item {
        font-size: 0.9rem;
        width: 100%;
    }

    .footer-item i {
        width: 18px;
    }

    /* ---------- Hover effects disabled for touch ---------- */
    .btn-submit:hover {
        transform: none;
    }

    .faq-item.active {
        background: rgba(255,255,255,0.1); /* keep active state */
    }
}

/* ---------- Extra small devices (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .support-section {
        padding: 2.5rem 0.75rem;
        margin: 0.25rem;
    }

    .support-title {
        font-size: 2rem;
    }

    .contact-glass-card {
        padding: 1.75rem 1.25rem;
    }

    .card-header h3 {
        font-size: 1.5rem;
    }

    .faq-trigger {
        padding: 1rem;
    }

    .faq-q-text {
        font-size: 0.95rem;
    }

    .trigger-icon {
        width: 24px;
        height: 24px;
    }
}

/* ---------- Landscape orientation ---------- */
@media (max-width: 768px) and (orientation: landscape) {
    .support-section {
        padding: 2rem 1rem;
    }

    .support-grid {
        gap: 2rem;
    }

    .contact-glass-card {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr !important; /* two columns in landscape */
        gap: 1rem;
    }
}






/* =========================================== */
/* RESPONSIVE STYLES FOR BOTH FORMS – MOBILE   */
/* =========================================== */

@media (max-width: 768px) {
    /* ---------- General Layout ---------- */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .recruitment-section,
    .request-section {
        padding: 40px 0;
    }

    /* ---------- Typography ---------- */
    .recruitment-header h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .request-title {
        font-size: 2.2rem;
    }

    .card-title h3,
    .section-title-wrapper h3 {
        font-size: 1.25rem;
    }

    /* ---------- Form Cards ---------- */
    .form-card,
    .form-section-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    /* ---------- GRID OVERRIDES – ALL STACK ---------- */
    .form-grid {
        display: block !important; /* fallback */
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Force every column span to full width */
    .col-1, .col-2, .col-3, .col-full,
    .col-span-1, .col-span-2, .col-span-3, .col-span-5 {
        grid-column: 1 / -1 !important;
    }

    /* Nested grids inside address etc. */
    .grid-3 {
        display: block !important;
    }

    .grid-3 > * {
        margin-bottom: 15px;
    }

    .grid-3 > *:last-child {
        margin-bottom: 0;
    }

    .form-grid-mini {
        display: block !important;
    }

    .form-grid-mini > * {
        margin-bottom: 15px;
    }

    .form-grid-mini > *:last-child {
        margin-bottom: 0;
    }

    /* ---------- Form Elements ---------- */
    input, select, textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    /* ---------- Selection Cards (Driver's Licence) ---------- */
    .selection-box-group {
        flex-direction: column;
        gap: 12px;
    }

    .card-content {
        padding: 14px;
        font-size: 1rem;
    }

    /* ---------- Funding Grid ---------- */
    .funding-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-content {
        padding: 16px;
    }

    /* ---------- File Upload ---------- */
    .upload-zone {
        padding: 25px 15px;
    }

    .upload-zone p {
        font-size: 0.9rem;
    }

    .upload-zone i {
        width: 32px;
        height: 32px;
    }

    /* ---------- Buttons ---------- */
    .btn-submit-career,
    .btn-submit-modern,
    .btn-primary-form {
        padding: 18px 20px;
        font-size: 1.1rem;
        border-radius: 14px;
    }

    /* ---------- Consent & Checkbox ---------- */
    .consent-container,
    .consent-wrapper {
        padding: 18px;
        margin: 20px 0;
    }

    .modern-checkbox {
        align-items: flex-start;
    }

    .checkbox-box {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .consent-checkbox {
        align-items: flex-start;
    }

    .consent-checkbox input {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }

    .checkbox-text,
    .consent-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* ---------- Step Number ---------- */
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .section-title-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }

    .title-meta p {
        font-size: 0.8rem;
    }

    /* ---------- Additional spacing ---------- */
    .mb-4 {
        margin-bottom: 1.2rem;
    }

    .mt-1 {
        margin-top: 0.75rem;
    }

    /* Fix double submit buttons if any */
    .form-card.highlight + .form-card.highlight {
        margin-top: -10px;
    }

    /* Adjust hover states for touch */
    .selection-card:hover .card-content,
    .funding-option:hover .option-content,
    .btn-submit-career:hover,
    .btn-submit-modern:hover {
        transform: none;
        box-shadow: none;
    }

    /* ---------- Fix any leftover inline spacing ---------- */
    .form-group {
        margin-bottom: 0; /* rely on grid gap */
    }

    /* Ensure address fields stack cleanly */
    [name="city"],
    [name="state"],
    [name="postcode"] {
        margin-bottom: 12px;
    }

    [name="postcode"] {
        margin-bottom: 0;
    }
}

/* ---------- Extra small devices (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .recruitment-header h1 {
        font-size: 2rem;
    }

    .request-title {
        font-size: 1.8rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .form-card,
    .form-section-card {
        padding: 20px 16px;
    }

    .card-title {
        gap: 10px;
        margin-bottom: 20px;
    }

    .card-title i {
        width: 22px;
        height: 22px;
    }

    input, select, textarea {
        padding: 12px 14px;
    }

    .btn-submit-career,
    .btn-submit-modern,
    .btn-primary-form {
        padding: 16px;
        font-size: 1rem;
    }

    .upload-zone {
        padding: 20px 10px;
    }

    .upload-zone i {
        width: 28px;
        height: 28px;
    }
}

/* ---------- Landscape mode adjustments ---------- */
@media (max-width: 768px) and (orientation: landscape) {
    .recruitment-section,
    .request-section {
        padding: 30px 0;
    }

    .form-card,
    .form-section-card {
        padding: 20px;
    }

    .form-grid {
        gap: 15px;
    }
}


/* Media Queries for Responsiveness */

/* Tablet and Small Desktop */
@media (max-width: 992px) {
    .site-footer {
        padding: 2rem 1.5rem 1rem; /* Add side padding for breathing room */
    }
}

/* Mobile Devices */
@media (max-width: 600px) {
    .footer-content {
        /* Forces columns to stack instead of trying to fit side-by-side */
        grid-template-columns: 1fr; 
        gap: 2rem;
        text-align: center; /* Centering often looks more "premium" on mobile */
    }

    .footer-brand {
        max-width: 100%; /* Let the brand section take full width */
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center; /* Center the logo and text */
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Center the decorative underline */
    }

    .footer-list a:hover {
        transform: translateX(0); /* Disable the slide-right hover effect on mobile */
        color: var(--color-primary);
    }

    .footer-copyright {
        font-size: 0.8rem; /* Slightly smaller but still readable */
    }
}