/* Base styles only. Add responsive/mobile media queries in styles-mobile.css. */
:root {
    --white: #ffffff;
    --brand-yellow: #fff9be; /* Light pastel yellow */
    --brand-yellow-dark: #fdf3d9; /* Darker pastel yellow */
    --brand-orange: #FFB74D; /* Warm orange */
    --brand-blue: #4FC3F7; /* Calming blue */
    --brand-dark: #2D3748;
    --brand-cream: #FFFEF0;
    --teal-100: #e8faf8;
    --teal-600: #199bb3;
    --teal-700: #147a8a;
    --teal-800: #0f5d6a;
    --cyan: #0bb7a4;
    --cyan-dark: #02adb9;
    --gray-100: #f3f4f6;

    --font-color-black: #000000;
    --font-color-footer: #737373;
}

body {
    font-family: 'Figtree', sans-serif;
    background-color: var(--white);
    color: var(--brand-dark);
    overflow-x: hidden;
}

/* Standard h1 style */
h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 48px !important;
    line-height: 1.3 !important;
    color: #1f2937 !important; /* text-gray-800 */
    margin-top: 0.5rem !important; /* mt-2 */
    margin-bottom: 1.5rem !important; /* mb-6 */
}

/* Ensure h2 elements are not bold */
h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
}

/* Override text-xl font size */
.text-xl {
    font-size: 24px !important;
}

/* Plans page FAQ section background */
#plans .bg-teal-100 {
    background-color: #0297B2 !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Sticky Header */
header {
    position: sticky !important;
    top: 0;
    z-index: 50;
    background-color: var(--white);
}

/* ============================================
   Background Utility Classes
   All classes that declare background properties go at the top
   ============================================ */
.bg-brand-teal-100 {
    background-color: var(--teal-100);
}
.bg-brand-teal-600 {
    background-color: var(--teal-600);
}
.bg-brand-teal-700 {
    background-color: var(--teal-700);
}
.bg-brand-teal-800 {
    background-color: var(--teal-800);
}
.bg-brand-white {
    background-color: var(--white);
}
.bg-brand-yellow {
    background-color: var(--brand-yellow);
}
.bg-brand-yellow-dark {
    background-color: var(--brand-yellow-dark);
}
.bg-brand-cyan {
    background-color: var(--cyan);
}
.bg-teal-100 {
    background-color: var(--teal-100);
}
.bg-gradient-cyan-dark {
    background: linear-gradient(to right, #17a2b8, #1e88e5, #2563eb);
}

.border-brand-teal-100 {
    border: 2px solid var(--teal-100);
}
.border-brand-yellow-dark {
    border: 2px solid var(--brand-yellow-dark);
}
.border-brand-white {
    border: 2px solid var(--white);
}
.color-gradient-cyan-dark {
    color: linear-gradient(to right, var(--cyan), var(--cyan-dark));
}

.flex-invert {
    flex-direction: row-reverse;
}
/* Page Transitions */
.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    animation: fadeIn 0.5s ease-out forwards;
}

.page-section.active {
    display: block;
    opacity: 1;
}

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

/* Header Background Blob */
.header-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: top;
}

.hero-phone-shape {
    position: absolute;
    top: -10px;
    left: -200px;
    width: 500px;
    z-index: -1;
}
.hero-phone {
    width: 350px;
    height: auto;
    overflow: hidden;
}

/* Utility: Fade In on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Card Hover Effects */
.feature-card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile Menu */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}
#mobile-menu.hidden-menu {
    transform: translateX(100%);
}
#mobile-menu.visible-menu {
    transform: translateX(0);
}

/* Nav Link Styles */
.nav-link {
    color: var(--font-color-black);
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
    text-decoration-color: var(--teal-600);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav-link.active {
    color: var(--teal-600);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.cta-primary.rounded-full {
    background-color: var(--teal-600);
    color: var(--white);
    font-weight: 400;
    transition: background-color 0.3s ease;
}
.cta-primary.rounded-lg:hover {
    background-color: var(--teal-700);
}

/* Reusable Primary Button Style */
.btn-primary {
    display: inline-block;
    background-color: var(--teal-600);
    color: var(--white);
    font-size: 1.3rem; /* text-2xl */
    font-weight: 400; /* font-semibold */
    padding: 0.4rem 2rem; /* py-3 px-8 */
    border-radius: 9999px; /* rounded-full */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--teal-700);
}

/* Reusable Secondary Button Style */
.btn-secondary {
    display: inline-block;
    background-color: var(--white);
    color: var(--cyan);
    font-size: 1.3rem;
    font-weight: 400;
    padding: 0.4rem 2rem;
    border-radius: 9999px; /* rounded-full */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--cyan-dark);
}

.cta-secondary.rounded-full {
    width: 100%;
    max-width: 415px;
    display: inline-block;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.gradient-text-btn {    
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    background: linear-gradient(to right, var(--cyan), var(--cyan-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Home Section with Cream Background Band */
.section-primary-hero {
    position: relative;
    background-color: var(--brand-yellow-dark);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    width: 100vw;
    border: none;
}

.section-primary-hero > .container {
    height: auto;
}

#home > .section-secondary-science {
    background-color: #0297B2;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

#home > .section-secondary-science h2 {
    color: white !important;
}

#home > .section-secondary-science > .container > .text-left p {
    color: white !important;
}

.section-full-width {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

#home-hero-phone-container {
    top: 0;
    align-self: flex-start;
}

@media (max-width: 768px) {
    #home-hero-phone-container {
        margin-left: 0;
    }
}

/* Employers page */
.employer-hero {
    padding: 80px 0 60px;
    position: relative;
}

#employers-hero-image-container {
    top: 0;
    align-self: flex-start;
}

.employer-hero-image {
    width: 350px;
    height: auto;
    overflow: hidden;
}

#employers .cta-primary.rounded-full {
    max-width: 300px;
}

.employer-primary-btn {
    background: var(--teal-600);
    color: #fff;
    padding: 14px 26px;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.employer-primary-btn:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(14, 169, 164, 0.25);
}

.employer-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
}

.employer-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    gap: 10px;
}

.employer-feature-card h3 {
    font-weight: 800;
    color: var(--brand-dark);
    font-size: 18px;
}

.employer-feature-card p {
    color: var(--brand-dark);
    line-height: 1.5;
    font-size: 15px;
}

.employer-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: #ffedd5;
    display: grid;
    place-items: center;
    color: var(--brand-orange);
    font-weight: 900;
    font-size: 18px;
}

.employer-how-it-works {
    margin-top: 42px;
    background: var(--white);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.employer-how-left h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.employer-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--brand-dark);
}

.step-badge {
    width: 26px;
    min-width: 26px;
    height: 26px;
    border-radius: 9999px;
    background: var(--brand-orange);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
}

.employer-how-right {
    width: 100%;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--gray-100);
}

.employer-how-right h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.employer-checklist {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--brand-dark);
}

.employer-checklist li {
    padding-left: 8px;
}

.employer-checklist li::marker {
    color: #ffb74c;
    font-size: 1.2em;
}

.employer-checklist span {
    display: none;
}

.employer-privacy-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
}

.employer-privacy-admin {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
}

.employer-privacy-card,
.employer-admin-card {
    background: var(--white);
    border-radius: 16px;
    padding: 18px;
    
}
.employer-admin-card {
    border: 1px solid var(--gray-100);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.employer-privacy-card h3,
.employer-admin-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.employer-privacy-card ul,
.employer-admin-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--brand-dark);
}
.employer-privacy-card ul li,
.employer-admin-card ul li {
    font-size: 15px;
    padding-left: 8px;
    color: var(--brand-dark);
}

.employer-privacy-card ul li::marker,
.employer-admin-card ul li::marker {
    color: #ffb74c;
    font-size: 1.2em;
}

.employer-cta {
    margin: 28px 0 24px;
    background: #0ea9a4;
    color: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(14, 169, 164, 0.25);
}

.employer-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.employer-cta p {
    max-width: 760px;
    margin: 0 auto 14px;
    line-height: 1.6;
}

/* Plans Page Styles */
.plan-card {
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.plan-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--teal-600);
    border-radius: 4px;
    border: 2px solid #d1d5db;
}

.plan-checkbox:checked {
    background-color: var(--teal-600);
    border-color: var(--teal-600);
}

.feature-plan-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-content {
    transition: all 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
    user-select: none;
}



/* About Page Styles */
.about-hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    overflow: hidden;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.about-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-hero-text {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.6;
    max-width: 500px;
}

.about-hero-right {
    background-color: #FFF9C4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Three-Column Feature Section */
.about-features-section {
    margin-top: 20px;
}

.about-features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-feature-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-feature-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.about-feature-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.about-feature-text {
    font-size: 1rem;
    color: var(--brand-dark);
    line-height: 1.6;
}

/* Our Story Section */
.about-story-section {
    margin-top: 40px;
    padding: 60px 40px;
}

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

.about-story-heading {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 24px;
}

.about-story-text {
    font-size: 1.1rem;
    color: var(--brand-dark);
    line-height: 1.7;
    max-width: 900px;
}

/* Founder's Note Section */
.about-founder-section {
    background-color: var(--teal-100);
    padding: 40px 0;
}

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

.about-founder-heading {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 32px;
}

.about-founder-text {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: 24px;
}

.about-founder-signature {
    font-size: 1.1rem;
    color: var(--font-color-black);
    font-weight: 600;
}

/* Call to Action Section */
.about-cta-section {
    margin-top: 40px;
}

.about-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-cta-heading {
    font-size: 1.875rem; /* text-3xl / h3 size */
    color: #0497b1;
    margin-bottom: 24px;
}

.about-cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.about-cta-button {
    display: inline-block;
    background-color: var(--teal-600);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-cta-button:hover {
    background-color: var(--teal-700);
    transform: translateY(-2px);
}

/* ============================================
   Footer Styles
   Footer styles always go at the end of the file
   ============================================ */
.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--font-color-footer);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--teal-600);
}

.footer-address {
    color: var(--font-color-footer);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-address-title {
    font-weight: 700;
    color: var(--gray-100);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-logo {
    height: 56px;
    width: auto;
    border: none;
    outline: none;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    width: 100%;
    gap: 12px;
}

.footer-badges > a {
    width: 191px;
    height: 60px;
    display: block;
}

.footer-badges img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
}

.footer-copy {
    color: var(--font-color-footer);
    font-size: 0.98rem;
    font-weight: 600;
}

/* Modal Styles */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    display: block;
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f2937;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-body p {
    margin: 0;
    font-size: 1.1rem;
    color: #4b5563;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.5rem - 1px);
    border-bottom-left-radius: calc(0.5rem - 1px);
}

.btn-close {
    padding: 0.5rem 0.75rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
}

.btn-close:hover {
    opacity: 0.75;
}

.btn-primary-modal {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #199bb3;
    border: 1px solid #199bb3;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary-modal:hover {
    background-color: #147a8a;
    border-color: #147a8a;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #199bb3;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    display: none;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 500px;
    animation: slideInRight 0.3s ease-out;
}

.toast.show {
    display: flex;
}

.toast-message {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
}

.toast-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .toast {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}