/* Container Wrapper for Builders */
.builders-wrapper {
  margin-top: 25px;
}

/* Individual Builder Block (Flex Row: Logo Left, Content Right) */
.builder-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 25px;
}

/* Fixed-size Logo Container on the left */
.builder-logo {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.builder-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Right Content Area (Title + Paragraph) */
.builder-body {
  flex: 1;
}

.builder-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 8px;
}

.builder-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 0;
}

/* Divider Line Between Builders */
.builder-divider {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 25px 0;
}

/* Responsive view for Mobile Devices */
@media (max-width: 767px) {
  .builder-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .builder-logo {
    width: 100px;
    height: 75px;
  }
}
/* Align row content vertically to center */
#overview .row.mr0 {
  display: flex;
  align-items: center;
}

/* Container for the builder side image */
.builder-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10px;
}

.builder-img-box img {
  width: 100%;
  max-height: 400px; /* Adjust height limit to match left block */
  object-fit: cover; /* Keeps image proportions clean without stretching */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Mobile responsive handling */
@media (max-width: 767px) {
  .builder-img-box {
    margin-top: 20px;
  }
  .builder-img-box img {
    max-height: 280px;
  }
}
/* Container for Builders */
.builders-wrapper {
  margin-top: 15px;
}

/* Individual Builder Block */
.builder-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin-bottom: 20px;
}

/* Fixed-Size Logo Box on the Left */
.builder-logo {
  width: 80px !important;       /* Strict small width */
  height: 65px !important;      /* Strict small height */
  min-width: 80px !important;   /* Prevents shrink */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;    /* Keeps logo on the left */
}

.builder-logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Text Content Container (Right Side of Logo) */
.builder-body {
  flex: 1 !important;
}

.builder-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 6px;
}

.builder-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 0;
}

/* Divider Line */
.builder-divider {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}

/* Row & Column Layout Rules */
.builder-row {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Desktop View (768px and above) */
@media (min-width: 768px) {
  .builder-row {
    align-items: center !important;
  }
  .builder-img-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .builder-img-box img {
    max-height: 380px;
    object-fit: cover;
  }
}

/* Mobile View (Under 768px) */
@media (max-width: 767.98px) {
  .builder-row {
    flex-direction: column !important; /* Image stacks below text on mobile */
  }

  .builder-text-col,
  .builder-img-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .builder-img-col {
    margin-top: 25px !important;
  }

  .builder-img-box img {
    width: 100% !important;
    max-height: 260px;
    object-fit: cover;
  }
  
  /* Slightly smaller logo on mobile if needed */
  .builder-logo {
    width: 70px !important;
    height: 55px !important;
    min-width: 70px !important;
  }
}
/* Keep the existing desktop layout */
@media (min-width: 768px) {
    #Builders .row.mr0 {
        display: flex;
        align-items: center;
    }
}

/* Mobile: place the builders image below the text */
@media (max-width: 767.98px) {
    #Builders .row.mr0 {
        display: flex;
        flex-direction: column;
    }

    #Builders .row.mr0 > .col-12 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #Builders .builder-img-box {
        margin-top: 20px;
        width: 100%;
    }

    #Builders .builder-img-box img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: cover;
    }
}
/*highlights*/
/* Section Styling */
#highlights {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.section-title .sec-head {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Elegant Highlight Box */
.highlight-box {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Highlighting Animation & Hover Effect */
.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background-color: #d1b16d; /* Golden brand accent color */
  transition: height 0.4s ease-in-out;
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(209, 177, 109, 0.18);
  border-color: #d1b16d;
  background: #fffdf9; /* Subtle warm glow background */
}

.highlight-box:hover::before {
  height: 100%;
}

/* Icon Styling */
.highlight-icon {
  font-size: 1.5rem;
  background: #fdfaf3;
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #f2ebd9;
}

/* Single Line Point Text Styling */
.highlight-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: #333333;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Responsive Support */
@media (max-width: 767.98px) {
  .highlight-box {
    padding: 18px 15px;
  }
}


/*bittu test*/
/* Card Container for Plan Images */
.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: #000;
}

.plan-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Dark Overlay */
.plan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Hover Animations */
.plan-card:hover .plan-overlay {
  opacity: 1;
}

.plan-card:hover img {
  transform: scale(1.08);
}

/* Request Button styling on hover */
.plan-btn {
  background-color: #d1b16d; /* Golden brand accent */
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 30px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.plan-card:hover .plan-btn {
  transform: translateY(0);
}

.plan-title {
  font-weight: 700;
  color: #333;
}

/* Custom Modal Popup Styles */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal-content-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInModal 0.3s ease;
}

.modal-content-box img {
  max-height: 200px;
  object-fit: cover;
  width: 100%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

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