/* === FLEXBOX SECTION LAYOUT === */
.custom-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.booking-box,
.referral-box,
.calendar-box {
  flex-basis: 20%;
  max-width: 20%;
}

.calendar-box {
  flex-basis: 40%;
  max-width: 40%;
}

@media (max-width: 992px) {
  .booking-box,
  .referral-box,
  .calendar-box {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* === CUSTOM BOX STYLING === */
.custom-box {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-align: left;
  transition: all 0.3s;
}

.custom-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.custom-box p {
  font-size: 14px;
  line-height: 1.5;
}

/* === BUTTON STYLING === */
.custom-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
background-color: #005A9C;
color: #FFFFFF!important;

  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-size: 14px;
}

.custom-button:hover {
  background-color: #00457A;
}

/* === GALLERY GRID STYLING === */
.sigFreeContainer.sigFreeClassic {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sigFreeContainer.sigFreeClassic li.sigFreeThumb {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sigFreeContainer.sigFreeClassic li.sigFreeThumb a.sigFreeLink {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeThumb img.sigFreeImg {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  transition: transform 0.3s ease-in-out !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeThumb img.sigFreeImg:hover {
  transform: scale(1.05) !important;
}

.sigFreeContainer.sigFreeClassic li.sigFreeClear {
  display: none !important;
}

@media (max-width: 768px) {
  .sigFreeContainer.sigFreeClassic li.sigFreeThumb {
    width: 100% !important;
  }
}

/* === OTHER COMPONENT-SPECIFIC STYLES OMITTED FOR BREVITY === */
/* (Testimonials, Contact Form, Custom Hero Layout, etc.) */
/* These should be kept in a separate section or file for maintainability */
#Mod175 .row {
  display: flex;
  flex-wrap: wrap;
}

#Mod175 .module-head-group {
  display: none !important; /* ⛔️ remove title column */
}

#Mod175 .module-ct {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
/* Flexbox Container */
.custom-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Styling for Each Box */
.custom-box {
    background-color: rgba(192, 168, 127, 0.8);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: left;
    transition: all 0.3s;
}

/* Width Control */
.booking-box {
    flex-basis: 20%;
    max-width: 20%;
}

.referral-box {
    flex-basis: 20%;
    max-width: 20%;
}

.calendar-box {
    flex-basis: 40%;
    max-width: 40%;
}

/* Headline Styling */
.custom-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000000;
}

/* Text Styling */
.custom-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

/* Button Styling */
.custom-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
background-color: #005A9C;
color: #FFFFFF !important;

    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-size: 14px;
}

.custom-button:hover {
    background-color: #00457A;
}

/* Responsive Handling */
@media (max-width: 992px) {
    .custom-box {
        max-width: 100%;
        flex-basis: 100%;
    }
}
/* Full Width Container */
.fullwidth-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Bootstrap Column Restriction */
.t4-col.footer.col-sm.col-md-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Flexbox Container */
.custom-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    width: 100%;
}

/* Box Width Control */
.booking-box {
    flex-basis: 20%;
    max-width: 20%;
}

.referral-box {
    flex-basis: 20%;
    max-width: 20%;
}

.calendar-box {
    flex-basis: 40%;
    max-width: 40%;
}

/* Typography Styling */
.custom-box h3 {
    font-size: 16px;
    color: #000000;
}

.custom-box p {
    font-size: 14px;
    line-height: 1.5;
}

/* Button Styling */
.custom-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
background-color: #005A9C;
color: #FFFFFF;

    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: #00457A;
}

/* Responsive Handling */
@media (max-width: 992px) {
    .booking-box, .referral-box, .calendar-box {
        flex-basis: 100%;
        max-width: 100%;
    }
}
/* Hide the "View all Projects" link */
.category-link {
    display: none !important;
}


/* Styling for Contact Section */
.custom div {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin-bottom: 5px;
}

/* Optional: Styling for Icons (If You Use Them) */
.contact-icon {
    margin-right: 8px;
    color: #ff9800; /* Matches your existing color scheme */
}

/* Contact Section Container Styling */
.custom-contact {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    max-width: 300px;
    margin-top: 20px;
}
/* Force full width if module is still in col-md-6 */
.jt_testimonial167 {
  width: 100% !important;
  max-width: 100% !important;
}

.jt_testimonial167:has(.testimonial_block) {
  display: block !important;
}

.jt_testimonial167 .jt_testimonial-block-slide {
  padding-left: 20px;
  padding-right: 20px;
}

.t4-col.col-md-6:has(.jt_testimonial167) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.jt_testimonial167 .testimonial_block-name {
  /*background-color: #000;        /* black background */
  color: #000;                   /* white text */
  padding: 6px 12px;             /* inner spacing */
  border-radius: 8px;            /* rounded corners */
  display: inline-block;         /* so it wraps the content nicely */
  font-weight: bold;             /* optional: emphasize the name */
  margin-bottom: 10px;           /* spacing below the name */
}

#t4-header {
  min-height: 50px; /* or 120px, adjust as needed */
  display: flex;
  align-items: center;
}


#t4-hero {
  padding-top: 110px !important; /* reduce from default ~80px */
  padding-bottom: 40px; /* optional: keep nice balance */
}
#t4-hero .t4-section-inner {
  padding-top: 0 !important;
}
#t4-section-1 .t4-section-inner {
  padding-top: 40px !important;
  padding-bottom: 20px !important;
}
#t4-section-2 .t4-section-inner {
  padding-top: 40px !important;
  padding-bottom: 20px !important;
}
#t4-section-6 .t4-section-inner {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
#t4-section-7 .t4-section-inner {
  padding-top: 40px !important;
  padding-bottom: 0px !important;
}

#t4-footer .t4-section-inner {
  padding-top: 40px !important;
  padding-bottom: 20px !important;
}




.insta-font {
  font-family: 'louis_george_caferegular', sans-serif;
  font-size: 1.75rem; /* optional, adjust as needed */
  font-weight: 400;
}


.custom-paragraph-text {
  font-size: 1.1rem;       /* adjust this to your preferred size */
  line-height: 1.7;
  text-align: left;        /* or center/justify if you prefer */
  margin-top: 20px;
}


ul.nav.navbar-nav.level0 {
  display: none !important;

}



#t4-section-71 {
  padding-top: 60px; /* adjust value as needed */
  padding-bottom: 0px; /* adjust value as needed */
}


.rapid_contact_form {
  padding-bottom: 250px; /* slightly more focused */
}







/* === Contact Form Wrapper === */
.rapid-contact-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'louis_george_caferegular', sans-serif;
  color: #2e3d96;
  max-width: 800px;
  margin: 0 auto;
}

/* === Form Labels and Inputs === */
.rapid-contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1rem;
}

.rapid-contact-form input[type="text"],
.rapid-contact-form input[type="email"],
.rapid-contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

.rapid-contact-form input[type="text"]:focus,
.rapid-contact-form input[type="email"]:focus,
.rapid-contact-form textarea:focus {
  border-color: #2e3d96;
  outline: none;
}

/* === Submit Button === */
.rapid-contact-form input[type="submit"] {
  background-color: #2e3d96;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.rapid-contact-form input[type="submit"]:hover {
  background-color: #1c2d70;
}

/* === Success Message === */
.rapid-contact-form .contact-confirmation,
.rapid-contact-form span[style*="color: #000000"] {
  display: block;
  background-color: #e0f8e9;
  color: #1a5c31;
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #b6e2c1;
  border-radius: 10px;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .rapid-contact-form {
    padding: 20px;
  }

  .rapid-contact-form input[type="submit"] {
    width: 100%;
  }
}
/* Target the success message by its inline color */
span[style*="color: #000000"] {
  display: block;
  background-color: #e0f8e9;
  color: #1a5c31 !important;
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #b6e2c1;
  border-radius: 10px;
  font-size: 1rem;
  text-align: center;
  font-family: 'louis_george_caferegular', sans-serif;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 250px; /* ✅ space below */
  margin-top: 150px; /* ✅ space below */
}


#Mod173 .row {
    flex-direction: row-reverse;
}


#Mod165 {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

#Mod165 .poly_insta-item img {
  width: 90%;
  height: auto;
  object-fit: cover;
}
.custom-hero-layout .hero-content {
  margin-bottom: 30px;
}

.custom-hero-layout .hero-img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.top-icons .hero-content {
  padding-right: 15px;
}


.custom-hero-layout .hero-content {
  margin-bottom: 30px;
}

.bottom-icons-wrapper .row {
  margin-bottom: 20px;
}

.bottom-icons .hero-content {
  border: 1px dashed #ccc;
  padding: 15px;
}


#Mod173 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom :0!important;
}

#Mod173 .module-ct {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom :0!important;
  padding-bottom: 0 !important;
}

.custom-hero-layout.container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom :0!important;
  padding-bottom: 0 !important;
}
#t4-section-3 .t4-section-inner.container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom :0!important;
  padding-bottom: 0 !important;
}


.sigFreeContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important; /* spacing between items */
    padding: 0 !important;
    margin: 0 !important;
}

.sigFreeContainer .sigFreeThumb {
    display: inline-block !important;
    width: 360px !important; /* same width as set by plugin */
    height: 240px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sigFreeContainer .sigFreeThumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.sigFreeContainer .sigFreeThumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background-size: cover !important;
    background-position: center !important;
}
@media (max-width: 768px) {
    .sigFreeContainer .sigFreeThumb {
        width: calc(50% - 10px) !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .sigFreeContainer .sigFreeThumb {
        width: 100% !important;
        height: auto !important;
    }
}
.sigFreeContainer .sigFreeThumb img {
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease-in-out !important;
}

.sigFreeContainer .sigFreeThumb img:hover {
    transform: scale(1.05) !important;
}
/* Force container into flex/grid layout */
ul.sigFreeContainer.sigFreeClassic {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force each thumbnail into correct layout */
ul.sigFreeContainer.sigFreeClassic > li.sigFreeThumb {
    display: block !important;
    width: 360px !important;
    height: 240px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Adjust link and images explicitly */
ul.sigFreeContainer.sigFreeClassic > li.sigFreeThumb > a.sigFreeLink {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

ul.sigFreeContainer.sigFreeClassic > li.sigFreeThumb img.sigFreeImg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    object-fit: cover !important;
}

/* Clear fixes removed to prevent unintended spacing issues */
ul.sigFreeContainer.sigFreeClassic li.sigFreeClear {
    display: none !important;
}
.t4-section-inner.container .module-ct ul.sigFreeContainer.sigFreeClassic {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sigFreeContainer.sigFreeClassic {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important; /* spacing between images */
    margin: 0 !important;
    padding: 0 !important;
}

.sigFreeContainer.sigFreeClassic li.sigFreeThumb {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeThumb img.sigFreeImg {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease-in-out !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeThumb img.sigFreeImg:hover {
    transform: scale(1.05) !important;
}


/* Footer override for t4-footnav */
#t4-footnav {
  background-color: #ffffff !important; /* white background */
  color: #000000 !important;           /* black text */
}

#t4-footnav .custom p,
#t4-footnav .custom div,
#t4-footnav .module-title,
#t4-footnav a {
  color: #000000 !important;
}

/* Optional: Hover color for footer links */
#t4-footnav a:hover {
  color: #007BFF !important; /* Bootstrap blue or customize */
}
/* Fix footer background and text color */
#t4-footnav {
  background-color: #ffffff !important; /* white background */
  color: #000000 !important;            /* black text globally in footer */
}

/* Force black text inside footer custom content */
#t4-footnav .custom,
#t4-footnav .custom p,
#t4-footnav .custom div,
#t4-footnav .custom a,
#t4-footnav .module-title,
#t4-footnav .module-title span {
  color: #000000 !important;
}

/* Optional: Fix link hover colors */
#t4-footnav a:hover {
  color: #007bff !important;
}

/* Prevent .custom from globally affecting footer */
#t4-footnav .custom div {
  color: #000000 !important;
}
/* ✅ Force footer background and text */
#t4-footnav {
  background: #ffffff !important;
  color: #000000 !important;
}

/* ✅ Footer links and module content */
#t4-footnav a,
#t4-footnav a:link,
#t4-footnav a:visited,
#t4-footnav a:active,
#t4-footnav .module,
#t4-footnav .module-inner,
#t4-footnav .module-ct,
#t4-footnav .custom,
#t4-footnav .custom div,
#t4-footnav .custom p,
#t4-footnav .custom span,
#t4-footnav .module-title,
#t4-footnav .site-name,
#t4-footnav h3,
#t4-footnav h3 span {
  color: #000000 !important;
}

/* ✅ Footer links hover */
#t4-footnav a:hover {
  color: #007bff !important;
}

/* ✅ Break problematic inherited rule */
#t4-footnav .custom div {
  background: transparent !important;
  color: #000000 !important;
}



#acm-hero-101 .hero-heading p {
  font-weight: bold;
}


#rp_747083 {
  margin-top: 80px; /* Adjust the value as needed */
}
.rapid_contact_form {
  padding-top: 60px;
}

@media (max-width: 767.98px) {
  /* Ensure video container is visible */
  .hero-2,
  #acm-video-116 {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Center the button inside */
  #acm-video-116 .btn-play {
    margin: 0 auto;
    display: inline-block;
    float: none;
  }
}


@media (max-width: 767.98px) {
  img[alt="Logo"] {
    display: none !important;
  }
}
