* {
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: "Times New Roman", Times, serif;
}

.spacer {
  height: 50px; /* adjust for vertical spacing */
  width: 100%;
}

.navlist {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0);
  padding: 10px 20px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px #0000009d;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 90%;
  max-width: 1200px;
}

#navlist.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0);
}

#navlist:hover {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-buttons {
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  flex-wrap: wrap;
}

.nav-buttons button {
  background-color: transparent !important;
  color: #000;
  border: none;
  font-size: 1rem;
  margin: 5px 8px;
  padding: 10px 15px;
  position: relative;
  outline: none;
  font-weight: bold;
  cursor: pointer;
}

/* 🚀 REMOVE yellow focus/active styles completely */
.nav-buttons button:focus,
.nav-buttons button:active {
  background: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Firefox fix */
.nav-buttons button::-moz-focus-inner {
  border: 0 !important;
}

/* Hover underline effect */
.nav-buttons button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #a37a00, #d4af379f);
  transition: width 0.3s ease;
}

.nav-buttons button:hover::after {
  width: 100%;
}

/* Active page style (optional) */
.nav-buttons button.active {
  border-bottom: 3px solid #000;
}

/* Hamburger button */
.menu-toggle {
  color: #000;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 1001;
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navlist {
    flex-direction: row;
  }
  .menu-toggle {
    font-weight: 1000;
    top: 18px;
    display: block;
  }

  .nav-buttons {
    color: #a67c00;
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-buttons.active {
    display: flex;
  }

  .nav-buttons button {
    width: 100%;
    text-align: left;
    margin: 5px 0;
    padding: 10px;
  }

  .navlist {
    flex-direction: column;
    align-items: flex-start;
  }
}

section {
  max-width: 100%;
  background: #ffffff;
  margin-bottom: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===========================
         HERO SECTION
   =========================== */
#HOMEHEROPAGE {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1400px;
  gap: 30px;
}

.main-hero-wrapper {
  flex: 1;
}

.main-hero-wrapper h1 {
  transition: all 0.8s ease-in;
  display: flex;
  justify-content: center;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 2px;
}

.main-hero-wrapper p {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.buttons {
  gap: 10px;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.buttons .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  border: 2px solid #000;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.buttons .btn:hover {
  background: #000;
  color: #fff;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* 📱 Responsive Hero */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    text-align: center;
  }

  .main-hero-wrapper {
    padding: 0;
  }
}

@media (max-width: 470px) {
  .main-hero-wrapper h1 {
    transition: all 0.8s ease-in;
    font-size: 60px;
  }
}

@media (max-width: 380px) {
  .main-hero-wrapper h1 {
    transition: all 0.8s ease-in;
    font-size: 50px;
  }
}

.section {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  color: #fff; /* text visible on bg */
}

/* Background image with overlay */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.4); /* dark overlay effect */
  z-index: -1;
}

.section h2 {
  color: #000000;
  font-size: 2rem;
  font-weight: bold;
}

.section h2 span {
  color: #a67c00;
}

.section p {
  margin: 10px 0 30px;
  font-size: 0.5rem;
  color: #2a2a2a;
}

.filter-buttons {
  margin-bottom: 40px;
}

.filter-buttons button {
  border: 1px solid #000000;
  background: transparent;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.9rem;
  color: #000000;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background: #000000;
  color: #ffffff;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  align-items: stretch;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #000;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
  background: #f4f4f4;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card .category {
  font-size: 0.9rem;
  color: #a37a00;
}

.card .date {
  font-size: 0.8rem;
  color: #555;
  margin-top: 5px;
}

.view-btn {
  margin-top: 40px;
}

.view-btn button {
  padding: 12px 28px;
  border: 1px solid #fff;
  background: transparent;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
}

.view-btn button:hover {
  background: #fff;
  color: #000;
}

/*servicer*/

.services-section {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  color: #fff;
}

/* Background image with overlay */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.4);
  z-index: -1;
}

.services-section h2 {
  color: #a67c00;
  font-size: 2rem;
  font-weight: bold;
}

.services-section p {
  margin: 10px 0 40px;
  font-size: 1rem;
  color: #2a2a2a;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: left;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #b08d1c;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-card ul li {
  margin: 6px 0;
  font-size: 0.9rem;
}

.service-card ul li::before {
  content: "✔ ";
  color: #b08d1c;
  font-weight: bold;
}

.service-card button {
  padding: 10px 20px;
  border: 2px solid #000;
  color: #000;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
}

.service-card button:hover {
  background: #000;
  color: #fff;
}

/*who we serve*/

.who-we-serve {
  padding: 80px 20px;
  color: #000;
  text-align: center;
}

.who-we-serve h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.who-we-serve p {
  font-size: 1rem;
  margin-bottom: 50px;
  color: #333;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card i {
  font-size: 2rem;
  color: #a37a00;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 600px) {
  .who-we-serve h2 {
    font-size: 2rem;
  }
  .who-we-serve p {
    font-size: 0.9rem;
  }
}

/*contact*/

.contact-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 20px;
}

/* Centered heading like image */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 16px;
  color: #333;
}

/* Two-column layout */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
  max-width: 500px;
}

.contact-info div {
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-info i {
  margin-right: 10px;
  color: #d4af37;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #d4af37;
  color: #000;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #e6e6e6;
  font-size: 15px;
}

textarea {
  resize: none;
  height: 120px;
}

button {
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #d4af37;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

/*footer*/

footer {
  background-size: cover;
  padding: 40px 20px 20px;
  color: #000;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.footer-column {
  flex: 1 1 300px;
  min-width: 250px;
  text-align: center;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

.footer-column p {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 6px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #d4af37;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #000;
  padding-top: 10px;
  font-size: 13px;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/*--------------Scrole animations-----------------*/

.autoShow {
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 20% cover 100vh;
}

@keyframes text-appear {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
