/*
Theme Name: WE Management Group
Theme URI: https://wordpress.wemanagementgroup.com/
Author: Mtho Ntanzi & Samukelo Khanya (TMA)
Author URI: https://github.com/MthoNtanzi
Description: A custom WordPress theme for WE Management Group, designed to showcase properties, services, and company information with a modern and responsive layout. 
Requires at least: 6.5
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wemanagementgroup
Version: 1.0.0
*/

/********** WMG CSS **********/
:root {
    --primary: #ff8248;
    --secondary: #737373;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

html{
    padding: 0;
    margin: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 25px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

#mainNavNew .navbar-brand h1{
        font-size: 2rem;
    }

#defaultNav .navbar-brand h1{
        font-size: 2rem;
    }





@media (max-width: 991.98px) {
    .navbar-brand h1 {
        font-size: 20px;
    }
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand h1 {
        font-size: 20px;
    }

    .navbar-brand {
        gap: 5px;
    }

    .navbar {
        padding: 0 10px !important;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .icon img {
        width: 24px !important;
        height: 24px !important;
    }
}


.navbar-light .navbar-brand {
    height: 80px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

#navbarResponsive .nav-link {
    color: #FFFFFF;
    font-weight: 500;
}

.navbar-toggler {
    color: #FFFFFF !important;
    font-weight: 500 !important;
}



@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.definite .owl-nav .owl-prev,
.definite .owl-nav .owl-next {
    margin: 3px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.definite .owl-nav .owl-prev:hover,
.definite .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}

/* Improved Header Transition */
.header2nd {
    position: relative;
    padding-bottom: 3rem;
    background: linear-gradient(to bottom, var(--primary) 0%, white 100%);
    overflow: hidden;
}

.header2nd::after {
    content: "";
    display: block;
    height: 20px;

    background-size: cover;
    position: relative;
    bottom: -1px;
}

.header-carousel .owl-carousel-item {
    position: relative;
}

.header-carousel .owl-carousel-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.container-xxl.py-4 {
    position: relative;
    margin-top: -2rem;
    background: white;
    border-radius: 30px 30px 0 0;
    z-index: 2;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}

/* Default styles for larger screens – no overlay */
.text-wrapper {
    position: static;
    color: #000;
    text-align: left;
    background: none;
}

/* Responsive changes only for small devices */
@media (max-width: 768px) {
    .page_header {
        position: relative;
    }

    .image-wrapper {
        position: relative;
    }

    .text-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        color: #fff;
        text-align: center;
        background: rgba(0, 0, 0, 0.418);
        padding: 1.5rem;
        border-radius: 10px;
        width: 90%;
    }

    .text-wrapper h1 {
        font-size: 1.75rem;
        font-weight: 900;
        color: var(--primary) !important;
    }

    .text-wrapper p {
        font-size: 1rem;
        font-weight: 600;
    }

    .image-wrapper img {
        width: 100%;
        height: auto;
        opacity: 0.8;
        object-fit: cover;
    }

    .owl-carousel .owl-nav {
        display: none !important;
    }

    .text-wrapper ol li, .text-wrapper ol li a{
        color: #ffffff !important;
        font-weight: 500 !important;
    }
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/* extra info container */
.extra_info_container {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 100%;
}

.extra_info {
    padding: 1.5rem;
    word-break: break-word;
    /* Prevents long text from breaking layout */
    overflow-wrap: break-word;
    padding: 1rem;
}

.extra_info_heading {
    padding-bottom: 30px;
    border-bottom: var(--primary) 2px solid;
    margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .extra_info_container {
        grid-template-columns: 1fr;
        /* stack on mobile */
    }
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .testimonial-item {
    min-height: 350px;
    /* Adjust based on your content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-carousel .testimonial-item .border {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-carousel .testimonial-item img {
    width: 62px !important;
    height: 58px !important;
    border-radius: 50%;
    border: 2px solid #ccc;
}

/* Map Attachment */
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.map-responsive2 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    max-height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.map-responsive2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* hr */
hr {
    border-bottom: 1px solid var(--secondary);
    border-top: 1px solid var(--secondary);
}

.video_container {
    width: 100%;
    height: 100px;
    background-color: #ff8248;
    overflow: hidden;
    padding: 0 60px;
    box-sizing: border-box;
    background: #ffffff;
    /* optional: helps avoid any visual gaps */
}

/* ==== Services ==== */


/* === Brokerage Background ID === */

#brokerage_background {
    background-image: url('https://images.pexels.com/photos/5912321/pexels-photo-5912321.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff
}

#brokerage_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Dark overlay */
    z-index: 1;
}

#brokerage_background h1,
#brokerage_background h2,
#brokerage_background p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    /* Text shadow for readability */
}


/* === Service Background ID === */

#service_background {
    background-image: url('https://images.pexels.com/photos/1438832/pexels-photo-1438832.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff
}


#service_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

#service_background h1,
#service_background h2,
#service_background p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    /* Text shadow for readability */
}

/* === Facility Background ID === */

#facility_background {
    background-image: url('https://images.pexels.com/photos/6694492/pexels-photo-6694492.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff
}


#facility_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

#facility_background h1,
#facility_background h2,
#facility_background p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    /* Text shadow for readability */
}


/* === Consultations === */
.consult_heading {
    text-align: center;
    margin-bottom: 1.3rem;
}

.individual_consutling_blocks {
    border-bottom: 1px solid black;
    padding-top: 25px;
    text-align: center;
    width: 70%;
    margin: auto;
}

.individual_consutling_blocks h5 {
    font-size: 1.8rem;
}

.individual_consutling_blocks p {
    font-size: 1.1rem;
}


/* === Property Care Background ID === */

#property_care_background {
    background-image: url('https://cdn.pixabay.com/photo/2017/12/21/12/09/trust-3031679_1280.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff
}


#property_care_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

#property_care_background h1,
#property_care_background h2,
#property_care_background p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    /* Text shadow for readability */
}



.sub_services_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Media query for large screens */
@media screen and (min-width: 800px) {
    .sub_services_header p {
        font-size: 35px;
        padding-inline: 50px;
    }
}

/* Media query for small screens */
@media screen and (max-width: 799px) {
    .sub_services_header {
        min-height: 40vh;
    }

    .sub_services_header p {
        font-size: 25px;
        padding-inline: 50px;
    }
}


/* Start of orange block card */

.orange_blocks_container {
    display: flex;
    justify-content: space-evenly;
}

.orange_block_card {
    width: 240px;
    height: 380px;
    perspective: 1000px;
    position: relative;
}

.orange_block_card:hover .orange_card_inner {
    transform: rotateY(180deg);
}


.orange_blocks_front,
.orange_block_back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.orange_blocks_front {
    background-color: #ff8248;
    font-weight: 500;
    font-size: 25px;
    color: #000;

}

.orange_block_back {
    background-color: #737373;
    transform: rotateY(180deg);
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}


.orange_blocks_front span {
    background-color: #EEEEEE;
    color: #ff8248;
    border-radius: 50%;
    align-self: flex-end;
}

.orange_blocks_front p {
    margin-block: 20px;
}

.orange_card_inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

@media (max-width: 800px) {
    .orange_blocks_container {
        flex-direction: column;
        align-items: center;
    }

    .orange_block_card {
        margin-bottom: 20px;
    }
}

/* End of orange block card */


/* Start of service package */

.service_package_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service_package_box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8f8f8;
    padding: 24px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.service_package_box:hover {
    box-shadow: 0 12px 30px rgba(240, 152, 38, 0.4);
    border-color: var(--primary);
    transform: translateY(-6px);
}

.service_package_heading {
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.2px;
}

.service_package_box p {
    font-size: 1rem;
    line-height: 1.5;
}

.service_package_box p.text-primary {
    color: #9926f0;
    font-weight: 600;
}

@media (max-width: 800px) {
    .service_package_container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .service_package_box {
        margin-bottom: 20px;
    }
}

/* End of service package */

/* == Start of We Prop Care == */
.we_prop_care_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.we_prop_care_grid_item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.we_prop_care_grid_item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.we_prop_care_grid_item i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

.we_prop_care_grid_item h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.we_prop_care_grid_item p {
    font-size: 15px;
    color: #666;
}

/* Responsive layout: stack all items vertically */
@media (max-width: 800px) {
  .we_prop_care_container {
    grid-template-columns: 1fr;
  }
}


/* == End of We Prop Care == */



.service_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.image_and_service_desc {
    padding: 20px;
    margin: 10px auto 60px auto;
    max-width: 950px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.image_and_service_desc img {
    max-height: 400px;
    width: auto;
    border-radius: 30px;
    flex: 1;
}

.image_and_service_desc p {
    flex: 1;
    align-self: center;
    padding: 45px;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    .image_and_service_desc {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .image_and_service_desc p {
        padding: 20px 10px;
    }

    .image_and_service_desc img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}



/* ===== Map and form ===== */


.map_and_form {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 40px auto;
}

/* ===== form ===== */

/* Contact form */
.contact_form {

    button {
        width: 100%;
    }
}

/* ===== Map ===== */

.contact_map {
    width: 100%;
    height: 100%;
}


/* ==== About ==== */

/* ===  Values  === */
.ourValuesP {
    font-size: 25px;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: #ff8248 solid 1px;
}

/* Affiliate Partners Section */
#founder .rounded-circle {
    height: 35px !important;
    width: 35px !important;
    display: flex;
    justify-content: center;
}

.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="%23ff824833" stroke-width="0.5"><path d="M0 0 L100 0 L100 100 L0 100 Z" /></svg>');
    opacity: 0.3;
    z-index: 0;
}

.partner-carousel {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 2rem; 
    margin: 2rem 0;
}

.partner-item {
    flex: 0 1 auto;
    text-align: center;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Founder Section */
.founder-section {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.founder-image {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

.founder-content {
    padding: 3rem;
    position: relative;
}

.founder-quote {
    position: relative;
    padding-left: 2rem;
    font-style: italic;
    color: #555;
}

.founder-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--primary);
    border-radius: 5px;
}

.founder-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(75, 0, 130, 0.1);
    color: var(--secondary);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.founder-social a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .founder-image {
        min-height: 300px;
    }

    .partner-logo {
        height: 60px;
    }
}

@media (max-width: 767.98px) {
    .founder-section {
        flex-direction: column;
    }

    .founder-image {
        width: 100%;
        min-height: 250px;
    }

    .partner-logo {
        height: 50px;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }
}

/*** FAQs ***/
.accordion-button {
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* New Custom Navbar - Isolated */
#mainNavNew {
    background: transparent !important;
    transition: all 0.3s ease;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 80px;
    z-index: 9999;
}

/* Scrolled version */
#mainNavNew.navbar-scrolled {
    background: white !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}

#mainNavNew .nav-link,
#mainNavNew .navbar-brand h1 {
    color: white;
}

#mainNavNew.navbar-scrolled .nav-link,
#mainNavNew.navbar-scrolled .navbar-brand h1 {
    color: #0E2E50 !important;
}

#mainNavNew.navbar-scrolled .nav-link:hover,
#mainNavNew.navbar-scrolled .nav-link.active {
    color: var(--primary) !important;
}

/* Custom Toggler */
.custom-toggler-new {
    border: none;
    padding: 0.5rem;
    background-color: transparent;
}

.navbar-toggler-icon-new {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#mainNavNew.navbar-scrolled .navbar-toggler-icon-new {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    #navbarResponsiveNew {
        background: rgba(14, 46, 80, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }

    #mainNavNew.navbar-scrolled #navbarResponsiveNew {
        background: white;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

    #mainNavNew.navbar-scrolled .navbar-nav {
        background: white;
        padding: 1rem;
        border-radius: 8px;
    }

    #mainNavNew.navbar-scrolled .dropdown-toggle {
        color: #0E2E50 !important;
    }
}




/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(14, 46, 80, 0.4), rgba(14, 46, 80, 0.7)),
        url('assets/img/building/building_5.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
}

/*  */

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-top: 80px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-weight: 700 !important;
}

.hero-content p.lead {
    margin-top: 1rem;
    font-size: 1.25rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 60px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 50%;
    animation: wheel 2s infinite;
}

/* Animations */
@keyframes wheel {
    to {
        opacity: 0;
        top: 25px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Text & Layout */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p.lead {
        font-size: 1.1rem;
    }

    .hero-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #group_hidden{
        display: none;
    }

    #mainNavNew .navbar-brand h1{
        font-size: 20px;
    }
    #defaultNav .navbar-brand h1{
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 32px !important;
    }

    .hero-content p.lead {
        font-size: 1rem;
    }

    .hero-content {
        margin-top: 60px;
    }

    .hero-content .btn {
        width: 100%;
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    .scroll-indicator {
        display: none;
    }

    .call_to_action_btns{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

/* Big Screens Optiimisation */
.container, 
.container-xxl {
    max-width: 3000px; 
    margin: 0 auto;
}

@media (min-width: 2000px) {
    /* Adjust font sizes for better readability */
    html {
        font-size: 110%;
    }
    
    /* Limit content width */
    .container, .container-xxl {
        max-width: 1600px;
    }
    
    /* Adjust spacing for large screens */
    .section-padding {
        padding: 6rem 0;
    }
    
    /* Control image sizes */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Limit text line length */
    p, li {
        max-width: 80ch;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 2000px) {
    /* Grid adjustments */
    .we_prop_care_container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
    
    /* Card adjustments */
    .orange_block_card {
        width: 300px;
        height: 450px;
    }
    
    /* Header adjustments */
    .header-carousel .owl-nav {
        left: -50px;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (min-width: 2000px) {
    body {
        line-height: 1.8;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    /* Limit text container widths */
    .text-wrapper, .founder-content, .about-text {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}