/* Reset default margins/paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure body takes full width */
body, html {
  width: 100%;
  height: 100%;
}


/* Hero Section */
.hero {
  width: 100%;
  min-height: 70vh; /* optional, makes hero full screen */
  background-image: url('/imageserver/UserMedia/specialty/Steadfast-Construction-Banner.jpg');
  background-size: cover;
  background-position: center;
  padding: 150px 20px;
}
/* Container with max width, left-aligned */
.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* Headings */
.hero h1 {
  font-size: 72px;
  color: #DE3A39;
  margin: 0 0 20px 0;
  line-height: 1.1;
}

.hero h2 {
  font-size: 60px;
  color: white;
  margin: 0;
  line-height: 1.2;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 60px;
  }
  .hero h2 {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 50px;
  }
  .hero h2 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 90%;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero h2 {
    font-size: 24px;
  }
}




/* Roof Info Section */
.roof-info {
  padding: 80px 20px; /* spacing around section */
  background-color: #ffffff;
}

.container-900 {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

/* Headings */
.section-heading-blue {
  color: #021B33;
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.section-heading-red {
  color: #DE3A39;
  font-size: 48px;
  margin-top: 60px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

/* Paragraphs */
.paragraph-black {
  color: #000000;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.paragraph-black-bold {
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .section-heading-blue,
  .section-heading-red {
    font-size: 42px;
  }
  .paragraph-black,
  .paragraph-black-bold {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .section-heading-blue,
  .section-heading-red {
    font-size: 36px;
  }
  .paragraph-black,
  .paragraph-black-bold {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 90%;
  }
  .section-heading-blue,
  .section-heading-red {
    font-size: 30px;
  }
  .paragraph-black,
  .paragraph-black-bold {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .section-heading-blue,
  .section-heading-red {
    font-size: 24px;
  }
  .paragraph-black,
  .paragraph-black-bold {
    font-size: 14px;
  }
}



/* Image Section with top/bottom split background */
.image-section {
  position: relative;
  width: 100%;
  min-height: 400px; /* adjust as needed */
  background: linear-gradient(to bottom, #ffffff 50%, #021B33 50%);
  overflow: hidden;
}

/* Full-width image */
.section-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .image-section {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .image-section {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .image-section {
    min-height: 200px;
  }
}




/* Section: Why Homeowners Call Us */
.call-us-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #021B33;
}

.call-us-section .container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Heading */
.call-us-section h2 {
  color: #ffffff;
  font-size: 48px;
  margin-bottom: 60px;
  line-height: 1.2;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Grid items */
.grid-item img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.grid-item h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.grid-item p {
  color: #6B8DB0;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .call-us-section h2 {
    font-size: 42px;
  }
  .grid {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .call-us-section h2 {
    font-size: 36px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .call-us-section h2 {
    font-size: 30px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .call-us-section h2 {
    font-size: 24px;
  }
  .grid-item h3 {
    font-size: 20px;
  }
  .grid-item p {
    font-size: 14px;
  }
  .grid-item img {
    width: 80px;
  }
}



/* Schedule Section */
.schedule-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #ffffff;
  overflow:hidden;
}

.schedule-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.schedule-container .content {
  width: 60%;
  text-align: left;
}

.schedule-container .content h2 {
  font-size: 48px;
  color: #DE3A39; /* red */
  margin-bottom: 20px;
}

.schedule-container .content .blue-heading {
  color: #021B33; /* blue */
  margin-top: 30px;
}

.schedule-container .content p {
  color: #000000;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.schedule-container .image {
  width: 40%;
}

.schedule-container .image img {
  display: block;
  max-width:800px;
  min-width:600px;
  width: 100%;
  height: auto;
}

/* Button Container (Left-aligned inside container) */
.button-container {
  margin-top: 30px;
  text-align: left;
}

.button-container .btn-call,
.button-container .btn-schedule {
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  margin-right: 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-decoration:none;
  display:inline-block;
}

.button-container .btn-call {
  background-color: #DE3A39; /* red */
  color: #ffffff;
}

.button-container .btn-schedule {
  background-color: #021B33;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.button-container .btn-schedule span {
  color: #DE3A39;
}

/* Responsive */
@media (max-width: 992px) {
  .schedule-container {
    flex-direction: column;
    text-align: left;
overflow:hidden;
  }

  .schedule-container .content,
  .schedule-container .image {
    width: 100%;
  }

  .schedule-container .content h2,
  .schedule-container .content .blue-heading {
    font-size: 36px;
  }

  .schedule-container .content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .schedule-container .content h2,
  .schedule-container .content .blue-heading {
    font-size: 28px;
  }

  .schedule-container .content p {
    font-size: 14px;
  }
  .schedule-container .image img{
  min-width: 380px;
  }

  .button-container .btn-call,
  .button-container .btn-schedule {
    font-size: 16px;
    padding: 12px 20px;
  }
}
/* Final Section */
.final-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #ffffff; /* optional */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.final-container {
  max-width: 1200px;
}

.final-section h3 {
  color: #021B33; /* blue */
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.final-section h4 {
  color: #000000; /* black */
  font-size: 24px;
  font-weight: normal;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
  .final-section h3 {
    font-size: 30px;
  }
  .final-section h4 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .final-section h3 {
    font-size: 24px;
  }
  .final-section h4 {
    font-size: 18px;
  }
}