.scrolled {
  background-color: #333;
  color: white;
}

@font-face {
  font-family: 'Nexa-Heavy';
  src: url('Nexa-Heavy.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

/* NAVBAR */
nav {
  padding: 0.8rem 2rem;
  position: fixed;
  z-index: 20000;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  height: auto;
  transition: transform 0.3s ease, height 0.3s ease;
  transform-origin: top;
  pointer-events: auto;
  border-bottom: #222 1px solid;
  /* border-bottom: #e5ae63 1px solid; */
}

nav.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  background: #222;
  padding: 0.4rem 2rem;
  /* lumiit height kapag scroll */
}

nav .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo img {
  height: 75px;
  max-width: 100%;
  margin-left: 50px;
  transition: height 0.3s ease, margin 0.3s ease;
}

nav.scrolled .logo img {
  height: 60px;
  /* lumiit konti yung logo */
}

/* Menu (desktop default) */
nav .menu {
  display: flex;
  justify-content: right;
  /* center horizontally */
  margin-right: 50px;
  align-items: center;
  flex: 1;
  gap: 20px;
  z-index: 1090;
}

.nav-contact {
  background-color: #222;
  transition: none !important;
}

.nav-contact:hover {
  background-color: #e5ae63 !important;
  border: 1px solid transparent !important;
}

nav .menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
  font-weight: 100;
  border: 1px solid transparent;
  padding: 6px 24px;
  border-radius: 20px;
  transition: all 1s;
}

nav .menu a:hover {
  color: white;
  background: transparent;
  border: 1px solid #e5ae63;
  border-radius: 20px;
}

/* Hamburger hidden by default */
.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 20000;
  pointer-events: auto;
}

.hamburger.open {
  color: #e5ae63;
}


/* ✅ Responsive */
@media (max-width: 768px) {
  nav .menu a.active {
    color: #e5ae63;
    /* orange */
  }

  nav .logo img {
    height: 60px;
    margin-left: 10px;
  }

  nav.scrolled .logo img {
    height: 50px;
  }

  nav .menu {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 20px 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    gap: 0;
    pointer-events: none;
    z-index: 15000;
  }

  nav .menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: block;
  }

  nav .menu a {
    font-size: 1rem;
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav .menu a:last-child {
    border-bottom: none;
    /* para malinis sa huli */
  }
}

/* COVER SECTION */
.cover {
  position: relative;
  width: 100%;
  height: 100vh;
  /* fixed height ng cover section */
  overflow: hidden;
  /* hide yung labas na slides */
  border-bottom: #e5ae63 1px solid;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  /* bawat slide = 100% width ng cover */
  height: 100%;
  position: relative;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* para laging sakto sa container */
  filter: brightness(70%);
}

.cover-text {
  position: absolute;
  top: 30%;
  left: 10%;
  color: white;
}

.cover-text h1 {
  font-family: 'Nexa-Heavy';
  font-weight: 600;
  font-size: 5rem;
  color: #fff;
  margin: 0;
  transform: translateX(-100%);
  animation: slide 1.5s forwards;
}

@keyframes slide {
  to {
    transform: translateX(0);
  }
}

.cover-text h2 {
  font-family: 'Arial';
  font-weight: 800;
  font-size: 5rem;
  color: #e5ae63;
  text-transform: uppercase;
  margin: 0;
  transform: translateX(-100%);
  animation: slide 3s forwards;
}

.cover-text p {
  font-family: 'Helvetica';
  font-weight: 500;
  font-size: 1.5rem;
  color: #f0f0f0;
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 2s ease-out forwards;
  animation-delay: 0.5s;
  /* para may delay */
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cover-text3 h1 {
  font-family: 'Nexa-Heavy';
  font-weight: 600;
  font-size: 5rem;
  color: #fff;
  margin: 0;
  position: absolute;
  top: 40%;
  left: 27%;
}

.cover-text3 p {
  font-family: 'Helvetica';
  font-weight: 500;
  font-size: 1.5rem;
  color: #f0f0f0;
  text-align: center;
  letter-spacing: 0.5px;
  position: absolute;
  top: 55%;
  left: 27%;
}

.cover-text2 h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: #fff;
  text-align: center;
  margin: 0;
  position: absolute;
  top: 40%;
  left: 23%;
}

.cover-text2 p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #dddddd;
  text-align: center;
  letter-spacing: 0.5px;
  position: absolute;
  top: 63%;
  left: 21%;
}

.buttons a {
  display: inline-block;
  padding: 6px 24px;
  margin-top: 20px;
  margin-right: 20px;
  border-radius: 20px;
  /* rounded pill shape */
  font-size: 0.8rem;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  /* para hindi mag-break yung text */
}

.buttons .btn-dark {
  background: #222;
  color: #fff;
  border: 2px solid #222;
}

.buttons .btn-dark:hover {
  background: #e5ae63;
  color: #fff;
  border-color: #222;
  transform: translateY(-3px);
}

.buttons .btn-warning {
  background: transparent;
  color: #e5ae63;
  transform: translateY(-3px);
  border: 2px solid #e5ae63;
}

.buttons .btn-warning:hover {
  background-color: transparent;
  color: #fff;
  border: 2px solid #222;
  transform: translateY(-3px);
  box-shadow: 0 0 20px #e5ae63;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {

  .cover-text {
    position: absolute;
    top: 40%;
    left: 1%;
  }

  .buttons a {
    padding: 5px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .buttons {
    display: flex;
    flex-direction: column;
    /* stack buttons vertically */
    align-items: center;
    gap: 12px;
  }

  .buttons a {
    width: 40%;
    /* occupy more width */
    padding: 6px;
    margin-top: 0;
    margin-right: 0;
    font-size: 0.65rem;
    text-align: center;
  }
}

/* Arrow buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 91.5%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #e5ae63 !important;
  color: #e5ae63;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  user-select: none;
  border: none;
  outline: none;
  z-index: 9000;
}

/* Hover effect */
.prev:hover,
.next:hover {
  background: #e5ae63;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Positioning */
.prev {
  left: 88.5%;
}

.next {
  right: 6%;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {

  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev {
    left: 80%;
  }

  .next {
    right: 3%;
  }

  .banner-buttons .dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
  }

  .banner-buttons .dot.active {
    width: 20px;
  }
}

@media (max-width: 480px) {

  .prev,
  .next {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .banner-buttons .dot {
    height: 6px;
    width: 6px;
    margin: 0 2px;
  }

  .banner-buttons .dot.active {
    width: 15px;
  }
}

/* Dots */
.banner-buttons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-buttons .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-buttons .dot.active {
  width: 30px;
  /* pill shape */
  border-radius: 20px;
  background: white;
}

/* Tablet: 768px and below */
@media (max-width: 768px) {

  /* Cover texts adjustments */
  .cover-text {
    position: absolute;
    top: 40%;
    left: 5%;
    text-align: left;
  }

  .cover-text h1 {
    font-size: 6vw;
  }

  .cover-text2 h1 {
    font-size: 6vw;
    position: absolute;
    top: 50%;
    left: 9%;
    text-align: center;
  }

  .cover-text3 h1 {
    font-size: 6vw;
    position: absolute;
    top: 48%;
    left: 23%;
    text-align: center;
  }

  .cover-text h2 {
    font-size: 5vw;
  }

  .cover-text p {
    font-size: 2.5vw;
  }

  .cover-text2 p {
    position: absolute;
    font-size: 2.5vw;
    top: 50%;
    left: .5%;
  }

  .cover-text3 p {
    position: absolute;
    font-size: 2.5vw;
    top: 50%;
    left: 11%;
  }

  /* Buttons on all slides */
  .buttons a {
    padding: 1vw 5vw;
    font-size: 2.5vw;
  }

  /* Arrows */
  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev {
    left: 80%;
  }

  .next {
    right: 3%;
  }

  /* Dots */
  .banner-buttons .dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
  }

  .banner-buttons .dot.active {
    width: 20px;
  }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {

  /* Center all texts on all slides */
  .cover-text
   {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .cover-text2 h1{
    font-size: 6vw;
    /* transform: translateX(-50%); */
    text-align: center;
    top: 45%;
    left: 2%;
    min-width: 100vw;
  }

  .cover-text3 h1 {
    font-size: 6vw;
    /* transform: translateX(-50%); */
    text-align: center;
    top: 46%;
    left: 1%;
    min-width: 100vw;
  }

  .cover-text h2 {
    font-size: 6vw;
  }

  .cover-text2 p{
    font-size: 3.5vw;
    /* transform: translateX(-50%) !important; */
    text-align: center;
    margin-top: 10% !important;
    min-width: 50vw;
  }

  .cover-text3 p {
    font-size: 3.5vw;
    /* transform: translateX(-50%) !important; */
    text-align: center;
    margin-top: 5% !important;
    left: 1%;
    min-width: 50vw;
  }

  /* Buttons stacked vertically on mobile for all slides */
  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .buttons a {
    width: 70%;
    padding: 2vw 0;
    font-size: 3.5vw;
    text-align: center;
    margin: 0;
  }

  /* Arrow buttons */
  .prev,
  .next {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* Dots */
  .banner-buttons .dot {
    height: 6px;
    width: 6px;
    margin: 0 2px;
  }

  .banner-buttons .dot.active {
    width: 15px;
  }
}



/* WELCOME HEADER */
.welcome-header {
  border: none;
  background-color: #191818;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
}

.header-text {
  position: relative;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  /* center vertically (optional) */
  text-align: center;
  /* applies to text inside each h3 */
  color: white;
  display: flex;
  gap: 0.5%;
}

.header-text h3 {
  font-size: 2rem;
}

.header-companyname {
  color: #e5ae63;
  font-weight: 700;
}

.header-information {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  text-align-last: center;
  color: white;
  line-height: 1.5;
  font-size: 1rem;
}

@media (max-width: 600px) {

  .header-title,
  .header-companyname {
    font-size: 1.1rem;
  }

  .header-information {
    font-size: 0.8rem;
    text-align: center;
    /* center instead of justify */
  }
}

/* PROJECTS */

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
  padding: 0;
}

.filter-buttons a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
  /* prevent text breaking */
}

.filter-buttons a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.filter-buttons a:hover {
  color: #000;
}

.filter-buttons a:hover::after,
.filter-buttons a.active::after {
  width: 100%;
}

.filter-buttons a.active {
  color: #000;
  font-weight: 600;
}

/* ✅ Responsive for mobile */
@media (max-width: 600px) {
  .filter-buttons {
    gap: 8px;
  }

  .filter-buttons a {
    font-size: 0.85rem;
    /* smaller text */
    padding: 6px 10px;
    /* tighter padding */
  }
}

.projects {
  background: #191818;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #e5ae63;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
}


.project-card {
  background: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  /* para consistent sizes */
  /* lahat naka-hide muna by default, JS mag-show */
}

.project-card:hover {
  transform: translateY(-5px);
}

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

.project-card h3 {
  margin: 15px;
  font-size: 1.2rem;
}

.project-card p {
  margin: 0 15px 15px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-weight: 500;
}

.project-card p i {
  color: #e5ae63;
  margin-right: 5px;
}


/* Before/After Overlay */
.image-container {
  position: relative;
}

.image-container img.before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0;
  /* 🔹 default invisible */
  transition: opacity 0.5s;
}

.image-container img.after {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-container:hover img.before {
  opacity: 1;
  /* 🔹 show "before" when hovered */
}

/* See More Button */
/* Hide extra projects */
.project-card.hidden {
  display: none;
}

/* See More button styling */
.hidden-projects {
  display: none;
  /* hidden by default */
  margin-top: 20px;
}

.see-more-container {
  text-align: center;
  margin-top: 30px;
  /* button spacing from projects */
}

#seeMoreBtn {
  background: #e5ae63;
  color: #1c1c1c;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#seeMoreBtn:hover {
  background: #ffcc70;
}

.project-card.hidden {
  display: none;
}

.details-btn {
  background-color: transparent;
  padding: 1px;
  border-radius: 50px;
  width: 20%;
  margin-left: 72%;
  margin-top: 2%;
  margin-bottom: 5%;
  border-color: #e5ae63;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.details-btn:hover {
  background-color: #222;
}

.view-details i {
  color: #e5ae63;
}

/* 🔹 Modal Base */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}

/* 🔹 Modal Box */
.modal-content {
  background: #222 !important;
  background-position: center;
  margin: 8% auto 10px auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  color: #000;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  color: #e5ae63;
  margin-bottom: 10px;
}

.modal-content p {
  margin: 8px 0;
  color: #ccc;
}

/* 🔹 Close Button */
.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

/* 🔹 Gallery inside modal */
.modal-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.modal-gallery img {
  max-width: 20%;
  max-height: 20%;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .modal-content {
    width: 95%;
    /* mas malapad para sa tablet */
    margin: 10% auto 10px auto;
    padding: 15px;
  }

  .modal-gallery img {
    max-width: 20%;
    /* mas maliit para hindi lumagpas sa lapad ng phone */
    max-height: 20%;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    /* halos buong screen sa phone */
    margin: 20% auto 10px auto;
    padding: 12px;
  }

  .modal-content h2 {
    font-size: 20px;
    /* lumiit yung title */
  }

  .modal-content p {
    font-size: 14px;
    /* mas readable sa maliit na screen */
  }

  .modal-gallery {
    gap: 10px;
  }

  .modal-gallery img {
    max-width: 20%;
    /* mas maliit para hindi lumagpas sa lapad ng phone */
    max-height: 20%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 20% auto 5px auto;
    padding: 10px;
  }

  .modal-gallery img {
    max-width: 20%;
    /* mas maliit para hindi lumagpas sa lapad ng phone */
    max-height: 20%;
  }
}

/* 🔹 Fullscreen image (lightbox) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}


/* ONGOING PROJECT */
.projects-section {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #242424);
}

.projects-section h2 {
  color: #e5ae63;
  letter-spacing: 2px;
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.projects-section h3 {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 13px;
  margin-top: 0;
}


.ongoing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
  position: relative;
  align-items: stretch;
  /* ✅ pantay ang taas */
}

.ongoing-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  position: relative;
  /* para magamit yung badge positioning */
}

.ongoing-media,
.ongoing-desc {
  display: flex;
  flex-direction: column;
}

.ongoing-media img,
.ongoing-media video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ongoing-media .badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: orange;
  color: #fff;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  z-index: 10;
  letter-spacing: 1px;
}


.ongoing-desc {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.ongoing-desc h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #e5ae63;
}

.ongoing-desc p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ddd;
}

.ongoing-desc p i {
  color: #e5ae63;
}

.ongoing-actions {
  display: flex;
  gap: 15px;
  justify-content: right;
}

.ongoing-actions .btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.ongoing-actions .btn-warning {
  background: #333;
  color: #fff;
  border: none;
}

.ongoing-actions .btn-warning:hover {
  background: #f0c278;
}

.ongoing-actions .btn-dark {
  background: #333;
  color: #fff;
  border: none;
}

.ongoing-actions .btn-dark:hover {
  background: #e5ae63;
}

/* ✅ Ongoing Gallery */
.ongoing-gallery {
  margin-top: 30px;
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* gap: 24px; */
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease-in-out;
  /* smooth slide */
  width: 100%;
}

.gallery-set {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 0 0 100%;
}

.gallery-set img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-set img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(229, 174, 99, 0.5);
}

/* Responsive tweak */
@media (max-width: 768px) {
  .gallery-set {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-set img {
    height: 100px;
  }
}

.ongoing-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  flex: 0 0 calc(25% - 20px);
  /* 4 pics per row */

}

.ongoing-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(229, 174, 99, 0.5);
}

.hidden {
  display: none;
}

.ongoing-gallery-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  top: -5%;
}

/* ✅ Responsive tweak */
@media (max-width: 768px) {
  .ongoing-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ongoing-desc {
    text-align: center;
  }

  .ongoing-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ongoing-media img,
  .ongoing-media video {
    height: 200px;
  }

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

  .ongoing-gallery img {
    height: 100px;
  }
}


/* FEATURED WORKS */
.sec2 {
  background-color: #191818;
  padding: 50px 20px;
}

.sec2 h2 {
  text-align: center;
  color: #e5ae63;
  /* elegant gold tone */
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 3px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-left: 6%;
}

/* underline accent */
.sec2 h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e5ae63, #ffda9e);
  border-radius: 2px;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  /* para stacked: video sa taas, text sa baba */
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* caption text hiwalay sa baba */
.card-text {
  padding: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  background: #222;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}


/* IMAGE SCROLL SECTION */
.image-scroll {
  width: 100%;
  overflow: hidden;
  background: #191818;
  padding-top: 20px;
  padding-bottom: 70px;
  position: relative;
  /* needed for gradient overlay */
}

.scroll-wrapper {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Pause animation on hover */
.scroll-content:hover {
  animation-play-state: paused;
}

.scroll-content img {
  width: 300px;
  /* mas malaki width */
  height: 200px;
  /* mas malaki height */
  margin: 0 20px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-content img.zoomed {
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

/* Animation keyframes */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Bagalan konti (30s instead of 25s) */
.scroll-content {
  display: flex;
  animation: scroll-left 50s linear infinite;
}


/* Glow + zoom on hover */
.scroll-content img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Gradient overlay on edges */
.image-scroll::before,
.image-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.image-scroll::before {
  left: 0;
  background: linear-gradient(to right, #191818 100%, transparent 100%);
}

.image-scroll::after {
  right: 0;
  background: linear-gradient(to left, #191818 100%, transparent 100%);
}

/* Animation keyframes */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */

@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4 cards for smaller desktop */
  }
}

@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards for tablet */
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(1, 1fr);
    /* 2 cards for mobile */
  }

  .image-scroll::before {
    left: 0;
    background: linear-gradient(to right, #191818 30%, transparent 100%);
  }

  .image-scroll::after {
    right: 0;
    background: linear-gradient(to left, #191818 30%, transparent 100%);
  }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
    /* 1 card per row on small phones */
  }
}

/* SERVICES */
.services {
  background: #111;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
  color: #e5ae63;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 🔹 3 per row on desktop */
  gap: 20px;
}

.service {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.service h3 {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: bold;
}

.service p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 10px;
  line-height: 1.4;
}

/* ✅ Responsive Layout */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row on tablets */
  }
}

/* @media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service img {
    height: 180px;
  }
} */

/* ✅ Mobile adjustments for Project Section */
@media (max-width: 600px) {
  .project-card {
    width: 95%;
    /* halos buong screen */
    max-width: 100%;
    /* wag limitahan ang lapad */
    margin: 10px auto;
    /* center para pantay */
  }

  .project-card img {
    width: 100%;
    height: auto;
    /* responsive image */
    border-radius: 10px;
    /* para pantay sa desktop design */
  }
}

/* OBJECTIVES */

/* OBJECTIVES SECTION */
.objectives {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #111;
}

.objectives h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #e5ae63;
}

.objectives p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: white;
}

.objectives .values {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  color: white;
}

.objectives .value {
  text-align: center;
  max-width: 200px;
}

.objectives .value i {
  font-size: 2rem;
  color: #e5ae63;
  /* orange */
  margin-bottom: 0.5rem;
}

.objectives .value h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.objectives .value p {
  font-size: 0.9rem;
  line-height: 1.4;
}


/* Parallax background */
.parallax {
  background-image: url('structural_foreman.png');
  background-size: cover;
  background-attachment: fixed;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-text {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
  font-family: 'Poppins', sans-serif;
}

/* About Section */
.About {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10%;
  background: #1f1f1f;
}

/* Main content */
.card-contents {
  max-width: 850px;
  font-size: 1.15rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.9;
  color: #555;
  font-family: 'Open Sans', sans-serif;
}

/* Subtext (Vision & Mission) */
.visionDesc,
.missionDesc {
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  margin: 25px auto;
  max-width: 750px;
  line-height: 1.8;
  font-style: italic;
}

.card-contents p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  margin: 25px auto;
  max-width: 750px;
  line-height: 1.8;
  font-style: italic;
}

/* Accent underline effect */
.card-contents p strong {
  color: #e5ae63;
  /* orange accent for emphasis */
  font-weight: 600;
  border-bottom: 1px solid #e5ae63;
  padding-bottom: 2px;
}


/* Footer Top Section */
/* Footer Top Section */
.cover8 {
  background: #1f1f1f;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  border-top: 1px solid #e5ae63;
}

.logo_footer {
  text-align: center;
  color: #fff;
  max-width: 250px;
}

.logo_footer img {
  height: 70px;
  display: block;
  margin: 0 auto 10px;
}

.logo_footer b {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.logo_footer .tagline {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 5px;
}

.cover8-content {
  display: flex;
  gap: 50px;
  color: #fff;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cover8-content div {
  flex: 1;
  min-width: 200px;
}

.cover8-content b {
  display: block;
  margin-bottom: 12px;
  color: #e5ae63;
  font-size: 1.15rem;
}

/* Quick Links 2 Columns */
.quick-links .links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  justify-items: start;
}

.quick-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
}

.quick-links a:hover {
  color: #e5ae63;
}

/* Contact & Company Info */
.contact-info a,
.company-info p {
  display: block;
  margin: 6px 0;
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-info a:hover {
  color: #e5ae63;
}

/* Footer Bottom */
.footer {
  background: #141414;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

.footer .social-media {
  margin-bottom: 10px;
}

.footer .social-media p {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #aaa;
}

.footer .social-media a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer .social-media a:hover {
  color: #e5ae63;
}

.footer-text {
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .cover8 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .cover8-content {
    flex-direction: column;
    gap: 30px;
  }

  .quick-links .links-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}


/* CONTACT */

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #1a1a1a, #242424);
  padding: 60px 30px;
  text-align: center;
}

.contact-section h2 {
  color: #e5ae63;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(229, 174, 99, 0.8);
}

.btn-send {
  background: #e5ae63;
  color: #1a1a1a;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-send:hover {
  background: #f0c278;
  transform: scale(1.05);
}








/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.success-popup.hidden {
  display: none;
}

.popup-content {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  max-width: 400px;
  width: 90%;
}

.popup-content h3 {
  color: #e5ae63;
  margin-bottom: 10px;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  background: #e5ae63;
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-content button:hover {
  background: #f0c278;
}