/* Ensure padding and borders are included in the width/height */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px ; 
    display: flex;
    gap: 10px;
    z-index: 1000;  /* Ensure it's above other elements */
    background: rgba(255, 255, 255, 0.197); /* Optional: add background for visibility */
    padding: 5px; /* Optional: add padding */
    border-radius: 5px; /* Optional: make it look nice */
}

.language-switcher img {
    width: 30px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.language-switcher img:hover {
    transform: scale(1.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8)), url('images/orchid6.jpg') no-repeat center fixed;
    background-size: cover;
    color: #333;
}

/* Header */
header {
    font-family: 'Playfair Display', serif;
    background-color: #6a0dad;
    color: white;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to right, rgba(106, 13, 173, 0.9), rgba(255, 105, 180, 0.8));
    color: white;
    
}

/* Specific header style for index page */
body.index-page header {
    background: linear-gradient(to right, rgba(212, 105, 255, 0.616), rgba(255, 201, 228, 0.578));
}


header h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    font-family: 'Poppins', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem; /* Make the font bigger */
    padding: 15px 25px; /* Increase the size of the buttons */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


/* Hero Section */
.hero {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 30px;
}

.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin: 00px 0;
    letter-spacing: 1.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-button {
    font-family: 'Poppins', sans-serif;
    padding: 12px 24px;
    background-color: #6a0dad;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #5b0c8c;
}

/* Simone picture */
.profile-pic {
    width: 300px; /* Increased size */
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 60px auto 20px;
    margin-bottom:0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active class to trigger fade-in */
.fade-in-active {
    opacity: 1; /* Element becomes fully visible */
    animation: fadeIn 2s ease-out forwards;
}


/* Header - Curved Text Styling */
.curved-text-svg {
    width: 100%;
    height: 110%;
    position: absolute;
    top: 5px; /* Adjust to bring the text closer to the image */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.curved-text-svg text {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem; /* Reduce font size */
    fill: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.65); /* helps readability */
    letter-spacing: 2px;
}


/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #8832c6;
    color: white;
    font-family: 'Poppins', sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer strong {
    font-weight: bold;
}

/* About Section */
.about {
    text-align: center;
    padding: 15px 20px 20px;
}

.about h2 {
    font-size: 2rem;
    color: #541f7a;
}

.about p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Philosophy & Experience Sections */
.philosophy,
.experience {
    padding: 10px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy h2,
.experience h2 {
    font-size: 2rem;
    color: #6a0dad;
}

.philosophy p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.experience ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.experience ul li {
    background-color: #f2e1fa; /* Light lavender */
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    font-weight: bold;
}

/* About Page - Different Background */
.about-page {
    background: url('images/orchid1.jpeg') no-repeat center fixed;
    background-size: cover;
    color: #2a0b40; /* Darker text for better readability */
    position: relative;
    min-height: 100vh; /* Ensure it covers the full page */
    display: flex;
    flex-direction: column;
}

/* Optional: Add an overlay for better readability */
.about-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Light semi-transparent overlay */
    z-index: -1;
}

.about-text {
    font-size: 1.3rem; /* Increase text size */
    font-weight: 300; /* Make text bolder */
    color: #2a0b40; /* Darker shade for better readability */
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85); /* Light background for contrast */
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    line-height: 1.6; /* Improve spacing for readability */
}

.about-title {
    font-size: 2.5rem; /* Increase size */
    font-weight: bold;
    color: #4b0082; /* Dark purple for strong contrast */
    text-align: center;
    margin-top: 20px;
    text-transform: uppercase; /* Optional: Makes text all uppercase */
}

/* Centering the navigation buttons */
.nav-buttons {
    text-align: center;
    margin: 5px 0;
}

.nav-buttons.fade-in {
  padding-top: 0px;   /* space under the nav buttons on contact page */
  margin-top: 32px;       /* prevent double spacing if nav-buttons already has margin */
}

/* Styling for the "Get in Touch" button appearing multiple times */
.contact-button {
    text-align: center;
    margin: 50px 0;
}

.get-in-touch {
    background-color: #7c22c5bc; /* Orange, or choose another standout color */
    font-size: 1.2rem;
}

.get-in-touch:hover {
    background-color: #38006d; /* Darker shade on hover */
}


/* Centering the contact info section */
.contact-info {
    font-size: 1.5em; /* Increase font size */
    font-weight: bold; /* Make text stand out */
    text-align: center; /* Center align */
    margin-bottom: 20px; /* Add spacing */
    color: #2a0b40; /* Dark text for readability */
}

/* Contact Form */
.contact-form {
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}
.contact-form form {
    display: flex;
    flex-direction: column;
}
.contact-form label {
    font-weight: bold;
    text-align: left;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background-color: #6a0dad;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.contact-form button:hover {
    background-color: #5500a3;
}

/* Office Location */
.office-location {
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
}

.contact-page {
    background: url('images/orchid2.jpeg') no-repeat center fixed;
    background-size: cover;
    color: #2a0b40; /* Dark text for readability */
    position: relative;
}

.services-page {
    background: url('images/orchid7.jpg') no-repeat center fixed;
    background-size: cover;
    color: #2a0b40; /* Dark text for readability */
    position: relative;
}

.services-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Light semi-transparent overlay */
    z-index: -1;
}

/* Overlay */
.contact-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Light semi-transparent overlay */
    z-index: -1;
}

.contact-address {
    font-size: 1.8em; /* Even bigger for emphasis */
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    color: #2a0b40;
}

body.insurance {
    position: relative;
    background: url('images/orchid4.jpg') no-repeat center fixed;
    background-size: cover;
}

.insurance-section, .payment-section {
    text-align: center;
    padding: 00px 20px;
}

.insurance-list, .payment-list {
    list-style: none;
    padding: 0px;
    font-size: 1.2em;
}

.insurance-list li, .payment-list li {
    background: rgba(255, 255, 255, 0.425);
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
}

.get-in-touch {
    text-align: center;
    margin: 40px 0;
}

.get-in-touch .button {
    background: #6a0dad;
    color: white;
    padding: 12px 25px;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.get-in-touch .button:hover {
    background: #5a0ca3;
}

.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.insurance-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.471);
    padding: 15px;
    border-radius: 8px;
    width: 120px;
    height: 120px; /* Adjust height to make logos more prominent */
}

.insurance-item img {
    max-width: 100%;
    max-height: 100%;
}

.insurance-text {
    font-weight: 600; /* Slightly bolder than normal */
    font-size: 18px; /* Optional: Increase font size */
}


/* Add a semi-transparent overlay */
body.insurance::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.764); /* Adjust the opacity and color as needed */
    z-index: 1; /* Ensure it is above the background but below content */
}

/* Ensure the page content is above the overlay */
body.insurance *:not(.language-switcher) {
    position: relative;
    z-index: 2;
}

/* Default Styles for Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;  /* Center buttons horizontally */
    align-items: center;  /* Center align the items */
    gap: 20px;  /* Add space between the buttons */
    margin-top: 10px;
}

.nav-buttons .cta-button {
    text-decoration: none;
    background-color: #7c22c5bc;  /* Keeping the original color */
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.nav-buttons .cta-button:hover {
    background-color: #5b3c8b;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .nav-buttons {
        flex-direction: row; /* Align buttons in a row */
        justify-content: center;  /* Keep the buttons closer to each other */
    }

    .nav-buttons .cta-button {
        width: auto;  /* Ensure buttons are their natural width */
        margin: 0;  /* Remove any extra margins */
    }
}

header .about .under-image-title {
    display: block;
    text-align: center;
    font-size: 2.8rem;        /* adjust size */
    margin: 16px auto 30px;   /* spacing */
    margin-bottom: 0;
    color: #fcecff;           /* white text */
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.7px;
    position: relative;
    z-index: 3;               /* put it above overlays */
    text-shadow: 0 1px 4px rgba(0,0,0,0.8); /* helps readability */
}

/* Bring the buttons closer to "Therapeutic Services" */
/* Remove extra spacing inside this nav only */
#index-buttons ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0px 0px 10px;
    margin: 10px 0 0 0;
}

#index-buttons li {
    margin: 0;
}

/* Stack buttons vertically on mobile */
@media (max-width: 600px) {
    #index-buttons ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Languages Offered Section */
.languages-offered {
    margin-top: 35px;
}

/* Title */
.languages-offered h2 {
    font-size: 26px;    /* adjust title size */
    margin-bottom: 12px;
    text-align: left;
    font-weight: 600;
}

/* List Layout */
.languages-offered ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.languages-offered li {
    display: flex;
    align-items: center;
    gap: 10px;          /* space between flag & text */
    margin-bottom: 10px;
    font-size: 18px;    /* adjust language text size */
    line-height: 1.4;
}

/* Flag Icons */
.flag-icon {
    width: 32px;        /* adjust icon size */
    height: 32px;
    border-radius: 4px; /* remove if you want square flags */
    object-fit: cover;
}

/* Mobile Tweaks */
@media (max-width: 600px) {
    .languages-offered h2 {
        font-size: 22px;
    }
    .languages-offered li {
        font-size: 17px;
    }
    .flag-icon {
        width: 28px;
        height: 28px;
    }
}

.languages-offered {
    text-align: center;
}

.languages-offered ul {
    display: inline-block;   /* centers the list itself */
    text-align: left;        /* keeps text aligned nicely next to the flag */
}

.languages-offered li {
    justify-content: flex-start;   /* prevents weird spacing */
}

/* Make insurance page layout push footer to bottom */
body.insurance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Footer fades in and stays at bottom */
.footer {
    margin-top: auto;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;  /* Keep it at the top */
        right: 10px;  /* Keep it to the right */
        flex-direction: row;  /* Arrange flags horizontally */
        gap: 8px;  /* Adjust the gap between flags */
    }
    header h1 {
        font-size: 2rem; /* Smaller font size for header on mobile */
        margin: 10px 0; /* Adjust margins */
    }
    /* Curved text size on mobile */
    .curved-text-svg {
        height: 110%;
        top: -10%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%); /* Center horizontally */
        z-index: 10; /* Ensure the text stays above the image */
        width: 100%;
        
    }
    .curved-text-svg text {
        font-size: 2.8rem; /* Make the text smaller on smaller screens */
    }

    /* Navigation buttons - Styling for mobile */
    nav ul {
        text-align: center; /* Center the navigation */
        padding-left: 0; /* Remove left padding for cleaner alignment */
    }

    nav ul li {
        display: inline-block; /* Make the buttons inline but spaced out */
        margin: 10px; /* More space between buttons */
        padding: 10px 20px; /* Add padding to make the clickable area larger */

    }

    nav ul li a {
        font-size: 1.2rem;
        font-weight: bold;
        color: #2a0b40; /* Ensure the link text is visible with the border */
        padding: 12px 20px; /* Add more padding for easier tapping */
        text-decoration: none;
    }

    nav ul li a:hover {
        color: #fff; /* Change text color on hover */
        background-color: #6a0dad; /* Change background color on hover */
    }

    /* Hero Section Adjustments */
    .hero h2 {
        font-size: 2rem; /* Smaller heading for mobile */
    }

    .hero p {
        font-size: 1rem; /* Adjust paragraph size */
    }
        .nav-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;  /* Center the buttons horizontally */
    }

    .nav-buttons .cta-button {
        margin-bottom: 0px; /* Space out the buttons */
        width: 80%;  /* Buttons take up most of the screen width */
    }
    .contact-page::before {
        background: rgba(255, 255, 255, 0.522); /* Light semi-transparent overlay */
    }

    /* Adjust the image size */
    .profile-pic {
        width: 80%;
        height: auto;
        display: block;
        margin-top: 20px;
    }

    /* Ensure enough space around the text for smaller screens */
    .header-content {
        position: relative;
        width: 100%;
        min-height: 250px; /* Ensure there is enough space */
    }
    .contact-info a {
        font-size: 20px;   /* pick any size you want */
        line-height: 1.2;  /* optional: keeps it tight but readable */
        word-break: normal; /* optional: to undo break-all if you don't want the split */
    }
}

.contact-page .nav-buttons {
    margin-bottom: 40px;
}

.about-page .nav-buttons {
    margin-top: 0px !important; /* or whatever value you want */
}

/* MOBILE FIXES — Contact Page */
@media (max-width: 600px) {

    body.contact-page {
        padding: 15px;          /* Add space between content and edges */
    }

    .contact-info,
    .contact-address {
        font-size: 1.2em;       /* Reduce huge text */
        padding: 0 10px;        /* Inner padding */
    }

    .contact-form {
        width: 100%;
        padding: 0 10px;        /* Prevent touching edges */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
    }

    .office-location {
        padding: 0 10px;
    }

    header h1 {
        font-size: 2rem;        /* Reduce giant header */
    }

    .nav-buttons {
        padding: 0 10px;
        gap: 10px;
        flex-direction: column;
    }

    .nav-buttons .cta-button {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
}

.footer-email {
    color: inherit;
    text-decoration: none;
}

.footer-email:hover {
    text-decoration: underline;
}

.index-page .contact-button {
    margin-top: 00px;   /* ← change to whatever you want */
}