
/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}
h1, h2, h3, .quote {
    font-family: 'Montserrat', sans-serif;
}
/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--btn-dark);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--steel);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ================= COOKIE CONSENT ================= */
.cookie-overlay {
  display: none; /* hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(45,55,72,0.95);
  color: #fff;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.cookie-overlay.active {
  display: flex;
}

.cookie-popup {
  max-width: 500px;
  background: #1f2937;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.cookie-popup h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.cookie-popup p {
  font-size: 14px;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-buttons .btn-secondary {
  background: #374151;
  color: #fff;
}

.cookie-buttons .btn:hover {
  background: #ea7e28;
}


/* ================= Request a Quote Popup ================= */
#quote-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#quote-popup .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

#quote-popup .popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

#quote-popup input,
#quote-popup textarea,
#quote-popup select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#quote-popup button {
  width: 100%;
  padding: 14px 20px;
  background: #ea7e28;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#quote-popup button:hover {
  background: #d66f1f;
}

/* ================= Project Popup ================= */
.project-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.project-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.project-popup-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Close button */
.project-popup-content .popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 16px;
  padding: 8px 14px;
  background: #ea7e28;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.project-popup-content .popup-close:hover {
  background: #d66f1f;
}

/* Prev/Next buttons */
.popup-controls button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  padding: 5px 15px;
  margin: 10px;
  border-radius: 5px;
  transition: 0.3s;
}

.popup-controls button:hover {
  background: rgba(255,255,255,0.5);
}


/* ================= Feature Cards ================= */
.aplpg-feature-right .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* space between cards */
  justify-content: center; /* center cards if extra space */
}

.aplpg-subtitle {
  color: #ea7e28;
  font-weight: 600;
  font-size: 30px;
  text-transform: uppercase;
}

.aplpg-headline h3 {
  font-size: 28px;
  margin: 10px 0;
}

.aplpg-pera-txt p {
  font-size: 16px;
  color: #555;
}

.aplpg-primary-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #ea7e28;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.aplpg-primary-btn:hover {
  background: #d66f1f;
}

/* Feature Cards */
.feature-card {
  flex: 0 0 calc(45% - 10px); /* two cards per row with smaller width */
  max-width: 300px; /* limit max width */
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.feature-card:hover {
  transform: rotateY(10deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.feature-icon {
  font-size: 32px; /* slightly smaller icon */
  color: #3498db;
  margin-bottom: 12px;
  transition: transform 0.6s ease, color 0.6s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg);
  color: #2c3e50;
}

.feature-card h6 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .feature-card {
    flex: 0 0 100%; /* full width on smaller screens */
    max-width: 100%;
  }
}

/* Slider Video */
.hero-slide {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay for readability */
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/* Slider  Image */
.hero-slide {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
