
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --primary-red: #eb1c24;
  --secondary-yellow: #FDBE33;
  --dark-bg: #3A3F44;
  --light-bg: #F4F6F8;
  --text-gray: #1a1919;
  --header-bg: #3A3F44;
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Roboto', sans-serif;
  }
/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-size: clamp(1rem, 2.2vh, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-primary);
  background-color: whitesmoke;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== HEADER STYLES ==================== */
.header {
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  background-color: var(--dark-bg);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1002;
}

.header__logo-link {
  text-decoration: none;
}

.header__logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
}

.header__logo-img {
  width: 45px;
  height: 45px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header__nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.2s;
}

.header__nav-link:hover,
.header__nav-link:active {
  color: var(--primary-red);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__contact-icon {
  width: 19px;
  height: 19px;
}

.header__contact-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-red);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  z-index: 1003;
}

.header__hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s ease;
}

.header__menu-toggle {
  display: none;
}

/* ==================== MAIN CONTENT ==================== */
.main {
  margin-top: 50px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/services-hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--light-bg);
  text-align: center;
}

.hero__logo {
  width: 200px;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 3s ease-out forwards;
  animation-delay: 0.2s;
}

.hero__title {
  font-size: 5rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 3s ease-out forwards;
  animation-delay: 0.4s;
}

.hero__subtitle {
  font-size: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 3s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: 3rem 2rem;
  text-align: center;
}

.section__title {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.section__description {
  font-weight: 700;
  color: var(--text-gray);
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== PROJECT OVERSIGHT SECTION ==================== */
.project-oversight__image {
  width: 60%;
  max-width: 1000px;
  height: auto;
  margin: 3rem auto;
}

/* ==================== CONSTRUCTION SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card__image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0f0;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__content {
  padding: 2rem;
  text-align: left;
}

.service-card__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.service-card__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
}

/* ==================== DIVIDER ==================== */
.divider {
  width: 50%;
  margin: 5rem auto;
  border: none;
  border-top: 2px solid #e9e2e2;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--dark-bg);
  padding: 3rem 2rem 0;
}

.footer__content {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto 4rem;
  gap: 4rem;
}

.footer__about-title,
.footer__nav-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__about-text {
  font-size: 1.2rem;
  color: var(--light-bg);
  line-height: 1.8;
}

.footer__social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-bg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

.footer__social-link--facebook:hover {
  color: #1877f2;
  background-color: rgba(24, 119, 242, 0.1);
}

.footer__social-link--instagram:hover {
  color: #e4405f;
  background-color: rgba(228, 64, 95, 0.1);
}

.footer__social-link--linkedin:hover {
  color: #0077b5;
  background-color: rgba(0, 119, 181, 0.1);
}

.footer__social-link--twitter:hover {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.3);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__social-icon {
  width: 24px;
  height: 24px;
}

.footer__nav-list {
  list-style: none;
}

.footer__nav-item {
  margin-bottom: 1rem;
  
}

.footer__nav-link {
  text-decoration: none;
  color: var(--light-bg);
  font-size: 1rem;
  transition: color 0.2s;
}


.footer__nav-link:hover {
  color: var(--primary-red);
}

.footer__copyright {
  background-color: var(--dark-bg);
  padding: 1.5rem;
  text-align: center;
  color: var(--light-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright-text {
  margin: 0;
}

.footer__copyright-highlight {
  color: var(--primary-red);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding: 2.5rem;
    justify-content: space-between;
  }

  .header__logo {
    z-index: 1003;
  }

  .header__nav {
    position: fixed;
    top: 5px;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .header__menu-toggle:checked ~ .header__nav {
    transform: translateY(0);
  }

  .header__contact {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero {
    height: 50vh;
  }

  .hero__logo {
    width: 150px;
    height: 150px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .project-oversight__image {
    width: 90%;
  }

  .footer__content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__about-text {
    font-size: 1rem;
  }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    gap: 1.5rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__subtitle {
    font-size: 1.5rem;
  }
}

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) {

    .header {
        padding: 2.5rem;
        justify-content: space-between;
      }

      .header__logo {
        z-index: 1003;
      }

      .header__nav {
        position: fixed;
        top: 5px;
        left: 0;
        width: 100%;
        height: 50vh;
        background-color: var(--dark-bg);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
      }

      .header__nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
      }
     
      .header__menu-toggle:checked ~ .header__nav {
        transform: translateY(0);
      }

      .header__contact {
        display: none;
      }

      .header__hamburger {
        display: flex;
      }
  }


/* Large Screens (1441px+) */
@media (min-width: 1441px) {
  .header {
    padding: 2.5rem 6rem;
  }

  .services-grid {
    gap: 3rem;
    padding: 0 4rem;
  }
}


  