* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #e7e2e3;
    color: #24385c;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #2b3e62;
    padding: 22px 40px;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
}

.brand-text h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    height: 560px;
    overflow: hidden;
    background-color: #9caecc;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(36, 56, 92, 0.35), rgba(36, 56, 92, 0.45));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 9%;
    color: #ffffff;
    z-index: 2;
}

.hero-overlay h2 {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    line-height: 1.1;
    max-width: 760px;
    margin-bottom: 18px;
}

.hero-overlay p {
    font-size: 1.1rem;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-btn {
    background-color: #2b3e62;
    color: #ffffff;
    text-decoration: none;
    padding: 14x 28px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #243552;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    color: #24385c;
    border: none;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-btn.prev {
    left: 24px;
}

.carousel-btn.next {
    right: 24px;
}

/* Services */
.services-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 70px 40px 90px;
}

.services-section h2 {
    text-align: center;
    font-size: 2.6rem;
    color: #2b3e62;
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    color: #2b3e62;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content p {
    color: #44506a;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2b3e62;
    color: #ffffff;
    text-align: center;
    padding: 34px 20px;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-contact {
    margin-bottom: 14px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .brand {
        justify-content: center;
        width: 100%;
    }

    nav ul {
        justify-content: center;
    }

    .hero-carousel {
        height: 480px;
    }

    .hero-overlay {
        align-items: center;
        text-align: center;
    }

    .hero-overlay h2 {
        font-size: 2.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        padding: 18px 20px;
    }

    .brand-text h1 {
        font-size: 1.7rem;
    }

    .logo {
        width: 62px;
        height: 62px;
    }

    .hero-carousel {
        height: 420px;
    }

    .hero-overlay h2 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .services-section {
        padding: 55px 20px 70px;
    }

    .service-card img {
        height: 220px;
    }
}
/* ABOUT PAGE */

.about-intro {
    max-width: 1300px;
    margin: 0 auto;
    padding: 70px 40px 40px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    color: #2b3e62;
    margin-bottom: 22px;
}

.about-text p {
    font-size: 1.05rem;
    color: #44506a;
    margin-bottom: 18px;
    max-width: 620px;
}

.about-image img {
    width: 100%;
    max-width: 620px;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* COMPANY STORY */

.company-story {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 40px 70px;
    text-align: center;
}

.story-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    color: #2b3e62;
    margin-bottom: 20px;
}

.story-container p {
    font-size: 1.05rem;
    color: #44506a;
    margin-bottom: 18px;
}

/* WHY CHOOSE US */

.why-choose {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px 90px;
}

.why-choose h2 {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #2b3e62;
    margin-bottom: 35px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.why-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.why-card h3 {
    color: #2b3e62;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.why-card p {
    color: #44506a;
    font-size: 1rem;
}

/* ABOUT PAGE RESPONSIVE */

@media (max-width: 900px) {
    .about-intro-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-intro {
        padding: 55px 20px 30px;
    }

    .company-story {
        padding: 20px 20px 55px;
    }

    .why-choose {
        padding: 0 20px 70px;
    }

    .about-text,
    .company-story,
    .why-choose {
        text-align: center;
    }

    .about-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-image img {
        max-width: 100%;
        height: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .about-text h2,
    .story-container h2,
    .why-choose h2 {
        font-size: 2rem;
    }

    .about-image img {
        height: 280px;
    }

    .why-card {
        padding: 22px;
    }
}


/* Previous Projects page */

/*top part of projects page just text and title*/
/* Overall section styles */
.projtitle {
  text-align: center; 
  margin-bottom: 20px; /* Space below the title */
  margin-top: 30px;
}

.projtitle h1 {
  font-size: 32px;
  color: #333; /* Dark text for the title */
  margin: 0; /* Remove default margin around the title */
}

/* Styles for the section with text and image */
.bbb-section {
  display: flex; /* Use flexbox to align text and image side by side */
  justify-content: space-between; /* Space out text and image */
  align-items: center; /* Vertically center the items */
  background-color: #f0f0f0; /* Light off-white gray background */
  padding: 10px;
  border-radius: 8px; /* Rounded corners */
}

.bbb-section p {
  font-size: 18px;
  color: #555; /* Slightly darker gray for the paragraph */
  max-width: 70%; /* Limit text width to allow space for the image */
  margin: 0; /* Remove extra margin */
  margin-right: 5px;
  margin-left: 40px;
}

.bbb-logo {
  width: 200px; /* Adjust the size of the BBB logo */
  height: auto;
  margin-left: 5px;
  margin-right: 40px;
}
/*end top part of projects page just text and title*/

/*carousel for raport reviews*/
/* Center the entire carousel */
.raport {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column; /* Stack the carousel and other elements */

}

.quotecarousel {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border: 4px solid #ddd;
  border-radius: 8px;
  background-color: 44506a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Wrap the slides */
.quote-container {
  display: flex;
  animation: slide 30s infinite;
}

/* Each slide */
.quote-slide {
  position: relative;
  min-width: 100%;
}

.quote-slide img {
  width: 100%;
  height: 500px; /* Adjust height as needed */
  object-fit: cover;
  filter: brightness(0.7); /* Slight darkening for the background image */
}

/* Overlay text */
.quote {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  font-size: 22px;
  text-align: center;
  font-style: italic;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background for text visibility */
  padding: 10px;
  border-radius: 6px;
}

/* Animation for sliding effect */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-100%);
  }
  45% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(-200%);
  }
  70% {
    transform: translateX(-200%);
  }
  75% {
    transform: translateX(-300%);
  }
  95% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(-400%);
  }
}

/* get a quote */

/* map and map quote section */
.service-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
 flex-wrap: wrap; /*wrap on samller screen*/
}

.map-container {
  padding: 40px; /* Padding around the iframe */
}

.map-frame{
    border: 5px solid orange;
    border-radius: 15px;
}

.text-bubble {
  background-color: #ffcc00; /* Orange color */
  width: 700px;
  height: 350px;
  padding: 15px;
  border-radius: 20px;
  font-size: 30;
  color: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
}

/*small screen version quote page*/
@media (max-width: 480px) {
  .service-area {
    flex-direction: column; /* Stack items vertically on smaller screens */
    align-items: center; /* Center align the content */
  }

  .map-container {
    max-width: 100%; /* Allow the map to take full width */
  }

  .text-bubble {
    font-size: 20px; /* Smaller font for very small screens */
    width: 100%; /* Allow text bubble to be full width */
  }
}

/* get a quote request form section */

.form-section{
   width: 100%; 
  max-width: 3000px;  
   text-align: center;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

.form-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 20px;
}

.leftform,
.rightform {
  width: 48%; /* Adjust width of left and right form sections */
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  text-align: center; /* Center labels */
}

input[type=address],
input[type=zipcode],
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}

textarea {
  resize: vertical;
}

/*green button*/
button {
  background-color: #4CAF50;
  color: white;
  padding: 20px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}
/*change button shade on mouseover*/
button:hover {
  background-color: #45a049;
}








































