html {
  scroll-behavior: smooth;
}

/* ========== General Styles ========== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
}

/* ========== Navbar Styles (Transparent + Auto Color Change) ========== */

/* Base Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5000 !important;
  background: transparent !important; /* transparent on top of hero */
  box-shadow: none;
  border: none;
  transition: all 0.4s ease;
}

/* Navbar links — white on hero */
.navbar .nav-link {
  color: #0e2b47 !important;
  font-size: 1rem;       /* slightly smaller */
  margin: 0 14px;        /* reduced spacing */
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover underline (white when on hero) */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d4af37;
  transition: width 0.3s ease;
}
.navbar .nav-link:hover::after {
  width: 100%;
}

/* When scrolled — frosted glass look */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Link color changes to dark navy on scroll */
.navbar.scrolled .nav-link {
  color: #0e2b47 !important;
}

/* Underline becomes navy on scroll */
.navbar.scrolled .nav-link::after {
  background-color: #0e2b47;
}

/* Hover color for scrolled state */
.navbar.scrolled .nav-link:hover {
  color: #d4af37 !important; /* gold accent hover */
}

/* Logo adjustment */
.navbar .navbar-brand img {
  height: 50px;
  transition: all 0.3s ease;
}


/* Smooth transition from transparent → solid */
.navbar,
.navbar.scrolled {
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}
/* =========================
   FORCE NAVBAR ONE-LINE
========================= */


/* Reduce spacing slightly (22px was too large) */
.navbar .nav-link {
  margin: 0 16px;
}
/* Large screens */
@media (min-width: 1400px) {
  .navbar .nav-link {
    margin: 0 18px;
    font-size: 1.05rem;
  }
}

/* Medium screens (Laptop) */
@media (max-width: 1200px) {
  .navbar .nav-link {
    margin: 0 10px;
    font-size: 0.95rem;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .navbar-collapse {
    display: none !important;
  }
}
.navbar-nav {
  flex-wrap: nowrap;
}

.navbar-nav .nav-item {
  white-space: nowrap;
}

.navbar .nav-link {
  margin: 0 10px;
  font-size: 0.95rem;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;

  color: #d4af37; /* GOLD */

  text-shadow: 0 4px 14px rgba(0,0,0,0.6);
  -webkit-text-stroke: 0.6px rgba(0,0,0,0.6);

  display: inline-block;
  max-width: 900px;
  line-height: 1.2;
  padding: 18px 30px;
  border-radius: 14px;

  /* 👇 overlay only behind text */
  background: rgba(0, 0, 0, 0.45);
}


.hero h1 .highlight-text {
  color: #e6e2d8; /* elegant light ivory tone */
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #e6e2d8;
  letter-spacing: 0.6px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.25);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  
}



.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.hero {
  margin-top: 80px; /* pushes hero down so image starts below navbar */
}






/* === HERO BUTTON (Visible on Image, Hover Works) === */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  color: #ffffff;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); /* better visibility on bright images */
  transition: transform 0.4s ease, background 0.5s ease, box-shadow 0.4s ease;
  z-index: 2; /* ensure it sits above image overlay */
  margin-top: 30px; /* gives spacing below heading */
}

/* Shimmer overlay behind content */
.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

/* Hover animation */
.hero-btn:hover {
  transform: translateY(-5px);
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

.hero-btn:hover::before {
  left: 100%;
}

/* Keep text + arrow above shimmer */
.hero-btn .btn-text,
.hero-btn .arrow {
  position: relative;
  z-index: 2;
}

/* Arrow hover motion */
.hero-btn .arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.hero-btn:hover .arrow {
  transform: translateX(8px);
}





/* ========== Footer ========== */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

footer a {
  color: #f5b800;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .navbar .nav-link {
    margin: 10px 0;
    text-align: center;
  }
}

.about {
  background: #f8f9fa;
  padding: 25px 6%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1100px;
}






/* Text Section - adjusted spacing and font size */
/* ======= Enhanced About Section Text ======= */
.about-text h2 {
  font-size: 4.1rem;
  font-weight: 900;
  color: #0e2b47; /* deep navy for luxury feel */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeSlideIn 1s ease-out forwards;
}

/* Elegant underline animation */
.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.4s forwards;
}

/* Smooth paragraph style */
.about-text p {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.8;
  max-width: 650px;
  animation: fadeInUp 1.2s ease-out forwards;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Subtle text animations */
@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to { width: 70%; opacity: 1; }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===========================
   Elegant Zigzag Collage – Straight Images
=========================== */
.image-collage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* very close spacing */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Each image container */
.image-frame {
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  width: 280px;   /* neat portrait-square size */
  height: 280px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Keep images straight and cover the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Zigzag alignment – left & right */
.image-frame:nth-child(odd) {
  align-self: flex-start;
  margin-left: 60px; /* shift right */
}

.image-frame:nth-child(even) {
  align-self: flex-end;
  margin-right: 60px; /* shift left */
}

/* Optional slight overlap for collage effect */
.image-frame:nth-child(n+2) {
  margin-top: -20px; /* overlap a little */
}

/* Hover lift effect */
.image-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Responsive design */
@media (max-width: 768px) {
  .image-frame {
    align-self: center !important;
    margin: 0 !important;
    width: 90%;
    height: auto;
  }
}

/* ========== Scroll Animation ========== */

/* Base state (before visible) */
.reveal-left,
.reveal-right,
.image-frame img {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
  visibility: hidden;
}

/* Left and right directions */
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}

/* Active (when visible) */
.reveal-left.active,
.reveal-right.active,
.image-frame img.active {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}

/* ===== Elegant Bordered Stats Section ===== */
.stats {
  background: #f8f9fa;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Heading */
.stats-heading {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 15px;
  position: relative;
  animation: fadeSlideIn 1s ease-out forwards;
}

.stats-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.4s forwards;
}

/* Subheading */
.stats-subtext {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

/* Straight alignment */
.stats-line {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  position: relative;
}

/* Divider */
.divider {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, #0e2b47, #d4af37);
  border-radius: 2px;
}

/* Stat item box with gradient border */
.stat-item {
  text-align: center;
  position: relative;
  padding: 35px 40px;
  border-radius: 16px;
  background: #ffffff;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Reveal effect */
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* Hover glow */
.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Stat Numbers */
.stat-item h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #0e2b47 20%, #d4af37 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0e2b47; /* fallback navy */
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); /* subtle glow for clarity */
  letter-spacing: 1px;
  transition: all 0.8s ease;
}


/* Stat Text */
.stat-item p {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Animations reused */
@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to { width: 70%; opacity: 1; }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .stats-line {
    flex-direction: column;
    gap: 30px;
  }

  .divider {
    display: none;
  }

  .stat-item {
    width: 90%;
  }
}


/* ====== Video Section ====== */
.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1 !important;   /* 👈 MOST IMPORTANT */
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
  pointer-events: none !important;   /* 🔥 ADD THIS */
}

.hero-text {
  position: relative;
  z-index: 3;
}

/* ====== Text Animation ====== */
.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 20px;
}

.video-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f5f5f5;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.video-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ddd;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out 0.4s, transform 1s ease-out 0.4s;
}

/* Trigger animations on reveal */
.video-section.active .video-content h2 {
  opacity: 1;
  transform: translateY(0);
}

.video-section.active .video-content p {
  opacity: 1;
  transform: translateY(0);
}
/* ====== CTA Styles (Explore Projects) ====== */
.cta-container {
  margin-top: 40px;
  text-align: center;
}

.slogan {
  font-size: 1.8rem;
  color: #f1f1f1;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out 0.7s, transform 1s ease-out 0.7s;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #084883, #d4af37);
  color: #0e2b47;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(255, 209, 52, 0.3);
}

.explore-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(99, 98, 95, 0.7);
  background: linear-gradient(90deg, #ffe066, #ffb300);
}

.explore-btn .arrow {
  font-size: 1.4rem;
  transition: transform 0.4s ease;
}

.explore-btn:hover .arrow {
  transform: translateX(8px);
}

/* When section becomes active */
.video-section.active .slogan {
  opacity: 1;
  transform: translateY(0);
}

/* Optional pulse animation for button */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(255, 209, 52, 0.5); }
  70% { box-shadow: 0 0 20px rgba(255, 209, 52, 0.8); }
  100% { box-shadow: 0 0 0 rgba(255, 209, 52, 0.5); }
}

.video-section.active .explore-btn {
  animation: pulseGlow 2s infinite ease-in-out 1.4s;
}
/* === Animated Read More Button (matches theme) === */
.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Shimmer highlight effect */
.about-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: all 0.7s ease;
}

.about-btn:hover::before {
  left: 100%;
}

/* Hover glow + lift */
.about-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg, #ffe066, #ffb300);
  box-shadow: 0 0 20px rgba(255, 209, 52, 0.5);
  color: #0e2b47;
}

/* Optional pulse animation when visible */
.about-btn.reveal.active {
  animation: pulseGlow 2.2s infinite ease-in-out;
}

/* Reuse pulse animation from buttons */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(255, 209, 52, 0.5); }
  70% { box-shadow: 0 0 20px rgba(255, 209, 52, 0.9); }
  100% { box-shadow: 0 0 0 rgba(255, 209, 52, 0.5); }
}

/* ===== ABOUT DROPDOWN PANEL ===== */
/* ===== FIXED MEGA DROPDOWN ===== */

.about-dropdown {
  position: fixed;        /* 🔥 change from absolute */
  top: 80px;              /* navbar height */
  left: 0;
  width: 100%;
  background: #f8f9fa;
  padding: 60px 8%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.35s ease;

  z-index: 4000;
}

.about-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.about-dropdown-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Info Panel */
.about-info {
  flex: 1 1 35%;
  background: #eeeeee;
  padding: 50px 40px;
  border-radius: 10px;
}

.about-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0e2b47;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-info p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Button styling */
.about-learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
}

.about-learn-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.about-learn-btn .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.about-learn-btn:hover .arrow {
  transform: translateX(6px);
}

/* Right Links */
.about-links {
  flex: 1 1 50%;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.about-links .column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.about-links a:hover {
  color: #0e2b47;
  border-color: #d4af37;
}

@media (max-width: 992px) {
  .about-dropdown-content {
    flex-direction: column;
    gap: 40px;
  }
  .about-links {
    flex-direction: column;
    gap: 30px;
  }
}

/* ===== ABOUT HERO (IMAGE FROM HTML) ===== */
.about-hero {
  height: 60vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* space for fixed navbar */
}

.about-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full coverage */
  z-index: 0;
  filter: brightness(75%) saturate(1.2);
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1,
.about-hero p {
  color: #fff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* ===== MODERN DROPDOWN LINKS LAYOUT ===== */
.about-links.modern-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
  border-left: 2px solid rgba(212, 175, 55, 0.4); /* subtle gold divider */
  padding-left: 40px;
}

/* Each link now looks like an elegant line item with motion */
.about-links.modern-layout a {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid transparent;
  color: #0e2b47;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Gold hover with animated arrow */
.about-links.modern-layout a:hover {
  background: linear-gradient(90deg, #fff6da, #fefae0);
  border-color: #d4af37;
  transform: translateX(6px);
  box-shadow: 0 5px 18px rgba(212, 175, 55, 0.2);
}

/* Arrow styling */
.about-links.modern-layout .arrow {
  font-size: 1.3rem;
  color: #d4af37;
  transition: transform 0.3s ease;
}

/* Arrow animation on hover */
.about-links.modern-layout a:hover .arrow {
  transform: translateX(6px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-links.modern-layout {
    border-left: none;
    padding-left: 0;
    justify-content: center;
  }

  .about-links.modern-layout a {
    flex: 1 1 100%;
    text-align: left;
  }
}


.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
  position: relative;
}

/* ===== Section Title Underline (Centered, Theme Gradient) ===== */
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 10px auto 0; /* centers underline */
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.4s forwards;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
}

/* ===== CLIENTS SECTION ===== */
#clients {
  background: #fff;
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

#clients .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#clients .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* ===== Logo Slider ===== */
.client-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.client-track {
  display: flex;
  gap: 60px;
  width: calc(300%); /* ensures continuous scrolling */
  animation: scrollClients 22s linear infinite;
}

.client-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.client-group img {
  width: 120px;              /* slightly smaller for visual balance */
  height: auto;
  object-fit: contain;
  opacity: 0.9;              /* softer appearance */
  filter: brightness(0.95) contrast(1.05); /* maintains color richness */
  transition: all 0.35s ease;
}

.client-group img:hover {
  opacity: 1;
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.05);
}


/* Infinite scroll animation */
@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Optional gradient fade edges */
.client-slider::before,
.client-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-slider::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.client-slider::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, transparent 100%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .client-group img {
    width: 100px;
  }
}

@media (max-width: 576px) {
  .client-group img {
    width: 80px;
  }
}

/* ===== SINGLE TEAM SECTION ===== */
.team-section {
  background: #fff;
  position: relative;
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.team-group-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.team-image-wrapper:hover .team-group-img {
  transform: scale(1.05);
  filter: brightness(80%);
}

/* ===== TEAM OVERLAY (BOTTOM-LEFT REVEAL ON HOVER) ===== */
.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(14,43,71,0.9) 100%);
  color: #fff;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* content sits at bottom */
  align-items: flex-start;   /* text aligns left */
  padding: 40px 50px;        /* space from left & bottom */
}

/* Reveal when hovered */
.team-image-wrapper:hover .team-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Heading style */
.team-overlay h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #d4af37; /* gold accent */
  margin-bottom: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

/* Paragraph style */
.team-overlay p {
  font-size: 1.05rem;
  color: #ddd;
  max-width: 600px;
  margin-bottom: 10px;
  transform: translateY(25px);
  opacity: 0;
  transition: all 0.6s ease 0.1s;
}

/* Animate text on hover */
.team-image-wrapper:hover .team-overlay h3,
.team-image-wrapper:hover .team-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Image zoom effect */
.team-image-wrapper:hover .team-group-img {
  transform: scale(1.05);
  filter: brightness(80%);
  transition: all 0.6s ease;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-overlay {
    padding: 25px 20px;
  }
  .team-overlay h3 {
    font-size: 1.6rem;
  }
  .team-overlay p {
    font-size: 0.95rem;
  }
}

/* ===== OUR CORE STRENGTHS WITH BOXES ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
}

.strength-item {
  background: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.4); /* soft gold outline */
  border-radius: 12px;
  padding: 25px 20px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0e2b47; /* navy text */
  width: 100%;
  max-width: 300px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

/* Hover animation */
.strength-item:hover {
  border-color: #d4af37;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

/* Active animation (triggered on scroll) */
.strength-item.active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .strength-item {
    max-width: 100%;
  }
}

/* ===== OUR JOURNEY (NO IMAGE VERSION) ===== */
#journey.about-section {
  background: #fff; /* same clean background as vision section */
  text-align: center;
}

/* Heading underline (same style as others) */
#journey .section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.4s forwards;
}

/* Paragraph styling */
#journey p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  max-width: 850px;
  margin: 25px auto 0;
  animation: fadeInUp 1.2s ease-out 0.4s forwards;
  font-weight: 400;
}

/* ===== GLOBAL ABOUT SECTION SPACING ===== */
.about-section {
  padding: 90px 0; /* Equal top & bottom spacing */
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0; /* compact spacing on small screens */
  }
}


/* ===== SAFETY AWARENESS (Criss-Cross Layout) ===== */
.safety-awareness {
  background: #f8f9fa;
  padding: 100px 0;
}

.safety-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0e2b47;
  margin-bottom: 15px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.safety-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  max-width: 550px;
}

.safety-awareness img {
  border-radius: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.safety-awareness img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .safety-awareness {
    text-align: center;
  }

  .safety-awareness img {
    margin-bottom: 25px;
  }

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

/* ===== LEFT-RIGHT REVEAL ANIMATIONS ===== */
.reveal-left,
.reveal-right {
  opacity: 0;
  visibility: hidden;
  transition: all 1s ease-out;
}

.reveal-left {
  transform: translateX(-100px);
}

.reveal-right {
  transform: translateX(100px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Optional upward animation for boxes */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease-out;
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== ARCHITECTS SECTION ===== */
#architects {
  background: #f8f9fa;
  padding: 90px 0;
  position: relative;
}

#architects .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#architects .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Architect list layout */
.architect-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.architect-list li {
  font-size: 1.1rem;
  color: #0e2b47;
  font-weight: 500;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  transition: all 0.3s ease;
}

/* Add custom icon before each name */
.architect-list li::before {
  content: "🏛️"; /* or use ✔ if you prefer simpler */
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.1rem;
  color: #d4af37; /* gold */
  transition: transform 0.3s ease;
}

.architect-list li:hover {
  color: #d4af37;
  transform: translateX(4px);
}

.architect-list li:hover::before {
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #architects .section-title {
    font-size: 2.2rem;
  }
  .architect-list li {
    font-size: 1rem;
  }
}
/* ===== PROJECT CATEGORY CARDS ===== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(80%);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(14,43,71,0.9) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px;
  opacity: 0;
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-overlay h3 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.project-btn {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  padding: 10px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.project-btn:hover {
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  transform: translateY(-3px);
}
/* ===== UNIFORM GALLERY GRID ===== */
.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  width: 100%;
  height: 0;
  padding-bottom: 66.66%; /* 3:2 aspect ratio */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
   cursor: pointer;
}

.gallery-img-wrapper .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* hover effects */
.gallery-img-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 10%, rgba(14,43,71,0.95) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-img-wrapper:hover .img-overlay {
  opacity: 1;
  transform: translateY(0);
}

.img-overlay h5 {
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 6px;
}

.img-overlay p {
  font-size: 0.95rem;
  color: #ddd;
}

/* grid alignment fix */
.gallery-section .row {
  align-items: stretch;
}

/* responsiveness */
@media (max-width: 768px) {
  .gallery-img-wrapper {
    padding-bottom: 80%;
  }
}

/* ===== FLOATING BACK BUTTON ===== */
.floating-back-btn {
  position: fixed;
  bottom: 35px;
  left: 35px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e2b47, #d4af37);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  z-index: 1050;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* When visible (JS will toggle this) */
.floating-back-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover glow and bounce */
.floating-back-btn:hover {
  background: linear-gradient(135deg, #d4af37, #0e2b47);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Slight pulse animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(212,175,55,0.3); }
  70% { box-shadow: 0 0 15px rgba(212,175,55,0.6); }
  100% { box-shadow: 0 0 0 rgba(212,175,55,0.3); }
}

.floating-back-btn.show {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .floating-back-btn {
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #f8f9fa;
  padding: 90px 0;
}

/* Contact Info Box */
.contact-info-box {
  padding: 40px;
}

.contact-info-box h2 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info-box p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-details li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #0e2b47;
  font-weight: 500;
}

.contact-details i {
  color: #d4af37;
  margin-right: 10px;
}

/* Map Styling */
.map-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.text-gradient {
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.form-control {
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* Send Button */
.send-btn {
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.send-btn:hover {
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-info-box {
    text-align: center;
  }
}
/* ==============================
   FOOTER – CENTER TEXT + RIGHT ICONS
============================== */

.footer-minimal {
  background: linear-gradient(90deg, #0e2b47, #021523);
  padding: 25px 5%;
  font-family: 'Poppins', sans-serif;
  color: #ccc;
  position: relative;
}

/* Layout container */
.footer-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* center text */
}

/* Text center */
.footer-text {
  text-align: center;
}

.footer-text p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.footer-credit span {
  color: #d4af37;
  font-weight: 600;
}

/* Icons positioned right */
.footer-social {
  position: absolute;
  right: 0;
  display: flex;
  gap: 12px;
}

/* Icon styling */
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #d4af37, #0e2b47);
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
}

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

/* Tablet */
@media (max-width: 992px) {
  .footer-minimal {
    padding: 22px 4%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-social {
    position: static;
    margin-top: 15px;
    justify-content: center;
  }

  .footer-text p {
    font-size: 0.9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .footer-text p {
    font-size: 0.85rem;
  }
}
/* ===== UNIVERSAL GALLERY STYLES ===== */
.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-img {
  transition: transform 0.5s ease, filter 0.5s ease;
  width: 100%;
  border-radius: 14px;
}

.gallery-img-wrapper:hover .gallery-img {
  transform: scale(1.08);
  filter: brightness(75%);
}

/* Hover Overlay */
.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(14,43,71,0.9) 100%);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-img-wrapper:hover .img-overlay {
  opacity: 1;
  transform: translateY(0);
}

.img-overlay h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 4px;
}

.img-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: #ddd;
}

/* ===== LIGHTBOX ===== */
/* ===== FORCE GALLERY CLICKABILITY ===== */
.gallery-img-wrapper {
  position: relative;
  z-index: 5;
  cursor: pointer;
}

.img-overlay,
.hero-overlay,
.video-overlay {
  pointer-events: none;
}



.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99999 !important;   /* 🔥 MUST BE HIGHER THAN NAVBAR */
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
}


.lightbox-caption {
  color: #fff;
  font-size: 1rem;
  margin-top: 10px;
}
/* 🔥 Hide navbar when lightbox open */
body.lightbox-open .navbar {
  display: none !important;
}

.close-btn {
  position: fixed;     /* 🔥 fixed instead of absolute */
  top: 25px;
  right: 35px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 100000 !important;
}

.close-btn:hover {
  color: #d4af37;
}

/* Navigation buttons */
/* ===== RESPONSIVE LIGHTBOX NAVIGATION ===== */

.prev-btn,
.next-btn {
  position: fixed;   /* 🔥 fixed better than absolute */
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.7);
  background: rgba(0,0,0,0.3);
  color: #d4af37;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100000;
}

/* Desktop positioning */
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* Hover */
.prev-btn:hover,
.next-btn:hover {
  border-color: #d4af37;
  color: #fff;
  background: rgba(212,175,55,0.2);
}
@media (max-width: 768px) {

  .prev-btn,
  .next-btn {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }

}

/* Small phones */
@media (max-width: 480px) {

  .prev-btn,
  .next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

}

/* ===== ABOUT HERO VIDEO ===== */
.about-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(70%) saturate(1.1);
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}
/* ===== HERO REFINEMENT ===== */
.elegant-hero {
  height: 85vh;
  position: relative;
  overflow: hidden;
}

.about-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(65%) saturate(1.2);
  transition: transform 8s ease-out;
}

.elegant-hero .overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.75));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.elegant-hero .container {
  z-index: 2;
  position: relative;
}

.elegant-hero h1 {
  font-size: 3.8rem;
  letter-spacing: 1px;
  color: #f5f5f5;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.elegant-hero p {
  color: #e6e6e6;
  font-size: 1.25rem;
  margin-top: 10px;
}

/* Subtle slow zoom effect on video */
.elegant-hero:hover .about-hero-video {
  transform: scale(1.05);
}

/* ===== GALLERY REFINEMENTS ===== */
.gallery-section {
  background: #fafafa;
  padding-top: 80px;
  padding-bottom: 100px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

.elegant-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.elegant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* ===== GALLERY OVERLAY ===== */
.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(14,43,71,0.95) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s ease;
}

.gallery-img-wrapper:hover .img-overlay {
  opacity: 1;
  transform: translateY(0);
}

.img-overlay h5 {
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 5px;
}

.img-overlay p {
  font-size: 0.95rem;
  color: #ddd;
}

/* ===== Floating Back Button ===== */
.floating-back-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  text-align: center;
  line-height: 52px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.floating-back-btn:hover {
  background: linear-gradient(90deg, #d4af37, #0e2b47);
  transform: scale(1.1);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .elegant-hero h1 { font-size: 2.8rem; }
  .elegant-hero p { font-size: 1rem; }
}
/* ===== WORK IN PROGRESS SECTION ===== */
.work-progress {
  background: #f8f9fa;
  padding: 100px 0;
}

.progress-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.progress-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.progress-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  border-bottom: 3px solid #d4af37;
}

.progress-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.progress-card:hover .progress-img-wrapper img {
  transform: scale(1.05);
}

/* Hover Overlay */
.progress-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 43, 71, 0.9);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.progress-card:hover .progress-hover {
  opacity: 1;
  visibility: visible;
}

.progress-hover h5 {
  font-size: 1.2rem;
  color: #d4af37;
  margin-bottom: 8px;
}

.progress-hover p {
  font-size: 1rem;
  max-width: 250px;
  color: #eee;
  margin: 0;
}

/* Info Section */
.progress-info {
  padding: 25px;
  text-align: center;
}

.progress-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0e2b47;
  margin-bottom: 5px;
}

.progress-info p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* Progress Bar (Bigger & Elegant) */
.progress {
  height: 16px;
  border-radius: 50px;
  background: #eee;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.progress-bar {
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  padding-right: 12px;
  border-radius: 50px;
  transition: width 1.5s ease;
}

/* ===== Developer Page Section Reveal Animations ===== */
.dev-reveal-left, .dev-reveal-right, .dev-reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
  visibility: hidden;
}

.dev-reveal-left { transform: translateX(-120px); }
.dev-reveal-right { transform: translateX(120px); }
.dev-reveal-up { transform: translateY(80px); }

.dev-reveal-left.active,
.dev-reveal-right.active,
.dev-reveal-up.active {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}
.dev-reveal-left, .dev-reveal-right {
  opacity: 0;
  transform: scale(0.96) translateX(-100px);
  transition: all 1.1s ease-out;
}

.dev-reveal-right {
  transform: scale(0.96) translateX(100px);
}

.dev-reveal-left.active, .dev-reveal-right.active {
  opacity: 1;
  transform: scale(1) translateX(0);
}

/* ===== SIGNATURE PROJECT COLLAGE SECTION ===== */
.project-collage-section {
  padding: 100px 0;
  background: #fafafa;
  position: relative;
}

.project-collage-section .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0e2b47, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-collage-section .section-subtitle {
  color: #555;
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Frame wrapper */
.collage-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Classy image frame */
.collage-frame {
  position: relative;
  background: linear-gradient(135deg, #d4af37, #0e2b47);
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  max-width: 1100px;
  transition: transform 1.2s ease, box-shadow 0.8s ease;
}

.collage-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

/* Inner image styling */
.collage-img {
  width: 100%;
  border-radius: 15px;
  display: block;
  object-fit: cover;
}
/* ===== Reusable Scroll Reveal Animation (Repeatable) ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(70px);
  transition: all 0.9s ease-in-out;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOATING HOME BUTTON ===== */
.floating-home-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: transparent;
  color: #d4af37;
  font-size: 1.6rem;
  padding: 12px 14px;
  border: 2px solid #d4af37;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease-in-out;
  z-index: 1000;
  text-decoration: none;
  overflow: hidden;
  position: fixed;
}

/* Hover fill animation */
.floating-home-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #0e2b47, #d4af37);
  z-index: -1;
  transition: width 0.4s ease-in-out;
  border-radius: 50%;
}

/* On hover – fill from left to right */
.floating-home-btn:hover::before {
  width: 100%;
}

.floating-home-btn:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Optional hide/show animation */
.floating-home-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.floating-home-btn.hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
  100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
}

.floating-home-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* ===== EQUIPMENT COMING SOON SECTION ===== */
.coming-soon-section {
  min-height: 80vh;
  background: linear-gradient(135deg, #0e2b47, #1b3b5a);
  position: relative;
  overflow: hidden;
}

.coming-soon-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(10px);
  padding: 60px 45px;
  border-radius: 20px;
  max-width: 600px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  animation: floatCard 3.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* Gold Shine Sweep */
.coming-soon-card .shine {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: shineMove 3s infinite;
}

@keyframes shineMove {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

.coming-soon-card h2 {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #d4af37, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.coming-soon-card p {
  color: #eaeaea;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Animated Dots */
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  background: #d4af37;
  border-radius: 50%;
  opacity: 0.6;
  animation: blink 1.5s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.3s; }
.loading-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0e2b47, #d4af37);
  color: white;
  padding: 80px 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #fff;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-btn {
  background: #fff;
  color: #0e2b47;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 35px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #d4af37;
  color: #fff;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}



/* ================================
   GLOBAL RESPONSIVENESS
================================ */
img {
  max-width: 100%;
  height: auto;
}

/* Text Scaling */
h1, .display-4 { font-size: clamp(28px, 6vw, 55px); }
h2.section-title { font-size: clamp(22px, 4vw, 38px); }
p, .lead { font-size: clamp(14px, 2.5vw, 18px); }

/* Buttons */
a.hero-btn, 
a.explore-btn, 
.project-btn,
.floating-home-btn,
.floating-back-btn {
  font-size: clamp(14px, 3vw, 18px);
  padding: clamp(8px, 2vw, 14px) 24px;
}

/* ================================
   NAVBAR RESPONSIVE
================================ */
@media (max-width: 992px) {
  .navbar {
    padding: 10px 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
  }

  .navbar .nav-link {
    color: white !important;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
  }

  .about-dropdown,
  #associationDropdown,
  #developerDropdown {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    display: none; 
  }

  .about-dropdown.show,
  #associationDropdown.show,
  #developerDropdown.show {
    display: block;
    padding: 20px;
  }

  .about-links.modern-layout a {
    justify-content: center;
  }
}

/* ================================
   HERO VIDEO / HERO IMAGE
================================ */
.about-hero-video,
.hero-bg,
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-hero {
    height: 45vh;
  }
}

/* ================================
   IMAGE GALLERIES (GRID FIX)
================================ */
.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Square crop for uniform look */
@media (max-width: 576px) {
  .gallery-img {
    height: 240px;
    object-fit: cover;
  }
}

/* ================================
   LIGHTBOX RESPONSIVE
================================ */
.lightbox-img {
  max-width: 90%;
  max-height: 70vh;
}

@media (max-width: 576px) {
  .prev-btn, .next-btn {
    padding: 8px 14px;
    font-size: 20px;
  }
}

/* ================================
   PROJECT CATEGORY CARDS
================================ */
.project-card {
  height: 100%;
}

.project-card img {
  height: 280px;
  object-fit: cover;
}

@media (max-width: 576px) {
  .project-card img {
    height: 220px;
  }
}

/* ================================
   COLLAGE SECTION
================================ */
.collage-wrapper {
  padding: 10px;
}

.collage-frame {
  border: 10px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  overflow: hidden;
}

.collage-img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .collage-frame {
    border-width: 6px;
  }
}

/* ================================
   WORK IN PROGRESS SECTION
================================ */
.progress-card img {
  height: 260px;
  object-fit: cover;
}

@media (max-width: 576px) {
  .progress-card img {
    height: 200px;
  }
}

/* Progress bar numbers */
.progress-bar {
  font-size: 14px;
  padding-left: 5px;
}

/* ================================
   FOOTER RESPONSIVE
================================ */
.footer {
  text-align: center;
}

.footer .row > div {
  margin-bottom: 25px;
}

.footer-social a {
  font-size: 22px;
  margin: 0 8px;
}

@media (max-width: 576px) {
  .footer-logo-img {
    height: 60px;
  }
}

/* ================================
   FLOATING HOME & BACK BUTTON
================================ */
.floating-home-btn,
.floating-back-btn {
  bottom: 20px;
  right: 20px;
  padding: 12px 14px;
}

@media (max-width: 576px) {
  .floating-home-btn,
  .floating-back-btn {
    padding: 10px 12px;
    font-size: 18px;
  }
}

/* FIX: Floating Home Icon Too Wide on Mobile */
@media (max-width: 576px) {
  .floating-home-btn {
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
    line-height: 48px !important;
    border-radius: 50% !important;
  }

  .floating-home-btn::before {
    border-radius: 50% !important;
  }
}
/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2000;
  outline: none;
}

.menu-icon {
  width: 28px;
  height: 3px;
  background: #d4af37;
  display: block;
  border-radius: 5px;
  position: relative;
  transition: all 0.4s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  width: 28px;
  height: 3px;
  background: #d4af37;
  position: absolute;
  left: 0;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.menu-icon::before { top: -8px; }
.menu-icon::after  { top: 8px; }

/* Transform to X when active */
.mobile-menu-btn.active .menu-icon {
  background: transparent;
}
.mobile-menu-btn.active .menu-icon::before {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active .menu-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu-panel {
  position: fixed;
  top: 70px;
  right: 0;
  width: 100%;
  background: rgba(14,43,71,0.95);
  backdrop-filter: blur(6px);
  padding: 35px 20px;
  transform: translateY(-120%);
  transition: all 0.45s ease;
  z-index: 1500;
}

.mobile-menu-panel.show {
  transform: translateY(0);
}

.mobile-menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-panel ul li {
  margin: 18px 0;
  text-align: center;
}

.mobile-menu-panel ul li a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.mobile-menu-panel ul li a:hover {
  color: #d4af37;
  letter-spacing: 1px;
}

/* Show only on mobile */
@media (min-width: 992px) {
  .mobile-menu-btn,
  .mobile-menu-panel {
    display: none;
  }
}

/* ===== FIX FOOTER LOGO SIZE (FINAL) ===== */
.footer-logo-img {
  width: 160px !important;   /* perfect balanced size */
  height: auto !important;   /* prevent stretching */
  display: block !important;
  margin: 0 auto 20px !important;  /* centered */
  object-fit: contain !important;
}

/* Tablet */
@media (max-width: 768px) {
  .footer-logo-img {
    width: 140px !important;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer-logo-img {
    width: 120px !important;
  }
}
/* ===== FIX FLOATING HOME BUTTON SIZE ===== */
.floating-home-btn {
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 1.6rem !important;
  line-height: 52px !important;
  text-align: center !important;
}

/* Tablet */
@media (max-width: 768px) {
  .floating-home-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.4rem !important;
    line-height: 48px !important;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .floating-home-btn {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.3rem !important;
    line-height: 45px !important;
  }
}

/* ============================================
   FIX ABOUT HERO FULL WIDTH + NO HORIZONTAL SCROLL
   ============================================ */

/* Remove overflow issues on body */
html, body {
  overflow-x: hidden !important;
}

/* HERO container fix */
.about-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  margin-top: 80px !important;  /* space for navbar */
  overflow: hidden !important;
  padding: 0 !important;
}

/* HERO image fix */
.about-hero-img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
 
}

/* Prevent animations causing sideways shift */
.about-hero *,
.about-hero-img {
  transform: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about-hero {
    height: 45vh !important;
  }
}

/* Extra safety: prevent ANY element from creating scroll */
* {
  
  box-sizing: border-box;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* ensures mobile stacking only */
}

.about-image {
  flex: 1;
  min-width: 320px;
}

.about-text {
  flex: 1;
  min-width: 350px;
}
.image-collage {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-frame img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* ===== VIDEO HERO SECTION ===== */
.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

/* Text */
.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 90%;
  max-width: 1100px;

  animation: heroZoomOut 1.5s ease forwards;
}

/* Heading */
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  color: #f5f1e8;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  margin-bottom: 15px;
  line-height: 1.1;
}

/* Paragraph */
.hero-text p {
  font-size: clamp(16px, 2vw, 24px);
  color: #f5f1e8;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  max-width: 800px;
  margin: 0 auto;
}

/* Zoom Out Animation */
@keyframes heroZoomOut {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 992px) {
  .video-hero {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .video-hero {
    height: 70vh;
  }

  .hero-text h1 {
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: 65vh;
  }

  .hero-text {
    width: 95%;
  }
}




/* ===========================
   QUALITY SECTION (FINAL)
=========================== */

.quality-lr-section {
    padding: 60px 0 80px;
    text-align: center;
}

/* ---------- TITLE ---------- */
.quality-lr-section .section-title {
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0e2b47, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.quality-lr-section .section-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-top: 5px;
}

/* ---------- LAYOUT ---------- */
.quality-layout {
    max-width: 1200px;
    margin: 50px auto 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
}

/* Left & Right Columns */
.quality-left,
.quality-right {
    flex: 1;
    max-width: 380px;

    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ---------- INFO CARD ---------- */
.q-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    background: #ffffff;
    padding: 22px 26px;
    border-radius: 16px;

    border: 1.6px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 14px 34px rgba(0,0,0,0.08);

    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover */
.q-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(0,0,0,0.14);
}

/* ---------- ICON ---------- */
.q-icon {
    min-width: 46px;
    height: 46px;
    border-radius: 50%;

    background: linear-gradient(135deg, #d4af37, #8a7a22);

    display: flex;
    align-items: center;
    justify-content: center;
}

.q-icon svg {
    width: 22px;
    fill: #ffffff !important;
}

/* ---------- TEXT ---------- */
.q-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0e2b47;
    margin-bottom: 6px;
}

.q-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ---------- CENTER ICON ---------- */
.quality-center-icon {
    width: 220px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

.quality-center-icon::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(170,150,60,0.35) 0%,
        rgba(170,150,60,0.12) 40%,
        rgba(170,150,60,0) 75%
    );
    filter: blur(6px);
    border-radius: 50%;
    z-index: -1;
}

.quality-center-icon svg {
    width: 130px;
}

/* Vertical Line */
.center-line {
    width: 3px;
    height: 160px;
    margin-top: 10px;
    background: #d4c26c;
    border-radius: 4px;
}

/* ---------- CONNECTOR LINES ---------- */

/* LEFT SIDE */
.quality-left .q-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -70px;

    width: 60px;
    height: 2px;
    background: #c9bb70;

    transform: translateY(-50%);
}

/* RIGHT SIDE */
.quality-right .q-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -70px;

    width: 60px;
    height: 2px;
    background: #c9bb70;

    transform: translateY(-50%);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease-out;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet & Mobile */
@media (max-width: 992px) {

    .quality-layout {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .quality-left,
    .quality-right {
        max-width: 520px;
        width: 100%;
        gap: 24px;
    }

    .quality-center-icon,
    .center-line {
        display: none;
    }

    /* Remove connectors */
    .quality-left .q-item::before,
    .quality-right .q-item::before {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 576px) {

    .q-item {
        padding: 18px 20px;
    }

    .q-item h4 {
        font-size: 1.05rem;
    }

    .q-item p {
        font-size: 0.95rem;
    }
}

/* ===========================
   SAFE HOVER EFFECT
=========================== */

.q-item {
    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease;
}

/* Hover card */
.q-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.14);
    border-color: rgba(212,175,55,0.9);
}

/* Icon hover (NO layout shift) */
.q-item:hover .q-icon {
    transform: scale(1.08);
}

/* Smooth icon animation */
.q-icon {
    transition: transform 0.3s ease;
}

/* Lock connector lines – never animate */
.quality-left .q-item::before,
.quality-right .q-item::before {
    transition: none !important;
}
.q-item:hover {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.98),
        rgba(255,255,255,0.92)
    );
}


/* ===== FIX LIGHTBOX CONTENT LAYOUT ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Image */
.lightbox-img {
  max-width: 85%;
  max-height: 70vh;
  border-radius: 14px;
  z-index: 1;
}

/* Caption container */
.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  z-index: 2;
  color: #fff;
}

/* Caption text */
.lightbox-caption .lb-title {
  color: #d4af37;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lightbox-caption .lb-area,
.lightbox-caption .lb-location {
  font-size: 1rem;
  color: #ddd;
  margin: 2px 0;
}

/* ================================
   FIX: FOOTER LINKS NOT CLICKABLE
================================ */

/* Footer must be above overlays */
.footer {
  position: relative !important;
  z-index: 100000 !important;
}

/* Footer content above its own ::before */
.footer * {
  position: relative;
  z-index: 2;
}

/* Decorative glow must NOT capture clicks */
.footer::before {
  pointer-events: none !important;
}
/* ================================
   STOP OVERLAYS FROM BLOCKING FOOTER
================================ */

.hero::after,
.hero-overlay,
.video-overlay,
.about-hero .overlay,
.elegant-hero .overlay {
  pointer-events: none !important;
}
/* ===============================
   NAVBAR LOGO – FINAL FIX
================================ */

/* Base logo */
.navbar-brand img {
  height: 52px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Scrolled navbar */
.navbar.scrolled .navbar-brand img {
  filter: none !important;
  opacity: 1 !important;
}

/* Dark mobile navbar */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 46px !important;
    max-width: 160px;
    filter: brightness(1.15) contrast(1.05) !important;
  }
}

/* Small phones */
@media (max-width: 576px) {
  .navbar-brand img {
    height: 42px !important;
    max-width: 140px;
  }
}
.navbar {
  z-index: 5000 !important;
}

.navbar-brand {
  z-index: 6000 !important;
  position: relative;
}
/* ===== FORCE NAVBAR SINGLE LINE ON DESKTOP ===== */

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
}

/* Desktop large */
@media (min-width: 1200px) {
  .navbar .nav-link {
    margin: 0 16px;
    font-size: 1rem;
  }
}

/* 1024 to 1199 (Problem Zone) */
@media (max-width: 1199px) and (min-width: 992px) {
  .navbar .nav-link {
    margin: 0 8px;      /* reduce spacing */
    font-size: 0.9rem;  /* slightly smaller */
  }
}
/* SOUND TOGGLE BUTTON */

.sound-toggle {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 9999;     /* 🔥 HIGHER THAN OVERLAY */
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  pointer-events: auto;  /* 🔥 IMPORTANT */
}

.sound-toggle:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}
.gallery-img-wrapper{
position:relative;
overflow:hidden;
border-radius:10px;
}

.gallery-img{
width:100%;
height:280px;
object-fit:cover;
transition:0.4s;
}

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

.img-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
background:linear-gradient(transparent, rgba(0,0,0,0.8));
color:#fff;
padding:20px;
opacity:0;
transition:0.3s;
}

.gallery-img-wrapper:hover .img-overlay{
opacity:1;
}

.img-overlay h5{
font-weight:700;
margin-bottom:5px;
}

.location{
font-size:14px;
opacity:0.8;
}



/* ===== PROJECT HERO IMAGE ===== */

/* ===== PROJECT HERO (FULL IMAGE VISIBLE) ===== */

.project-hero{
position:relative;
width:100%;
height:80vh;
margin-top:80px;
overflow:hidden;

/* 🔥 premium background */
background: radial-gradient(circle at center, #0e2b47, #000);
display:flex;
align-items:center;
justify-content:center;
}

/* IMAGE */
.project-hero-img{
max-width:100%;
max-height:100%;
object-fit:contain;   /* 🔥 FULL IMAGE visible */
display:block;
filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
/* smooth entry */
animation: fadeZoom 1.2s ease;
}

/* PREMIUM OVERLAY GLOW */
.project-hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(0,0,0,0.2),
rgba(0,0,0,0.6)
);
pointer-events:none;
}

/* TEXT */
.project-hero-overlay{
position:absolute;
bottom:40px;
left:0;
width:100%;
text-align:center;
color:#fff;
z-index:2;
}

.project-hero-overlay h1{
font-size:clamp(28px,5vw,52px);
font-weight:700;
color:#d4af37;
}

.project-hero-overlay p{
font-size:clamp(14px,2vw,20px);
color:#eee;
}

/* ANIMATION */
@keyframes fadeZoom{
from{
opacity:0;
transform:scale(1.05);
}
to{
opacity:1;
transform:scale(1);
}
}

/* MOBILE */
@media(max-width:768px){

.project-hero{
height:60vh;
padding:20px;
}

.project-hero-overlay{
bottom:20px;
}

}




/* MOBILE RESPONSIVE */

@media(max-width:768px){

.project-hero{
height:70vh;
}

.project-overlay h1{
font-size:34px;
}

.project-overlay p{
font-size:18px;
}

}
/* ===== PROJECT INFO SECTION ===== */

.project-info{
padding:60px 0 80px;
text-align:center;
}

.project-title{
font-size:46px;
font-weight:800;
color:#0e2b47;
margin-bottom:45px;
background:linear-gradient(90deg,#0e2b47,#d4af37);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

/* ===== PROJECT DETAILS WITH ICONS ===== */

.project-details{
display:flex;
justify-content:center;
gap:35px;
flex-wrap:wrap;
}

/* BOX */

.detail-box{
background:#fff;
padding:35px 40px;
border-radius:14px;
min-width:220px;
text-align:center;

border:2px solid rgba(212,175,55,0.4);

box-shadow:0 8px 20px rgba(0,0,0,0.08);

transition:all 0.35s ease;
position:relative;
}

/* ICON */

.detail-icon{
font-size:28px;
color:#d4af37;
margin-bottom:12px;
transition:all 0.35s ease;
}

/* LABEL */

.detail-label{
display:block;
font-size:13px;
letter-spacing:1px;
text-transform:uppercase;
color:#888;
margin-bottom:6px;
}

/* VALUE */

.detail-value{
font-size:20px;
font-weight:700;
color:#0e2b47;
margin:0;
}

/* HOVER EFFECT */

.detail-box:hover{
transform:translateY(-8px);
border-color:#d4af37;
box-shadow:0 12px 30px rgba(0,0,0,0.15);
background:linear-gradient(180deg,#ffffff,#fafafa);
}

.detail-box:hover .detail-icon{
transform:scale(1.2);
color:#0e2b47;
}

/* MOBILE */

@media(max-width:768px){

.project-details{
flex-direction:column;
align-items:center;
}

.detail-box{
width:90%;
}

}

