/*
Theme Name: Trabaho
Theme URI: https://trabaho.us
Author: Trabaho
Author URI: https://trabaho.us
Description: Custom recruiting theme for Trabaho — connecting Filipino and Latin American talent with US companies.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trabaho
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2BB5B2;
    --color-secondary: #1B3A5C;
    --color-accent: #5ED4D0;
    --color-bg: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E0E0E0;
    --color-bg-light: #F7FAFA;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.site-logo .logo-text span {
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--color-secondary) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-secondary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.section-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #244B73 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(43, 181, 178, 0.1);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-video {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-video .video-placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.hero-video .video-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 181, 178, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--color-secondary);
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== MISSION SECTION ===== */
.section-mission {
    background: var(--color-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-visual {
    text-align: center;
}

.mission-visual .globe-icon {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #fff;
    box-shadow: 0 15px 40px rgba(43, 181, 178, 0.3);
}

.mission-text h2 {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-text .mission-statement {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.mission-text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== EXPECTATIONS SECTION ===== */
.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.expectation-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.expectation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.expectation-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
}

.expectation-card h3 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.expectation-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ===== WHY US SECTION ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-us-card {
    text-align: center;
    padding: 30px;
}

.why-us-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(43, 181, 178, 0.25);
}

.why-us-card h3 {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.why-us-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== POSITIONS SECTION ===== */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.position-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.position-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.position-card h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.position-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.position-card .btn {
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===== POSITIONS LIST (Homepage) ===== */
.positions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.position-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s, padding-left 0.2s;
}

.position-list-item:first-child {
    border-top: 1px solid var(--color-border);
}

.position-list-item:hover {
    background: rgba(43, 181, 178, 0.05);
    padding-left: 26px;
}

.position-list-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.position-list-info {
    flex: 1;
}

.position-list-info h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-secondary);
}

.position-list-info p {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.position-list-arrow {
    font-size: 1.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.position-list-item:hover .position-list-arrow {
    transform: translateX(4px);
}

/* ===== APPLY SECTION ===== */
.apply-list {
    max-width: 800px;
    margin: 0 auto;
}

.apply-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.apply-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 25px rgba(43, 181, 178, 0.15);
}

.apply-item h3 {
    font-size: 1.15rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.apply-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.apply-item .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 20px;
}

/* ===== CHECKBOX GRID (Sub-roles) ===== */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.checkbox-item:hover {
    border-color: var(--color-primary);
    background: rgba(43, 181, 178, 0.03);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0;
}

.checkbox-item.checked {
    border-color: var(--color-primary);
    background: rgba(43, 181, 178, 0.08);
}

@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-about .logo-text span {
    color: var(--color-primary);
}

.footer-about p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-domains h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-domains ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-domains a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-domains a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
}

/* ===== APPLICATION FORM PAGE ===== */
.application-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.application-header {
    text-align: center;
    margin-bottom: 50px;
}

.application-header h1 {
    font-size: 2.4rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.application-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.application-form {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-bg-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 181, 178, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .help-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-bg-light);
}

.file-upload:hover {
    border-color: var(--color-primary);
    background: rgba(43, 181, 178, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .upload-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.file-upload .upload-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.file-upload .upload-text strong {
    color: var(--color-primary);
}

.file-upload .file-name {
    margin-top: 10px;
    font-weight: 600;
    color: var(--color-secondary);
}

/* Video Recorder */
.video-recorder {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-recorder .recorder-instructions {
    background: var(--color-bg-light);
    padding: 20px;
    text-align: center;
    color: var(--color-text);
}

.video-recorder .recorder-instructions p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-recorder .recorder-instructions strong {
    color: var(--color-primary);
}

.video-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview .countdown {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    display: none;
}

.video-preview .countdown.active {
    display: block;
}

.recorder-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: var(--color-bg-light);
}

.recorder-controls button {
    padding: 10px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-record {
    background: #e74c3c;
    color: #fff;
}

.btn-record:hover {
    background: #c0392b;
}

.btn-record.recording {
    animation: pulse-record 1.5s infinite;
}

@keyframes pulse-record {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(231, 76, 60, 0); }
}

.btn-stop {
    background: var(--color-secondary);
    color: #fff;
}

.btn-stop:hover {
    background: #152e49;
}

.btn-rerecord {
    background: var(--color-text-light);
    color: #fff;
}

.btn-rerecord:hover {
    background: var(--color-text);
}

.video-fallback {
    display: none;
    padding: 20px;
    text-align: center;
    background: var(--color-bg-light);
}

.video-fallback p {
    margin-bottom: 15px;
    color: var(--color-text-light);
}

/* Video Options — Record + Upload side-by-side */
.video-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.video-option-card {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    background: var(--color-bg-light);
}

.video-option-card h4 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: var(--color-secondary);
    text-align: center;
}

.video-upload-option {
    display: block;
    text-align: center;
}

.video-upload-option .file-upload {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .video-options {
        grid-template-columns: 1fr;
    }
}

/* Form Submit */
.form-submit {
    text-align: center;
    padding-top: 20px;
}

.form-submit .btn {
    min-width: 250px;
    padding: 16px 40px;
    font-size: 1.1rem;
}

.form-message {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== MOBILE-FIRST OPTIMIZATIONS ===== */

/* Prevent iOS zoom on form focus (inputs must be 16px+) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    font-size: 16px !important;
}

/* Better touch targets — minimum 44px for all interactive elements */
.btn,
.nav-toggle,
.recorder-controls button,
.file-upload,
.checkbox-item {
    min-height: 44px;
}

/* Smooth touch interactions */
a, button, .btn, .checkbox-item, .file-upload {
    -webkit-tap-highlight-color: rgba(43, 181, 178, 0.2);
    touch-action: manipulation;
}

/* Prevent horizontal overflow on mobile */
html, body {
    overflow-x: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-visual {
        order: -1;
    }

    .mission-visual .globe-icon {
        width: 180px;
        height: 180px;
        font-size: 4.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .nav-toggle {
        display: block;
        z-index: 10;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav a {
        display: block;
        padding: 14px 16px;
        font-size: 1.1rem;
        border-radius: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .main-nav a:hover,
    .main-nav a:active {
        background: var(--color-bg-light);
    }

    .nav-cta {
        justify-content: center;
        margin-top: 10px;
    }

    /* Hero */
    .section-hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-video {
        margin: 0 10px 30px;
        border-radius: 8px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Expectations */
    .expectations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .expectation-card {
        padding: 25px 15px;
    }

    .expectation-card .card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .expectation-card h3 {
        font-size: 0.95rem;
    }

    .expectation-card p {
        font-size: 0.82rem;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-us-card {
        padding: 25px 20px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .why-us-card .card-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.6rem;
        margin: 0;
    }

    /* Positions */
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .position-card {
        padding: 25px 20px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .position-card .card-icon {
        margin-bottom: 0;
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .position-card h3 {
        font-size: 1.05rem;
        margin-bottom: 5px;
    }

    .position-card p {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }

    .position-card .btn {
        align-self: center;
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    /* Apply */
    .apply-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .apply-item .btn {
        margin-left: 0;
        width: 100%;
    }

    .apply-item h3 {
        font-size: 1.05rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer {
        padding: 40px 0 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Application Form */
    .application-page {
        padding: 90px 0 50px;
    }

    .application-header h1 {
        font-size: 1.8rem;
    }

    .application-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .application-form {
        padding: 25px 16px;
        border-radius: 12px;
        margin: 0 5px;
    }

    .form-section h3 {
        font-size: 1.15rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 14px;
    }

    .file-upload {
        padding: 25px 15px;
    }

    /* Video Recorder Mobile */
    .video-recorder .recorder-instructions {
        padding: 15px;
    }

    .video-recorder .recorder-instructions p {
        font-size: 0.88rem;
    }

    .recorder-controls {
        flex-wrap: wrap;
        padding: 12px 10px;
        gap: 10px;
    }

    .recorder-controls button {
        padding: 12px 20px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 100px;
    }

    .form-submit .btn {
        min-width: auto;
        width: 100%;
        padding: 16px 30px;
    }

    /* Mission on mobile */
    .mission-text h2 {
        font-size: 1.7rem;
    }

    .mission-text .mission-statement {
        font-size: 1.2rem;
    }

    .mission-visual .globe-icon {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    /* Logo */
    .site-logo .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.92rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .expectations-grid {
        grid-template-columns: 1fr;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .position-card {
        flex-direction: column;
        text-align: center;
    }

    .position-card .btn {
        width: 100%;
    }

    .application-form {
        padding: 20px 12px;
        margin: 0;
        border-radius: 10px;
    }

    .form-section {
        margin-bottom: 30px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    /* Stacked video controls */
    .recorder-controls {
        flex-direction: column;
    }

    .recorder-controls button {
        width: 100%;
    }

    /* Better checkbox touch targets */
    .checkbox-item {
        padding: 14px 16px;
    }

    .checkbox-item label {
        font-size: 0.9rem;
    }

    .why-us-card {
        flex-direction: column;
        text-align: center;
    }

    .why-us-card .card-icon {
        margin: 0 auto;
    }

    /* Footer compact */
    .footer-about p {
        font-size: 0.88rem;
    }
}

/* ===== LANDSCAPE PHONE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .section-hero {
        padding: 100px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-video {
        max-width: 500px;
    }

    .video-preview {
        aspect-ratio: 4 / 3;
    }
}

/* Interview CTA Button (shown after application success) */
.interview-cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 30px;
    background: var(--color-primary, #2BB5B2);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.interview-cta-btn:hover {
    background: #249e9b;
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none;
}

.form-message.success p {
    margin: 0 0 5px;
}

/* ===== RADIO GROUP (How did you hear about us) ===== */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.radio-item:hover {
    border-color: var(--color-primary);
    background: rgba(43, 181, 178, 0.03);
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.radio-item .radio-label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 500;
}

.radio-item:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(43, 181, 178, 0.08);
}

/* ===== SECTION PROGRESS INDICATOR ===== */
.section-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 30px;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.progress-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.progress-step .step-label {
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-weight: 500;
    white-space: nowrap;
}

.progress-step.active .step-number {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(43, 181, 178, 0.4);
}

.progress-step.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: var(--color-secondary);
    color: #fff;
}

.progress-step.completed .step-label {
    color: var(--color-secondary);
}

.progress-connector {
    width: 50px;
    height: 3px;
    background: var(--color-border);
    margin: 0 8px;
    margin-bottom: 22px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.progress-connector.completed {
    background: var(--color-secondary);
}

.progress-connector.active {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

/* ===== REFERENCE CARDS ===== */
.reference-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--color-bg-light);
    transition: border-color 0.3s ease;
}

.reference-card:hover {
    border-color: var(--color-primary);
}

.reference-card h4 {
    font-size: 1.05rem;
    color: var(--color-secondary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

/* ===== CONSENT SECTION ===== */
.consent-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consent-item {
    padding: 0;
}

.consent-item .checkbox-item {
    padding: 16px 18px;
    gap: 14px;
}

.consent-item .checkbox-item label {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 400;
    color: var(--color-text);
}

/* ===== SECTION NOTE ===== */
.section-note {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(43, 181, 178, 0.06);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

/* ===== MOBILE RESPONSIVE — New Sections ===== */
@media (max-width: 768px) {
    .section-progress {
        gap: 0;
    }

    .progress-connector {
        width: 25px;
        margin: 0 4px;
    }

    .progress-step .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .progress-step .step-label {
        font-size: 0.68rem;
    }

    .reference-card {
        padding: 18px 14px;
    }

    .reference-card h4 {
        font-size: 0.95rem;
    }

    .radio-item {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .progress-connector {
        width: 15px;
        margin: 0 2px;
    }

    .progress-step .step-label {
        font-size: 0.6rem;
    }

    .progress-step .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .nav-toggle,
    .hero-video,
    .video-recorder,
    .video-fallback,
    .btn,
    .form-submit,
    .site-footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .application-page {
        padding: 20px 0;
    }
}
