:root {
    --primary-color: #fff;
    --accent-color: #fff;
    --bg-gradient: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
    --text-light: #ffffff;
    --text-muted: white;
    --hover-color: #1f3a52;
    --highlight-color: darkgray;
    --link-underline: #aaaeb3;
    --blue-accent: #007bff;
    --background-color1: #177bac;
    --semi-overlay-blue: rgba(50, 65, 104, 0.772);

    --cool-orange: #afaf1d;

    --scrollbar-1: #f1f1f1;

    --overlay-bg: rgba(0, 0, 0, 0.3);
    /* Semi-transparent black background */

    /* 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;

    /* VISION section specific colors */
    --vision-gradient-start: #1f3a52;
    --vision-gradient-end: #38618d;
    --vision-text-color: #F0F0F0;
    --vision-heading-color: whitesmoke;
    --vision-box-shadow: rgba(0, 0, 0, 0.1);
    --vision-hover-shadow: rgba(0, 0, 0, 0.15);
    --vision-overlay: rgba(0, 0, 0, 0.5);


    /* ABOUT section specific colors */
    --about-gradient-start: #1f3a52;
    --about-gradient-mid: #38618d;
    --about-gradient-end: #acc8df;

    --about-text-color: #F0F0F0;
    --about-heading-color: whitesmoke;
    --about-link-color: white;
    --about-link-hover: var(--cool-orange);
    /* already defined */
    --started-btn-hover: #1b8e4f;

    /* FUN section specific colors */
    --fun-gradient: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-mid), var(--color-primary-light));
    --fun-yellow: rgb(179, 179, 45);
    --fun-white: #ffffff;



    /* THERAPHY section specific colors */
    --therapy-color-background: #38618d;
    --therapy-card-gradient-start: #1f3a52;
    --therapy-card-gradient-mid: #38618d;
    --therapy-card-gradient-end: #acc8df;
    --therapy-header-text-color: #ffffff;
    --therapy-highlight-color: #007BFF;
    --therapy-box-shadow: rgba(0, 0, 0, 0.1);
    --therapy-box-shadow-hover: rgba(0, 0, 0, 0.2);
    /* Button gradient for About */
    --about-btn-gradient: linear-gradient(135deg, var(--about-gradient-start), var(--about-gradient-mid));
    --z-index-low: 1;
    /* General low z-index */


    /* WHY section specific colors */
    --why-gradient-start: #1f3a52;
    --why-gradient-mid: #38618d;
    --why-gradient-end: #acc8df;
    --why-title-color: rgb(233, 229, 229);
    --why-paragraph-color: rgb(233, 229, 229);
    --why-link-color: white;
    --why-link-hover: #afaf1d;
    --why-button-bg: linear-gradient(135deg, var(--why-gradient-start), var(--why-gradient-mid));
    --why-button-hover-bg: var(--why-gradient-start);
    --why-list-icon-color: #afaf1d;
    --therapist-title-color: #fff;
    --therapist-subtext-color: #ddd;
    --therapist-name-color: #fff;
    --therapist-role-color: #ddd;
    --therapist-hover-zoom: scale(1.05);
    --join-link-color: #0d0f85;
    --join-link-hover: #afaf1d;

    /* FEATURES section specific colors */
    --features-bg-gradient: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
    --features-heading-color: #ffffff;
    --button-session-bg: #0b3251;
    --button-session-hover: #030450;
    --button-resource-bg: rgb(4, 103, 4);
    --button-resource-hover: rgb(2, 46, 2);
    --carousel-button-bg: #043c75;
    --carousel-icon-color: #ffffff;
    --button-text-color: #ffffff;


    /* TESTIMONIALS section specific colors */
    --testimonials-left-bg: #06111a;
    --testimonials-right-bg: #38618d;
    --testimonials-overlay-bg: #1f3a52;
    --testimonials-text-color: white;
    --testimonials-rating-color: #afaf1d;
    --testimonials-underline-color: #0da4b1;
    --testimonials-circle-bg: #043c75;

    /* ADVERT section specific colors */
    --advert-bg: #1f3a52;
    --advert-highlight: #afaf1d;
    --advert-highlight-hover: #cfcf4b;
    --advert-text-color: #fff;
    --advert-box-bg: rgba(255, 255, 255, 0.05);

    /*MEDITATION section specific colors */
    --med-primary: #38618d;
    --med-light-gray: #dfe6e9;
    --med-dark: #1f3a52;
    --med-nav-bg: rgba(0, 0, 0, 0.5);


    /* Check Section Colors */
    --check-bg-gradient: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
    --check-dark-blue: #1f3a52;
    --check-mid-blue: #38618d;
    --check-light-blue: #acc8df;
    --check-white: #ffffff;
    --check-grey-bg: #d8d7d7;
    --chat-text-color: #232020;
    --scrollbar-track: #f1f1f1;
    --scrollbar-track-bg: #f1f1f1;
    --scrollbar-thumb-hover: #1f3a52;

    /* Shadows */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-mid: rgba(0, 0, 0, 0.2);

    /* RANGER SECTION */
    --ranger-primary: #1f3a52;
    --ranger-secondary: #38618d;
    --ranger-accent: #acc8df;
    --ranger-rating-color: #afaf1d;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-darker: rgba(0, 0, 0, 0.7);
    --ranger-card-bg: rgb(196, 190, 190);
    --text-light: #ffffff;
    --ranger-primary-text: #1f3a52;


    /* MOTIVATION SECTION COLORS */
    --motivation-bg-dark: #222;
    --motivation-bg-medium: #444;
    --motivation-btn-bg: #666;
    --motivation-btn-hover: #1f3a52;
    --motivation-text-light: whitesmoke;
    --motivation-text-white: #fff;
    --motivation-shadow: rgba(0, 0, 0, 0.5);



    /*PARTNERS SECTION*/
    --partners-bg-gradient: linear-gradient(135deg, #1f3a52, #38618d, #acc8df);
    --partner-box-bg: #1a364f;
    --partner-button-bg: #1f2937;
    --partner-button-hover: #111827;
    --partner-text-color: white;
    --partner-underline: white;
    --partner-overlay-bg: rgba(0, 0, 0, 0.7);


    /*OUA APP*/
    --our-app-bg-dark: #111827;
    --our-app-bg-darker: #1f2937;
    --our-app-text: white;
    --our-app-underline: #1f2937;



    /*OUR TEAM*/
    --team-section-bg: transparent;
    --team-text-color: white;
    --team-underline-color: #1f2937;


    /*FAQ  SECTION*/
    --faq-bg-gradient-start: #1f3a52;
    --faq-bg-gradient-middle: #38618d;
    --faq-bg-gradient-end: #acc8df;
    --faq-title-color: #ece7e7;
    --faq-text-color: white;
    --faq-border-color: #1f2937;
    --faq-hover-bg: #1f3a52;
    --faq-answer-bg: #f7f7f7;
    --faq-question-bg: linear-gradient(135deg, var(--faq-bg-gradient-start), var(--faq-bg-gradient-middle));
    --faq-question-color: var(--faq-text-color);
    --faq-answer-text-color: #333;
    --faq-border-light: #ddd;


    /* Contact Section Variables */
    --contact-bg: rgba(2, 2, 113, 0.772);
    --contact-heading-bg: #043c75;
    --contact-form-border: #555;
    --contact-input-bg: whitesmoke;
    --contact-input-color: black;
    --contact-label-color: #555;
    --contact-btn-bg: linear-gradient(135deg, #1f3a52, #38618d);
    --contact-btn-hover-bg: #1f3a52;
    --contact-icon-color: #fff;
    --contact-icon-hover-color: #ddd;
    --contact-form-border: #1f3a52;
    --contact-input-bg: whitesmoke;
    --contact-border-color: #555;


    /* Footer color palette */
    --footer-bg-primary: rgba(2, 2, 113, 0.772);
    --footer-bg-light: #fbfbfd;
    --footer-text-color: #fff;
    --footer-muted-text: #6a7695;
    --footer-highlight: #5e2ced;
    --footer-icon-bg: #ebeef5;
    --footer-hover-bg: #1b3750;
    --footer-bottom-bg: white;
    --footer-bottom-text: black;
    --footer-text-color: #6a7695;
    --footer-hover-link-color: #1f3a52;
    --footer-social-icon-color: #858da8;
    --footer-social-icon-bg: #ebeef5;
    --footer-social-hover-bg: #1b3750;
    --footer-social-hover-border: #5e2ced;
    --footer-social-hover-color: #ffffff;
    --footer-heading-color: #263b5e;
    --footer-link-hover-color: #5e2ced;
    --footer-button-hover-bg: transparent;
    --footer-button-hover-color: #5e2ced;
    --footer-bottom-text-color: #1f3a52;


    /* Logout Section Colors */
    --logout-link-color: #ffffff;
    --logout-hover-color: #1f3a52;

    /* Modal Section Colors */
    --modal-overlay-bg: rgba(0, 0, 0, 0.5);
    --modal-content-bg: #ffffff;
    --modal-header-bg: #dc3545;
    --modal-header-text-color: #ffffff;
    --modal-close-hover-color: #000000;

    /* Error States */
    --input-error-border: red;
    --error-message-color: red;
    --font-size-heading: 1.5rem;
    --font-size-body: 1rem;
    --spacing-sm: 10px;
    --spacing-lg: 100px;
}


body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Ensure the body takes full height */
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* Ensure vertical scrolling is enabled */
    scroll-behavior: smooth;
    /* Smooth scrolling for better UX */

}



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

body::-webkit-scrollbar-track {
    background: var(--scrollbar-1);
    /* Background color of the track */
    border-radius: 10px;
    /* Rounded corners for the track */
}

body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    /* Color of the scrollbar */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
    /* Darker color when hovered */
}

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 */
}

/* Firefox scrollbar (optional but recommended for scalability) */
@supports (scrollbar-width: thin) {
    body {
        scrollbar-width: thin;
        scrollbar-color: #fff #e4e4e4;
    }
}

/* Optional: Reset margin and add padding to headings if necessary */
section {
    padding-top: 70px;
    margin-top: -70px;
    padding: 2rem;
    margin: 2rem 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


section h2 {
    margin-top: 0;
    padding-top: 20px;
}

/* Adjust spacing to ensure section headings are not hidden behind a fixed header */




/*#region Header*****************************************************HEADER*****************************************/
/* Header Styling */
/* Header Flex Layout */
header {
    color: #fff;
    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 */


}


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);
}


nav.hidden {
    transform: translateY(-100%) !important;
    /* Use !important to increase specificity */
}




/* New section styles */
.intro-section {
    background-color: var(--text-light);
    padding: 0.5rem 0.5rem;
    text-align: center;
    margin-top: -1rem;
}

.intro-heading {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;

}

.intro-subheading {
    font-size: 1.25rem;
    margin: 0;
}

.intro-tag {
    font-weight: bold;
    color: var(--blue-accent);
}

/*#endregion HEADER*/


/*#region ABOUT US***********************************************ABOUT US***************************************************/
.about-us-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    margin-top: 100px;
    background-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;

}

.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
    color: white;

}

.about-subtext {

    line-height: 1.1;
    text-align: left;
    margin-bottom: 15px;
    color: white;
    font-size: 51px;
    line-height: 1.1em;
    font-weight: 100;

}

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

/*#endregion ABOUT US********************************/


/*#*********************************************************************region BLOG Section**************************************/
.blog {
    margin-top: 2px !important;
    border-radius: 90px;
     background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-size: 300% 300%;
    height: 800px;
    /*animation: gradientMove 8s ease infinite alternate;*/
}

.profile-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 75px;
    height: 50%;
    flex-wrap: wrap;
    /* add this */
}


.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-btn1 {
    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: #0481C1;
    border-style: outset;


}

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

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

}

.icon-container1 i {
    color: white;
}

/*#endregion BLOG*/




.result {
    position: relative;
    padding: 3rem;
    background-color: transparent;
    color: #333;
    height: 1000px;
    margin-top: -30px;
}

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

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

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

.result-content h1 {
    font-size: 5rem;
    line-height: 1.3;
    font-style: italic;
    font-weight: 300;
}

.about-subtext {

    line-height: 1.1;
    text-align: left;
    margin-bottom: 15px;
    color: white !important;
    font-size: 51px;
    line-height: 1.1em;
    font-weight: 100;

}


/*#region*********************************************************************************OUR APP****************************/
.app {
    margin-top: 50px;
    background-color: transparent;
    border: none;
}

.our-app-section {
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    word-wrap: break-word;
    margin-top: 405px;
    border: none;
    box-sizing: border-box;
}

/* Initial state before animation */
.slide-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease-out;
}

/* Final state when visible */
.slide-down.animate-down {
    opacity: 1;
    transform: translateY(0);
}

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

.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: var(--our-app-text);
    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,
.ios-store {
    background-color: var(--our-app-bg-dark);
}

.google-play:hover,
.ios-store:hover {
    background-color: var(--our-app-bg-darker);
}

.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*******************************************************************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, #70b800, #0481c1) !important;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 11.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;
     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-color: #1f2937 !important;
    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;
}



.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 **************************************************************************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****FOOTER******************/

/*#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%) !important;
    border-radius: 70px;

}

/* Footer Top */
.custom_footer_top {
    padding: 100px;
    position: relative;
    overflow-x: hidden;
    width: 1550px;



}

.custom_footer_top .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
}

/* 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;
}

.top {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 999;
    font-size: 16px;
    background-color: #1f3a52;
    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:hover {
    background-color: #0056b3;
}

.top.show {
    opacity: 1;
}





#logout-link {
    display: none;
    /* Initially hidden if no token */
    text-decoration: none;
    color: var(--logout-link-color);
    /* Change to match your theme */
    position: relative;
    /* Ensures consistent positioning */
    margin-top: 4px;
    /* Adjust spacing downwards */
}

/* Hover effect for better UI */
#logout-link:hover {
    text-decoration: underline;
    text-underline-offset: 15px;
    transform: scale(1.1);
    color: #acc8df;
    cursor: pointer;
}

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


/*#region *******************************************************************************CUSTOM MODAL LOGIC*********************************/
.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 */
}

.custom-modal-content {
    background-color: var(--modal-content-bg);
    border-radius: 8px;
    max-width: 300px;
    width: 90%;
    padding: 20px;
    position: relative;
    pointer-events: auto;
    z-index: 10000;
}

.custom-modal-header {
    background-color: var(--modal-header-bg);
    color: var(--modal-header-text-color);
    padding: 10px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-modal-body,
.custom-modal-footer {
    pointer-events: auto;
}

.custom-modal-footer {
    padding: 10px;
    text-align: center;
}

.custom-modal-footer .btn {
    padding: 6px 12px;
    font-size: 0.875rem;
    margin-top: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.25rem;
    background: none;
    border: none;
    color: var(--modal-header-text-color);
    cursor: pointer;
}

.close-btn:hover {
    color: var(--modal-close-hover-color);
}

.custom-modal-body {
    padding: 10px;
    font-size: 1rem;
    text-align: center;
}

.custom-modal-header h5 {
    margin: 0;
    font-weight: bold;
    font-size: 1.25rem;

}

.hidden {
    display: none;
}

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

@keyframes pulse {

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

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


@media (max-width: 414px) and (min-height: 412px) {

    /*#region NAV*/
    header {
        flex-direction: row;
        /* Keep logo and nav in a row */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        padding: 10px 5px;
        /* Smaller padding for mobile */
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal links */
        justify-content: center;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 10px;
        /* Space between links */
        overflow-x: auto;
        /* Allow horizontal scroll if needed */
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }

    .nav-links li {
        margin: 0 5px;
        /* Smaller margin for mobile */
    }

    .nav-links li a {
        font-size: 12px;
        /* Slightly smaller text */
        white-space: nowrap;
        /* Prevent line breaks */
    }

    /*#endregion NAV*/

    /*#region BLOG*/
    .blog {
        height: auto;
        /* Let blog section grow based on content */
        padding: 20px 10px;
        margin-top: 0;
        border-radius: 20px;
    }

    .result-header {
        text-align: center;
        /* Center the header text */
        margin-bottom: 20px;
    }

    .profile-cards {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        justify-content: center;
        /* Center cards vertically */
        align-items: center;
        /* Center cards horizontally */
        gap: 20px;
        /* Space between cards */
        margin-top: 20px;
        height: auto;
        /* Allow height to grow dynamically */
    }

    .profile-card {
        width: 90%;
        /* Make cards almost full width */
        max-width: 350px;
        /* Optional max width */
        margin: 0 auto;
    }

    .profile-image {
        height: 200px;
    }

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

    .profile-content {
        padding: 15px;
        text-align: center;
        /* Center content */
        position: relative;
    }

    .profile-content h2 {
        font-size: 1.1em;
        margin-top: 1em;
    }

    .read-more-btn1 {
        position: relative;
        /* Remove absolute positioning */
        margin: 10px auto 15px auto;
        /* Center button horizontally */
        display: block;
        left: 0;
        top: 0;
    }

    .icon-container1 {
        position: relative;
        /* keep normal flow */
        width: auto;
        /* shrink to content */
        display: inline-block;
        /* shrink-wrap to the icon */
        margin: 0 auto 10px auto;
        /* center horizontally */
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        /* center icon inside container */
    }

    .icon-container1 i {
        font-size: 24px;
        display: block;
        /* optional, if you want it on its own line */
    }

    /*#endregion BLOG*/

    /*#region APP*/

    .app {
        margin-top: -450px !important;
    }

    .app p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }

    /*#endregion APP*/

    /*#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*/
    header {
        flex-direction: row;
        /* Keep logo and nav in a row */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        padding: 10px 5px;
        /* Smaller padding for mobile */
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal links */
        justify-content: center;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 10px;
        /* Space between links */
        overflow-x: auto;
        /* Allow horizontal scroll if needed */
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }

    .nav-links li {
        margin: 0 5px;
        /* Smaller margin for mobile */
    }

    .nav-links li a {
        font-size: 12px;
        /* Slightly smaller text */
        white-space: nowrap;
        /* Prevent line breaks */
    }

    /*#endregion NAV*/

    /*#region BLOG*/
    .blog {
        height: auto;
        /* Let blog section grow based on content */
        padding: 20px 10px;
        margin-top: 0;
        border-radius: 20px;
    }

    .result-header {
        text-align: center;
        /* Center the header text */
        margin-bottom: 20px;
    }

    .profile-cards {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        justify-content: center;
        /* Center cards vertically */
        align-items: center;
        /* Center cards horizontally */
        gap: 20px;
        /* Space between cards */
        margin-top: 20px;
        height: auto;
        /* Allow height to grow dynamically */
    }

    .profile-card {
        width: 90%;
        /* Make cards almost full width */
        max-width: 350px;
        /* Optional max width */
        margin: 0 auto;
    }

    .profile-image {
        height: 200px;
    }

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

    .profile-content {
        padding: 15px;
        text-align: center;
        /* Center content */
        position: relative;
    }

    .profile-content h2 {
        font-size: 1.1em;
        margin-top: 1em;
    }

    .read-more-btn1 {
        position: relative;
        /* Remove absolute positioning */
        margin: 10px auto 15px auto;
        /* Center button horizontally */
        display: block;
        left: 0;
        top: 0;
    }

    .icon-container1 {
        position: relative;
        /* keep normal flow */
        width: auto;
        /* shrink to content */
        display: inline-block;
        /* shrink-wrap to the icon */
        margin: 0 auto 10px auto;
        /* center horizontally */
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        /* center icon inside container */
    }

    .icon-container1 i {
        font-size: 24px;
        display: block;
        /* optional, if you want it on its own line */
    }

    /*#endregion BLOG*/


    /*#region APP*/

    .app {
        margin-top: -450px !important;
    }

    .app p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }

    /*#endregion APP*/

    /*#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*/
    header {
        flex-direction: row;
        /* Keep logo and nav in a row */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        padding: 10px 5px;
        /* Smaller padding for mobile */
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal links */
        justify-content: center;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 10px;
        /* Space between links */
        overflow-x: auto;
        /* Allow horizontal scroll if needed */
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }

    .nav-links li {
        margin: 0 5px;
        /* Smaller margin for mobile */
    }

    .nav-links li a {
        font-size: 12px;
        /* Slightly smaller text */
        white-space: nowrap;
        /* Prevent line breaks */
    }

    /*#endregion NAV*/

    /*#region BLOG*/
    .blog {
        height: auto;
        /* Let blog section grow based on content */
        padding: 20px 10px;
        margin-top: 0;
        border-radius: 20px;
    }

    .result-header {
        text-align: center;
        /* Center the header text */
        margin-bottom: 20px;
    }

    .profile-cards {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        justify-content: center;
        /* Center cards vertically */
        align-items: center;
        /* Center cards horizontally */
        gap: 20px;
        /* Space between cards */
        margin-top: 20px;
        height: auto;
        /* Allow height to grow dynamically */
    }

    .profile-card {
        width: 90%;
        /* Make cards almost full width */
        max-width: 350px;
        /* Optional max width */
        margin: 0 auto;
    }

    .profile-image {
        height: 200px;
    }

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

    .profile-content {
        padding: 15px;
        text-align: center;
        /* Center content */
        position: relative;
    }

    .profile-content h2 {
        font-size: 1.1em;
        margin-top: 1em;
    }

    .read-more-btn1 {
        position: relative;
        /* Remove absolute positioning */
        margin: 10px auto 15px auto;
        /* Center button horizontally */
        display: block;
        left: 0;
        top: 0;
    }

    .icon-container1 {
        position: relative;
        /* keep normal flow */
        width: auto;
        /* shrink to content */
        display: inline-block;
        /* shrink-wrap to the icon */
        margin: 0 auto 10px auto;
        /* center horizontally */
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        /* center icon inside container */
    }

    .icon-container1 i {
        font-size: 24px;
        display: block;
        /* optional, if you want it on its own line */
    }

    /*#endregion BLOG*/

    /*#region APP*/

    .app {
        margin-top: -450px !important;
    }

    .app p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }

    /*#endregion APP*/

    /*#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*/
    header {
        flex-direction: row;
        /* Keep logo and nav in a row */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        padding: 10px 5px;
        /* Smaller padding for mobile */
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
      
      
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal links */
        justify-content: center;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 10px;
        /* Space between links */
        overflow-x: auto;
        /* Allow horizontal scroll if needed */
        padding: 0;
        margin: 0;
       
        
    }

    .nav-links li {
        margin: 0 5px;
        /* Smaller margin for mobile */
         
    }

    .nav-links li a {
        font-size: 12px;
        /* Slightly smaller text */
        white-space: nowrap;
        /* Prevent line breaks */
          
    }

    /*#endregion NAV*/

    /*#region BLOG*/
    .blog {
        height: auto;
        /* Let blog section grow based on content */
        padding: 20px 10px;
        margin-top: 0;
        border-radius: 20px;
    }

    .result-header {
        text-align: center;
        /* Center the header text */
        margin-bottom: 20px;
    }

    .profile-cards {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        justify-content: center;
        /* Center cards vertically */
        align-items: center;
        /* Center cards horizontally */
        gap: 20px;
        /* Space between cards */
        margin-top: 20px;
        height: auto;
        /* Allow height to grow dynamically */
    }

    .profile-card {
        width: 90%;
        /* Make cards almost full width */
        max-width: 350px;
        /* Optional max width */
        margin: 0 auto;
    }

    .profile-image {
        height: 200px;
    }

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

    .profile-content {
        padding: 15px;
        text-align: center;
        /* Center content */
        position: relative;
    }

    .profile-content h2 {
        font-size: 1.1em;
        margin-top: 1em;
    }

    .read-more-btn1 {
        position: relative;
        /* Remove absolute positioning */
        margin: 10px auto 15px auto;
        /* Center button horizontally */
        display: block;
        left: 0;
        top: 0;
    }

    .icon-container1 {
        position: relative;
        /* keep normal flow */
        width: auto;
        /* shrink to content */
        display: inline-block;
        /* shrink-wrap to the icon */
        margin: 0 auto 10px auto;
        /* center horizontally */
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        /* center icon inside container */
    }

    .icon-container1 i {
        font-size: 24px;
        display: block;
        /* optional, if you want it on its own line */
    }

    /*#endregion BLOG*/

    /*#region APP*/

    .app {
        margin-top: -450px !important;
    }

    .app p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }

    /*#endregion APP*/

    /*#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) {}