/* Global Styles */
/* Reset default margins and paddings, set box-sizing for consistent sizing. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Poppins",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 400; /* default regular weight */
  line-height: 1.6;
  color: #333;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
  margin-top: 70px;
}

/* Optional: Use different weights for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700; /* or 700 for bolder headings */
}

/* p,
li,
.service-card p {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 400;
} */

/* Container for centering content */
.container {
  max-width: 1250px;
  width: 85%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 20px;
  background-color: #1e3a8a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: 500;
}

.btn:hover {
  background-color: #0056b3;
}

/* Header Styles */
/* Navigation bar with flexbox for alignment. */
/* header {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 100;
}
.navbar {
  width: 85%;
  max-width: 1250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.logo a {
  text-decoration: none;
  color: #3b82f6;
}

.logo span {
  color: #110f47;
}

.logo img {
  height: 40px;
  margin-right: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #110f47;
  font-weight: 550;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
} */

/* Hero Section Styles */
/* Gradient background, centered content with flexbox. */
.hero {
  /* background: linear-gradient(to right, #007bff, #6610f2); */
  color: #fff;
  position: relative;
  height: calc(100vh - 80px);
  background: url("/images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 90px;
}

/* Blue overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(#32498a, #32498a83);
}

.hero-content {
  height: 100%;
  width: 58%;
  /* background-color: green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  line-height: 60px;
  /* font-weight: 700; */
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 25px;
  width: 80%;
}

.btn2 {
  background-color: white;
  color: #0056b3;
}

.btn2:hover {
  background-color: #ebebeb;
  color: #110f47;
}

.btn2 span {
  margin-left: 5px;
}

/* Services Section Styles */
/* Grid layout for cards, responsive columns. */
.services {
  padding: 60px 20px;
  background-color: #f9fafb;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

.services h2 {
  font-size: 2.4rem;
  /* margin-bottom: 10px; */
  color: #1e3a8a;
}

.services h3 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.services .firstp {
  font-size: 18px;
  width: 60%;
  text-align: center;
}

.firstp-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
}

.services p {
  /* margin-bottom: 40px; */
  font-size: 15px;
  color: #606a78;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: space-between; */
  height: 270px;
  transition: 0.3s ease;
}

.service-card:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: 0.3s ease;
}

.services .icon-holder {
  padding: 35px;
  height: 70px;
  width: 60px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1e3a8a, #3f7cff);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 2em;
  color: white;
  /* margin-bottom: 10px; */
}

.services a {
  margin-top: 40px;
  background-color: #1e3a8a;
}

/* Projects Section Styles */
/* Similar grid for project cards. */
.projects {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
}

.projects h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.projects h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.projects p {
  font-size: 15px;
  color: #606a78;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card .img-holder {
  width: 100%;
  border-radius: 10px 10px 0 0;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  height: 300px;
  transition: 0.3s ease;
  overflow: hidden;
}

.project-card:hover .img-holder {
  background-size: 110%;
  transition: 0.3s ease;
}

.img1 {
  background-image: url("/images/projects/glass/glass1.jpg");
}

.img2 {
  background-image: url("/images/projects/ceiling/ceiling1.jpg") !important;
}

.img3 {
  background-image: url("/images/projects/handrails/handrail2.jpg") !important;
}

.project-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s ease;
  z-index: 99;
}

.project-card:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: 0.3s ease;
}

.project-card-text-holder {
  width: 100%;
  height: 90px;
  padding: 10px 20px;
  text-align: left;
  z-index: 1000;
}

.project-card-text-holder p {
  margin-bottom: 7px;
  margin-top: 5px;
  color: #3f7cff;
  font-weight: 550;
  font-size: 13px;
}

.projects a {
  margin-top: 40px;
  margin-bottom: 30px;
}

/* CTA Section Styles */
/* Similar to hero but smaller. */
.cta {
  background: linear-gradient(to left, #3f7cff, #1e3a8a);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 20px;
}

/* Footer Styles */
/* Flexbox for columns, responsive stack on mobile. */
footer {
  background-color: #003580;
  color: #fff;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer p {
  font-size: 6px !important;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 85%;
  padding: 20px;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 20px;
}

.footer-logo,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 70px;
}

.footer-logo p {
  color: hsla(0, 0%, 100%, 0.655);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: hsla(0, 0%, 100%, 0.655);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transition: 0.3s ease;
}

.footer-social h3 {
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.2em;
  padding: 5px 10px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.11);
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.211);
  transition: 0.3s ease;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 0.8px solid #ebebeb6a;
  padding: 20px;
  width: 85%;
  color: hsla(0, 0%, 100%, 0.655);
}

/* Media Queries for Responsiveness */
/* Adjust layouts for tablets and mobiles. */
/* ===============================
   RESPONSIVE DESIGN
================================= */

/* ---------- TABLETS (≤ 992px) ---------- */
/* =========================================
   GLOBAL MOBILE IMPROVEMENTS
========================================= */

/* img {
  max-width: 100%;
  display: block;
} */

/* =========================================
   TABLETS (≤ 992px)
========================================= */

@media (max-width: 992px) {
  .container,
  .footer-content {
    width: 92%;
    padding: 0;
  }

  .hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

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

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    height: auto;
  }
}

/* =========================================
   MOBILE NAVIGATION (≤ 768px)
========================================= */

@media (max-width: 768px) {
  body {
    margin-top: 70px;
  }

  .navbar {
    box-sizing: border-box;
  }

  /* .container {
    width: 94%;
  } */

  /* header {
    height: 70px;
  }

  .navbar {
    padding: 0;
    position: relative;
  } */

  /* .logo img {
    height: 32px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 25px;
    transition: 0.4s ease;
    z-index: 1000;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-links.active {
    right: 0;
  } */

  /* HERO */

  .hero {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-content {
    width: 94%;
  }

  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.35;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .btn {
    width: 80%;
    text-align: center;
  }

  /* SERVICES */

  .services {
    padding: 50px 0;
  }

  .services h2 {
    font-size: 2rem;
  }

  .services .firstp {
    font-size: 15px;
  }

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

  .service-card {
    padding: 25px;
    height: auto;
  }

  .services .firstp {
    font-size: 18px;
    width: 90%;
    text-align: center;
  }

  /* PROJECTS */

  .projects {
    padding: 50px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-card .img-holder {
    height: 220px;
  }

  /* CTA */

  .cta h2 {
    font-size: 1.7rem;
  }

  /* FOOTER */

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 90%;
  }

  .footer-logo img {
    height: 55px;
    /* display: flex; */
  }

  .social-icons {
    display: flex;
    justify-content: center;
  }
}

/* =========================================
   SMALL PHONES (≤ 480px)
========================================= */

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .services h2,
  .projects h2 {
    font-size: 1.6rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 14px;
    font-size: 14px;
  }
}
