:root {
    --brand: #01b5fb;
    --sub: #6ac754;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}

.nav-brand{
   font-weight: bold !important;
}
/*carousel start*/

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  /* border: 10px solid var(--brand); */
}
.slide-btn {
    background-color: var(--brand);
    border: 2px solid var(--brand);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.slide-btn:hover {
    background-color: transparent;
    color: white;
    border-color: #fff;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
      position: relative;
      min-height: 450px;
  }
  .slide-btn{
    padding: 10px 10px;
  }
  
  #header-carousel .carousel-item img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
}

#header-carousel .carousel-item img {
  object-fit: cover;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #999999;
}
/* .slide-btn{
  background-color: var(--brand);
  border: 1px solid var(--brand);
  color: white;
  border-radius: 5px;
}
.slide-btn:hover{
  background-color: transparent;
  color: var(--brand);
} */

.btn-square {
  width: 38px;
  height: 38px;
}

/* .btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
} */

.slide-description {
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Makes text pop against images */
    animation-delay: 0.5s; /* Wait for heading to start before showing */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .slide-description {
        font-size: 1rem;
        margin-bottom: 30px !important;
        padding: 0 15px;
    }
}

/* Optional: if screen is very small, hide description to keep button visible */
@media (max-width: 480px) {
    .slide-description {
         font-size: 14px;
        line-height: 1.4;
        padding: 0 10px;
    }
}
@media (max-width: 768px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}
/*carousel end*/

/*fact start*/
#realtor-services .service-card {
        transition: all 0.3s ease-in-out;
        border: 1px solid #e9ecef;
        border-radius: 15px;
        background: #ffffff;
    }

    #realtor-services .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
        border-color: #0F4C5C;
    }

    #realtor-services .icon-box {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background-color: #f8f9fa;
        color: #000000;
        font-size: 2rem;
        margin: 0 auto 1.5rem auto;
        transition: background 0.3s;
    }

    #realtor-services .service-card:hover .icon-box {
        background-color: #0F4C5C; 
        color: #ffffff;
    }

    #realtor-services h5 {
        color: #212529;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    #realtor-services p {
        font-size: 0.92rem;
        color: #6c757d;
        line-height: 1.6;
    }
/*fact end*/

/*about section */
#about-murugan {
        background-color: #ffffff;
        overflow: hidden;
    }

    /* --- ANIMATIONS --- */
    @keyframes fadeInLeft {
        from { opacity: 0; transform: translateX(-50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeInRight {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-left { animation: fadeInLeft 1s ease-out forwards; }
    .animate-right { animation: fadeInRight 1s ease-out forwards; }

    .feature-item {
        opacity: 0;
        animation: fadeInUp 0.5s ease-out forwards;
        color: #0F4C5C;
    }
    .feature-item:nth-child(1) { animation-delay: 0.8s; }
    .feature-item:nth-child(2) { animation-delay: 1.0s; }
    .feature-item:nth-child(3) { animation-delay: 1.2s; }
    .feature-item:nth-child(4) { animation-delay: 1.4s; }

    /* Circle Image Styling */
    .about-img-container {
        position: relative;
        max-width: 400px;
        margin: 0 auto;
        z-index: 1;
    }

    .about-img-container img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 50%;
        border: 8px solid #fff;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    /* Rotating dashed border */
    .about-img-container::before {
        content: "";
        position: absolute;
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        border-radius: 50%;
        border: 2px dashed #0F4C5C;
        animation: rotateBorder 20s linear infinite;
        z-index: -1;
    }

    @keyframes rotateBorder {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .about-title {
        color: #212529;
        font-weight: 800;
    }

    .about-description {
        color: #6c757d;
        line-height: 1.8;
    }

    .btn-custom {
        background-color: #0F4C5C;
        color: white;
        border: none;
    }
    .btn-custom:hover {
        background-color: #0a3540;
        color: white;
    }

    /* --- MOBILE SPECIFIC CORRECTIONS --- */
    @media (max-width: 991px) {
        .text-lg-start { text-align: center !important; }
        
        /* 1. Added space left/right for the circle container */
        .mobile-img-wrapper {
            padding-left: 20px;
            padding-right: 20px;
        }

        /* 2. Slightly reduced circle size for mobile */
        .about-img-container {
            max-width: 260px; 
            margin-top: 40px;
        }

        /* Adjust border spacing for smaller circle */
        .about-img-container::before {
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
        }
    }
/*about section end*/

/*service card start*/

    #murugan-services {
        background-color: #ffffff;
    }

    .service-link {
        text-decoration: none;
        display: block;
    }

    .service-card-item {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        height: 400px;
        border: none;
        background-color: #000; /* Dark base for better contrast */
    }

    /* 1. The Image - Normal State */
    .service-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 2. The Overlay - Hidden by default (pushed down) */
    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 76, 92, 0.85); /* Your Theme Color with Opacity */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
        color: white;
        text-align: center;
        /* Start hidden: fully transparent and moved down */
        opacity: 0;
        transform: translateY(100%);
        transition: all 0.5s ease-in-out;
    }

    /* 3. The Title (Floating on the image before hover) */
    .service-static-title {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        color: white;
        background: rgba(0,0,0,0.5);
        padding: 10px 0;
        font-weight: bold;
        transition: opacity 0.3s;
    }

    /* --- HOVER EFFECTS --- */

    /* Zoom the image */
    .service-link:hover .service-bg-img {
        transform: scale(1.1);
    }

    /* Show the overlay (Slide Up and Fade In) */
    .service-link:hover .service-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hide the static title when overlay comes up */
    .service-link:hover .service-static-title {
        opacity: 0;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    /* .fw-bold{
        color: #E3B23C; 
    } */

    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #fff;
    }

    /* For Mobile: Show overlay by default or on tap */
    @media (max-width: 991px) {
        .service-overlay {
            opacity: 1;
            transform: translateY(0);
            background: rgba(15, 76, 92, 0.7);
        }
        .service-static-title {
            display: none;
        }
    }  

/*service card end*/


/*why choose us*/
#why-choose-premium {
        background-color: #ffffff;
        padding: 100px 0;
        overflow: hidden;
    }

    /* --- LEFT SIDE: IMAGE STACK --- */
    .image-stack {
        position: relative;
        padding-bottom: 50px;
    }

    .main-img {
        width: 90%;
        border-radius: 8px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 2;
        object-fit: cover;
    }

    .accent-box {
        position: absolute;
        top: -30px;
        right: 0;
        width: 70%;
        height: 110%;
        background-color: var(--realtor-theme);
        z-index: 1;
        border-radius: 8px;
        opacity: 0.08;
    }

    .stats-card {
        position: absolute;
        bottom: 0;
        right: 5%;
        background: #fff;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        z-index: 3;
        border-bottom: 5px solid var(--realtor-theme);
        text-align: center;
    }

    /* --- RIGHT SIDE: WHITE CIRCLE LIST --- */
    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list-item {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    .feature-list-item:hover {
        transform: translateX(10px);
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .icon-circle-white {
        min-width: 60px;
        height: 60px;
        background: #ffffff;
        color: var(--realtor-theme);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-right: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .feature-content h5 {
        font-weight: 700;
        color: var(--realtor-theme);
        margin-bottom: 5px;
    }

    .feature-content p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }

    .sub-title {
        color: var(--realtor-theme);
        letter-spacing: 2px;
        font-weight: 700;
        display: block;
    }

    /* --- MOBILE REVISIONS --- */
    @media (max-width: 991px) {
        #why-choose-premium {
            padding: 40px 0; /* Reduced top space on mobile */
        }
        
        .image-stack { 
            margin-top: 0px; /* Space between content and image */
            margin-bottom: 20px; 
            text-align: center;
        }

        .main-img {
            width: 100%;
        }

        .accent-box { 
            display: none; 
        }

        .stats-card {
            padding: 15px;
            right: 0;
        }

        .feature-list-item {
            padding: 15px;
        }
    }
/*why choose us end*/

/*testimonial start*/

.testimonial-section {
  background: #f8f9fa;
  position: relative;
  padding-bottom: 70px !important;
}

/* CARD */

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  border-left: solid 1px var(--brand);
  border-top: solid 1px var(--brand);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  margin: 15px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* QUOTE ICON */

.quote-icon {
  position: absolute;
  top: -15px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-size: 22px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* TEXT */

.testimonial-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* CLIENT INFO */

.client-info h5 {
  font-weight: 600;
  margin-bottom: 3px;
}

.client-info span {
  font-size: 13px;
  color: var(--brand);
}

/* STAR RATING */

.stars i {
  color: #ffc107;
  font-size: 16px;
  margin-right: 3px;
}

/* NAVIGATION ARROWS */

/* NAV POSITION */
.testimonial-carousel .owl-nav {
  position: absolute;
  top: -70px;
  right: 0;
  display: flex;
}

/* ARROW STYLE */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER EFFECT */
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: #222;
}

/* DOTS */

.testimonial-carousel .owl-dots {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.testimonial-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  transition: 0.3s;
}

.testimonial-carousel .owl-dot.active span {
  background: var(--brand);
  width: 30px;
  border-radius: 20px;
}

/* RESPONSIVE */

@media(max-width:768px) {

  .testimonial-carousel .owl-nav {
    top: -40px;
  }

  .testimonial-carousel .owl-nav button {
    width: 20px !important;
    height: 20px !important;
    font-size: 18px;
  }

}
/*testimonial end*/
