/* Custom CSS fixes for New Haus Roofing */

/* Fix About Section overlap with Banner - Force clear separation */
.about-us-section {
  margin-top: 0 !important;
  padding-top: 120px !important;
  clear: both;
  display: block;
  position: relative;
  z-index: 10;
}

/* Ensure banner stays in its own space */
.banner-section {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  display: block;
}

.banner-main {
  position: relative;
  padding: 210px 0px;
  margin-bottom: 0;
}

/* Remove any negative margins that might be hiding in media queries */
@media only screen and (max-width: 1400px) {
  .about-us-section {
    margin-top: 0 !important;
    padding-top: 100px !important;
  }
}

@media only screen and (max-width: 991px) {
  .about-us-section {
    margin-top: 0 !important;
    padding-top: 80px !important;
  }
  .banner-main {
    padding: 150px 0px;
  }
}

@media only screen and (max-width: 767px) {
  .about-us-section {
    margin-top: 0 !important;
    padding-top: 60px !important;
  }
  .banner-main {
    padding: 120px 0px;
  }
}

/* Owens Corning Widget Section Styling */
.owens-corning-widget-section {
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.owens-corning-widget-section .section-sub-title {
  color: #EA1826;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.owens-corning-widget-section .section-title {
  color: #EA1826;
  font-weight: 700;
}

.owens-corning-widget-section p {
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.oc-widget-wrapper {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.oc-widget-wrapper:hover {
  box-shadow: 0 6px 30px rgba(234, 24, 38, 0.15);
}

/* Style the Owens Corning widget elements to match theme */
.oc_design_and_inspire {
  min-height: 500px;
}

/* Override widget primary colors if possible */
.oc-widget-wrapper .oc-button,
.oc-widget-wrapper button[class*="primary"] {
  background-color: #EA1826 !important;
  border-color: #EA1826 !important;
}

.oc-widget-wrapper .oc-button:hover,
.oc-widget-wrapper button[class*="primary"]:hover {
  background-color: #EA1826 !important;
  border-color: #EA1826 !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .oc-widget-wrapper {
    padding: 20px;
  }
  .oc_design_and_inspire {
    min-height: 400px;
  }
}

@media only screen and (max-width: 767px) {
  .oc-widget-wrapper {
    padding: 15px;
  }
  .oc_design_and_inspire {
    min-height: 350px;
  }
}

/* TPO Page and Service Pages - Increased Section Spacing */
.tpo-section-spacing {
  padding: 220px 0 120px !important;
}

@media only screen and (max-width: 1400px) {
  .tpo-section-spacing {
    padding: 180px 0 100px !important;
  }
}

@media only screen and (max-width: 991px) {
  .tpo-section-spacing {
    padding: 140px 0 80px !important;
  }
}

@media only screen and (max-width: 767px) {
  .tpo-section-spacing {
    padding: 100px 0 60px !important;
  }
}

/* Location Cards Animation Effects */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Location Card Styles */
.location-card {
  position: relative;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(234, 24, 38, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.location-card:hover::before {
  width: 300px;
  height: 300px;
}
/* Updated Mon Nov 10 05:52:16 AM UTC 2025 */
