/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
}

/* =========================
   NAVBAR (ALL SCREENS)
========================= */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: rgba(237, 226, 226, 0);
  /* backdrop-filter: blur(10px); */
  z-index: 1000;
}





/* =============================
   BRAND (CENTER)
============================= */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 11vh;
}

.brand img {
  height: 78px;
  /* adjust if needed */
  width: auto;
  margin-top: 3vh;
  
}

.brand1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1vh;
  margin-bottom: 5vh;
}

.brand1 img {
  height: 52px;
  /* adjust if needed */
  width: auto;
}


/* =============================
   HAMBURGER (LEFT)
============================= */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Active Hamburger */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: #d4af37;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: #d4af37;
}

/* =============================
   SOCIAL ICON WRAPPER
============================= */
.social-icons {
  display: flex;
  gap: 0.8rem;
}

/* =============================
   ICON CONTAINER
============================= */
.social-icon {
  position: relative;              /* 🔥 REQUIRED */
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  cursor: pointer;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =============================
   RESET OLD IMAGE RULES
============================= */
.social-icons img {
  width: auto;
  height: auto;
  box-shadow: none;
  transform: none;
}

/* =============================
   ICON IMAGES (STACKED)
============================= */
.social-icon img {
  position: absolute;              /* 🔥 STACK IMAGES */
  width: 52px;
  height: 52px;
  object-fit: contain;

  transition: opacity 0.25s ease;
}

/* Default visible */
.social-icon .icon-default {
  opacity: 1;
}

/* Hover hidden initially */
.social-icon .icon-hover {
  opacity: 0;
}

/* =============================
   HOVER SWAP
============================= */
.social-icon:hover .icon-default {
  opacity: 0;
}

.social-icon:hover .icon-hover {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
  .social-icon {
    width: 28px;
    height: 28px;
  }

  .social-icon img {
    width: 18px;
    height: 18px;
  }

  .social-icon:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 480px) {
  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 26px;
    height: 26px;
  }

  .social-icon img {
    width: 16px;
    height: 16px;
  }
}



/* =============================
   SIDE MENU (LEFT SLIDE)
============================= */
/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  /* SAME LINE START */
  left: -320px;
  width: 250px;
  height: 100vh;
  background: #f7f7f7;
  padding: 30px 20px;
  transition: left 0.35s ease;
  padding-top: 90px;
  z-index: 1001;
}

.side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: left;
  /* horizontal center */
  justify-content: center;
  gap: 1.8rem;
  margin-left: 14vh;
  /* padding-left: 2rem; */
}

/* ACTIVE MENU */
.side-menu.active {
  left: 0;
}

/* OVERLAY */
#menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 22, 22, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1000;
}

/* SHOW OVERLAY */
#menuOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* OPTIONAL – smooth link look (no UI change) */
.side-menu .nav-link {
  color: #000000;
  text-decoration: none;
  line-gap-override: 5vh;
}

.side-menu .nav-link.active,
.side-menu .nav-link:hover {
  color: #d4af37;
}

/* =============================
   BODY LOCK
============================= */
body.menu-open {
  overflow: hidden;
}

/* =============================
   MOBILE SAFETY
============================= */
@media (max-width: 480px) {
  .brand {
    font-size: 1.3rem;
  }

  .social-icons {
    gap: 0.5rem;
  }
}

/* =========================
   HERO FIX
========================= */
/* ===============================
   HERO VIDEO SECTION
================================ */
/* ===============================
   HERO VIDEO WRAPPER
================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ===============================
   VIDEO BASE STYLE
================================ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   DEFAULT VISIBILITY
   (Desktop First)
================================ */
.video-desktop {
  display: block;
}

.video-mobile {
  display: none;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {
  .hero-video {
    height: 85vh;
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 600px) {
  .hero-video {
    height: 70vh;
  }

  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }
}


/* About */
/* ===============================
   BRAND EDITORIAL HERO
================================ */




.brand-editorial {
  width: 100%;
  min-height: 80vh;
  background: #ffffff00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  text-align: center;
}


/* SMALL TOP LINE */
.brand-eyebrow {
  font-size: 23px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #b88b3a;
  margin-bottom: 2.2rem;
  margin-top: 2rem;
}

/* MASSIVE BRAND NAME */
/* .brand-title {
    font-size: clamp(2.5rem, 4vw, 5rem);
    font-weight: 100;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0 0 2.5rem;
    color: #111;
    width: 100%;
} */

.brand-title {
  margin-bottom: 80px;
  text-align: center;
}


.brand-title div {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 100;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.2;
}

/* gold accent line */
.brand-title::after {
  content: "";
  display: block;
  width: 300px;
  height: 3px;
  margin: 8px auto 0;
  background-color: #c9ab74;
}



  /* background-image: url("images/hero-building.jpg"); 
    background-size: cover;
    background-position: center;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */


@keyframes blurReveal {
  to {
    filter: blur(0);
    opacity: 1;
  }
}

/* DESCRIPTION */
.brand-description {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  max-width: 900px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .brand-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    letter-spacing: 0.02em;
  }

  .brand-description {
    font-size: 15.5px;
  }
}


/* =========================
   ABOUT SECTION
========================= */
.about-section {
  padding: 6rem 2rem;
  background: #ffffff00;
  background-color: #f7f6f3;
}



.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}


/* .about-taglines {
    letter-spacing: 0.3em;
    font-size: 12px;
    text-transform: uppercase;
}

.about-contents p {
    max-width: 1200px;
} */



/* Left Content */
.about-content .about-tagline {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4af37;
}

.about-content h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 100;
  line-height: 1.2;
  color: #111;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.2rem;
  max-width: 520px;
}

/* Button */
.about-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 14px 32px;
  border-radius: 40px;
  background: transparent;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: 0.3s ease;
  border: 1px solid #080808;
  transition: transform 0.3s ease;
}

.about-btn:hover {
  background: #000000;
  ;
  color: rgb(255, 255, 255);
  transform: translateY(-6px);

}


/* =========================
   STATS
========================= */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-box {
  padding: 2rem 1.5rem;
  border: 1px solid #000000;
  text-align: center;
  transition: 0.3s ease;
}

.stat-box h3 {
  font-size: 2rem;
  font-weight: 100;
  color: #111;
}

.stat-box span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.stat-box:hover {
  transform: translateY(-6px);
  border-color: #c9ab74;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}


/* =========================
   ABOUT METERS (SOBHA STYLE)
========================= */
.about-meters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* Card */
.meter-card {
  border: 1px solid #0a0a0a;
  overflow: hidden;
  background: #f6f5f2;
}

/* Top Split */
.meter-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;

}

/* Left: Number */
.meter-number {
  background: #ffffff;
  /* Sobha gold */
  color: #000000;
  font-size: 5.5rem;
  font-weight: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* Right: Text */
.meter-text {
  background: #cec72d17;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.meter-unit {
  font-size: 1.6rem;
  color: #000000;
  font-weight: 500;
}

/* Bottom Label */
.meter-footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================
   HOVER (SUBTLE LUXURY)
========================= */
.meter-card {
  transition: transform 0.3s ease;
}

.meter-card:hover {
  transform: translateY(-6px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .about-meters {
    grid-template-columns: 1fr;
  }

  .meter-number {
    font-size: 3.5rem;
  }
}




/* ===============================
   PROJECTS SECTION
================================ */
.projects-section {
  padding: 6rem 2rem;
  background: #ffffff00;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   HEADER
================================ */
.projects-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9ab74;
  font-weight: 500;
}

.projects-header h2 {
  font-size: 3.5rem;
  font-weight: 100;
  margin-top: 0.5rem;
  color: #111;
}

/* ===============================
   TABS
================================ */
.project-tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.tab {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.3s;
}

.tab.active,
.tab:hover {
  background: #c9ab74;
  color: #000;
  border-color: #c9ab74;
}

/* ===============================
   GRID
================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ===============================
   CARD
================================ */
.project-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
}

/* ===============================
   IMAGE (CARD)
================================ */
.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  background-position: bottom
}

/* Hover zoom ONLY inside cards */
.project-card:hover .project-image {
  transform: scale(1.08);
}

/* ===============================
   STATUS BADGE
================================ */
.project-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-status.ongoing {
  background: #c9ab74;
  color: #000;
}

.project-status.delivered {
  background: #333;
  color: #fff;
}

/* ===============================
   INFO
================================ */
.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 100;
  color: #111;
}

.project-info p {
  font-size: 0.9rem;
  margin-top: 0.4rem;
  color: #686868;
}

/* ===============================
   PROJECT LINK
================================ */
.project-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 22px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: 0.3s ease;
}

.project-link:hover {
  background: #000;
  color: #fff;
  border-color: #c9ab74;
}

/* ===============================
   FILTERING
================================ */
.project-card.hide {
  display: none;
}

/* ===============================
   IMAGE LIGHTBOX (FIXED)
================================ */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.897);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;

  z-index: 9999;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* 🔥 THIS MATCHES YOUR HTML */
#lightboxImg {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;

  object-fit: contain;

  transform: none !important;
  animation: zoomIn 0.3s ease;
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #c9ab74;
}

/* ===============================
   ANIMATION
================================ */
@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-header h2 {
    font-size: 2.2rem;
  }
}


/* FAQ--------------------------------------------------------- */
/* ================= FAQ SECTION ================= */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 6rem 2rem;
}

/* Left content */
.faq-left h4 {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9ab74;
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.faq-left h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  font-weight: 100;
}

.faq-left p {
  color: #070707;
  line-height: 1.8;
  max-width: 500px;
  font-weight: 100;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

/* ================= FAQ RIGHT ================= */
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

/* Question button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  color: #111;
}

/* Icon */
.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

/* Answer (collapsed by default) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 1.2rem;
  color: #555;
  line-height: 1.7;
}

/* Active state */
.faq-item.active .faq-answer {
  max-height: 300px;
  /* enough for content */
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  /* + becomes × */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .faq-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .faq-left p {
    max-width: 100%;
  }
}


/* Contact */
/* ================= QUICK CONTACT ================= */
.quick-contact {
  padding: 5rem 2rem;
  background: #f7f6f3;
}

.quick-card {
  max-width: 1000px;
  margin: auto;
  padding: 3rem;
  background: #f7f6f3;
  /* display: grid; */
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;

}

.quick-text {
  text-align: center;
}

.quick-text h2 {
  font-size: 3.2rem;
  margin-bottom: 0.6rem;
  color: #000000;
  font-weight: 100;
}

.quick-text p {
  color: #000000;
}

/* Form */
.quick-form {
  display: flex;
  gap: 1rem;
}

.quick-form input {
  flex: 1;
  padding: 14px;
  border: 1px solid #000000;
  font-size: 0.9rem;
}

.quick-form input:focus {
  outline: none;
  border-color: #c9ab74;
}

.quick-form button {
  padding: 14px 28px;
  border: none;
  background: #c9ab74;
  color: #000;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .quick-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quick-form {
    flex-direction: column;
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ================= LEFT CONTENT ================= */
.contact-left h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9ab74;
  margin-bottom: 0.6rem;
}

.contact-left h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.contact-left p {
  color: #555;
  line-height: 1.8;
  max-width: 460px;
}

/* ================= RIGHT BOX ================= */
.contact-right {
  background: #f7f6f3;
  padding: 3rem 2.5rem;
  border: 1px solid #e5e5e5;
}

/* ================= FORM ================= */
#contactForm {
  max-width: 420px;
  /* KEY: professional width */
  margin: 5vh auto;
  /* center form */
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Input groups (2 in a row) */
.form-group2 {
  flex: 1 1 calc(80% - 0.5rem);
}

.form-group2 input {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #111;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus */
.form-group2 input:focus {
  border-color: #c9ab74;
  box-shadow: 0 0 0 1px rgba(201, 171, 116, 0.4);
}

.form-group2 input::placeholder {
  color: rgb(0, 0, 0);
}

/* ================= NOTE ================= */
.contact-note {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #666;
  margin-top: 0.6rem;
}

.contact-note input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #c9ab74;
}

/* ================= BUTTON ================= */
.btn-luxury.btn-full {
  flex: 1 1 100%;
  width: auto;
  /* NOT full width */
  align-self: center;
  /* centered */
  margin-top: 1.2rem;
  padding: 14px 34px;
  background: #c9ab74;
  color: #000;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-luxury.btn-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-left p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #contactForm {
    max-width: 100%;
  }

  .form-group2 {
    flex: 1 1 100%;
  }
}



.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: #a08686;
  color: #ffffff;
  padding: 25px 35px;
  border-radius: 10px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.975);
}

.popup-box h3 {
  margin-bottom: 10px;
}

.popup-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: white;
  color: black;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 100;
}


/* DIM BACKGROUND */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.633);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* POPUP BOX WITH NO BLACK BORDER */
.popup-box {
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  animation: popScale .3s ease-out;
  background: none;
  /* remove black */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

/* FULL IMAGE BACKGROUND */
.popup-bg {
  width: 100%;
  height: 100%;
  background: url('images/building-night.webp') center/cover no-repeat;

  display: flex;
  justify-content: center;
  /* CENTER FORM */
  align-items: center;
  padding: 60px 20px;
}

/* GLASS EFFECT FORM */
.popup-form {
  width: 100%;
  max-width: 400px;
  /* backdrop-filter: blur(10px); */
}

.popup-form h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 15px;
  color: #ffffff;
  backdrop-filter: blur(10px);

  /* gold */
}

.popup-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.444);
}

.popup-form input::placeholder {
  color: rgb(0, 0, 0);
}

.popup-submit-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  background: #b89132;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}

.popup-submit-btn:hover {
  opacity: 0.9;
}

/* CLOSE BUTTON */
.close-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #000;
  color: #fff;
  padding: 4px 10px;
  font-size: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 25px;
}

/* OPEN ANIMATION */
@keyframes popScale {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* MOBILE FIX */
@media (max-width: 600px) {
  .popup-form {
    width: 90%;
  }
}


/* Footer */
/* ================= FOOTER ================= */
.footer {
  background: #111;
  color: #ccc;
  padding-top: 4rem;
}

.footer-logo {
  display: flex;
  align-items: left;
  justify-content: left;
  margin-bottom: 2vh;

}

.footer-logo img {
  height: 42px;
  /* adjust if needed */
  width: auto;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Brand */
.footer-brand {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

/* Headings */
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Lists */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

/* Links */
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  /* REQUIRED for transform */
  transition:
    color 0.3s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover: little jump */
.footer-col ul li a:hover {
  color: #c9ab74;
  transform: translateX(8px);
}

/* Contact text */
.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}


/* Socials */
.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  color: #fff;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #c9ab74;
  color: #000;
  border-color: #c9ab74;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* Footer Section */
.footer-section h4 {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: #fff;
}

/* Social Links Container */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Individual Link */
.social-link {
  text-decoration: none;
  color: #ccc;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: inline-block;
  /* required for transform */
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease;
}

/* Hover Effect */
.social-link:hover {
  color: #c9ab74;
  /* Windsor gold */
  transform: translateX(6px);
  /* subtle jump to right */
}

/* Arrow bold text */
.social-link b {
  font-weight: 500;
}


/* Wide contact column */
.footer-contact-wide {
  grid-column: span 3;
  /* takes 3 grid columns */
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);

  /* CENTER CONTENT */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading */
.footer-contact-wide h4 {
  margin-bottom: 1rem;
  color: #fff;
}

/* Paragraphs */
.footer-contact-wide p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 900px;
  /* prevents over-wide text */
}

/* Labels */
.footer-contact-wide b {
  color: #fff;
  font-weight: 500;
}




/* ================= QR FOOTER ================= */
.qr-label {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.qr-thumb {
  width: 140px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px;
  background: #fff;

  /* smooth animation */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease;
}

/* LITTLE JUMP ON HOVER (FOOTER ONLY) */
.qr-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ================= QR POPUP ================= */
.qr-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.qr-popup.active {
  opacity: 1;
  visibility: visible;
}

.qr-popup img {
  max-width: 70%;
  max-height: 70%;
  background: #fff;
  padding: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease;
}

/* LITTLE JUMP ON HOVER */
.qr-popup img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Close Button */
.qr-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

.qr-popup-close:hover {
  color: #c9ab74;
}

/* Mobile */
@media (max-width: 600px) {
  .qr-popup img {
    max-width: 85%;
    max-height: 85%;
  }
}


/* ================= BACK TO TOP ================= */
/* ===============================
   SCROLL TO TOP BUTTON
================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;
  background: #726f6f91;
  color: #fff;

  font-size: 22px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;

  z-index: 2000;
}

/* Show button */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#scrollTopBtn:hover {
  background: #000;
  color: #fff;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  #scrollTopBtn {
    width: 42px;
    height: 42px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}


/* ===============================
   RESPONSIVE OVERFLOW FIX
================================ */

html, body {
  overflow-x: hidden;
}

/* Navbar logo fix */
@media (max-width: 768px) {
  .brand {
    margin-left: 0 !important;
  }
}

/* Side menu fix */
.side-menu ul {
  margin-left: 0;
  padding-left: 1.5rem;
}

/* Career grid fix */
.career-left {
  grid-template-columns: 1fr minmax(0, 420px);
}

@media (max-width: 900px) {
  .career-left {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   HIDE NAV SOCIAL ICONS ON MOBILE
================================ */

@media (max-width: 768px) {
  .navbar .social-icons {
    display: none;
  }
}



/* ------------------------------------------------scrol---------------------------- */
/* FORCE VISIBILITY FOR DEBUG */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 10px;

  width: 40px;
  height: 40px;

  background: #726f6f91;
  color: #fff;

  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;

  z-index: 999999;      /* VERY IMPORTANT */

  display: none;        /* hidden by default */
}

/* show button */
#scrollTopBtn.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
