/* ==========================================
    GLOBAL RESET & CSS VARIABLES
    ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Primary navy */
    --navy-950: #071522;
    --navy-900: #0B1F33;
    --navy-800: #13314D;
    --navy-700: #1B4568;
    --navy-500: #47779B;
    --navy-100: #E8EFF4;
    --navy-50: #F4F7F9;
        
    /* Muted gold */
    --gold-700: #8E672A;
    --gold-600: #A97C37;
    --gold-500: #C39A52;
    --gold-400: #D3B172;
    --gold-200: #EAD8B5;
    --gold-100: #F5ECD9;

    /* Neutrals */
    --white: #FFFFFF;
    --ivory: #F7F4EE;
    --stone: #EAE6DE;
    --slate: #596675;
    --charcoal: #263442;

    /* Semantic mappings */
    --primary-navy: var(--navy-900);
    --navy-light: var(--navy-800);
    --navy-accent: var(--gold-500);
    --accent-blue: var(--navy-700);
    --accent-hover: var(--gold-600);
    --text-dark: var(--charcoal);
    --text-muted: var(--slate);
    --bg-light: var(--ivory);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 90px;
}
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center !important;
}
.badge-sm {
    background: var(--navy-100);
    color: var(--navy-700);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}
/* ==========================================
    HEADER / NAVBAR (DESKTOP DEFAULT)
    ========================================== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-light, #EAE6DE);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.logo-title {
    font-size: 1.35rem;
    font-weight: 700;
    display: block;
    color: var(--primary-navy);
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--gold-600);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-btn {
    border: 1px solid var(--stone);
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: all 0.2s;
}
.lang-btn:hover {
    background: var(--navy-50);
}
.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    transition: opacity 0.2s ease;
}
.instagram-btn svg, 
.instagram-btn img, 
.instagram-btn i {
    width: 20px !important;
    height: 20px !important;
    font-size: 20px;
    fill: #ffffff;
    color: #ffffff;
    display: block;
    margin: auto;
}
.instagram-btn:hover {
    opacity: 0.9;
}
/* ==========================================
    HERO SECTION
    ========================================== */
.hero {
    padding: 70px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
}
.badge {
    background: var(--gold-100);
    color: var(--gold-700);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}
.hero h1 {
    font-size: 2.8rem;
    margin: 20px 0 15px;
    color: var(--primary-navy);
    font-weight: 700;
}
.hero .highlight {
    color: var(--gold-600);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 30px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}
/* ==========================================
    BUTTONS
    ========================================== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary {
    background-color: var(--navy-900);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--navy-800);
}
.btn-secondary {
    background-color: var(--gold-500);
    color: var(--navy-900);
}
.btn-secondary:hover {
    background-color: var(--gold-400);
}
.btn-full {
    width: 100%;
}
.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: var(--navy-900);
    color: var(--white);
}
/* ==========================================
    PARTNERS MARQUEE
    ========================================== */
.partners-section {
    padding: 45px 0;
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    text-align: center;
    background-color: var(--white);
    overflow: hidden;
}
.partners-title {
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
}
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.marquee-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
    animation: marquee 25s linear infinite;
}
.partner-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin: 0 40px;
    flex-shrink: 0;
    vertical-align: middle;
    transition: transform 0.2s ease;
}
.partner-logo:hover {
    transform: scale(1.08);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ==========================================
    SERVICES & CARDS
    ========================================== */
.services-section {
    padding: 70px 0;
    background-color: var(--ivory);
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2rem;
    color: var(--primary-navy);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.service-card {
    border: 1px solid var(--stone);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(11, 31, 51, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(11, 31, 51, 0.1);
}
.card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--navy-50);
}
.card-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card:hover .card-header-img {
    transform: scale(1.04);
}
.card-header {
    padding: 18px 20px;
    color: var(--white);
    text-align: center;
}
.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.planning-header { background-color: var(--navy-900); }
.protection-header { background-color: var(--navy-800); }
.healthcare-header { background-color: var(--navy-700); }
.card-body {
    padding: 20px;
    flex-grow: 1;
}
.card-intro {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
/* ==========================================
    SERVICES ACCORDIONS & DROPDOWNS
    ========================================== */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
}
/* Primary Accordion Item */
.accordion-item {
    border: 1px solid var(--stone);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--navy-50);
    transition: border-color 0.2s ease;
}
.accordion-item:hover {
    border-color: var(--navy-500);
}
.accordion-item summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    outline: none;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--primary-navy);
}
.accordion-item summary:hover {
    background: var(--navy-100);
}
.accordion-item summary::before {
    content: '►';
    font-size: 0.7rem;
    color: var(--gold-500);
    transition: transform 0.2s ease;
    display: inline-block;
}
.accordion-item[open] > summary::before {
    transform: rotate(90deg);
}
.accordion-content {
    padding: 15px 16px;
    border-top: 1px solid var(--stone);
    background: var(--white);
    font-size: 0.92rem;
    color: var(--text-dark);
}
.accordion-content p {
    margin-bottom: 12px;
    color: var(--text-muted);
}
.accordion-content ul {
    list-style: none;
    padding-left: 0;
}
.accordion-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}
.accordion-content ul li::before {
    content: "•";
    color: var(--gold-500);
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* Nested Accordions */
.nested-accordion {
    margin: 8px 0;
    border: none;
    border-left: 3px solid var(--gold-500);
    background: var(--navy-50);
    border-radius: 0 4px 4px 0;
}
.nested-accordion summary {
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.nested-accordion summary::before {
    content: '►';
    font-size: 0.65rem;
    color: var(--gold-500);
    transition: transform 0.2s ease;
}
.nested-accordion[open] > summary::before {
    transform: rotate(90deg);
}
.nested-content {
    padding: 10px 14px;
    background: var(--white);
    font-size: 0.88rem;
    color: var(--text-dark);
}
/* Card Header Variations */
.travel-header {
    background-color: var(--navy-800); /* Or another complementary tier within the Navy 950-50 / Gold scale */
    color: var(--white);
    border-bottom: 2px solid var(--gold-500);
}
/* Update your existing services grid CSS to this: */
.services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 4px 20px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.services-grid::-webkit-scrollbar {
    height: 8px;
}
.services-grid::-webkit-scrollbar-track {
    background: var(--navy-50, #f1f5f9);
    border-radius: 4px;
}
.services-grid::-webkit-scrollbar-thumb {
    background: var(--gold-500, #d4af37);
    border-radius: 4px;
}

.service-card {
    flex: 0 0 320px; /* fixed width per card so all 4 don't squash */
    scroll-snap-align: start;
}
/* ==========================================
    ABOUT SECTION
    ========================================== */
.about-section {
    padding: 70px 0;
    background-color: var(--white);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content h2 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}
.about-text-box {
    background: var(--ivory);
    border: 1px solid var(--stone);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(11, 31, 51, 0.02);
}
.about-content p {
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}
.about-content p:last-child {
    margin-bottom: 0;
}
/* ==========================================
    FAQ SECTION STYLES
    ========================================== */
.faq-section {
    background-color: var(--navy-50);
    padding: 70px 20px;
}
.faq-header {
    text-align: center !important;
    margin-bottom: 30px;
}
.faq-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}
.faq-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}
/* Tab Toggle Logic */
.faq-tab-content {
    display: none !important;
}
.faq-tab-content.active {
    display: block !important;
}
/* Pill Navigation Buttons */
.faq-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 35px 0 45px;
    flex-wrap: wrap;
}
.faq-pill-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--stone);
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.2s ease;
    outline: none;
}
.faq-pill-btn:hover {
    background: var(--navy-50);
}
/* Active State Harmonized to Navy/Gold Brand */
.faq-pill-btn.active {
    background: var(--navy-900) !important;
    color: var(--white) !important;
    border-color: var(--navy-900) !important;
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.2);
}
/* Accordion Layout */
.faq-accordion-container {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--stone);
    padding: 18px 0;
}
.faq-item summary {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold-500);
    margin-left: 15px;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-answer {
    padding-top: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.98rem;
}
/* ==========================================
    CONTACT SECTION
    ========================================== */
.contact-section {
    padding: 70px 0;
    background-color: var(--white);
}
.contact-form {
    max-width: 520px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--stone);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--gold-500);
}
/* ==========================================
    FOOTER & COOKIES
    ========================================== */
.footer {
    background: var(--navy-950);
    color: var(--white);
    padding: 50px 0 20px;
}
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-brand p {
    margin-bottom: 6px;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px !important;
}
.footer-brand a {
    color: var(--white);
    text-decoration: none;
}
.canadian-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}
.canada-flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
}
.footer-legal-disclaimer {
    font-size: 0.7rem;
    line-height: 1.7;
    color: var(--gold-200);
    max-width: 900px;
    margin: 0 auto 12px auto;
    padding: 0 10px;
    text-align: justify;
}
.footer-copyright {
    font-size: 0.7rem;
    color: var(--gold-200);
    margin-top: 15px;
    letter-spacing: 0.2px;
}
.legal-text {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
}
.footer-bottom {
    text-align: center;
    padding: 30px 15px 40px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.footer-newsletter p {
    color: var(--gold-200);
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
}
.newsletter-form input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--navy-700);
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    flex-grow: 1;
}
.newsletter-form input::placeholder {
    color: var(--gold-200);
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 500px;
    background: var(--navy-900);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 9999;
    font-size: 0.85rem;
}
/* ==========================================
    DESKTOP MEDIA QUERIES (min-width: 768px)
    ========================================== */
@media (min-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .footer-container { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: flex-start;
    }
    .cookie-banner { left: auto; }
}
/* ==========================================
    MOBILE MEDIA QUERIES (max-width: 768px)
    ========================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav-container {
        position: relative;
        flex-direction: column;
        align-items: center;
        padding: 55px 15px 20px 15px;
    }
    .nav-actions {
        position: absolute;
        top: 12px;
        right: 15px;
        width: auto;
        margin: 0;
    }
    .logo {
        align-items: center;
        text-align: center;
        width: 100%;
        margin-bottom: 15px;
    }
    .logo-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
    }
    .logo-sub {
        font-size: 14px;
        color: var(--text-muted);
        margin-top: 4px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px 14px;
        width: 100%;
    }
    .nav-links a {
        font-size: 0.88rem;
        padding: 4px;
    }
    .hero {
        padding: 40px 15px 35px;
    }
    .hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.98rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .faq-section {
        padding: 50px 16px;
    }
    .faq-pill-btn {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 14px;
    }
    .footer-legal-disclaimer {
        font-size: 0.72rem;
        line-height: 1.65;
        margin-bottom: 12px;
        padding: 0 5px;
    }
}