/*
Theme Name: Radhe Finvest
Theme URI: https://radhefinvest.com
Author: Radhe Finvest
Author URI: https://radhefinvest.com
Description: Radhe Finvest Theme
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radhe-finvest
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
    --background-gradient: linear-gradient(to left, #051917 10%, #2e9e91 90%);
    --font-poppins: "Poppins", sans-serif;
    --font-raleway: "Raleway", sans-serif;
    --primary-color: #2e9e91;
    --nav-gap: 103px;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.font-poppins {
    font-family: var(--font-poppins);
}

.font-raleway {
    font-family: var(--font-raleway);
}

.bg-gradient {
    background: var(--background-gradient);
}

/* Custom Colors & Utilities */
.text-teal {
    color: var(--primary-color);
}

.navbar.home-page-top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.home-page-header-nav {
    position: sticky;
    top: 113px;
    z-index: 1000;
}

nav.custom-rf-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.contact-us-info .icon-circle,
.secondary-nav .icon-circle {
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-us-info a,
.icon-circle-div a {
    font-size: 15px;
    color: #000000;
}

.contact-us-info a:hover {
    color: var(--primary-color);
}

/* Social Icons */
.social-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Gradient Log In Button */
.rf-btn-login {
    background: var(--background-gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: opacity 0.3s;
    padding: 13px 30px;
    border-radius: 2px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
    }
}

/* ------------------------------------------------- nav bar ----------------------------------------------- */

/* 1. Primary Nav Styling */
.secondary-nav {
    background-color: var(--primary-color);
}


/* Mobile/Tablet Adjustments */
@media (max-width: 991.98px) {
    .nav-list {
        padding-bottom: 15px;
    }

    .nav-item {
        width: 100%; /* Make items full width for easier clicking */
        text-align: center;
        padding-top: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .custom-hover-dropdown .dropdown-menu {
        width: 100%;
        text-align: center;
        border-radius: 0;
        box-shadow: none !important;
    }
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    padding-top: 17px;
    padding-bottom: 17px;
    white-space: nowrap;
    font-size: 16px;
    display: inline-block; /* Essential for padding to work correctly */
}

/* 2. Custom Dropdown styling */
.custom-hover-dropdown .dropdown-toggle {
    text-decoration: none;
    cursor: pointer;
}

/* Enable Hover behavior only on desktop */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        position: absolute; /* Keep it floating over content */
    }
}

.custom-hover-dropdown .dropdown-menu {
    border-radius: 4px;
    padding-top: 0;
    padding-bottom: 0;
    min-width: 280px;
}

/* 3. Dropdown Item Styling & Separators */
.custom-hover-dropdown .dropdown-item {
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.custom-hover-dropdown .dropdown-menu li:last-child .dropdown-item {
    border-bottom: none;
}

.custom-hover-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.custom-hover-dropdown .dropdown-toggle::after {
    display: none;
}

/* ------------------------------------------------ end nav bar -------------------------------------------------- */

/* --------------------------------------------- HERO SECTION BASE ----------------------------------------------- */
.hero-section {
    min-height: 85vh;
    overflow: hidden;
    /* background-color: #fff; */
}

/* Base Poppins font if not global */
.font-poppins {
    font-family: "Poppins", sans-serif;
}

/* --- BACKGROUND WRAPPER HANDLING --- */
.hero-bg-wrapper {
    z-index: 0;
}

/* Base image (The hands, desk, and coins) */
.hero-image-overlay {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Adds the very light white fade effect toward the top-center */
    background-image:
        radial-gradient(
            circle at 50% 10%,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.7) 40%,
            rgba(255, 255, 255, 0) 80%
        ),
        url("assets/images/hero-bg-full.jpg");
}

/* --- THE DATA CHARTS OVERLAY (Transparent PNG/SVG) --- */
.hero-data-charts {
    z-index: 1; /* Sits above the image, below text */
    /* max-width: 1400px; */
    /* min-height: 100vh; */
}

/* --- TEXT CONTENT WRAPPER --- */
.hero-content-wrapper {
    z-index: 2; /* Sits on top of everything */
}

/* --- TYPOGRAPHY SCALING --- */
.hero-title {
    font-size: 60px;
    letter-spacing: -1px;
    margin-top: 77px;
}

.hero-subtitle {
    font-size: 25px;
    color: #000000 !important;
}

/* --- THE GRADIENT BUTTON --- */
.btn-hero-appointment {
    background: var(--background-gradient);
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 13px 19px;
    display: inline-block;
    vertical-align: middle;
}

/* ------------------------------------------------------------------------- */
/* --- RESPONSIVE ADJUSTMENTS --- */
/* ------------------------------------------------------------------------- */

/* Desktop / Large Screens (1400px down) */
@media (max-width: 1399.98px) {
    .hero-title {
        font-size: 60px;
        margin-top: 77px;
    }
}

/* Laptop Screens (1200px down) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 52px;
        margin-top: 77px;
    }

    .hero-data-charts {
        width: 100%;
        max-width: none;
        height: 85vh !important;
        object-fit: cover;
    }
}

/* Tablet Screens (992px down) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 42px;
        margin-top: 77px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    /* Center text vertically better on smaller screens */
    .hero-content-wrapper > div {
        transform: translateY(-20px);
    }
}

/* Large Mobile (768px down) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
        margin-top: 65px;
    }
}

/* Small Mobile (576px down) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 75vh;
    }

    .hero-title {
        font-size: 26px;
        margin-top: 55px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    /* Remove <br> forcing on subtitle for mobile flow */
    .hero-subtitle br {
        display: none !important;
    }

    .btn-hero-appointment {
        /* width: 100%; */
    }

    .hero-data-charts {
        height: 70vh !important;
        object-fit: cover;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --------------------------------------------- END HERO SECTION BASE ----------------------------------------------- */

/* --------------------------------------------- SERVICES SECTION BASE ----------------------------------------------- */

.service-card {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.services-section .services-title {
    font-size: 85px;
    text-transform: uppercase;
}

.services-section .services-sub-title {
    font-size: 40px;
}

.card-img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-content-box {
    background-color: #f5f5f5;
    padding: 44px 30px 44px 30px;
    position: relative;
    text-align: center;
}

.card-content-box h5 {
    color: #000000;
    font-size: 25px;
}

/* The Overlapping Circular Icon */
.floating-icon {
    position: absolute;
    top: -70px; /* Pulls it up halfway into the image */
    left: 20px; /* Aligns with the left side as seen in image */
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-icon span svg {
    transition: all 0.3s ease;
}

.service-card:hover,
.service-card:hover .floating-icon {
    background-color: #ffffff;
}

.service-card:hover .card-content-box,
.service-card:hover .card-content-box h5 a {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.service-card span svg,
.service-card span img {
    filter: brightness(0) invert(1);
}

.service-card:hover span svg,
.service-card:hover span img {
    filter: brightness(1) invert(0);
}

/* Custom DYNAMIC DOTS Styling */
.services-slider.owl-theme .owl-dots {
    margin-top: 40px !important;
}

.services-slider.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #d1d1d1;
    transition: all 0.3s ease;
}

.services-slider.owl-theme .owl-dots .owl-dot.active span {
    background: var(--primary-color) !important;
    width: 30px; /* Makes active dot a pill shape */
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-img-wrapper img {
        height: 200px;
    }
    .services-title {
        font-size: 45px !important;
    }
    .services-section .services-sub-title {
        font-size: 32px !important;
    }
}

/* Small Mobile (576px down) */
@media (max-width: 575.98px) {
    .services-title {
        font-size: 32px !important;
    }
    .services-section .services-sub-title {
        font-size: 26px !important;
    }
    .card-content-box {
        padding: 30px 20px 40px 20px;
    }
    .floating-icon {
        width: 80px;
        height: 80px;
        top: -50px;
    }
    .floating-icon span svg {
        width: 40px;
        height: 40px;
    }
}

/* --------------------------------------------- END SERVICES SECTION ----------------------------------------------- */

/* --------------------------------------------- ABOUT financial services ----------------------------------------------- */
.about-financial-services {
    background-color: #e3f2f0; /* Light mint background from design */
    /* margin: 80px 0; */
    /* overflow: hidden; */
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
    padding-left: 20px;
    top: 70px;
    /* overflow: hidden; */
}

.main-img {
    border: 20px solid #ffffff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .main-img {
    transform: scale(1.08);
    border: 20px solid var(--primary-color);
}

/* 10+ Years Badge */
.experience-badge {
    position: absolute;
    bottom: 27%;
    left: -11%;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border: 20px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
}

.experience-badge .number {
    font-size: 60px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
}

/* Content Area */
.bg-graphic-layer {
    position: absolute;
    right: -44%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-financial-section-title {
    font-weight: 700;
    font-size: 35px;
    line-height: 100%;
}

.about-financial-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 15px;
}

.feature-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 1px;
    font-size: 20px;
    display: inline-block;
}

.founder-info {
    background: #ffffff;
    padding: 15px 32px;
    border-radius: 1px;
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 19px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .experience-badge {
        width: 110px;
        height: 110px;
        bottom: 10%;
    }
    .about-image-wrapper {
        margin-bottom: 50px;
    }
}
/* --------------------------------------------- END ABOUT financial services ----------------------------------------------- */

/* --------------------------------------------- TRUSTED CHOICE SECTION ----------------------------------------------- */
/* Section Title */
.trusted-choice-section {
    padding: 90px 0;
}

.trusted-choice-section-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

/* The Container for the two overlapping hexagons */
.hex-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 350px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.hex-container:hover {
    transform: translateY(-8px);
}

/* Flat-top hexagon clip path shared by both layers */
.hex-border-layer,
.hex-content-layer {
    position: absolute;
    width: 310px;
    height: 310px;
    /* clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); */
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}

/* 1. The BACKGROUND Hexagon (dark/teal border visible on right side) */
.hex-border-layer {
    bottom: 25px;
    right: 10px;
    background: linear-gradient(
        160deg,
        #1c2b2b 0%,
        #1c2b2b 38%,
        #2a8b83 58%,
        #1a6b63 100%
    );
    z-index: 1;
}

/* 2. The WHITE Content Hexagon (sits on top, offset to top-left) */
.hex-content-layer {
    top: 15px;
    left: 25px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 45px 40px;
    text-align: center;
    z-index: 2;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.07));
}

/* Styling inside the card */
.hex-icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-icon svg,
.hex-icon image {
    width: 50px;
    height: 50px;
}

.hex-content-layer h5 {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

.hex-content-layer p {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

/* Responsive */
@media (max-width: 1199px) {
    .hex-container {
        max-width: 310px;
        height: 300px;
    }
    .hex-border-layer,
    .hex-content-layer {
        width: 280px;
        height: 280px;
    }
    .hex-content-layer {
        padding: 40px 32px;
    }
}

@media (max-width: 991px) {
    .hex-container {
        max-width: 320px;
        height: 310px;
        margin-bottom: 25px;
    }
    .hex-border-layer,
    .hex-content-layer {
        width: 290px;
        height: 290px;
    }
}

@media (max-width: 768px) {
    .hex-container {
        max-width: 290px;
        height: 280px;
        margin-bottom: 30px;
    }
    .hex-border-layer,
    .hex-content-layer {
        width: 260px;
        height: 260px;
    }
    .hex-content-layer {
        padding: 35px 25px;
    }
    .trusted-choice-section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
}

@media (max-width: 575.98px) {
    .hex-container {
        max-width: 270px;
        height: 260px;
    }
    .hex-border-layer,
    .hex-content-layer {
        width: 240px;
        height: 240px;
    }
    .hex-content-layer {
        padding: 30px 20px;
    }
    .hex-content-layer p {
        font-size: 12px;
    }
}
/* --------------------------------------------- END TRUSTED CHOICE SECTION ----------------------------------------------- */

/* --------------------------------------------- Testimonial Section Styles ----------------------------------------------- */
.testimonial-section {
    background-image: url("assets/images/testimonial-bg.webp"); /* The path you requested */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Optional Overlay to match image darkness */
.testimonial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.7); */
    z-index: -1;
}

.testimonial-title-wrapper {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon {
    font-size: 38px;
    color: rgba(255, 255, 255, 0.25); /* Muted dark greyish white */
}

.quote-left {
    margin-right: 15px;
}
.quote-right {
    margin-left: 15px;
}

.testimonial-main-title {
    font-weight: 800;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

/* --- The Testimonial Item Layout --- */
.testimonial-carousel-wrapper {
    padding: 20px 0;
}

/* The Static Vertical Divider in the Middle */
.testimonial-carousel-wrapper::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
    z-index: 10;
    display: none; /* Hide on mobile */
}

@media (min-width: 992px) {
    .testimonial-carousel-wrapper::before {
        display: block;
    }
}

.testimonial-item-inner {
    color: #fff;
    padding: 0 30px;
}

.author-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    overflow: hidden;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

.author-designation {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

.star-rating {
    color: #f39c12; /* Golden stars */
    font-size: 16px;
}
.star-rating i {
    margin: 0 3px;
}

.review-text {
    font-weight: 500;
    font-style: Italic;
    font-size: 16px;
    line-height: 136%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

/* --- Responsive Media Queries --- */

@media (max-width: 991px) {
    .testimonial-main-title {
        font-size: 28px;
    }
    .testimonial-item-inner {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .testimonial-main-title {
        font-size: 24px;
    }
    .author-photo {
        width: 110px;
        height: 110px;
    }
}

.testimonial-carousel .owl-item.active:has(+ .owl-item.active) {
    border-right: 2px solid #606060 !important;
}
/* --------------------------------------------- END Testimonial Section Styles ----------------------------------------------- */

/* --------------------------------------------- Associated Section Styles ----------------------------------------------- */
.associated-section {
    background-color: #fff;
    padding: 60px 0;
}

.associated-title {
    font-weight: 800;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

/* Make slider linear and continuous if needed using custom duration, but user requested standard slick slide */
.associated-carousel .owl-stage-outer {
    padding: 10px 0;
}

.associated-item {
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.associated-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.associated-item svg {
    width: 32px;
    height: 32px;
}

.associated-item span {
    font-size: 20px;
    font-weight: 600;
    color: #2b2b2b;
}

@media (max-width: 767px) {
    .associated-title {
        font-size: 26px;
    }
    .associated-item {
        padding: 15px 10px;
        gap: 10px;
    }
    .associated-item svg {
        width: 26px;
        height: 26px;
    }
    .associated-item span {
        font-size: 16px;
    }
}
/* --------------------------------------------- END Associated Section Styles ----------------------------------------------- */

/* --------------------------------------------- Footer Section Styles ----------------------------------------------- */
.footer-section {
    background-color: #222222;
    color: #ffffff;
}

.footer-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 0%;
    color: #ffffff;
}

.footer-title {
    font-weight: 700;
    font-style: bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: left;
    color: #ffffff;
    margin-bottom: 30px;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links a {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact .contact-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact .contact-text {
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
}
.footer-contact .contact-text,
.footer-contact .contact-text a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-text:hover,
.footer-contact .contact-text a:hover {
    color: var(--primary-color);
}

.footer-social .social-icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social .social-icon-wrapper img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-social .social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-social .social-link:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color);
}

.btn-subscribe {
    background: var(--background-gradient);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.btn-subscribe:hover {
    background-color: #000000;
    color: #fff;
}

/* Copyright Section */
.copyright-section {
    background-color: #262626;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Customizations */
@media (max-width: 991px) {
    .newsletter-section .row {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-title {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .newsletter-section .newsletter-text p {
        font-size: 13px !important;
    }
}
/* --------------------------------------------- END Footer Section Styles ----------------------------------------------- */

/* --------------------------------------------- Services PAGE Section ----------------------------------------------- */

/* Left Sidebar */
.services-sidebar {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 24px 20px 24px;
}

.services-sidebar-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Tab List */
.service-tab-list {
    margin: 18px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-tab-list li {
    border-bottom: none;
}

.service-tab-link {
    display: block;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #979797;
    text-decoration: none;
    transition:
        background-color 0.22s ease,
        color 0.22s ease;
    border-left: none;
    background-color: #f5f5f5;
    border-radius: 6px;
    line-height: 1.4;
    font-family: var(--font-poppins);
}

.service-tab-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding-left: 30px;
}

.service-tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-left: none;
    padding-left: 30px;
}

/* investment */
/* Left Sidebar */
.investment-sidebar {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 24px 20px 24px;
}

.investment-sidebar-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Tab List */
.investment-tab-list {
    margin: 18px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.investment-tab-list li {
    border-bottom: none;
}

.investment-tab-link {
    display: block;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #979797;
    text-decoration: none;
    transition:
        background-color 0.22s ease,
        color 0.22s ease;
    border-left: none;
    background-color: #f5f5f5;
    border-radius: 6px;
    line-height: 1.4;
    font-family: var(--font-poppins);
}

.investment-tab-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding-left: 30px;
}

.investment-tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-left: none;
    padding-left: 30px;
}
/* end investment */

/* comman css for all services */
/* Left Sidebar */
.common-services-sidebar {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 24px 20px 24px;
}

.common-services-sidebar-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Tab List */
.common-services-tab-list {
    margin: 18px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.common-services-tab-list li {
    border-bottom: none;
}

.common-services-tab-link {
    display: block;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #979797;
    text-decoration: none;
    transition:
        background-color 0.22s ease,
        color 0.22s ease;
    border-left: none;
    background-color: #f5f5f5;
    border-radius: 6px;
    line-height: 1.4;
    font-family: var(--font-poppins);
}

.common-services-tab-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding-left: 30px;
}

.common-services-tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-left: none;
    padding-left: 30px;
}
/* end */

/* Service Page Cards */
.service-page-card {
    border-radius: 20px;
    overflow: hidden;
    background: #f8f8f8;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-page-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    /* transform: translateY(-5px); */
}

/* Image wrapper: needed for the absolute floating icon */
.service-page-img-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.service-page-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Large Floating circular icon that overlaps image bottom & card body top */
.service-page-floating-icon {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    z-index: 1;
    transition: all 0.3s ease;
}

.service-page-floating-icon svg,
.service-page-floating-icon img {
    color: #2e9e91;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.service-page-card:hover .service-page-floating-icon {
    /* transform: scale(1.05); */
}

/* Card Body */
.service-page-body {
    padding: 35px 35px 35px 35px;
    background-color: #f8f8f8;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-page-title {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

.service-page-desc {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    color: #000000;
}

.service-page-link {
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #7c7c7c;
    text-decoration: underline;
    text-underline-offset: 5px;
    margin-top: auto;
    display: inline-block;
}

.service-page-link:hover {
    background: var(--background-gradient);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;

    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 991.98px) {
    .services-sidebar {
        position: static;
        margin-bottom: 40px;
        padding: 22px 18px 16px 18px;
    }
}

@media (max-width: 767.98px) {
    .service-page-img-wrap img {
        height: 220px;
    }
    .service-page-floating-icon {
        width: 100px;
        height: 100px;
        bottom: -50px;
        left: 25px;
    }
    .service-page-floating-icon svg,
    .service-page-floating-icon img {
        width: 50px;
        height: 50px;
    }
    .service-page-body {
        padding: 70px 25px 35px 25px;
    }
    .service-page-title {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .service-page-img-wrap img {
        height: 200px;
    }
    .service-page-floating-icon {
        width: 90px;
        height: 90px;
        bottom: -45px;
    }
    .service-page-floating-icon svg,
    .service-page-floating-icon img {
        width: 45px;
        height: 45px;
    }
    .service-page-body {
        padding: 65px 20px 30px 20px;
    }
}

/* --------------------------------------------- END Services PAGE Section ----------------------------------------------- */

/* new pahes designs -============================================================================================================= */
/* --- Topbar Container --- */
.topbar-section {
    background: #f5f5f5; /* Deep black background */
    color: #000000;
    padding: 15px 160px; /* Vertical spacing */
    font-size: 13px; /* Smaller font for topbar */
    position: relative;
    z-index: 1000;
}

/* Flexbox utilities to align everything right on desktop */
.topbar-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligns all content right */
    align-items: center;
}

/* --- Support/Label Text --- */
.muted-label {
    color: #000000; /* Specific muted gray color from image */
    margin-right: 5px;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* --- Contact Information Block --- */
.contact-info-block {
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: 700; /* Semibold/Bold text */
}

.contact-info-block a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.contact-info-block a:hover {
    color: var(--primary-color); /* Example brand hover color */
}

/* Style the email part specifically (it is underlined) */
.contact-info-block a[href^="mailto:"] {
    text-decoration: underline;
    margin-left: -5px; /* Nudges closer to the preceding divider */
}

/* --- Specific Vertical Dividers --- */
.separator-main,
.separator-icons {
    margin: 0 12px;
}

/* 1. Main Divider (Gray) */
.separator-main {
    color: #606060; /* Medium gray color from image */
    font-weight: 400;
}

/* 2. Icons Divider (White) */
.separator-icons {
    color: #fff;
    font-weight: 400;
}

/* --- Social Icons Block --- */
.social-icons-block {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the two icons */
}

/* Facebook Icon Specific Styling (Simple Blue Circle) */
.social-icons-block a {
    overflow: hidden;
    background-color: #3b5998; /* Specific Facebook Blue */
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.social-icons-block a img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.social-icons-block a:hover {
    opacity: 0.8;
}

/* --- Responsive Media Queries --- */

/* Tablet (Medium Screens): Center everything and stack slightly if needed */
@media (max-width: 991px) {
    .topbar-wrapper {
        justify-content: center; /* Center horizontally */
        flex-wrap: wrap; /* Allows stacking if content overflows */
        gap: 10px 0; /* Vertical gap if stacked */
    }
}

/* Mobile (Small Screens): Stack content vertically and center all text */
@media (max-width: 767px) {
    .topbar-section {
        padding: 15px 0; /* Increase padding for touch targets */
        font-size: 12px;
    }

    .topbar-wrapper {
        flex-direction: column; /* Stack vertically */
        gap: 10px;
        text-align: center;
    }

    .muted-label {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .contact-info-block {
        flex-direction: column; /* Stack contact info vertically */
        gap: 5px;
    }

    /* Remove separators on mobile and replace with vertical spacing */
    .separator-main,
    .separator-icons {
        display: none;
    }

    .contact-info-block a[href^="mailto:"] {
        margin-left: 0; /* Reset nudge on mobile */
    }

    .social-icons-block {
        margin-top: 5px;
    }
}

/* ======================================================================== new nav bar ================================ */
/* General Font and Link Styling */
.rf-nav-link {
    font-family: var(--font-poppins) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    padding: 10px 15px !important;
    transition: color 0.3s ease !important;
}

.rf-nav-link:hover {
    color: var(--primary-color) !important; /* Brand Teal */
}

/* --- Desktop Hover Logic --- */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* Prevents gap that breaks hover */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom-hover-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(10px);
    }
}

/* Dropdown Item Styling */
.dropdown-item {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #268179;
}

/* Gradient Login Button */
.rf-main-login-btn {
    background: linear-gradient(90deg, #31978d 0%, #0a1b19 100%);
    color: white !important;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    white-space: nowrap;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 20px;
        text-align: center;
    }
    .rf-main-login-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* Custom Container Padding Logic */
.rf-nav-container {
    padding-left: 15px; /* Standard mobile padding */
    padding-right: 15px;
    width: 100%;
}

/* Apply 160px padding only on Desktop (Extra Large screens) */
@media (min-width: 1200px) {
    .rf-nav-container {
        padding-left: 160px !important;
        padding-right: 160px !important;
    }
}

/* Hover Dropdown Logic (Desktop only) */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Styles for Nav Links */
.rf-nav-link {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #000 !important;
    padding: 0 15px !important;
}

/* Login Button styling */
.rf-main-login-btn {
    background: linear-gradient(90deg, #31978d 0%, #0a1b19 100%);
    color: #ffffff !important;
    padding: 13px 30px;
    border-radius: 1px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
/* ========================================================== end new nav bar =================================================== */

/* --- Common Page Header Styling --- */
.common-page-header {
    /* Gradient matches your brand identity */
    background: radial-gradient(
        110.55% 268.85% at 50% 247.26%,
        #000000 0%,
        #2e9e91 100%
    );
    padding: 90px 0px 25px 0px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.common-page-header .page-title {
    font-family: var(--font-raleway);
    font-weight: 800;
    font-size: 60px;
    line-height: 100%;
    margin-bottom: 25px;
    text-transform: none;
    letter-spacing: 0%;
}
/* Breadcrumb Container */
.common-page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Base style for all items and links */
.common-page-header .breadcrumb-item,
.common-page-header .breadcrumb-item a {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

/* Specific weight for non-active links (Home / Services) */
.common-page-header .breadcrumb-item a {
    font-weight: 400;
}

/* Specific weight for the active page */
.common-page-header .breadcrumb-item.active {
    font-weight: 600;
}

/* The Separator Fix */
.common-page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #ffffff; /* Solid white separator */
    font-weight: 300;
    padding-left: 12px;
    padding-right: 12px;
    opacity: 1; /* Ensure it is fully visible like the image */
}

/* Hover Effect */
.common-page-header .breadcrumb-item a:hover {
    opacity: 0.7;
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .common-page-header .breadcrumb-item,
    .common-page-header .breadcrumb-item a {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .common-page-header .breadcrumb-item,
    .common-page-header .breadcrumb-item a {
        font-size: 14px; /* Scaled down for mobile readability */
    }
    .common-page-header .breadcrumb-item + .breadcrumb-item::before {
        padding-left: 8px;
        padding-right: 8px;
    }
}
/* ============================================= END Common Page Header Styling =================================================== */

/* ---------------------------------------------- Core Styling & Global Classes ------------------------------------------------------ */
.teal-text {
    color: var(--primary-color);
}

/* Custom Container to match your site's spacing */
.rf-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Base button and form shadow classes to clean up code */
.form-input-shadow {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Section Padding --- */
.contact-section {
    padding: 100px 0;
}

/* --- Left Side: Contact Form Styling --- */
.form-column .sub-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 16px;
    letter-spacing: 0.5%;
}

.form-column .main-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 50px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

.form-column .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.5%;
    color: #7f7f7f;
}

/* Styling Inputs (Matches your image's look) */
.rf-contact-form .form-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

.rf-contact-form .form-control {
    border: 1px solid #eeeeee; /* Very light border */
    border-radius: 8px;
    padding: 15px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #333;
    transition: box-shadow 0.3s ease-in-out;
}

.rf-contact-form textarea.form-control {
    resize: none; /* Prevents user from manual resizing */
}

/* Add a light shadow on focus */
.rf-contact-form .form-control:focus {
    box-shadow: 0px 10px 20px rgba(38, 129, 121, 0.1);
    border-color: #268179;
}

.rf-contact-form .form-control::placeholder {
    color: #b1b1b1;
}

/* Gradient Submit Button */
.rf-submit-btn {
    background: var(--background-gradient);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 1px;
    transition: opacity 0.3s;
}

.rf-submit-btn:hover {
    opacity: 0.9;
    color: #eee;
}

/* --- Right Side: Contact Info Block Styling --- */
.info-column {
    background-color: #000;
    border-radius: 15px 0 0 15px; /* Corner rounding on left side only */
    position: relative;
    overflow: hidden; /* Clips the background part of image if needed */
}

/* Ensure padding is uniform on desktop */
.padding-x-y-100 {
    padding: 50px; /* Reduced top/bottom for better balance */
}

.info-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
}

.contact-details-list span.fw-semibold {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #c9c9c9;
}

.contact-details-list .text-wrapper p,
.contact-details-list .text-wrapper a {
    font-size: 15px;
    color: #fff !important;
}

.contact-details-list .text-wrapper p:hover,
.contact-details-list .text-wrapper a:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a .social-link-title:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details-list .address-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Circle Icon Styling */
.info-column .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-column .icon-circle img {
    width: 20px;
    height: auto;
}

/* Follow Us styling */
.follow-us-wrapper span.fw-semibold {
    font-size: 15px;
    color: #fff;
}

.info-column .social-links a.social-icon {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.info-column .social-links a.social-icon:hover {
    opacity: 1;
}

/* --- Image Positioning Logic --- */
.contact-representative-img {
    position: absolute;
    bottom: 0;
    right: 15px;
    z-index: 1;
    width: auto;
    height: 508px;
    max-width: 278px;
}

/* ensures content is above the image z-index */
.z-index-2 {
    z-index: 2;
}

/* --- Mobile Responsiveness Logic --- */
@media (max-width: 1199.98px) {
    .rf-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 991.98px) {
    .contact-section {
        padding: 70px 0;
    }

    /* Center the title on smaller screens */
    .form-column,
    .form-column .description {
        text-align: center;
    }

    .form-column .main-title {
        font-size: 38px;
    }

    /* Modify Black Block for Mobile */
    .info-column {
        border-radius: 15px; /* Rounded corners on all sides */
        padding-bottom: 0; /* Important so image aligns to bottom */
    }

    .padding-x-y-responsive {
        padding: 60px 30px 40px 30px; /* Reduced padding on sides for text flow */
    }

    /* Change image positioning to handle smaller screens */
    .contact-representative-img {
        position: static; /* Let it stack normally on very small screens if needed */
        display: block;
        margin-left: auto;
        width: 100%;
        height: auto;
        max-width: 400px; /* Set a max size so she doesn't get massive on mobile */
        margin-top: -30px; /* pull her up slightly so she overlaps black bottom line */
    }
}

@media (max-width: 575.98px) {
    .form-column .main-title {
        font-size: 32px;
    }
    .common-page-header {
        padding: 60px 0;
    }

    .contact-details-list .text-wrapper a,
    .contact-details-list .address-text {
        font-size: 14px;
    }
}

/* ---------------------------------------------- END Core Styling & Global Classes ------------------------------------------------------ */

/* --- Core Section & Heading Layout --- */
.rf-common-section {
    padding: 100px 0;
    margin: 100px 0;
}
.bg-mint {
    background-color: #d5ece9;
    /* opacity: 0.2; */
}

.values-header h2.main-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;
}

.values-header p.section-description {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* Limits the description text boundary on large screens */
.max-width-p {
    max-width: 650px;
}

/* ============================================== */
/* --- Acronym Grid Layout (Desktop Logic) --- */
/* ============================================== */

/* Base behavior: Auto-stacks on mobile, grid on desktop */
.trust-acronym-container {
    display: flex;
    flex-direction: column;
}

/* Reusable Grid layout for top, center, and bottom sections */
.grid-section {
    display: flex; /* Flexible by default for mobile */
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    /* switch to grid on desktops */
    .grid-section {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* creates 5 equal columns */
        align-items: end; /* Aligns text items upward toward the icons */
        gap: 10px;
    }

    .grid-section-top {
        align-items: start;
    } /* Top text flows downward */
    .grid-section-center {
        align-items: center;
    } /* Center icons center vertically */
}

/* --- Center Section: Paper Icon Look --- */
.grid-section-center {
    justify-content: center;
    gap: 30px; /* spacing on mobile */
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    position: relative; /* important for connector alignment */
}

.paper-icon-shape {
    width: 60px;
    height: 70px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* default shape */

    /* Specific folding corner look of the paper */
    border-top-left-radius: 20px;
}

@media (min-width: 768px) {
    .grid-section-center {
        display: grid; /* Grid activation for desktops */
        gap: 0;
    }
}

/* --- Top/Bottom Text Items & Connectors --- */
.value-text {
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

/* Connector Logic */
@media (min-width: 768px) {
    .has-connector {
        position: relative;
    }

    /* create the vertical connector line using before element */
    .has-connector::before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 60px; /* Reduced for a tighter design */
        background-color: var(--primary-color);
        opacity: 0.6;
    }

    /* specific positions for top vs bottom connectors */
    .top-connector::before {
        bottom: -60px; /* extends downward from text toward icons */
    }

    .bottom-connector::before {
        top: -60px; /* extends upward from text toward icons */
    }
}

/* ============================================== */
/* --- Mobile Responsiveness Logic --- */
/* ============================================== */

@media (max-width: 767px) {
    .our-values-section {
        padding: 60px 0;
    }

    .values-header h2.main-title {
        font-size: 32px;
    }
    .values-header p.section-description {
        font-size: 15px;
    }

    /* Hide the visual separator lines completely on mobile as they don't align */
    .has-connector::before {
        display: none !important;
    }

    /* Modify layout flow on mobile: Text - Icon - Text, stacked */
    .trust-acronym-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .grid-section-top {
        order: 1;
        gap: 30px;
    } /* stack top texts together */
    .grid-section-center {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    } /* T-R-U-S-T in a row/wrap */
    .grid-section-bottom {
        order: 3;
        gap: 30px;
    } /* stack bottom texts together */

    .value-item {
        max-width: 300px; /* keeps text blocks from becoming too wide */
    }
}
/* -------------------------------------------------------- end ---------------------------------------------------------------- */

/* --- Achievements Section Styles --- */
.achievements-section {
    background-color: #d5ece9; /* Your specific color */
    padding: 80px 0;
}

.achievement-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
}

.achievement-description {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #000000;
}

/* Statistics Blocks */
.counter-number {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 50px;
    line-height: 100%;
    /* Gradient Color Application */
    background: linear-gradient(90deg, #31978d 0%, #0a1b19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.counter-label {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    color: #000000;
}

/* Vertical Separators for Desktop */
@media (min-width: 992px) {
    .achievement-block {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0 15px;
    }
    .last-block {
        /* border-right: none; */
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .achievement-title {
        font-size: 32px;
    }
    .achievement-description {
        font-size: 16px;
    }
    .counter-number {
        font-size: 40px;
    }
    .counter-label {
        font-size: 16px;
    }
}

/* --------------------------------------------------- services detail page ------------------------------------------------------- */
.services-detail-sidebar {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 24px 20px 24px;
}

.services-detail-sidebar-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Left Sidebar */
.services-detail-sidebar {
    position: sticky;
    top: 150px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 24px 20px 24px;
}

.services-detail-sidebar-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Tab List */
.services-detail-tab-list {
    margin: 18px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.services-detail-tab-list li {
    border-bottom: none;
}

.services-detail-tab-link {
    display: block;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #979797;
    text-decoration: none;
    transition:
        background-color 0.22s ease,
        color 0.22s ease;
    border-left: none;
    background-color: #f5f5f5;
    border-radius: 6px;
    line-height: 1.4;
    font-family: var(--font-poppins);
}

.services-detail-tab-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding-left: 30px;
}

.services-detail-tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-left: none;
    padding-left: 30px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .services-detail-sidebar {
        position: static;
        margin-bottom: 40px;
        padding: 22px 18px 16px 18px;
    }
}
/* --------------------------------------------------- services detail page content ------------------------------------------------- */
.service-detail-content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f2f2f2;
}

.detail-main-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0%;
}

.detail-sub-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 22px;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.detail-img-float {
    float: left;
    width: 48%;
    margin-right: 35px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-detail-content-card p {
    font-family: var(--font-poppins);
    color: #000000;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
}

.benefits-feature-list {
    margin-top: 25px;
}

.benefits-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: rgba(46, 158, 145, 0.1);
    border: 1px solid #2e9e91;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.benefit-icon i {
    color: #2e9e91;
    font-size: 12px;
}

.benefit-text {
    font-family: var(--font-poppins);
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.benefit-text strong {
    font-weight: 700;
    color: #000000;
}

/* Responsive fix for detail page content */
@media (max-width: 767.98px) {
    .service-detail-content-card {
        padding: 25px;
    }

    .detail-main-title {
        font-size: 22px;
    }

    .detail-sub-title {
        font-size: 19px;
    }

    .detail-img-float {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }

    .benefit-text {
        font-size: 15px;
    }
}
.form-header .form-header-text {
    font-size: 25px;
    line-height: 25px;
    letter-spacing: 0%;
}
/* ----------------------------------------------------- end services destial page section ----------------------------------------- */
.custom-hover-dropdown:hover .dropdown-menu {
    display: block;
}

.wpcf7-spinner {
    display: none !important;
}

#calculatorTabs .nav-link.active{
    background: radial-gradient(
        110.55% 268.85% at 50% 247.26%,
        #000000 0%,
        #2e9e91 100%
    );
    color: #fff !important;
}