/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #004E3F;      /* Forest Green (O Boticário classic) */
    --color-primary-light: #006b57;
    --color-primary-dark: #00362b;
    --color-secondary: #1B7F67;    /* Accent Green */
    --color-gold: #C5A059;         /* Premium Gold */
    --color-gold-hover: #b48e47;
    --color-accent: #E58C72;       /* Warm Coral Accent */
    
    /* Backgrounds & Neutrals */
    --color-bg: #FAF9F6;           /* Soft off-white */
    --color-bg-alt: #F0EDE6;       /* Warm light grey/beige */
    --color-white: #FFFFFF;
    --color-text-main: #2C3531;    /* Deep dark slate */
    --color-text-muted: #5E6964;   /* Muted green-grey */
    --color-border: #D1CFC7;       /* Light warm border */
    --color-error: #D9383A;        /* Validation error red */
    --color-success: #2A9D8F;      /* Success green */
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Border Radius */
    --shadow-sm: 0 2px 4px rgba(0, 78, 63, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 78, 63, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 78, 63, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

p {
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Common Section Container */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Section Header */
.section-header {
    max-width: 650px;
    margin-bottom: 50px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 78, 63, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 63, 0.35);
}

.btn-secondary {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}

.btn-secondary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.main-header {
    background-color: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 78, 63, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-group {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-secondary);
    font-weight: 500;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.03em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-normal);
}

.main-nav a:hover {
    color: var(--color-primary-dark);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
    transition: var(--transition-normal);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger Active State */
.mobile-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.mobile-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   HERO & FORM SECTION
   ========================================================================== */
.hero-section {
    padding-top: 130px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 10% 20%, rgba(27, 127, 103, 0.05) 0%, rgba(250, 249, 246, 0) 60%),
                radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.04) 0%, rgba(250, 249, 246, 0) 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-content .badge {
    align-self: flex-start;
    background-color: rgba(27, 127, 103, 0.08);
    color: var(--color-secondary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    margin-top: 16px;
}

.hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-accent-card {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-white);
    border-left: 5px solid var(--color-gold);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.92);
}

.accent-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.accent-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.3;
}

/* Application Form styling */
.form-container {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 78, 63, 0.05);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-gold) 100%);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.recruitment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
    background-color: #FCFCFA;
}

.input-wrapper input:focus {
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(27, 127, 103, 0.12);
}

/* Error validation styling */
.form-group.has-error input {
    border-color: var(--color-error);
    background-color: rgba(217, 56, 58, 0.02);
}

.form-group.has-error input:focus {
    box-shadow: 0 0 0 3px rgba(217, 56, 58, 0.15);
}

.error-message {
    display: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-error);
    margin-top: 4px;
}

.form-group.has-error .error-message {
    display: block;
}

/* LGPD Checkbox */
.form-group-checkbox {
    margin-top: 6px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: #FCFCFA;
    position: relative;
    transition: var(--transition-normal);
    margin-top: 2px;
}

.checkbox-label:hover input ~ .checkbox-custom {
    border-color: var(--color-secondary);
}

.checkbox-label input:checked ~ .checkbox-custom {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
    display: block;
}

.checkbox-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.form-group-checkbox.has-error .checkbox-custom {
    border-color: var(--color-error);
    background-color: rgba(217, 56, 58, 0.02);
}

.form-group-checkbox.has-error .checkbox-error {
    display: block;
    margin-top: 6px;
}

/* Form Success State */
.form-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 10px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.form-success-state h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.form-success-state p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

/* ==========================================================================
   CULTURE SECTION
   ========================================================================== */
.culture-section {
    background-color: var(--color-bg-alt);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.culture-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 78, 63, 0.03);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 127, 103, 0.15);
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(27, 127, 103, 0.08);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-card h3 {
    font-size: 1.25rem;
}

.culture-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   OPPORTUNITIES SECTION
   ========================================================================== */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.opportunity-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 78, 63, 0.03);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.opp-bg-gradient {
    height: 8px;
    width: 100%;
}

.dev-grad { background: linear-gradient(90deg, #3A86FF, #00C49F); }
.rd-grad { background: linear-gradient(90deg, #FF006E, #FFBE0B); }
.ops-grad { background: linear-gradient(90deg, #8338EC, #FF006E); }
.sales-grad { background: linear-gradient(90deg, #FB5607, #FF006E); }

.opp-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.opp-content h3 {
    font-size: 1.3rem;
}

.opp-content p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.opp-action {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.opportunity-card:hover .opp-action {
    color: var(--color-primary-dark);
}

.opportunity-card:hover .opp-action svg {
    transform: translateX(4px);
    transition: transform var(--transition-fast);
}

/* ==========================================================================
   BENEFITS PATHWAY (Inspired by the original 1-7 points layout)
   ========================================================================== */
.benefits-section {
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.pathway-container {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.pathway-progress-bar {
    position: absolute;
    top: 36px;
    left: 8%;
    width: 84%;
    height: 4px;
    background-color: var(--color-border);
    z-index: 1;
    border-radius: var(--radius-full);
}

.progress-fill {
    height: 100%;
    width: 14.28%; /* Controls progress width, will be updated dynamically or left static representing complete track */
    background: linear-gradient(90deg, var(--color-secondary), var(--color-gold));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.pathway-grid {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.pathway-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    cursor: pointer;
}

.step-marker {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: var(--color-white);
    border: 3px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.pathway-item:hover .step-marker {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: scale(1.1);
}

.pathway-item.active .step-marker {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 0 0 5px rgba(27, 127, 103, 0.15);
}

.step-content h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: var(--transition-normal);
}

.pathway-item.active .step-content h4 {
    color: var(--color-secondary);
}

.step-content p {
    font-size: 0.78rem;
    line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 78, 63, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: rgba(27, 127, 103, 0.1);
    margin-bottom: 16px;
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0, 78, 63, 0.06);
    padding-top: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    color: var(--color-primary-dark);
}

.author-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: var(--color-bg);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 78, 63, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(27, 127, 103, 0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.faq-icon-toggle {
    color: var(--color-secondary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
    padding: 0 28px 20px 28px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER AREA
   ========================================================================== */
.main-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px 40px 24px;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 48px;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-section .logo-brand {
    color: var(--color-white);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    color: var(--color-white);
}

.social-link:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-links-grid {
    display: contents;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link-group h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-link-group a:hover {
    color: var(--color-gold);
    padding-left: 2px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST APPROACH)
   ========================================================================== */

/* Tablet Portrait & down (Max 992px) */
@media (max-width: 992px) {
    .header-action {
        display: none; /* Hide top CTA on small screens */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pathway-progress-bar {
        left: 0;
        width: 100%;
        display: none; /* Hide progress bar in vertical stack */
    }
    
    .pathway-grid {
        flex-direction: column;
        gap: 32px;
    }
    
    .pathway-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
        padding: 0;
    }
    
    .step-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 36px;
    }
}

/* Mobile & down (Max 768px) */
@media (max-width: 768px) {
    .section-container {
        padding: 50px 20px;
    }
    
    /* Navigation Hamburger Menu */
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.active {
        max-height: 350px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .main-nav a {
        display: block;
        font-size: 1rem;
        padding: 8px 0;
    }
    
    .hero-img {
        height: 280px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Minor responsive alignment for tiny screens */
@media (max-width: 480px) {
    .hero-accent-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 12px;
        max-width: 100%;
    }
}
