:root {

    --footer-bottom-text-color: #1f3a52;
    /* AD section specific colors */
    --ad-width: 170px;
    --ad-height: 205px;
    --ad-bg-overlay: rgba(0, 0, 0, 0.7);
    --ad-heading-color: white;
    --ad-paragraph-color: white;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #1f3a52;
    color: #333;
    height: 100%;
    /* Ensure full page height */
    overflow-y: auto;
    /* Ensure vertical scrolling is enabled */
    scroll-behavior: smooth;
    /* Smooth scrolling for better UX */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100%;
    /* Ensure the body does not exceed the viewport width */
}

body::before {
    content: '';
    position: fixed;
    /* Use fixed positioning to make the background cover the entire page */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);


    background-size: 300% 300%;
    opacity: 1;
    /* Make the background image faint */
    z-index: -1;
    /* Position the background behind the content */
    pointer-events: none;
    /* Prevent the background from interfering with interactions */
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 5px;
    /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background color of the track */
    border-radius: 10px;
    /* Rounded corners for the track */
}

body::-webkit-scrollbar-thumb {
    background: #1f3a52;
    ;
    /* Color of the scrollbar */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Darker color when hovered */
}

/* Header Styling */
header {
    color: white;
    padding: 10px 21px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    transition: transform 0.3s ease-in-out;
    margin-top: -20px;
    /* Add this line */

}

.social-media-icons {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.social-media-icons a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
}

.social-media-icons a:hover h2 {
    animation: shake 0.5s forwards;
}

.logo-container {

    display: flex;
    align-items: center;
    margin-right: 50px;
    margin-left: 50px;
    /* Add some margin to separate the logo from the nav */
    flex-shrink: 0;
    /* Prevent it from shrinking on small screens */
    margin-top: 20px;
}

.logo-video {
    width: 170px;
    height: 10%;
    border-radius: 10%;
    object-fit: contain;
}


nav {
    flex: 1;
    /* Take up the remaining space */
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    transition: transform 0.3s ease-in-out;

}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;

    /* Adjust as needed */
    transition: opacity 0.5s ease-in-out;
}

.nav-links.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.nav-links li {
    margin: 0.5rem;
}

.nav-links li a {
    color: var(--text-muted);
    font-family: 'Nunito', sans-serif;
    font-size: 14.2px;
    font-weight: 200;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    transform: scale(1.1);
    color: #acc8df;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 15px;
    border-color: var(--link-underline);
}


.logo-container:hover {
    animation: shake 0.5s ease-in-out;
}




/*#region FORM SECTION*/
.form-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.form-slide-left.form-animate {
    opacity: 1;
    transform: translateX(0);
}

.form-section {

    display: flex;
    align-items: flex-start;
    /* Align items to the top */
    justify-content: center;
    min-height: 100vh;
    /* Start with viewport height, expand as needed */
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0 auto;
    /* Centers the section horizontally */
    max-width: 1270px;
    /* Sets a fixed width for the section */
    padding: 20px;
    /* Keeps internal spacing */
 background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);


}

.text-side {
    opacity: 0;
    transform: translateY(-50px);
    /* Slide from top */
    transition: all 0.8s ease-out;
}

.text-side.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.serif {
    font-weight: 500;
    font-style: italic;
    font-family: Newsreader, "Times New Roman", serif;
    font-size: 70px;
    color: #ffffff;
    margin-top: -15px;
    /* Optional: for tighter visual spacing */
    margin-left: 40px;
}

.text-side {
    font-size: 38px;
    color: #ffffff;
    font-weight: 200;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    margin-left: 45px !important;
    margin-top: 250px;
    white-space: nowrap;
    line-height: 1.1em;
}


.form-section h2 {
    text-align: center;
}

.form-section .form-container {
    margin: 0 auto;
    margin-top: 50px;
}

.form-container {

    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
    min-height: 430px;
    /* Initial height for shorter content */
    max-height: none;
    margin-top: 40px;
    ;
backdrop-filter: blur(4px); /* optional, adds soft frosted effect */

background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );
    background-size: 300% 300%;
    overflow: auto;
    /* Allows scrolling if content exceeds viewport height */

}

/* Styles for the question label */
.question-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 1.2em;
}

/* Styles for the checkbox list */
.checkbox-list {
    list-style: none;
    /* Removes default bullets */
    padding: 0;
    margin: 0;
}

.checkbox-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Adds spacing between items */
    gap: 20px;
    /* Adjusts space between checkbox and text */
}

.checkbox-list li {
    display: grid;
    grid-template-columns: 20px auto;
    /* Fixed width for checkbox and flexible width for text */
    align-items: center;
    column-gap: 170px;
    /* Adds consistent space between checkbox and text */
}

/* Optional: Adjust font size and line height for better readability */
.checkbox-list label {
    font-size: 1em;
    line-height: 1.5;
    white-space: nowrap;
    /* Ensures label text does not wrap */
}

.sub-btn {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Keyframes for animating the gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.view-profile {
    display: inline-block;
    margin-top: 8px;
    font-weight: lighter;
    text-decoration: none;
    color: white;
    /* ✅ text + arrow both green */
    transition: color 0.3s ease;
    font-size: 12px;
}

.view-profile:hover {
    color: blue;
    /* darker on hover */
}

.book-btn {
   background: linear-gradient(
  135deg,
  rgba(0, 100, 80, 0.8) 0%,
  rgba(0, 140, 100, 0.7) 50%,
  rgba(160, 255, 200, 0.2) 100%
);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 32px; /* rounded corners */
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.name-badge {
    display: inline-block;
    background-color: #0481C1;
    /* wine color */
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0;
}

.book-btn:hover {
    background-color: #218838;
    /* darker green on hover */
}


/*****************************************PROGRESS BAR*/
.progress-bar-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-bar {
    height: 5px;
    background-color: #ccc;
    width: 18%;
}

.progress-bar.active {
    background-color: #4CAF50;
}

.help-text {
    font-size: 1.125rem;
    text-align: center;
    color: whitesmoke;
}

.intro-text {
    font-size: 1rem;
    margin-bottom: 60px;
    color: white;
}


/*QUESTION*/
.question {
    margin-bottom: 20px;
    color: whitesmoke;
}

.question p {
    font-weight: bold;


}

.question label {
    font-weight: bold;
}

.question select,
.question input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.nav-btn {
    padding: 10px 20px;
    margin-top: 20px;
    background: linear-gradient(135deg, #70b800, #0481c1);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */
}

.nav-btn:hover {
    background-color: #45a049;
     transition: transform 0.4s ease;
}

.info-container {
    background-color: #e7f3fe;
    /* Light blue background */
    padding: 15px;
    margin-top: 50px;
    /* Space above the container */
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /* Space between icon and text */
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    /* Optional: To match form width */
}

.info-icon {
    color: #007bff;
    /* Blue info icon */
    font-size: 1.125rem;
    margin-top: 3px;
    /* Adjust icon vertical alignment */
}

.info-text {
    color: #333;
    /* Dark text */
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/*#endregion FORM**/


/*#region**********************************************REVIEW Section Styling************************/
#t-review {
    position: relative;
    /* Needed for absolute positioning inside */
    padding: 40px 1.25rem;
   background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);

    color: #1f3a52;
    text-align: center;
    border-radius: 70px;
    background: transparent;
    background-size: 300% 300%;
    margin-top: 10px;


}


/* Container for all the review cards */
.review-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}


/* Apply the animation every time it enters the viewport */
.review-container.show {
    opacity: 1;
    transform: translateX(0);
}

.review-card.left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.review-card.left.animate {
    opacity: 1;
    transform: translateX(0);
}

.review-card.top {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease-out;
}

.review-card.top.animate {
    opacity: 1;
    transform: translateY(0);
}

.review-card.right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.review-card.right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Review Card Styling */
.review-card {
    position: relative;
    /* Enable absolute positioning inside */
background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );
backdrop-filter: blur(4px); /* optional, adds soft frosted effect */

    padding: 1.25rem;
    width: calc(33.33% - 1.25rem);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: gradientMove 12s ease infinite;
    overflow: hidden;
    /* So overlay doesn’t spill out */
}

/* Overlay layer */
.t-review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white */
    z-index: 0;
    border-radius: 8px;
}

.review-author {
    display: flex;
    align-items: center;
    /* Vertically center image and text */
    justify-content: flex-start;
    /* Align everything to the left */
    gap: 10px;
    /* Space between image and name */
    width: 100%;
    /* Ensure it spans full card width */
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;

}

.review-author img {
    width: 40px;
    /* Or desired avatar size */
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.review-author p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.rating-stars {
    color: var(--advert-highlight);
    font-size: 1.5rem;
    margin-left: -230px !important;

}

/* Keyframes for animating the gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Blockquote Styling */
.review-text {
    font-style: italic;
    font-size: 1rem;
    color: white !important;
    margin-bottom: 0.9375rem;

}

.serif2 {
    font-weight: 500;
    font-style: italic;
    font-family: Newsreader, "Times New Roman", serif;
    font-size: 4em;
    color: #ffffff;
    margin-top: -20px;
    /* Optional: for tighter visual spacing */
    margin-left: 45px;
}


/*#endregion*/


/*#region Advert Screen****************************/
.ad-container {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    width: var(--ad-width);
    height: var(--ad-height);
    z-index: 1000;
    overflow: hidden;
    background-color: transparent;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Main Ad Box */
.ad {
    position: absolute;
    right: -300px;
    /* Off-screen initially */
    opacity: 0;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    display: none;
    pointer-events: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Slight background for contrast */
    padding: 2px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Image Container */
.ad {
    position: absolute;
    right: -300px;
    /* Off-screen initially */
    opacity: 0;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    pointer-events: none;
    width: 100%;
    height: 100%;
    background: var(--ad-bg-overlay);
    /* Slight background for contrast */
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Image Container */
.ad-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Adjust ratio as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.ad img {
    max-width: 100%;
    /* Ensure image fits within the container */
    max-height: 80%;
    /* Prevents stretching */
    object-fit: cover;
    /* Keeps image proportional */
    border-radius: 5px;
    margin-top: -12px;
}

/* Text Container */
.ad-content {
    width: 100%;
    height: 35%;
    /* Remaining space for text */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-content h3 {
    font-size: 0.875rem;
    margin-bottom: 2px;
    color: var(--ad-heading-color);
    white-space: normal;
    word-wrap: break-word;
    margin-top: 13px;
}

.ad-content p {
    font-size: 0.875rem;
    color: var(--ad-paragraph-color);
    white-space: normal;
    word-wrap: break-word;
}

/* Show ad */
.ad.show {
    right: 0 !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Hide ad */
.ad.hide {
    right: -300px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.ad-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.ad-link:hover {
    cursor: pointer;
    opacity: 0.95;
}



/*#endregion Advert Screen****************************/

/*#region  Custom Modal styles */

.input-error {
    border: 1px solid var(--input-error-border);
}

.error-message {
    color: var(--error-message-color);
    font-size: 0.85em;
    margin-top: 5px;
}

/* Custom Modal styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--modal-overlay-bg);
    z-index: 9999;
    pointer-events: auto;
}

.custom-modal.show {
    display: flex;
    /* Show and center modal */
}

#errorModal .custom-modal-content {
    background: linear-gradient(135deg, #ff6a6a, #d93636);
    color: #fff;
    box-shadow: 0 8px 24px rgba(217, 54, 54, 0.4);
}

#successModal .custom-modal-content {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.35);
}

/* Common modal content */
.custom-modal-content {
    border-radius: 10px;
    max-width: 260px;
    /* reduced from 320px */
    width: 85%;
    /* takes less screen space */
    padding: 14px 16px;
    /* reduced padding */
    animation: slideUp 0.35s ease-out;
    pointer-events: auto;
    z-index: 10000;
}

/* Header Styling */
.custom-modal-header {
    background: transparent !important;
    /* Let gradient show */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-modal-title {
    font-size: 0.9rem;
    /* smaller text */
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0;
}

/* Body */
.custom-modal-body {
    padding: 8px;
    font-size: 0.9rem;
    /* reduced font */
    text-align: center;
    color: white;
}

/* Footer */
/* Footer */
.custom-modal-footer {
    padding: 6px;
    text-align: center;
}

.custom-modal-footer button {
    border-radius: 6px;
    font-size: 0.75rem;
    /* smaller button text */
    padding: 4px 10px;
    /* smaller button */
    box-shadow: none;
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

#countdown-timer {
    font-weight: bold;
    color: green !;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/*#endregion CUSTOM MODAL*/

/*#region RANGER SECTION*********************************************RANGER*************************/
/* General Styles */

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2.0rem;
    font-family: sans-serif;
    line-height: 1.4em;
}

.result-header h2 {
    font-size: 2.375rem;
    font-weight: 300;
    line-height: 1.1em;
    color: white;
}

.serif1 {
    font-weight: 200;
    font-style: italic;
    font-family: serif;
    margin-left: 0.2rem;
    /* reduce or remove margin */
}

#ranger-section {
    margin-top: 2px !important;
    border-radius: 90px;
     background: linear-gradient(135deg,
            rgba(15, 32, 39, 0.85) 0%,
            /* dark moody base */
            rgba(32, 58, 67, 0.7) 50%,
            /* slightly lighter mid-tone */
            rgba(112, 184, 0, 0.15) 100%
            /* subtle MoodPàdi green tint */
        ) !important;
    background-size: 300% 300%;
    height: 50%;
    /*animation: gradientMove 8s ease infinite alternate;*/
}

.rating-stars {
    font-size: 1.5rem;
    color: #afaf1d;
    margin-top: 10px;
}


.ranger-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 200px !important;
    /* spacing between text and box */
    padding: 40px 0;
    flex-wrap: wrap;
    /* mobile responsiveness */
    margin-left: 40px;
    /* push the box farther right */
}

.text-side {
    color: white;
    width: 380px;
    font-family: 'Nunito', sans-serif;
    text-align: left;
    margin-left: 5px;
}

.text-side h2 {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 1.3;
}

.text-side .underline {
    width: 330px;
    height: 3px;
    background-color: white;
    margin: 10px 0 15px;
}

.text-side p {
    font-size: 0.877rem;
    line-height: 1.6;
}

.ranger-centered-box {
    width: 400px;
    height: 400px;
    background-color: rgb(196, 190, 190);
    border-radius: 12px;
    position: relative;
    overflow: visible;
}

.profile-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 75px;
    height: 40%;
}

.profile-card {
    width: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;

}

.profile-image {
    height: 210px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    padding: 20px;
}

.profile-content h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
    margin-top: 2em;
    font-weight: 800;
}

.divider1 {
    height: 2px;
    background-color: #1f3a52;
    margin-bottom: 20px;
}

.profile-content p {
    font-size: 16px;
    color: #666;
}

.read-more-btn {
    background-color: black;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    margin-left: 240px;
    margin-top: -40px;
    position: absolute;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */


}

.read-more-btn:hover {
    background-color: #3e8e41;
}

.icon-container {
    position: absolute;
    top: 177px;
    left: 10%;
    transform: translateX(-50%);
    background-color: #0d6efd;
    border-radius: 50%;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 20px;

}

.icon-container i {
    color: white;
}


/*#endregion RANGER SECTION*/


/*#region TEAM**********************************************TEAM MEMBERS***********************************************/
#ourtherapist {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 50px 20px;
    margin-top: -30px;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.filter-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #c88e8e;
    transition: all 0.3s ease;
}

.filter-badge:hover {
    background-color: #ddd;
}

.filter-badge.active {
    background-color: #28a745;
    /* green highlight */
    color: white;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Forces 4 columns */
    gap: 30px;
    margin: 40px 0;
    text-align: center;
}


.member-card {
   background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );
    padding: 20px;
    border-radius: 10px;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    /* slide up */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* deeper shadow */
}

.profile-pic {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */
}
.row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 6px 0;
  flex-wrap: nowrap; /* ✅ prevent breaking pairs unless really needed */
}

.row-info p {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  flex: 1;
}

.row-info p strong {
  margin-right: 4px;
  font-weight: 600;
}

.member-card h4 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
}

.member-card p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.stars {
    color: gold;
    font-size: 1.0rem;
}


.toggle-button {

    text-align: center;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


#toggle-btn {
    background-color: #1f3a52;
    color: #fff;
    padding: 10px 20px;
    border: black solid;
    /* button edge style */
    border-style: outset;
    /* button edge style */
    border-radius: 25px;
    cursor: pointer;
}

#toggle-btn i {
    margin-left: 10px;
}

.header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.serif1 {
    font-weight: 200;
    font-style: italic;
    font-family: serif;
    margin-left: 0.1rem;
    font-size: 1.6em;
    /* reduce or remove margin */
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 200;
}

.underline {
    width: 100px;
    height: 4px;
    background-color: #fff;
    margin: 10px auto 20px;
    border-radius: 2px;
}

/* Styling the paragraph */
.intro p {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.prof-slide-fade {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.prof-slide-fade.prof-animate {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.member-card.hidden {
    display: none;
}

/*#endregion Team Members*/

/*#region GLOBAL REACH SECTION*********************************************GLOBAL REACH*************************/
/* General Styles */
.ranger-content {
    width: 100%;
    padding: 50px 0;
    background: url("../assets/map2.jpg") no-repeat center center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    border-radius: 20px;
    position: relative;
    /* Necessary for positioning the overlay */
    overflow: hidden;
    /* Prevents the overlay from going outside the container */
}

/* Dark overlay */
.ranger-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark overlay with transparency */
    border-radius: 20px;
    /* Match the border radius of the content */
    z-index: 1;
    /* Ensures overlay is on top of the image */
}

/* Make sure the text stays on top of the overlay */
.ranger-content>* {
    position: relative;
    z-index: 2;
    /* Text is above the overlay */
}

.global-reach {
    font-size: 1.5rem;
    /* Reduced font size */
    margin-bottom: 20px;
    color: white
}

.sections {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.section-left,
.section-middle,
.section-right {
    width: 30% !important;
    /* Each section takes up 30% of the width */
    padding: 20px;
}

.value {
    font-size: 2.5rem;
    /* Large font for the value */
    font-weight: bold;
    color: white
}

.word {
    font-size: 1rem;
    margin-top: 10px;
    color: white
}

.rolling-container {
    display: inline-flex;
    overflow: hidden;
    height: 1em;
    line-height: 1em;
    vertical-align: middle;
    font-size: 5rem;
    /* Increased font size */
    font-weight: bold;
    color: white
}

.fixed-number {
    display: inline-block;
}

.rolling-number {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 1ch;
    text-align: center;

}

.rolling-number span {
    display: block;
    position: absolute;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

/* Styling for second row */
.sections-second-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    /* Adds space between first and second row */
}

.section-left-second,
.section-middle-second,
.section-right-second {
    width: 30%;
    padding: 20px;
}

.value-second-row {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f3a52
}

.word-second-row {
    font-size: 1rem;
    margin-top: 10px;
    color: #1f3a52
}

/*#endregion REACH*/


/*#region FAQS*************************************************FAQS SECTION****************/

#faq {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    width: 80%;
    margin: 50px auto;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: -25px;
    border-radius: 55px;
}

.faq-title {
    font-size: 1.875rem;
    /* Increase size for better visibility */
    color: #ece7e7;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    /* Ensures it takes the full width */
    width: 100%;
    /* Makes sure it's centered inside the parent */
}

.faq-sub {
    color: white;
    text-align: center;
    margin: 0 auto 30px auto;
    max-width: 800px;
    /* Optional: controls wrapping width */
    line-height: 1.6;
    font-size: 1rem;
    display: block;
    width: 60%;
}

#faq .underline {
    width: 150px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* FAQ item styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
   background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #1f3a52;
}

/* FAQ answer styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 15px;
    background-color: #f7f7f7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    /* Adjust based on content height */
    padding: 10px 15px;
    /* Add some padding when opened */
}


.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 0.9375rem;
    ;
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*#endregion*/


/*#region *****************************************************OUR APP*/
.our-app-section {
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    word-wrap: break-word;
    margin-top: 35px;
    border: none;
    box-sizing: border-box;
}

.our-app-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.our-app-section .underline {
    width: 100px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.our-app-section p {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.store-button img {
    width: 40px;
    height: 40px;
}

.google-play {
    background-color: #111827;
}

.google-play:hover {
    background-color: #1f2937;
}

.ios-store {
    background-color: #111827;
}

.ios-store:hover {
    background-color: #1f2937;
}

.app-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.app-slide-left.our-app-section-animate {
    opacity: 1;
    transform: translateX(0);
}

/*#endregion*****/

/*#region BODY SECTION STYLING**/
section {
    padding: 2rem;
    margin: 2rem 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
}

ul {
    list-style-type: square;
    padding-left: 1.25rem;
}

/*#endregion*/

/*#region*************CONTACT AND FOOTER STYLING***************************************/
#contact {
    background: rgba(2, 2, 113, 0.772);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
}


/* Form Styling */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px;
}

/* Input and Textarea Styling */
#contact form input,
#contact form textarea {
    width: 100%;
    padding: 0.3rem;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: whitesmoke;
    color: Black;
    box-sizing: border-box;
}

/* Textarea Specific Styling */
#contact form textarea {
    height: 70px;
    resize: vertical;
}

/* Button Styling */
#contactForm button {
       background: linear-gradient(135deg, #ffb300, #ff6f00);
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    border-radius: 24px;
    width: 8.25rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

#contactForm button:hover {
    background-color: #315372;
}

/* Label Styling */
#contact form label {
    color: #555;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Social Media Icons Styling */
.social-icon {
    color: #fff !important;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.social-icon:hover {
    color: #ddd;
}

.whatsapp-qr-code {
    text-align: center;
    margin-top: 1.25rem;
}

.whatsapp-qr-code img {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
}


@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.subfooter {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 1200px;
    margin-bottom: -130px !important;
    box-sizing: border-box;
    max-width: 1500px;
    margin: 0 auto;
    /* Center it if needed */
    color: white !important;
    backdrop-filter: blur(4px); /* optional, adds soft frosted effect */
background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );
    border-radius: 10px;
    overflow: hidden;
}




.subfooter-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.subfooter-right {
    display: flex;
    justify-content: flex-start;
    /* Change to flex-start */
    width: 60%;
    align-items: center;
    margin-top: -65px;
    transform: translateX(-120px);
    /* Use transform instead of margin-left */
}



.subscribe-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.subscribe-form {
    display: flex;
}

.email-input {
    padding: 10px;
    border-radius: 10px;
    border: none;
    width: 250px !important;
}

.subf1-button {
    height: 44px;
    width: 150px !important;
    border-radius: 35px !important;
     background: linear-gradient(135deg, #ffb300, #ff6f00);
    color: #fff;
    border: 2px solid black;
    border-style: outset;
    margin-top: 0px;
    margin-left: 7px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}


.privacy-statement {
    font-size: 14px;
}

.about-subtext-f {
    line-height: 1.1;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
    color: white !important;
    font-size: 38px !important;
    line-height: 1.1em;
    font-weight: 100;
}

.subf {
    color: white !important;
}

.serif-f {
    line-height: 1.1;
    text-align: left;
    margin-bottom: 30px;
    font-style: italic;
    font-family: Newsreader, "Times New Roman", serif;
    font-size: 38px !important;
    line-height: 1.1em;
    font-weight: 100;
    color: #fff !important;
}

.copy {
    color: white !important;
    margin-top: 20px;
}

.copy1 {
    color: white !important;
    margin-top: -20px;
}

.copy2 {
    color: white !important;
    margin-top: -20px;
}

.logo-video-1 {
    width: 170px;
    height: auto;
    margin-top: 20px;
}



.image-placeholder1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 250px;
    height: 250px;
    border-radius: 10%;
    margin-top: 50px;
    margin-left: 60px;
}


/*#endregion***/




/*#region****FOOTER******************/
footer {
    /* Matches footer or slightly darker */
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 1.25rem;
    flex-wrap: wrap;

}

/* Custom Footer Area */
.custom_footer_area {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    border-radius: 70px;

}
.custom_footer_top .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 54px;
    color:#fff;
}
/* Footer Top */
.custom_footer_top {
    padding: 100px;
    position: relative;
    overflow-x: hidden;
    width: 1550px;



}

/* Adjust input fields and text area to same width */
.custom_footer_top .contact_widget input,
.custom_footer_top .contact_widget textarea {
    width: 100%;
    /* Set the width to 100% */
    max-width: 100%;
    /* Ensure they are full-width */
    padding: 12px;
    /* Optional: Adjust padding for better appearance */
    margin-bottom: 0.9375rem;
    /* Space below each input */
}

/* Footer Bottom */
.custom_footer_area .footer_bottom {
    padding-top: 5px;
    padding-bottom: 50px;
}

.custom_footer_top .contact_widget p,
.custom_footer_top .quick_links_widget p,
.custom_footer_top .support_widget p,
.custom_footer_top .social_widget p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 28px;
    color: #6a7695;
    margin-bottom: 1.25rem;
}

/* Button Hover */
a:hover,
a:focus,
.btn:hover,
.btn:focus,
button:hover,
button:focus {
    text-decoration: none;
    outline: none;
}

.custom_footer_top .f_widget .f_list li a:hover {
    color: #1f3a52;
}

/* Social Icons */
.custom_footer_top .f_social_icon a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 0.875rem;
    line-height: 45px;
    color: #858da8;
    display: inline-block;
    background: #ebeef5;
    text-align: center;
    transition: all 0.2s linear;
}

.custom_footer_top .f_social_icon a:hover {
    background: #1f3a52;
    border-color: #1f3a52;
    color: white;
}

.custom_footer_top .f_social_icon a+a {
    margin-left: 4px;
}



/* Footer Widget Styling */
.f_widget {
    margin-bottom: 40px;

}

.f_widget h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.f_widget .f_list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
}

.f_widget .f_list li {
    margin-bottom: 0.9375rem;

}

.f_widget .f_list li a {
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
}

.f_widget .f_list li a:hover {
    color: #5e2ced;
}

.btn_get_two:hover {
    background: transparent;
    color: #5e2ced;
}

.f_social_icon a {
    width: 46px;
    height: 46px;
    line-height: 46px;
    background: #ebeef5;
    border-radius: 50%;
    color: #858da8;
    text-align: center;
    font-size: 1.25rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.f_social_icon a:hover {
    background: #5e2ced;
    border-color: #5e2ced;
    color: white;
}

/* Social Icons Font */
.f_social_icon a i {
    font-size: 1.25rem;
}

.footer-text {
    color: var(--footer-bottom-text-color);
    font-family: 'Nunito', sans-serif;
    font-size: 14.5px;
    margin-top: 10px;
    position: absolute;
    /* Ensures it's always visible at the bottom */
    bottom: 0;
    /* Positions at the bottom of the viewport */
    left: 50%;
    /* Starts at 50% of the viewport width */
    transform: translateX(-50%);
    /* Centers the element horizontally */
    text-align: center;
    /* Centers the text within the element */
    width: 100%;
    /* Optional: Makes it span the entire width */
}


.top-f {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 999;
    font-size: 16px;
     background: linear-gradient(135deg, #0481C1 0%, #0f2027 100%);
    color: white;
    border: none;
    outline: none;
    padding: 5px 5px;
    border-radius: 60px;
    cursor: pointer;
    opacity: 1;
    /* <<< make it always visible */
    transition: opacity 0.3s ease-in-out;
    font-weight: 700;
}


.top-f:hover {
    background-color: #0056b3;
}

.top-f.show {
    opacity: 1;
}

/*#endregion********************/

/*#region COMPLIANCE FOOTER*/

.compliance-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centers vertically */
  align-items: center;       /* centers horizontally */
  text-align: center;
  color: #fff;
  margin-top: 18px;
  padding: 10px 0;
  width: 100%;
}

.badge-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* aligns icons vertically */
  gap: 8px;
  font-size: 13px;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 6px;
}

.badge-line span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.badge-line i {
  color: #70b800;
  font-size: 14px;
}

.compliance-note {
  font-size: 12px;
  line-height: 1.5;
  color: #dcdcdc;
  max-width: 80%;
  text-align: center;
}

/*#endregion COMPLIANCE*/




/*MEDIA QUERY*/
/* Small devices (phones, up to 600px) */
/******GOOGLE STANDARD MEDIA QUERY RANGES******/
/* ✅ Small / short phones or landscape */



@media (max-width: 414px) and (min-height: 412px) {
    
    
    /*#region NAV*/
    /* Prevent horizontal overflow for entire page */
    html,
    body {
        overflow-x: hidden !important;
    }

    header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    .social-media-icons {
        margin: 0 !important;
        justify-content: center !important;
        width: auto !important;
    }

    .logo-container {
        margin: 0 !important;
    }

    nav {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .nav-center {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .nav-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-links li {
        margin: 0 0.5rem !important;
    }



    /*#endregion NAV*/

    /*#region FORM*/
    /* Stack the whole section */
    .form-section {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        padding: 10px 5px !important;
        overflow-x: hidden !important;
        gap: 10px !important;
        margin-top: 130px !important;
    }

    /* Text wrapper */
    .text-wrapper {
        width: 95% !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    /* Headline text scaling for mobile */
    .text-side {
        font-size: 20px !important;
        /* smaller for small screens */
        line-height: 1.2 !important;
        margin: 5px auto 10px auto !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }

    /* Serif emphasis */
    .serif {
        font-size: 28px !important;
        /* reduce big serif */
        margin: 0 auto !important;
        display: inline-block;
    }

    /* Form container adjustments */
    .form-container {
        width: 100% !important;
        /* full width */
        max-width: 450px !important;
        /* limit for readability */
        min-height: auto !important;
        margin-top: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
        overflow-x: hidden !important;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15) !important;
        background-size: 200% 200% !important;
    }

    /* Inputs, selects, checkboxes stretch full width */
    .form-container select,
    .form-container input,
    .form-container .checkbox-list li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Checkbox list spacing */
    .checkbox-list li {
        display: block !important;
        margin-bottom: 8px !important;
    }

    /* Navigation buttons stacked vertically */
    .navigation {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .navigation button {
        width: 100% !important;
        font-size: 16px !important;
        padding: 10px !important;
    }

    /* Reduce progress bars width */
    .progress-bar-container {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .progress-bar {
        flex: 1 1 6% !important;
        /* make 16 bars fit in row */
        height: 4px !important;
        margin-bottom: 2px !important;
    }

    /* Help text & intro text scaling */
    .help-text,
    .intro-text {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Reduce form-slide-left animation distance */
    .form-slide-left {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .form-section h2 {
        font-size: 18px !important;
    }

    /*#endregion FORM*/

    /*#region Ranger*/
    /* SECTION WRAPPER */
    #ranger-section {
        border-radius: 20px !important;
        height: auto !important;
        /* Let content determine height */
        padding: 20px 10px !important;
        margin-top: 40px !important;
        /* Space below header */
        background: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ranger-section .result-header {
        text-align: center !important;
        padding: 10px 5px;
    }

    #ranger-section .result-header p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    #ranger-section .result-header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ranger-section .result-header .serif1 {
        font-size: 22px !important;
        display: block;
    }

    /* PROFILE CARDS CONTAINER */
    .profile-cards {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically */
        align-items: center !important;
        /* Center horizontally */
        justify-content: flex-start !important;
        gap: 25px !important;
        margin-top: 30px !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* INDIVIDUAL CARD */
    .profile-card {
        width: 90% !important;
        /* Take most of screen width */
        max-width: 350px !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
    }

    /* IMAGE */
    .profile-image {
        height: 180px !important;
    }

    .profile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* CONTENT AREA */
    .profile-content {
        padding: 15px !important;
        text-align: center !important;
    }

    .profile-content h2 {
        font-size: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }

    .profile-content p {
        font-size: 14px !important;
        line-height: 1.4em !important;
        color: #444 !important;
    }

    .divider1 {
        width: 60%;
        margin: 10px auto !important;
    }

    /* READ MORE BUTTON */
    .read-more-btn {
        position: static !important;
        display: inline-block !important;
        margin: 10px auto !important;
        width: auto !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /* ICON CONTAINER */
    .icon-container {
        position: absolute !important;
        top: 155px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 8px !important;
        font-size: 16px !important;
    }

    .icon-container i {
        color: white !important;
    }

    /*#endregion Ranger*/

    /*#region OUR THERAPIST*/
    /* MAIN SECTION */
    #ourtherapist {
        padding: 30px 15px !important;
        margin-top: 0 !important;
        background-color: #1f3a52 !important;
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ourtherapist .header {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    #ourtherapist .header p {
        font-size: 14px !important;
    }

    #ourtherapist .header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ourtherapist .header .serif1 {
        font-size: 22px !important;
        display: inline-block !important;
    }

    /* INTRO SECTION */
    #ourtherapist .intro {
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    #ourtherapist .intro h2 {
        font-size: 18px !important;
    }

    #ourtherapist .intro p {
        font-size: 14px !important;
        line-height: 1.5em !important;
        max-width: 90% !important;
        margin: 0 auto 25px !important;
    }

    /* BADGE ROW — leave layout as is */
    .badge-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .filter-badge {
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
    }

    /* STACK TEAM MEMBERS VERTICALLY */
    .team-members {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }
/* Adjust info rows */
.row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap; /* ✅ allow wrapping on small screens */
}

.row-info p {
  margin: 0;
  font-size: 14px;
  white-space: normal; /* ✅ allow wrapping of text */
  flex: 1;
  text-align: left;
}

.row-info p strong {
  margin-right: 4px;
  font-weight: 600;
}
    .member-card {
        width: 90% !important;
        max-width: 340px !important;
        background-color: #2c4a63 !important;
        text-align: center !important;
        padding: 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    }

    .profile-pic {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin-bottom: 10px !important;
    }

    .member-card h4 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .member-card p {
        font-size: 13px !important;
        line-height: 1.3em !important;
    }

    .stars {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* TOGGLE BUTTON */
    .toggle-button {
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #toggle-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /*#endregion OUR THERAPIST*/

    /*#region OUR GLOBAL REACH*/
    .ranger-content {
        top: -30px;
    }

    .global-reach {
        font-size: 1rem;
    }

    .sections {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .section-left,
    .section-middle,
    .section-right {
        width: 100% !important;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value {
        font-size: 1.5rem;
    }

    .rolling-container {
        font-size: 2rem;
    }

    .word,
    .word-second-row {
        font-size: 0.8rem;
    }

    .sections-second-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-left-second,
    .section-middle-second,
    .section-right-second {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value-second-row {
        font-size: 1.5rem;
    }

    /*#endregion OUR GLOBAL REACH*/

    /*#region FAQ*/
    #faq {
        width: 90%;
    }

    .faq-title {
        font-size: 0.95rem;
        width: 95%
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /*#endregion FAQ*/

    /*#region REVIEW*/
    /* Adjust section padding so it doesn’t touch screen edges */
    #t-review {
        padding: 30px 15px !important;
        border-radius: 20px;
    }

    /* Stack reviews vertically */
    .review-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    /* Make each review card full width but with side padding */
    .review-card {
        width: 100% !important;
        max-width: 95% !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Center author info */
    .review-author {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center the rating stars and text */
    .rating-stars {
        margin-left: 0 !important;
        text-align: center;
    }

    .review-text {
        text-align: center !important;
        font-size: 0.9rem !important;
    }

    /* Adjust heading */
    .serif2 {
        font-size: 2rem !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    /*#endregion REVIEW*/

    /*#region FOOTER*/
    /* === Reset global containers === */
    .custom_footer_top {
        width: 100% !important;
        padding: 40px 20px !important;
        overflow-x: visible !important;
    }

    .custom_footer_top .row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 45px !important;
        width: 100% !important;
    }

    /* === Fix column layout === */
    .col-lg-3,
    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* === Contact Form === */
    .contact_widget form {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .contact_widget form input,
    .contact_widget form textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }

   .contact_widget button,
  .contact-button {
    width: 70% !important;
    height: 50px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #70b800, #0481c1) !important;
    color: #fff !important;
    border: none !important;
  }
    #contactForm button {
 background: linear-gradient(135deg, #70b800, #0481c1) !important;
  color: #ffffff;
  padding: 0.5rem 1rem;

  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  width: 95px !important;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}
    /* === Subfooter container === */
    .subfooter {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 50px 25px !important;
        margin: 0 auto !important;
        background-color: #1f3a52 !important;
        border-radius: 15px !important;
        gap: 40px !important;
    }

    .subfooter-left,
    .subfooter-right {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* === Left side text === */
    .about-subtext-f,
    .serif-f {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #fff !important;
        margin: 5px 0 !important;
    }

    .privacy-statement {
        text-align: center !important;
        font-size: 0.9rem !important;
        color: #ddd !important;
        margin-top: 10px !important;
    }

    /* === Subscribe section === */
    .subscribe-container {
        width: 100% !important;
        max-width: 90% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        padding: 25px !important;
        border-radius: 12px !important;
    }

    .subscribe-container p {
        color: #fff !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .subscribe-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .email-input {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }

    .subf1-button {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        background: #0f2a3e !important;
        color: #fff !important;
    }

    /* === Video Section === */
    .image-placeholder1 {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 25px !important;
    }

    .image-placeholder1 video {
        width: 240px !important;
        height: 240px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    /* === Footer links stacked === */
    .f_widget {
        text-align: center !important;
        width: 100% !important;
    }

    .f_widget h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .f_widget .f_list {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* === Social icons === */
    .f_social_icon {
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 20px !important;
    }

    .f_social_icon a {
        font-size: 24px !important;
    }

    /* === Copy text === */
    .copy,
    .copy1 {
        text-align: center !important;
        margin-top: 10px !important;
        font-size: 0.98rem !important;
        color: #ccc !important;
    }

    #footer,
    .custom_footer_area,
    .custom_footer_top,
    .custom_footer_top .container,
    .custom_footer_top .row,
    .subfooter,
    .subfooter-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Subscribe container — true centering */
    .subscribe-container {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 auto 25px auto !important;
        width: 90% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border-radius: 12px !important;
        padding: 25px !important;
    }

    /* Video section — center it cleanly */
    .image-placeholder1 {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 video {
        width: 230px !important;
        height: 230px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    .subfooter-right {
        width: 100% !important;
        transform: none !important;
        margin-top: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .subscribe-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }

    /* Ensure no hidden overflow from body or parent */
    html,
    body {
        overflow-x: hidden !important;
    }

    /*#endregion FOOTER*/



}

@media (max-width: 599px) and (max-height: 667px) {

    /*#region NAV*/
    /* Prevent horizontal overflow for entire page */
    html,
    body {
        overflow-x: hidden !important;
    }

    header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    .social-media-icons {
        margin: 0 !important;
        justify-content: center !important;
        width: auto !important;
    }

    .logo-container {
        margin: 0 !important;
    }

    nav {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .nav-center {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .nav-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-links li {
        margin: 0 0.5rem !important;
    }



    /*#endregion NAV*/

    /*#region FORM*/
    /* Stack the whole section */
    .form-section {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        padding: 10px 5px !important;
        overflow-x: hidden !important;
        gap: 10px !important;
        margin-top: 130px !important;
    }

    /* Text wrapper */
    .text-wrapper {
        width: 95% !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    /* Headline text scaling for mobile */
    .text-side {
        font-size: 20px !important;
        /* smaller for small screens */
        line-height: 1.2 !important;
        margin: 5px auto 10px auto !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }

    /* Serif emphasis */
    .serif {
        font-size: 28px !important;
        /* reduce big serif */
        margin: 0 auto !important;
        display: inline-block;
    }

    /* Form container adjustments */
    .form-container {
        width: 100% !important;
        /* full width */
        max-width: 450px !important;
        /* limit for readability */
        min-height: auto !important;
        margin-top: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
        overflow-x: hidden !important;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15) !important;
        background-size: 200% 200% !important;
    }

    /* Inputs, selects, checkboxes stretch full width */
    .form-container select,
    .form-container input,
    .form-container .checkbox-list li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Checkbox list spacing */
    .checkbox-list li {
        display: block !important;
        margin-bottom: 8px !important;
    }

    /* Navigation buttons stacked vertically */
    .navigation {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .navigation button {
        width: 100% !important;
        font-size: 16px !important;
        padding: 10px !important;
    }

    /* Reduce progress bars width */
    .progress-bar-container {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .progress-bar {
        flex: 1 1 6% !important;
        /* make 16 bars fit in row */
        height: 4px !important;
        margin-bottom: 2px !important;
    }

    /* Help text & intro text scaling */
    .help-text,
    .intro-text {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Reduce form-slide-left animation distance */
    .form-slide-left {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .form-section h2 {
        font-size: 18px !important;
    }

    /*#endregion FORM*/

    /*#region Ranger*/
    /* SECTION WRAPPER */
    #ranger-section {
        border-radius: 20px !important;
        height: auto !important;
        /* Let content determine height */
        padding: 20px 10px !important;
        margin-top: 40px !important;
        /* Space below header */
        background: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ranger-section .result-header {
        text-align: center !important;
        padding: 10px 5px;
    }

    #ranger-section .result-header p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    #ranger-section .result-header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ranger-section .result-header .serif1 {
        font-size: 22px !important;
        display: block;
    }

    /* PROFILE CARDS CONTAINER */
    .profile-cards {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically */
        align-items: center !important;
        /* Center horizontally */
        justify-content: flex-start !important;
        gap: 25px !important;
        margin-top: 30px !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* INDIVIDUAL CARD */
    .profile-card {
        width: 90% !important;
        /* Take most of screen width */
        max-width: 350px !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
    }

    /* IMAGE */
    .profile-image {
        height: 180px !important;
    }

    .profile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* CONTENT AREA */
    .profile-content {
        padding: 15px !important;
        text-align: center !important;
    }

    .profile-content h2 {
        font-size: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }

    .profile-content p {
        font-size: 14px !important;
        line-height: 1.4em !important;
        color: #444 !important;
    }

    .divider1 {
        width: 60%;
        margin: 10px auto !important;
    }

    /* READ MORE BUTTON */
    .read-more-btn {
        position: static !important;
        display: inline-block !important;
        margin: 10px auto !important;
        width: auto !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /* ICON CONTAINER */
    .icon-container {
        position: absolute !important;
        top: 155px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 8px !important;
        font-size: 16px !important;
    }

    .icon-container i {
        color: white !important;
    }

    /*#endregion Ranger*/

    /*#region OUR THERAPIST*/
    /* MAIN SECTION */
    #ourtherapist {
        padding: 30px 15px !important;
        margin-top: 0 !important;
        background-color: #1f3a52 !important;
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ourtherapist .header {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    #ourtherapist .header p {
        font-size: 14px !important;
    }

    #ourtherapist .header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ourtherapist .header .serif1 {
        font-size: 22px !important;
        display: inline-block !important;
    }

    /* INTRO SECTION */
    #ourtherapist .intro {
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    #ourtherapist .intro h2 {
        font-size: 18px !important;
    }

    #ourtherapist .intro p {
        font-size: 14px !important;
        line-height: 1.5em !important;
        max-width: 90% !important;
        margin: 0 auto 25px !important;
    }

    /* BADGE ROW — leave layout as is */
    .badge-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .filter-badge {
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
    }

    /* STACK TEAM MEMBERS VERTICALLY */
    .team-members {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }
.row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap; /* ✅ allow wrapping on small screens */
}

.row-info p {
  margin: 0;
  font-size: 14px;
  white-space: normal; /* ✅ allow wrapping of text */
  flex: 1;
  text-align: left;
}

.row-info p strong {
  margin-right: 4px;
  font-weight: 600;
}
    .member-card {
        width: 90% !important;
        max-width: 340px !important;
        background-color: #2c4a63 !important;
        text-align: center !important;
        padding: 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    }

    .profile-pic {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin-bottom: 10px !important;
    }

    .member-card h4 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .member-card p {
        font-size: 13px !important;
        line-height: 1.3em !important;
    }

    .stars {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* TOGGLE BUTTON */
    .toggle-button {
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #toggle-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /*#endregion OUR THERAPIST*/

    /*#region OUR GLOBAL REACH*/
    .ranger-content {
        top: -30px;
    }

    .global-reach {
        font-size: 1rem;
    }

    .sections {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .section-left,
    .section-middle,
    .section-right {
        width: 100% !important;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value {
        font-size: 1.5rem;
    }

    .rolling-container {
        font-size: 2rem;
    }

    .word,
    .word-second-row {
        font-size: 0.8rem;
    }

    .sections-second-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-left-second,
    .section-middle-second,
    .section-right-second {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value-second-row {
        font-size: 1.5rem;
    }

    /*#endregion OUR GLOBAL REACH*/

    /*#region FAQ*/
    #faq {
        width: 90%;
    }

    .faq-title {
        font-size: 0.95rem;
        width: 95%
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /*#endregion FAQ*/

    /*#region REVIEW*/
    /* Adjust section padding so it doesn’t touch screen edges */
    #t-review {
        padding: 30px 15px !important;
        border-radius: 20px;
    }

    /* Stack reviews vertically */
    .review-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    /* Make each review card full width but with side padding */
    .review-card {
        width: 100% !important;
        max-width: 95% !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Center author info */
    .review-author {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center the rating stars and text */
    .rating-stars {
        margin-left: 0 !important;
        text-align: center;
    }

    .review-text {
        text-align: center !important;
        font-size: 0.9rem !important;
    }

    /* Adjust heading */
    .serif2 {
        font-size: 2rem !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    /*#endregion REVIEW*/

    /*#region FOOTER*/
    /* === Reset global containers === */
    .custom_footer_top {
        width: 100% !important;
        padding: 40px 20px !important;
        overflow-x: visible !important;
    }

    .custom_footer_top .row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 45px !important;
        width: 100% !important;
    }

    /* === Fix column layout === */
    .col-lg-3,
    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* === Contact Form === */
    .contact_widget form {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .contact_widget form input,
    .contact_widget form textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }

   .contact_widget button,
  .contact-button {
    width: 70% !important;
    height: 50px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #70b800, #0481c1) !important;
    color: #fff !important;
    border: none !important;
  }
    #contactForm button {
 background: linear-gradient(135deg, #70b800, #0481c1) !important;
  color: #ffffff;
  padding: 0.5rem 1rem;

  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  width: 95px !important;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

    /* === Subfooter container === */
    .subfooter {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 50px 25px !important;
        margin: 0 auto !important;
        background-color: #1f3a52 !important;
        border-radius: 15px !important;
        gap: 40px !important;
    }

    .subfooter-left,
    .subfooter-right {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* === Left side text === */
    .about-subtext-f,
    .serif-f {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #fff !important;
        margin: 5px 0 !important;
    }

    .privacy-statement {
        text-align: center !important;
        font-size: 0.9rem !important;
        color: #ddd !important;
        margin-top: 10px !important;
    }

    /* === Subscribe section === */
    .subscribe-container {
        width: 100% !important;
        max-width: 90% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        padding: 25px !important;
        border-radius: 12px !important;
    }

    .subscribe-container p {
        color: #fff !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .subscribe-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .email-input {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }

    .subf1-button {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        background: #0f2a3e !important;
        color: #fff !important;
    }

    /* === Video Section === */
    .image-placeholder1 {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 25px !important;
    }

    .image-placeholder1 video {
        width: 240px !important;
        height: 240px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    /* === Footer links stacked === */
    .f_widget {
        text-align: center !important;
        width: 100% !important;
    }

    .f_widget h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .f_widget .f_list {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* === Social icons === */
    .f_social_icon {
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 20px !important;
    }

    .f_social_icon a {
        font-size: 24px !important;
    }

    /* === Copy text === */
    .copy,
    .copy1 {
        text-align: center !important;
        margin-top: 10px !important;
        font-size: 0.98rem !important;
        color: #ccc !important;
    }

    #footer,
    .custom_footer_area,
    .custom_footer_top,
    .custom_footer_top .container,
    .custom_footer_top .row,
    .subfooter,
    .subfooter-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Subscribe container — true centering */
    .subscribe-container {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 auto 25px auto !important;
        width: 90% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border-radius: 12px !important;
        padding: 25px !important;
    }

    /* Video section — center it cleanly */
    .image-placeholder1 {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 video {
        width: 230px !important;
        height: 230px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    .subfooter-right {
        width: 100% !important;
        transform: none !important;
        margin-top: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .subscribe-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }

    /* Ensure no hidden overflow from body or parent */
    html,
    body {
        overflow-x: hidden !important;
    }

    /*#endregion FOOTER*/

}

@media (max-width: 599px) and (min-height: 668px) and (max-height: 812px) {
    
    
    /*#region NAV*/
    /* Prevent horizontal overflow for entire page */
    html,
    body {
        overflow-x: hidden !important;
    }

    header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    .social-media-icons {
        margin: 0 !important;
        justify-content: center !important;
        width: auto !important;
    }

    .logo-container {
        margin: 0 !important;
    }

    nav {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .nav-center {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .nav-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-links li {
        margin: 0 0.5rem !important;
    }



    /*#endregion NAV*/

    /*#region FORM*/
    /* Stack the whole section */
    .form-section {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        padding: 10px 5px !important;
        overflow-x: hidden !important;
        gap: 10px !important;
        margin-top: 130px !important;
    }

    /* Text wrapper */
    .text-wrapper {
        width: 95% !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    /* Headline text scaling for mobile */
    .text-side {
        font-size: 20px !important;
        /* smaller for small screens */
        line-height: 1.2 !important;
        margin: 5px auto 10px auto !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }

    /* Serif emphasis */
    .serif {
        font-size: 28px !important;
        /* reduce big serif */
        margin: 0 auto !important;
        display: inline-block;
    }

    /* Form container adjustments */
    .form-container {
        width: 100% !important;
        /* full width */
        max-width: 450px !important;
        /* limit for readability */
        min-height: auto !important;
        margin-top: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
        overflow-x: hidden !important;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15) !important;
        background-size: 200% 200% !important;
    }

    /* Inputs, selects, checkboxes stretch full width */
    .form-container select,
    .form-container input,
    .form-container .checkbox-list li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Checkbox list spacing */
    .checkbox-list li {
        display: block !important;
        margin-bottom: 8px !important;
    }

    /* Navigation buttons stacked vertically */
    .navigation {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .navigation button {
        width: 100% !important;
        font-size: 16px !important;
        padding: 10px !important;
    }

    /* Reduce progress bars width */
    .progress-bar-container {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .progress-bar {
        flex: 1 1 6% !important;
        /* make 16 bars fit in row */
        height: 4px !important;
        margin-bottom: 2px !important;
    }

    /* Help text & intro text scaling */
    .help-text,
    .intro-text {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Reduce form-slide-left animation distance */
    .form-slide-left {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .form-section h2 {
        font-size: 18px !important;
    }

    /*#endregion FORM*/

    /*#region Ranger*/
    /* SECTION WRAPPER */
    #ranger-section {
        border-radius: 20px !important;
        height: auto !important;
        /* Let content determine height */
        padding: 20px 10px !important;
        margin-top: 40px !important;
        /* Space below header */
        background: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ranger-section .result-header {
        text-align: center !important;
        padding: 10px 5px;
    }

    #ranger-section .result-header p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    #ranger-section .result-header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ranger-section .result-header .serif1 {
        font-size: 22px !important;
        display: block;
    }

    /* PROFILE CARDS CONTAINER */
    .profile-cards {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically */
        align-items: center !important;
        /* Center horizontally */
        justify-content: flex-start !important;
        gap: 25px !important;
        margin-top: 30px !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* INDIVIDUAL CARD */
    .profile-card {
        width: 90% !important;
        /* Take most of screen width */
        max-width: 350px !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
    }

    /* IMAGE */
    .profile-image {
        height: 180px !important;
    }

    .profile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* CONTENT AREA */
    .profile-content {
        padding: 15px !important;
        text-align: center !important;
    }

    .profile-content h2 {
        font-size: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }

    .profile-content p {
        font-size: 14px !important;
        line-height: 1.4em !important;
        color: #444 !important;
    }

    .divider1 {
        width: 60%;
        margin: 10px auto !important;
    }

    /* READ MORE BUTTON */
    .read-more-btn {
        position: static !important;
        display: inline-block !important;
        margin: 10px auto !important;
        width: auto !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /* ICON CONTAINER */
    .icon-container {
        position: absolute !important;
        top: 155px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 8px !important;
        font-size: 16px !important;
    }

    .icon-container i {
        color: white !important;
    }

    /*#endregion Ranger*/

    /*#region OUR THERAPIST*/
    /* MAIN SECTION */
    #ourtherapist {
        padding: 30px 15px !important;
        margin-top: 0 !important;
        background-color: #1f3a52 !important;
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ourtherapist .header {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    #ourtherapist .header p {
        font-size: 14px !important;
    }

    #ourtherapist .header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ourtherapist .header .serif1 {
        font-size: 22px !important;
        display: inline-block !important;
    }

    /* INTRO SECTION */
    #ourtherapist .intro {
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    #ourtherapist .intro h2 {
        font-size: 18px !important;
    }

    #ourtherapist .intro p {
        font-size: 14px !important;
        line-height: 1.5em !important;
        max-width: 90% !important;
        margin: 0 auto 25px !important;
    }

    /* BADGE ROW — leave layout as is */
    .badge-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .filter-badge {
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
    }

    /* STACK TEAM MEMBERS VERTICALLY */
    .team-members {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }
.row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap; /* ✅ allow wrapping on small screens */
}

.row-info p {
  margin: 0;
  font-size: 14px;
  white-space: normal; /* ✅ allow wrapping of text */
  flex: 1;
  text-align: left;
}

.row-info p strong {
  margin-right: 4px;
  font-weight: 600;
}
    .member-card {
        width: 90% !important;
        max-width: 340px !important;
        background-color: #2c4a63 !important;
        text-align: center !important;
        padding: 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    }

    .profile-pic {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin-bottom: 10px !important;
    }

    .member-card h4 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .member-card p {
        font-size: 13px !important;
        line-height: 1.3em !important;
    }

    .stars {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* TOGGLE BUTTON */
    .toggle-button {
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #toggle-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /*#endregion OUR THERAPIST*/

    /*#region OUR GLOBAL REACH*/
    .ranger-content {
        top: -30px;
    }

    .global-reach {
        font-size: 1rem;
    }

    .sections {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .section-left,
    .section-middle,
    .section-right {
        width: 100% !important;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value {
        font-size: 1.5rem;
    }

    .rolling-container {
        font-size: 2rem;
    }

    .word,
    .word-second-row {
        font-size: 0.8rem;
    }

    .sections-second-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-left-second,
    .section-middle-second,
    .section-right-second {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value-second-row {
        font-size: 1.5rem;
    }

    /*#endregion OUR GLOBAL REACH*/

    /*#region FAQ*/
    #faq {
        width: 90%;
    }

    .faq-title {
        font-size: 0.95rem;
        width: 95%
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /*#endregion FAQ*/

    /*#region REVIEW*/
    /* Adjust section padding so it doesn’t touch screen edges */
    #t-review {
        padding: 30px 15px !important;
        border-radius: 20px;
    }

    /* Stack reviews vertically */
    .review-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    /* Make each review card full width but with side padding */
    .review-card {
        width: 100% !important;
        max-width: 95% !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Center author info */
    .review-author {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center the rating stars and text */
    .rating-stars {
        margin-left: 0 !important;
        text-align: center;
    }

    .review-text {
        text-align: center !important;
        font-size: 0.9rem !important;
    }

    /* Adjust heading */
    .serif2 {
        font-size: 2rem !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    /*#endregion REVIEW*/

    /*#region FOOTER*/
    /* === Reset global containers === */
    .custom_footer_top {
        width: 100% !important;
        padding: 40px 20px !important;
        overflow-x: visible !important;
    }

    .custom_footer_top .row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 45px !important;
        width: 100% !important;
    }

    /* === Fix column layout === */
    .col-lg-3,
    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* === Contact Form === */
    .contact_widget form {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .contact_widget form input,
    .contact_widget form textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }

    .contact_widget button,
  .contact-button {
    width: 70% !important;
    height: 50px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #70b800, #0481c1) !important;
    color: #fff !important;
    border: none !important;
  }
    #contactForm button {
 background: linear-gradient(135deg, #70b800, #0481c1) !important;
  color: #ffffff;
  padding: 0.5rem 1rem;

  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  width: 95px !important;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

    /* === Subfooter container === */
    .subfooter {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 50px 25px !important;
        margin: 0 auto !important;
        background-color: #1f3a52 !important;
        border-radius: 15px !important;
        gap: 40px !important;
    }

    .subfooter-left,
    .subfooter-right {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* === Left side text === */
    .about-subtext-f,
    .serif-f {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #fff !important;
        margin: 5px 0 !important;
    }

    .privacy-statement {
        text-align: center !important;
        font-size: 0.9rem !important;
        color: #ddd !important;
        margin-top: 10px !important;
    }

    /* === Subscribe section === */
    .subscribe-container {
        width: 100% !important;
        max-width: 90% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        padding: 25px !important;
        border-radius: 12px !important;
    }

    .subscribe-container p {
        color: #fff !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .subscribe-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .email-input {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }

    .subf1-button {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        background: #0f2a3e !important;
        color: #fff !important;
    }

    /* === Video Section === */
    .image-placeholder1 {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 25px !important;
    }

    .image-placeholder1 video {
        width: 240px !important;
        height: 240px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    /* === Footer links stacked === */
    .f_widget {
        text-align: center !important;
        width: 100% !important;
    }

    .f_widget h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .f_widget .f_list {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* === Social icons === */
    .f_social_icon {
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 20px !important;
    }

    .f_social_icon a {
        font-size: 24px !important;
    }

    /* === Copy text === */
    .copy,
    .copy1 {
        text-align: center !important;
        margin-top: 10px !important;
        font-size: 0.98rem !important;
        color: #ccc !important;
    }

    #footer,
    .custom_footer_area,
    .custom_footer_top,
    .custom_footer_top .container,
    .custom_footer_top .row,
    .subfooter,
    .subfooter-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Subscribe container — true centering */
    .subscribe-container {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 auto 25px auto !important;
        width: 90% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border-radius: 12px !important;
        padding: 25px !important;
    }

    /* Video section — center it cleanly */
    .image-placeholder1 {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 video {
        width: 230px !important;
        height: 230px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    .subfooter-right {
        width: 100% !important;
        transform: none !important;
        margin-top: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .subscribe-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }

    /* Ensure no hidden overflow from body or parent */
    html,
    body {
        overflow-x: hidden !important;
    }

    /*#endregion FOOTER*/




}

@media (max-width: 599px) and (min-height: 933px) and (max-height: 1000px) {
   
   
    /*#region NAV*/
    /* Prevent horizontal overflow for entire page */
    html,
    body {
        overflow-x: hidden !important;
    }

    header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    .social-media-icons {
        margin: 0 !important;
        justify-content: center !important;
        width: auto !important;
    }

    .logo-container {
        margin: 0 !important;
    }

    nav {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .nav-center {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .nav-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-links li {
        margin: 0 0.5rem !important;
    }



    /*#endregion NAV*/

    /*#region FORM*/
    /* Stack the whole section */
    .form-section {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        padding: 10px 5px !important;
        overflow-x: hidden !important;
        gap: 10px !important;
        margin-top: 130px !important;
    }

    /* Text wrapper */
    .text-wrapper {
        width: 95% !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    /* Headline text scaling for mobile */
    .text-side {
        font-size: 20px !important;
        /* smaller for small screens */
        line-height: 1.2 !important;
        margin: 5px auto 10px auto !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }

    /* Serif emphasis */
    .serif {
        font-size: 28px !important;
        /* reduce big serif */
        margin: 0 auto !important;
        display: inline-block;
    }

    /* Form container adjustments */
    .form-container {
        width: 100% !important;
        /* full width */
        max-width: 450px !important;
        /* limit for readability */
        min-height: auto !important;
        margin-top: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
        overflow-x: hidden !important;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15) !important;
        background-size: 200% 200% !important;
    }

    /* Inputs, selects, checkboxes stretch full width */
    .form-container select,
    .form-container input,
    .form-container .checkbox-list li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Checkbox list spacing */
    .checkbox-list li {
        display: block !important;
        margin-bottom: 8px !important;
    }

    /* Navigation buttons stacked vertically */
    .navigation {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .navigation button {
        width: 100% !important;
        font-size: 16px !important;
        padding: 10px !important;
    }

    /* Reduce progress bars width */
    .progress-bar-container {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .progress-bar {
        flex: 1 1 6% !important;
        /* make 16 bars fit in row */
        height: 4px !important;
        margin-bottom: 2px !important;
    }

    /* Help text & intro text scaling */
    .help-text,
    .intro-text {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Reduce form-slide-left animation distance */
    .form-slide-left {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .form-section h2 {
        font-size: 18px !important;
    }

    /*#endregion FORM*/

    /*#region Ranger*/
    /* SECTION WRAPPER */
    #ranger-section {
        border-radius: 20px !important;
        height: auto !important;
        /* Let content determine height */
        padding: 20px 10px !important;
        margin-top: 40px !important;
        /* Space below header */
        background: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ranger-section .result-header {
        text-align: center !important;
        padding: 10px 5px;
    }

    #ranger-section .result-header p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    #ranger-section .result-header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ranger-section .result-header .serif1 {
        font-size: 22px !important;
        display: block;
    }

    /* PROFILE CARDS CONTAINER */
    .profile-cards {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically */
        align-items: center !important;
        /* Center horizontally */
        justify-content: flex-start !important;
        gap: 25px !important;
        margin-top: 30px !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* INDIVIDUAL CARD */
    .profile-card {
        width: 90% !important;
        /* Take most of screen width */
        max-width: 350px !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
    }

    /* IMAGE */
    .profile-image {
        height: 180px !important;
    }

    .profile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* CONTENT AREA */
    .profile-content {
        padding: 15px !important;
        text-align: center !important;
    }

    .profile-content h2 {
        font-size: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }

    .profile-content p {
        font-size: 14px !important;
        line-height: 1.4em !important;
        color: #444 !important;
    }

    .divider1 {
        width: 60%;
        margin: 10px auto !important;
    }

    /* READ MORE BUTTON */
    .read-more-btn {
        position: static !important;
        display: inline-block !important;
        margin: 10px auto !important;
        width: auto !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /* ICON CONTAINER */
    .icon-container {
        position: absolute !important;
        top: 155px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 8px !important;
        font-size: 16px !important;
    }

    .icon-container i {
        color: white !important;
    }

    /*#endregion Ranger*/

    /*#region OUR THERAPIST*/
    /* MAIN SECTION */
    #ourtherapist {
        padding: 30px 15px !important;
        margin-top: 0 !important;
        background-color: #1f3a52 !important;
        overflow-x: hidden !important;
    }

    /* HEADER TEXT */
    #ourtherapist .header {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    #ourtherapist .header p {
        font-size: 14px !important;
    }

    #ourtherapist .header h2 {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }

    #ourtherapist .header .serif1 {
        font-size: 22px !important;
        display: inline-block !important;
    }

    /* INTRO SECTION */
    #ourtherapist .intro {
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    #ourtherapist .intro h2 {
        font-size: 18px !important;
    }

    #ourtherapist .intro p {
        font-size: 14px !important;
        line-height: 1.5em !important;
        max-width: 90% !important;
        margin: 0 auto 25px !important;
    }

    /* BADGE ROW — leave layout as is */
    .badge-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .filter-badge {
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 20px !important;
    }

    /* STACK TEAM MEMBERS VERTICALLY */
    .team-members {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin: 20px 0 !important;
        width: 100% !important;
    }
.row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap; /* ✅ allow wrapping on small screens */
}

.row-info p {
  margin: 0;
  font-size: 14px;
  white-space: normal; /* ✅ allow wrapping of text */
  flex: 1;
  text-align: left;
}

.row-info p strong {
  margin-right: 4px;
  font-weight: 600;
}
    .member-card {
        width: 90% !important;
        max-width: 340px !important;
        background-color: #2c4a63 !important;
        text-align: center !important;
        padding: 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    }

    .profile-pic {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin-bottom: 10px !important;
    }

    .member-card h4 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .member-card p {
        font-size: 13px !important;
        line-height: 1.3em !important;
    }

    .stars {
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* TOGGLE BUTTON */
    .toggle-button {
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #toggle-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }

    /*#endregion OUR THERAPIST*/

    /*#region OUR GLOBAL REACH*/
    .ranger-content {
        top: -30px;
    }

    .global-reach {
        font-size: 1rem;
    }

    .sections {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .section-left,
    .section-middle,
    .section-right {
        width: 100% !important;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value {
        font-size: 1.5rem;
    }

    .rolling-container {
        font-size: 2rem;
    }

    .word,
    .word-second-row {
        font-size: 0.8rem;
    }

    .sections-second-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-left-second,
    .section-middle-second,
    .section-right-second {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
    }

    .value-second-row {
        font-size: 1.5rem;
    }

    /*#endregion OUR GLOBAL REACH*/

    /*#region FAQ*/
    #faq {
        width: 90%;
    }

    .faq-title {
        font-size: 0.95rem;
        width: 95%
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /*#endregion FAQ*/

    /*#region REVIEW*/
    /* Adjust section padding so it doesn’t touch screen edges */
    #t-review {
        padding: 30px 15px !important;
        border-radius: 20px;
    }

    /* Stack reviews vertically */
    .review-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    /* Make each review card full width but with side padding */
    .review-card {
        width: 100% !important;
        max-width: 95% !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Center author info */
    .review-author {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center the rating stars and text */
    .rating-stars {
        margin-left: 0 !important;
        text-align: center;
    }

    .review-text {
        text-align: center !important;
        font-size: 0.9rem !important;
    }

    /* Adjust heading */
    .serif2 {
        font-size: 2rem !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    /*#endregion REVIEW*/

    /*#region FOOTER*/
    /* === Reset global containers === */
    .custom_footer_top {
        width: 100% !important;
        padding: 40px 20px !important;
        overflow-x: visible !important;
    }

    .custom_footer_top .row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 45px !important;
        width: 100% !important;
    }

    /* === Fix column layout === */
    .col-lg-3,
    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* === Contact Form === */
    .contact_widget form {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .contact_widget form input,
    .contact_widget form textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }

    .contact_widget button,
  .contact-button {
    width: 70% !important;
    height: 50px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #70b800, #0481c1) !important;
    color: #fff !important;
    border: none !important;
  }
    #contactForm button {
 background: linear-gradient(135deg, #70b800, #0481c1) !important;
  color: #ffffff;
  padding: 0.5rem 1rem;

  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  width: 95px !important;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

    /* === Subfooter container === */
    .subfooter {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 50px 25px !important;
        margin: 0 auto !important;
        background-color: #1f3a52 !important;
        border-radius: 15px !important;
        gap: 40px !important;
    }

    .subfooter-left,
    .subfooter-right {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* === Left side text === */
    .about-subtext-f,
    .serif-f {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #fff !important;
        margin: 5px 0 !important;
    }

    .privacy-statement {
        text-align: center !important;
        font-size: 0.9rem !important;
        color: #ddd !important;
        margin-top: 10px !important;
    }

    /* === Subscribe section === */
    .subscribe-container {
        width: 100% !important;
        max-width: 90% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        padding: 25px !important;
        border-radius: 12px !important;
    }

    .subscribe-container p {
        color: #fff !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .subscribe-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .email-input {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }

    .subf1-button {
        width: 95% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        background: #0f2a3e !important;
        color: #fff !important;
    }

    /* === Video Section === */
    .image-placeholder1 {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 25px !important;
    }

    .image-placeholder1 video {
        width: 240px !important;
        height: 240px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    /* === Footer links stacked === */
    .f_widget {
        text-align: center !important;
        width: 100% !important;
    }

    .f_widget h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .f_widget .f_list {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* === Social icons === */
    .f_social_icon {
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 20px !important;
    }

    .f_social_icon a {
        font-size: 24px !important;
    }

    /* === Copy text === */
    .copy,
    .copy1 {
        text-align: center !important;
        margin-top: 10px !important;
        font-size: 0.98rem !important;
        color: #ccc !important;
    }

    #footer,
    .custom_footer_area,
    .custom_footer_top,
    .custom_footer_top .container,
    .custom_footer_top .row,
    .subfooter,
    .subfooter-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Subscribe container — true centering */
    .subscribe-container {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 auto 25px auto !important;
        width: 90% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border-radius: 12px !important;
        padding: 25px !important;
    }

    /* Video section — center it cleanly */
    .image-placeholder1 {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 video {
        width: 230px !important;
        height: 230px !important;
        border-radius: 12% !important;
        object-fit: cover !important;
    }

    .subfooter-right {
        width: 100% !important;
        transform: none !important;
        margin-top: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .subscribe-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .image-placeholder1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }

    /* Ensure no hidden overflow from body or parent */
    html,
    body {
        overflow-x: hidden !important;
    }

    /*#endregion FOOTER*/




}

@media (max-width: 767px) and (min-width: 600px)and (max-height: 568px) {}