/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bc: #f9feff;
    --tx: #323232;
}

html {
    scroll-behavior: smooth;
    -webkit-user-select: none; 
    -moz-user-select: none;     
    -ms-user-select: none;      
    user-select: none;         
}

body {
    margin: 0;
    padding: 0;
    color: var(--tx);   
    background-color: var(--bc);
    overflow: auto;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Scroll padding utility (for anchor links) */
.scroll-padding {
    scroll-margin-top: 7vh; 
    margin-top: 7vh; 
}
.teal-link {
    color: #6fa5b1;
}

/* Optional: Change color when hovering over this specific link */
.teal-link:hover {
    color: #588a94; 
}

/* =========================================
   2. TYPOGRAPHY UTILITIES
   ========================================= */
.archivo-narrow-nav {
    font-family: "Archivo Narrow", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    font-variation-settings: "wdth" 100;
}
.archivo-narrow-nav a {
    text-decoration: none;
    color: #000000; 
    background-color: rgba(249, 254, 255, 0.8);
    padding: 2px 10px;
    border-radius: 2px;
}
.archivo-narrow-nav div {
    margin-bottom: 15px;
}

.archivo-narrow-about {
    font-family: "Archivo Narrow", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 50;
}

.archivo-head-top {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
nav {
    position: fixed;
    right: 3vw;
    margin-top: 2vw;
    text-align: right;
    z-index: 500;
}

nav a {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    color: var(--tx);   
    text-decoration: none;
}
nav a:hover { text-decoration: underline; }

head-top {
    position: fixed;
    left: 6.5vw;
    margin-top: 2vh;
    text-align: left;
    z-index: 500;
}

head-top a {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    color: var(--tx);
    text-decoration: none;  
}

head-left {
    margin: 0;
    position: fixed;
    left: 2vw;
    margin-top: 2.4vh;
    text-align: left;
    z-index: 500;
}

head-left img {
    width: 2.3vw;
    border: none;
    background-color: var(--bc);
    user-drag: none;
    -webkit-user-drag: none;
}

/* =========================================
   4. HOME / MAIN LAYOUT
   ========================================= */
main {
    padding: 0;
    position: relative;
    width: 87vw;
    left: 6.5vw;
    background-color: var(--bc);
    overflow: clip;
}

.cover {
    display: block;
    position: relative;
    left: 0vw;
    top: 7vh;
    text-align: center;
    width: 60vw;
    height: auto;
    max-width: 100%;
}

.cover img {
    display: block;
    width: 87vw;
    height: auto;
    border: none;
    margin: 0;
    margin-bottom: 13vh;
    background-color: var(--bc);
    object-fit: cover;
    user-drag: none;
    -webkit-user-drag: none;
}

section {
    margin-bottom: 5vh;
    margin-top: 0;
    padding: 0em;
    background-color: var(--bc);
    z-index: 1;
    overflow-x: hidden;
}

/* Links inside sections */
section a:visited { color: #069; }
section a:hover { text-decoration: underline; color: #034; }
section a:active { color: #069; }

/* The Portrait Image */
.portrait {
    position: relative;
	float: left;
	display: block;
	width: 25vw;
	min-width: 250px;
	
    margin-top: 10px;
    margin-left: 12vw;
	margin-right: 40px;
	margin-bottom: 2.5vw;
    width: 25vw;
    background-color: var(--bc);
}

/* =========================================
   5. HOME TYPOGRAPHY
   ========================================= */
main h1,
main blockquote {
    font-family: "futura-pt", sans-serif;
    color: var(--tx);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0em;
    font-size: 2.5em;
    line-height: 1em;
    margin: 0;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 3vh;
    margin-bottom: 7vh;
    text-align: center;
}

main h3 {
    letter-spacing: 0.1em;
    color: var(--tx);
    font-size: 1.4em;
    margin-top: 0em;
    text-align: right;
    margin-right: 50vw;
    text-decoration: underline;
}

main h4 {
    letter-spacing: 0.1em;
    color: var(--tx);
    font-size: 1.4em;
    margin-top: 4vh;
    margin-left: 15vw;
    margin-right: 0vw;
    margin-bottom: 2vh;
    text-align: left;
    text-decoration: underline;
}
/* FIX: Removes extra space above the first headline in the section */
section > h4:first-of-type {
    margin-top: 1vh; !important;
}
/* --- THE LOGIC FOR PARAGRAPHS --- */

/* 1. Standard paragraphs (inside sections, etc.) */
main p {
    font-family: "futura-pt", sans-serif;
    color: var(--tx);
    font-weight: 100;
    font-style: normal;
    letter-spacing: 0em;
    font-size: 1em;
    margin: 0;
    margin-left: 15vw; /* Standard Margin */
    margin-right: 15vw;
    margin-top: .5vh;
    padding: 0;
    text-align: left;
    line-height: 1.5em;
}

/* 2. The "About" Section Fix */
/* 'main > p' targets ONLY paragraphs that are direct children of Main.
   This avoids affecting paragraphs nested inside <section> or <div> */
main > p {
    margin-left: 12vw; /* Pushes text to the right of the Portrait */
    margin-right: 12vw;
}

main b, main strong { font-weight: 600; }
main br { display: block; content: ""; margin-top: .2em; }

/* =========================================
   6. COMPONENTS (Images & Footer)
   ========================================= */
.images {
    position: relative;
    display: block;
    left: 0vw;
    margin-top: 3vh;
    margin-bottom: 3vh;
    text-align: center;
    width: auto;
    max-width: 100%;
    z-index: 300;
}

.images img {
    display: block;
    width: 87vw;
    height: auto;
    border: none;
    margin: 0;
    background-color: var(--bc);
    object-fit: cover;
    user-drag: none;
    -webkit-user-drag: none;
}

.images p {
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-style: normal;
    letter-spacing: 0em;
    text-align: center;
    margin: 0 auto;
    font-size: 1em;
    color: var(--bc);   
    position: absolute;
    right: 3vw;
    bottom: 1.5vh;
    z-index: 500;
}
.images a:link, .images a:visited, .images a:active { color: var(--bc); text-decoration: none; }
.images a:hover { text-decoration: underline; color: var(--bc); }

/* Footer */
footer {
    text-align: center;
    padding: 0;
    position: relative;
    margin-top: 0;
    top: 1vh;
    left: 0;
    z-index: 1000;
    justify-content: space-between;
}
/* Ensure footer text is centered and not affected by paragraph margins */
footer p {
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-style: normal;
    letter-spacing: 0em;
    font-size: 1em;
    margin: 0;
    margin-bottom: 1.5vh;
    text-align: center;
    line-height: 1.5em;
    /* Reset margins explicitly */
    margin-left: 0 !important;
    margin-right: 0 !important;
}
footer img {
    width: 2em;
    height: auto;
    border: 0;
    margin-bottom: 4vh;
    background-color: var(--bc);
    user-drag: none;
    -webkit-user-drag: none;
}
.footer-icon-row {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 2em; 
}
footer img.logo-insta { width: 3em; }
footer img.logo-accph { width: 7em; }
footer img.logo-ifs { width: 6em; }
footer img.logo-therapy { width: 8em; }



.btn-ctb {
    display: inline-block;
    background-color: #6fa5b1;
    color: #fff !important;
    font-family: "Archivo Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 35px;
    text-decoration: none !important;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: 600;
}
.btn-ctb:hover {
    background-color: #588a94;
    transform: translateY(-2px);
}

/* =========================================
   7. BLOG SYSTEM (Previews & Articles)
   ========================================= */

/* --- Blog Container --- */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 15vh;
    padding-bottom: 10vh;
    width: 100% !important; 
    left: auto !important;
    overflow: visible !important;
}

/* --- Previews --- */
.article-preview-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px; /* Reduced padding */
    margin-bottom: 40px; /* Reduced margin */
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.article-preview-card a { text-decoration: none; color: inherit; }

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-image-link {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
}
.preview-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.article-preview-card:hover .preview-image-link img { transform: scale(1.05); }

.preview-meta, .article-meta {
    font-family: "Archivo Narrow", sans-serif;
    font-size: .8rem;
    color: #757575;
    margin-bottom: 5px; /* Tighter meta spacing */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-preview-card h2 {
    font-family: "futura-pt", sans-serif;
    font-size: 1.8rem;
    line-height: 1.1; 
    font-weight: 600; 
    color: var(--tx);
    text-align: left !important;
    margin: 0 0 8px 0 !important; /* Tighter headline margin */
}

.article-preview-card p.synopsis {
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.1; 
    color: var(--tx);
    text-align: left !important;
    
    /* UPDATED: Tighter synopsis spacing */
    margin: 0 0 10px 0 !important; 
    
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more-link {
    font-family: "Archivo Narrow", sans-serif;
    font-size: 0.9rem;
    color: var(--tx);
    text-decoration: none;
    border-bottom: 1px solid var(--tx);
    align-self: flex-start;
    padding-bottom: 2px;
}

/* --- Single Article View --- */
.article-header {
    margin-bottom: 30px; /* Reduced from 40px */
    text-align: left;
    width: 100%;
}
.article-header h1 {
    font-family: "futura-pt", sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--tx);
    font-weight: 600; 
    font-style: normal; 
    text-align: left !important; 
    margin-left: 0 !important; 
    margin-right: 0 !important;
    
    /* UPDATED: Tighter header spacing */
    margin-bottom: 15px !important; 
}
.article-header p {
    font-family: "futura-pt", sans-serif !important;
    font-weight: 100 !important;
    font-size: 1.2rem !important;
	    color: var(--tx);
    line-height: 1.2 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
    
    /* UPDATED: Reduced bottom margin */
    margin-bottom: 20px !important; 
}
.article-meta { margin-bottom: 10px; }

.article-hero-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    margin-bottom: 30px; /* Reduced margin */
    border-radius: 2px;
    display: block;
}

/* --- Article Body Text --- */
.blog-container p, 
.article-content p {
    font-family: "futura-pt", sans-serif; 
    font-weight: 100;
    font-size: 1.2rem; 
    line-height: 1.2;   
    color: var(--tx);
    
    margin-left: 0 !important;
    margin-right: 0 !important;
    
    /* UPDATED: Very tight paragraph spacing (Editorial feel) */
    margin-bottom: 12px !important; 
    
    text-align: left !important;
}

.article-content strong, 
.article-content b {
    font-weight: 600;
}
/* --- Inline Italics (for terms like Expat Blues) --- */
.article-content i,
.article-content em {
    font-family: "futura-pt", sans-serif;
    font-style: italic;
    
    /* Elegant tweak: Make italics slightly heavier than the light body text 
       so they don't disappear or look pixelated. */
    font-weight: 400; 
}
.article-content h3 {
    font-family: "futura-pt", sans-serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--tx);
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-decoration: none !important;
    font-weight: 600; 
    
    /* NEW: This overrides the wide spacing from the homepage */
    letter-spacing: normal; 
    
    /* UPDATED: Tighter margins around subheads */
    margin-top: 35px !important; 
    margin-bottom: 10px !important;
}

.article-content blockquote {
    font-family: "futura-pt", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    
    /* This keeps the text color strictly as is */
    color: var(--tx); 
    
    line-height: 1.25; 
    
    /* CHANGE THE COLOR HERE: Replace 'red' with your desired hex code (e.g. #00aabb) */
    border-left: 3px solid #6fa5b1; 
    
    padding-left: 20px;
    
    /* UPDATED: Tighter blockquote spacing */
    margin: 30px 0 !important; 
    
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.article-content ul, 
.article-content ol {
    /* UPDATED: Tighter list spacing */
    margin-bottom: 20px; 
    
    padding-left: 20px;
    margin-left: 0 !important;
}

.article-content li {
    font-family: "futura-pt", sans-serif; 
    font-weight: 100;
    font-size: 1.15rem;
    line-height: 1.3;
    
    /* UPDATED: Minimal spacing between list items */
    margin-bottom: 6px; 
    
    list-style-position: outside;
}
/* --- Article Footer (Call to Action) --- */
.article-footer-cta {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #bbb;
    text-align: left;
}

.article-footer-cta h4 {
    font-family: "futura-pt", sans-serif;
    font-size: 1.5rem; 
    font-weight: 600;
    color: var(--tx);
    
    /* Resetting global H4 styles */
    letter-spacing: normal; 
    text-decoration: none !important;
    text-align: left !important;
    
    margin: 0 0 10px 0 !important;
}

.article-footer-cta p {
    font-family: "futura-pt", sans-serif;
    font-size: 1.1rem;
    font-weight: 100;
    line-height: 1.4;
    
    /* Resetting global paragraph margins */
    margin: 0 !important;
}

.article-footer-cta a {
    text-decoration: underline;
    color: var(--tx);
    font-weight: 600; /* Makes the link pop slightly */
}
/* --- Elegant Custom List --- */
.article-content ul, 
.article-content ol {
    /* Remove default ugly bullets */
    list-style: none; 
    padding-left: 0;
    
    /* Reset margins */
    margin-bottom: 25px; 
    margin-left: 0 !important;
}

.article-content li {
    position: relative;
    padding-left: 25px; /* Creates space for the custom bullet */
    margin-bottom: 12px; /* Matches your paragraph spacing */
    
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-size: 1.15rem;
    line-height: 1.3;
}
/* --- Elegant Custom List --- */
.article-content ul, 
.article-content ol {
    /* Remove default browser bullets */
    list-style: none; 
    padding-left: 0;
    
    margin-bottom: 25px; 
    margin-left: 0 !important;
}

.article-content li {
    position: relative;
    
    /* UPDATED: Reduced space between bullet and text (was 25px) */
    padding-left: 15px; 
    
    margin-bottom: 8px;
    
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-size: 1.15rem;
    line-height: 1.3;
}

/* Create the custom bullet (Small Round Dot) */
.article-content li::before {
    content: '';
    position: absolute;
    left: 0;
    
    /* Center vertical alignment */
    top: 0.5em; 
    
    /* UPDATED: Smaller size */
    width: 4px; 
    height: 4px;
    
    /* UPDATED: Makes it round */
    border-radius: 50%; 
    
    background-color: var(--tx); 
}
/* =========================================
   8. HAMBURGER MENU COMPONENTS
   ========================================= */

/* --- Default (Desktop): Hide Hamburger, Show Links --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    z-index: 1001; /* Sit above everything */
}

/* Ensure links look normal on desktop */
.nav-links {
    display: block;
}

.faq-item summary {
    font-family: "futura-pt", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tx);
    
    /* THE MASTER FIX: Force display: block to remove 'list-item' behavior */
    display: block !important; 
    list-style: none !important;
    position: relative;
    padding: 15px 40px 15px 0; /* Space on right for your custom arrow */
    cursor: pointer;
}

/* Hide default marker for Safari/Chrome */
.faq-item summary::-webkit-details-marker {
    display: none !important;
}

/* Hide default marker for Firefox */
.faq-item summary::marker {
    display: none !important;
    content: "";
}

/* Your Custom Triangle Marker */
.faq-item summary::after {
    content: '▶';
    font-size: 0.8rem;
    color: #6fa5b1;
    transition: transform 0.6s ease;
    
    /* Position it manually since we changed summary to display: block */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Rotate Triangle when open */
.faq-item[open] summary::after {
    /* Keep the vertical centering and add the rotation */
    transform: translateY(-50%) rotate(90deg);
}
/* Styling for the scientific study links to match plain text */
.study-link {
    color: #6fa5b1; /* Your brand teal */
    text-decoration: none; /* Removes the default underline */
    
    /* Forces the link to use the exact same style as your body text */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit; 
    font-style: inherit;
    
    transition: color 0.3s ease;
}

.study-link:hover {
    color: #588a94; /* Darker teal on hover */
    text-decoration: underline; /* Optional: subtle hint on hover only */
}
/* Styling for the Clinical section to match the FAQ section lines */
.clinical-section {
    margin-top: 30px;
    margin-bottom: 0px;
    border-top: 1px solid rgba(0,0,0,0.1); /* The top line */
    padding-top: 0px;
}

/* =========================================
   9. MEDIA QUERIES (MOBILE)
   ========================================= */

@media (max-width: 768px) {

    /* --- Navigation --- */
    nav {
        position: fixed;
        margin: 0;
        padding: 0;
        right: 3vw;
        margin-top: 1vh;
        text-align: right;
        z-index: 500;
    }
    nav a {
        font-size: .7em;
        margin-top: 2vh;
    }
    .archivo-narrow-nav div {
        margin-bottom: 5px;
    }

    head-top {
        margin-top: 1vh;
        text-align: left;
    }
    head-top a { font-size: .7em; }

    head-left {
        left: 2vw;
        margin-top: 2vh;
    }
    head-left img { width: 2.5vw; }

    /* --- Layout Adjustments --- */
    
    /* 1. The Main Cover Image Area */
    .cover { 
        top: 4vh; 
        margin-bottom: 0; 
    }
    
    .cover img {
        /* Keeps a moderate distance from the quote */
        margin-bottom: 5vh !important; 
    }

    section {
        /* UPDATED: Set to 0 */
        margin-top: 0; 
        margin-bottom: 3vh;
    }

    /* 2. The Quote (SPACING ADJUSTED HERE) */
    main blockquote {
        font-size: 1em;
        margin-left: 5vw !important; 
        margin-right: 5vw !important;
        
        /* Increased top space (away from image) */
        margin-top: 6vh !important;
        
        /* Reduced bottom space (closer to About Me) */
        margin-bottom: 1.5vh !important;
    }

    /* 3. About Headline */
    main h3 {
        margin-right: 0 !important; 
        text-align: center;
        margin-top: 0;
    }

    /* 4. The Portrait */
    .portrait {
        float: none;
		left: 0 !important; 
        position: relative;
        display: block;
        margin-left: auto !important; 
        margin-right: auto !important;
        width: 60vw;
        margin-top: 2vh;
        margin-bottom: 4vh;
    }

    /* --- Text & Other Elements --- */

    main p, 
    main > p {
        margin-left: 5vw !important; 
        margin-right: 5vw !important;
    }

    main h1 {
        font-size: 1.5em;
        margin-left: 5vw;
        margin-right: 5vw;
    }

    main h4 {
        margin-left: 5vw !important;
    }

    footer img { width: 1em; }
.footer-icon-row {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 2em; 
}
footer img.logo-insta { width: 1.5em; }
footer img.logo-accph { width: 3.5em; }
footer img.logo-ifs { width: 3em; }
footer img.logo-therapy { width: 4em; }
    .scroll-padding {
        scroll-margin-top: 4vh;
        margin-top: 4vh;
    }

    /* --- Blog Previews Mobile --- */
    .article-preview-card {
        flex-direction: column-reverse; 
        gap: 20px;
        padding-bottom: 40px;
    }
    .preview-image-link {
        width: 100%; 
        height: 200px;
    }
    .article-preview-card h2 {
        font-size: 1.5rem;
    }

    /* --- Blog Article Mobile --- */
    .blog-container {
        width: 90% !important; 
        padding-top: 12vh;
        padding-left: 5%;
        padding-right: 5%;
    }

    .article-header h1 { 
        font-size: 2rem; 
        line-height: 1.1;
    }
    
    .article-content p { 
        font-size: 1.15rem; 
        line-height: 1.5;   
    }
    
    .article-content blockquote { 
        font-size: 1.4rem; 
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px; 
    }
	
    /* 1. Position the Nav Container */
    nav {
        /* Keep your existing mobile nav positioning */
        right: 5vw; 
        top: 2vh;
        margin: 0;
    }

    /* 2. Show the Hamburger Icon */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        margin-left: auto; /* Pushes it to the right */
    }

    /* The 3 lines of the hamburger */
    .hamburger-menu span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--tx);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* 3. Hide Links by Default */
    .nav-links {
		visibility: hidden; /* Changed from display: none */
		pointer-events: none; /* Add this: clicks pass THROUGH it */
		position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bc); /* Use your site background color */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0; /* For animation */
        transition: opacity 0.3s ease;
    }

    /* 4. The "Active" State (When Menu is Open) */
    .nav-links.active {
        display: flex; /* Show it */
		visibility: visible; /* Add this */
		pointer-events: auto; /* Add this: allows clicking when open */
        opacity: 1;
    }

    /* Style the links inside the open menu */
    .nav-links div {
        margin: 20px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem; /* Big text for easy tapping */
        font-family: "futura-pt", sans-serif; /* Use your brand font */
        font-weight: 600;
        color: var(--tx);
        text-decoration: none;
    }

    /* 5. Animation: Turn Hamburger into an 'X' */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0; /* Hide middle line */
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
	/* --- FAQ Mobile Adjustments --- */
    .faq-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .faq-item summary {
        font-size: 1.1rem; /* Slightly smaller for mobile */
        line-height: 1.3;
    }

    .faq-answer p {
        font-size: 1rem !important; /* Matches your mobile paragraph scale */
        line-height: 1.4 !important;
    }

    .faq-item summary::after {
        font-size: 0.7rem; /* Scale down the triangle slightly */
        margin-left: 10px;
    }
}
/* =========================================
   10. CONTACT FORM SECTION
   ========================================= */

#contact {
    background-color: #f0fbfc; /* Light blue background */
    padding: 20px 0 60px 0;;
    margin-top: 4vh;
    border-top: 1px solid #e0eff0;
    width: 100%;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Headline specific to this section */
#contact h1 {
    font-family: "futura-pt", sans-serif;
    font-size: 2em;
    margin-bottom: 2vh;
    color: var(--tx);
    text-align: center;
    /* Resetting global H1 margins if necessary */
    margin-left: 0;
    margin-right: 0;
}

/* The Intro Paragraph */
#contact .intro-text {
    text-align: center;
    margin-bottom: 3vh;
    max-width: 600px;
    margin-left: auto; /* Centers the block */
    margin-right: auto;
    font-family: "futura-pt", sans-serif;
    font-weight: 100;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Form Wrapper */
.form-wrapper {
    max-width: 500px;
    margin: 0 auto; /* Centers the form */
    text-align: left; /* Aligns labels to the left */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-family: "futura-pt", sans-serif;
    font-size: 0.9rem;
    color: var(--tx);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc; /* Subtle border */
    background-color: #fff;
    border-radius: 2px;
    font-family: "futura-pt", sans-serif;
    font-size: 1rem;
    color: var(--tx);
    box-sizing: border-box; /* Critical for padding */
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #6fa5b1; /* Highlight with your brand Teal */
}

/* Submit Button Adjustments */
#my-form-button {
    width: 100%;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

/* Status Message (Success/Error) */
#my-form-status {
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    display: none; /* Hidden by default */
}

/* Confidentiality Footer */
.confidential-text {
    text-align: center;
    font-size: 0.9em;
    margin-top: 1vh;
    opacity: 0.7;
    margin-left: auto !important;
    margin-right: auto !important;
}

.confidential-text a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.confidential-text a:hover {
    border-bottom: 1px solid var(--tx);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    #contact {
        padding: 55px 0;
    }
    #contact h1 {
        font-size: 1.6em;
    }
    .form-wrapper {
        width: 95%;
        padding: 0 0px;
    }
}

/* =========================================
   11. SUCCESS MESSAGE STATE
   ========================================= */

.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeEffect 0.8s; /* Smooth fade in */
}

.success-message h3 {
    font-family: "futura-pt", sans-serif;
    font-size: 2.2rem;
    color: var(--tx);
    margin-bottom: 20px;
    font-weight: 600;
}

.success-message p {
    font-family: "futura-pt", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--tx);
    margin: 0;
}

/* Simple fade-in animation */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
/* =========================================
   11. SUCCESS MESSAGE STYLES (REFINED)
   ========================================= */

.success-mode {
    max-width: 800px !important;
    margin: 50px auto 0 auto !important;
    text-align: center; /* This centers the inline blocks */
    animation: fadeIn 0.8s ease;
}

/* Grouping Thank You and Checkmark side-by-side */
.success-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between text and checkmark */
    margin-bottom: 30px;
}

.success-mode h3 {
    font-family: "futura-pt", sans-serif;
    font-size: 2.5rem; /* Slightly larger to anchor the page */
    color: #6fa5b1; 
    margin: 0; /* Remove default margins to keep alignment perfect */
    font-weight: 600;
	text-decoration: none !important;
    border-bottom: 2px solid #6fa5b1; /* Matches the underline style in your images */
    padding-bottom: 5px;
}

.checkmark-icon {
    font-size: 3rem;
    color: #6fa5b1;
    line-height: 1;
}

/* Centering the body text */
.success-body-content {
    text-align: center; 
}

.success-mode p {
    font-family: "futura-pt", sans-serif;
	font-weight: 100;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #6fa5b1;
    margin: 0 auto 20px auto !important;
    max-width: 550px;
    text-align: center; /* Forces center alignment for each paragraph */
}

.success-mode .small-note {
    font-size: 1rem;
    opacity: .5;
    margin-top: 10px;
    font-style: italic;
}

.success-mode .warm-regards {
    margin-top: 20px !important;
    font-weight: 400;
}