/* ===================== ROOT LUXURY COLORS ===================== */

:root {
  --brand-main: #121826;
  /* deep navy */
  --brand-accent: #c8a24d;
  /* luxury gold */
  --dark-text: #0b0f19;
  --light-bg: #f4f6f9;
  --white: #ffffff;
  --footer-dark: #0a0f18;
  --soft-border: #e1e5ea;
}

/* ===================== GLOBAL RESET ===================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--dark-text);
  scroll-behavior: smooth;
}

/* ===================== TOP BAR ===================== */

.top-bar {
  background: var(--brand-main);
  color: var(--white);
  padding: 8px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* ===================== HEADER ===================== */

header {
  position: sticky;
  top: 0;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  z-index: 1000;
  transition: 0.3s;
}

header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-main);
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--brand-main);
  font-weight: 500;
}

nav a.active {
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 4px;
}

/* button */

.btn {
  background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 6px;
}

/* ===================== HERO SLIDER ===================== */

.hero-slider {
  width: 100%;
  height: 430px;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;   /* IMPORTANT */
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: 0.5s;
}

.slides.active {
  opacity: 1;
}
/* 🔥 MOST IMPORTANT */
.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* NO CUT */
  background: #f5f5f5;
}
/* overlay premium look */

.slides::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, .45); */
}

/* hero text */

.hero-content {
  position: absolute;
  bottom: 20%;
  left: 8%;
  color: var(--white);
  max-width: 520px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
}

.hero-content p {
  font-size: 18px;
  opacity: .9;
}

/* arrows */

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  z-index: 5;
}

.prev {
  left: 20px
}

.next {
  right: 20px
}

/* dots */

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  opacity: .5;
}

.dot.active {
  opacity: 1
}
/* ===================== ABOUT ===================== */

.about {
  display: flex;
  gap: 40px;
  padding: 70px;
}

.media-placeholder video {
  width: 100%;
  height: 90%;
  object-fit: cover;
  border-radius: 12px;
}

/* ================= INFRASTRUCTURE SINGLE IMAGE ================= */

.infrastructure-section {
  padding: 80px 60px;
  background: #ffffff;
}

.infra-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* TEXT */

.infra-subtitle {
  color: var(--brand-accent);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.infra-content h2 {
  font-size: 42px;
  color: var(--brand-main);
  margin-bottom: 15px;
}

.infra-highlight {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.infra-list {
  list-style: none;
  padding: 0;
}

.infra-list li {
  margin-bottom: 14px;
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}

.infra-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-size: 18px;
}

/* IMAGE */

.infra-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

/* ================= TESTIMONIAL SECTION ================= */

.testimonial-section {
  padding: 80px 60px;
  background: #ffffff;
}

.testimonial-container {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

/* LEFT IMAGE */

.testimonial-image {
  flex: 1;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

/* RIGHT CONTENT */

.testimonial-content {
  flex: 1;
  background: #b63a1c;
  padding: 50px;
  color: #ffffff;
  border-radius: 12px;
}

.testimonial-tag {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.testimonial-content h2 {
  font-size: 38px;
  margin-bottom: 30px;
}

/* ITEMS */

.testimonial-item {
  margin-bottom: 28px;
}

.arrow-icon {
  font-size: 20px;
  margin-right: 8px;
}

.testimonial-item p {
  display: inline;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-item strong {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}

/* ================= STATS RESPONSIVE FIX ================= */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stats div {
  flex: 1 1 200px;
  min-width: 150px;
  text-align: center;
}

/* ===================== PRODUCTS ===================== */

.products {
  padding: 70px;
  text-align: center;
}

.filters button {
  margin: 6px;
  padding: 9px 18px;
  border: 1px solid var(--brand-main);
  background: none;
  cursor: pointer;
  border-radius: 4px;
}

.filters button.active,
.filters button:hover {
  background: var(--brand-main);
  color: var(--white);
}

/* product grid */

.grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* ===================== PREMIUM PRODUCT CARD ===================== */

.item {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  transition: .35s ease;
}

.img-wrap {
  overflow: hidden
}

.item img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  transition: .4s;
}

.item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
}

.item:hover img {
  transform: scale(1.05);
}

/* info */

.premium-info {
  padding: 16px;
}

.premium-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-main);
}

.premium-info span {
  font-size: 13px;
  color: #666;
}

/* ===================== STATS ===================== */

.stats {
  background: linear-gradient(135deg, #0d1324, #121826);
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
}

.stats h3 {
  font-size: 38px;
}

.stats p {
  font-size: 14px;
  opacity: .9;
}

/* ===================== CONTACT ===================== */

.contact {
  display: flex;
  gap: 40px;
  padding: 70px;
}

.contact input,
.contact textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--soft-border);
  margin-bottom: 12px;
}

.contact button {
  background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
  color: #fff;
  padding: 12px;
  border: none;
}

/* ===================== POPUP FIX (SAFE) ===================== */

#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9998;
}

#popupForm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 360px;
  max-width: 92%;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 9999;
}

/* heading */
#popupForm h3 {
  margin-bottom: 15px;
  color: #111;
}

/* inputs */
#popupForm input,
#popupForm textarea,
#popupForm select {
  width: 100%;
  padding: 11px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* button */
#popupForm button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* close icon */
#popupClose {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #000;
}

#popupOverlay,
#popupForm {
  display: none;
}


/* ===================== FOOTER ===================== */

.site-footer {
  background: linear-gradient(135deg, #070b14, #0e1626);
  color: #e4e9f0;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 0 20px 50px;
}

.footer-col h3,
.footer-col h4 {
  color: var(--brand-accent);
}

.footer-col a {
  color: #cfd6e4;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  background: #050810;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.clients-section {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 60px 5%;
  font-family: 'Poppins', Arial, sans-serif;
}

.clients-text {
  max-width: 420px;
}

.small-heading {
  font-size: 14px;
  color: #444;
  letter-spacing: 1px;
}

.clients-text h2 {
  font-size: 46px;
  font-weight: 700;
  color: #b3472a;
  line-height: 1.15;
  margin: 15px 0;
}

.clients-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.clients-text .sub-text {
  font-size: 15px;
  color: #666;
}

.clients-image img {
  max-width: 100%;
  border-radius: 16px;
}


/* ===================== MOBILE ===================== */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}
@media (max-width: 992px) {
  .clients-section {
    flex-direction: column;
    text-align: center;
  }

  .clients-text {
    max-width: 100%;
  }

  .clients-text h2 {
    font-size: 38px;
  }
}

/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */
@media (max-width: 576px) {
  .clients-section {
    padding: 40px 20px;
  }

  .clients-text h2 {
    font-size: 30px;
  }

  .clients-text p {
    font-size: 15px;
  }

  .small-heading {
    font-size: 13px;
  }
}

@media(max-width:855px) {

  .menu-toggle {
    display: block
  }

  header {
    position: relative;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 10px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  }

  nav.active {
    display: flex
  }

  nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  nav .btn {
    display: none
  }
}

/* ===================== ULTRA MOBILE ===================== */

@media(max-width:360px) {

  .hero-slider {
    height: 60vh
  }

  .hero-content h1 {
    font-size: 22px
  }

  .arrow {
    display: none
  }

  .grid {
    grid-template-columns: 1fr
  }

  .item img {
    height: 240px
  }

  .contact,
  .about {
    padding: 40px 16px;
    flex-direction: column;
  }

}

/* ===== ABOUT SECTION STACK FIX @727px ===== */

@media (max-width: 728px) {

  .about {
    flex-direction: column;
  }

  /* text first */
  .about-text {
    order: 1;
  }

  /* video below text */
  .media-placeholder {
    order: 2;
    margin-top: 15px;
  }

}

/* Tablet view */

@media (max-width: 768px) {

  .stats {
    padding: 40px 15px;
  }

  .stats h3 {
    font-size: 30px;
  }

  .stats p {
    font-size: 13px;
  }

}

/* Mobile view */

@media (max-width: 480px) {

  .stats {
    flex-direction: column;
    gap: 25px;
  }

  .stats div {
    width: 100%;
  }

  .stats h3 {
    font-size: 26px;
  }

}


/* ================= MOBILE RESPONSIVE ================= */

@media(max-width:900px) {

  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-content {
    padding: 35px 25px;
  }

  .testimonial-content h2 {
    font-size: 26px;
  }

}

@media(max-width:480px) {

  .testimonial-section {
    padding: 50px 15px;
  }

  .testimonial-content {
    padding: 25px 18px;
  }

}

/* ================= RESPONSIVE ================= */

@media(max-width: 900px) {

  .infra-wrapper {
    grid-template-columns: 1fr;
  }

  .infra-image img {
    height: 320px;
  }

}

@media(max-width: 480px) {

  .infrastructure-section {
    padding: 50px 18px;
  }

  .infra-content h2 {
    font-size: 26px;
  }

  .infra-image img {
    height: 260px;
  }

}


/* ================= MOBILE RESPONSIVE ================= */

@media(max-width: 900px) {

  .infra-wrapper {
    grid-template-columns: 1fr;
  }

  .infra-images {
    grid-template-columns: 1fr 1fr;
  }

}

@media(max-width: 480px) {

  .infra-images {
    grid-template-columns: 1fr;
  }

  .infra-content h2 {
    font-size: 28px;
  }

  .infrastructure-section {
    padding: 50px 20px;
  }

}

.stats div {
  transition: .3s ease;
}

.stats div:hover {
  transform: translateY(-5px);
}

/* ===== HEADER BUTTON HIDE @935px ===== */

@media (max-width: 1035px) {

  header .btn {
    display: none !important;
  }

}
/* ===== UNIVERSAL PRODUCT CARD FIX (ALL PAGES) ===== */

/* Desktop */
.item img {
  width: 100%;
  height: 360px;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .item img {
    height: 300px;
  }
}

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

  .item img {
    height: 320px;   /* mobile me badi image */
  }

  .item {
    width: 100%;
  }
  .products {
  padding: 20px;
  text-align: center;
}
}
@media (max-width: 768px) {

  .hero-slider {
    height: 220px;   /* mobile perfect height */
  }

} 
@media (max-width: 768px) {
  .hero-slider {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 180px;
  }
}

@media (max-width: 360px) {
  .hero-slider {
    height: 150px;
  }
}