/* ===== Gold/Black Professional Theme ===== */
:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --text: #fff;
  --smoke: rgba(255, 255, 255, 0.75);
  --gold: #e6c35c;
  --red: #e23b3b;
  --glass: rgba(255, 255, 255, 0.08);
  --r: 1.15rem;
  --blur: 14px;
}

html,
body {
  background: var(--bg);
  color: var(--text);
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(230, 195, 92, 0.35);
}

/* 3D canvas */
#global-3d {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35; /* dim background so text pops */
  mix-blend-mode: screen;
}
body > *:not(#global-3d) {
  position: relative;
  z-index: 1;
}

/* Layout */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);

}
.container-narrow {
  max-width: auto;
}


/* ===== NAVBAR (clean & consistent) ===== */
.navbar {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar.is-stuck {
  background: rgba(0, 0, 0, 0.6);
}

.navbar .nav-link {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.navbar .nav-link:hover {
  color: var(--gold) !important;
}
.navbar .nav-link.active {
  color: var(--gold) !important;
  background: transparent !important;
}

.navbar .nav-logo {
  height: 42px;
  width: auto;
}
@media (min-width: 1200px) {
  .navbar .nav-logo {
    height: 56px;
  }
}

/* CTA in navbar */
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: #fff;
  background: transparent;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  transition: all 0.25s ease;
}
.btn-outline-gold:hover {
  background: rgba(230, 195, 92, 0.12);
  color: #fff;
}
@media (max-width: 991.98px) {
  #navCollapse {
    text-align: center;
  }
  .navbar .btn-outline-gold {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, var(--gold), #fff);
  color: #000;
  border: 0;
  font-weight: 700;
}
.btn-accent:hover {
  filter: brightness(0.95);
  color: #5f5151;
}
.btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: #000;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border: 0;
  font-weight: 700;
}
.btn-red:hover {
  filter: brightness(1.05);
}

/* Cards */
.card {
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(230, 195, 92, 0.55);
  border-radius: var(--r);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  isolation: isolate;
}
.card,
.card * {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.text-color {
  color: #faf7f7 !important;
}

.card h3,
.card h4 {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
.card a {
  color: #fff !important;
}
.card a:hover {
  color: black !important;
}

/* Unpacking + Flip */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: all 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tilt-follow {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}
.card.unpack {
  overflow: hidden;
  position: relative;
  transform-origin: center;
}
.card.unpack::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 0,
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  opacity: 0.12;
  transform: scale(1.1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card.unpack.is-in::before {
  opacity: 0.18;
  transform: scale(1);
}
.card.unpack .unpack-piece {
  transform: translateY(10px);
  opacity: 0;
}
.card.unpack.is-in .unpack-piece {
  transform: none;
  opacity: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease;
}

/* Tabs */
.nav-pills .nav-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-pills .nav-link.active {
  background: var(--gold);
  color: #000;
}

/* Footer */
.pro-footer {
  position: relative;
}
.footer-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  z-index: 0;
}
.footer-wave {
  width: 100%;
  height: 100%;
}
.footer-wave path {
  fill: rgba(255, 255, 255, 0.07);
}
.footer-links a {
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}
.social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}
.social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}
.progress {
  width: 28px;
  height: 28px;
}
.progress .bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.progress .fg {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.15s linear;
}

/* Typing */
.typing::after {
  content: "|";
  margin-left: 0.25ch;
  opacity: 0.8;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* Utilities */
.text-smoke {
  color: var(--smoke);
}
.section-title {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pt-7 {
  padding-top: 6.5rem !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: all 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card.unpack .unpack-piece {
  opacity: 0;
  transform: translateY(10px);
}
.card.unpack.is-in .unpack-piece {
  opacity: 1;
  transform: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease;
}

/* === Fail-safe: show content if JS not running === */
html:not(.js-ready) .reveal {
  opacity: 1 !important;
  transform: none !important;
}
html:not(.js-ready) .card.unpack .unpack-piece {
  opacity: 1 !important;
  transform: none !important;
  text-align: center;
}

/* Mobile-friendly side padding for narrow containers */
.container-narrow {
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* Optional: slightly increase on very small phones */
@media (max-width: 575.98px) {
  
}

/* Optional: soften card padding on tiny screens for balance */
@media (max-width: 575.98px) {
  .card.p-4 {
    padding: 1rem !important;
  }
}

/* Footer brand block */
.footer-logo {
  height: 42px;
  width: auto;
  display: block;
}
@media (min-width: 1200px) {
  .footer-logo {
    height: 56px;
  }
}

/* Map card styling */
.footer-map {
  border: 1px solid rgba(230, 195, 92, 0.28);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

/* Social icons (reuse your .social look, ensure icon centered) */
.social {
  font-size: 1.05rem;
  
}
.social i {
  line-height: 1;
  text-align: center;
}
/* === Golden Border for Contact Form === */
.form-gold {
  border: 1.5px solid rgba(230, 195, 92, 0.55);
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 0 20px rgba(230, 195, 92, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-gold:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(230, 195, 92, 0.25);
}

.form-gold input,
.form-gold select,
.form-gold textarea {
  border: 1px solid rgba(230, 195, 92, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.form-gold input:focus,
.form-gold select:focus,
.form-gold textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(230, 195, 92, 0.2);
  outline: none;
}
/* === Elegant Gold Form Styling (Visible Text + Active Highlight) === */
.form-gold {
  border: 1.5px solid rgba(230, 195, 92, 0.55);
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 0 20px rgba(230, 195, 92, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  color: #fff;
}

.form-gold:hover {
  border-color: rgba(230, 195, 92, 0.9);
  box-shadow: 0 0 25px rgba(230, 195, 92, 0.25);
}

/* Input Fields */
.form-gold input,
.form-gold select,
.form-gold textarea {
  border: 1px solid rgba(230, 195, 92, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 400;
  transition: all 0.3s ease;
}

.form-gold input::placeholder,
.form-gold select,
.form-gold textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-gold input:focus,
.form-gold select:focus,
.form-gold textarea:focus {
  background: rgba(230, 195, 92, 0.1);
  border-color: rgba(230, 195, 92, 0.85);
  box-shadow: 0 0 10px rgba(230, 195, 92, 0.3);
  color: #fff;
  outline: none;
}

/* Labels */
.form-gold label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Button Enhancement */
.form-gold .btn-accent {
  background: linear-gradient(90deg, #e6c35c, #fff4c2);
  color: #000 !important;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.form-gold .btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(230, 195, 92, 0.45);
  color: #000 !important;
}

/* === OUR CLIENTS SECTION === */
#clients {
  text-align: center;
}

.client-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 195, 92, 0.25);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(230, 195, 92, 0.3);
  border-color: rgba(230, 195, 92, 0.8);
}

.client-logo {
  max-height: 70px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* === FAQ SECTION === */
#faq .accordion-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(230, 195, 92, 0.3);
  transition: all 0.3s ease;
}

#faq .accordion-button:not(.collapsed) {
  background: linear-gradient(
    90deg,
    rgba(230, 195, 92, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  color: #e6c35c;
  border-color: rgba(230, 195, 92, 0.7);
  box-shadow: 0 0 12px rgba(230, 195, 92, 0.2);
}

#faq .accordion-item {
  background: transparent;
  border: 1px solid rgba(230, 195, 92, 0.15);
  border-radius: 10px;
  margin-bottom: 10px;
}

#faq .accordion-body {
  background: rgba(255, 255, 255, 0.04);
  color: #ccc;
  border-top: 1px solid rgba(230, 195, 92, 0.2);
}

#faq .accordion-button::after {
  filter: brightness(0) invert(1);
}

#faq .accordion-button:focus {
  box-shadow: none;
}

/* About Page Styling */
#about-hero {
  background: radial-gradient(
    circle at top,
    rgba(230, 195, 92, 0.1),
    transparent
  );
  color: #fff;
  margin-top: 6rem;
}

#about-hero p {
  color: #dcdcdc;
}

#about-hero .section-title {
  color: #e6c35c;
}

#about-hero img {
  border: 2px solid rgba(230, 195, 92, 0.3);
}

/* Mission/Vision Cards */
.section .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 195, 92, 0.15);
  transition: all 0.3s ease;
}

.section .card:hover {
  border-color: rgba(230, 195, 92, 0.5);
  box-shadow: 0 0 20px rgba(230, 195, 92, 0.2);
  transform: translateY(-4px);
}
#about-hero {
  background: radial-gradient(
    circle at top,
    rgba(230, 195, 92, 0.1),
    transparent
  );
  color: #fff;
  margin-top: 6rem;
}

.section .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 195, 92, 0.15);
  transition: all 0.3s ease;
}

.section .card:hover {
  border-color: rgba(230, 195, 92, 0.5);
  box-shadow: 0 0 20px rgba(230, 195, 92, 0.2);
  transform: translateY(-5px);
}
#mission .card {
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.05);
}

#mission .card:hover {
  border-color: #ffc107;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
  transform: translateY(-5px);
}

#mission .icon i {
  transition: transform 0.3s ease;
}

#mission .card:hover .icon i {
  transform: scale(1.2);
}
/* =======================
   OUR PROCESS (ZIGZAG LAYOUT)
======================= */

#our-process {
  position: relative;
 
}

.process-flow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.process-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(255, 215, 0, 0.8),
    rgba(255, 255, 255, 0.1)
  );
  transform: translateX(-50%);
}

/* Each step */
.process-step {
  position: relative;
  width: 50%;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 1rem;
  margin-bottom: 3rem;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.05);
  transition: all 0.4s ease;
}

/* Left and right alternation */
.process-step:nth-child(odd) {
  left: 0;
  transform-origin: right;
}

.process-step:nth-child(even) {
  left: 50%;
  transform-origin: left;
}

/* Step connector dots */
.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.process-step:nth-child(odd)::after {
  right: -9px;
}

.process-step:nth-child(even)::after {
  left: -9px;
}

/* Hover Effect */
.process-step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
}

.process-step:hover .step-number {
  background: #ffd700;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.step-number {
  width: 45px;
  height: 45px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #ffd700;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.step-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #ccc;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .process-flow::before {
    left: 0.5rem;
  }

  .process-step,
  .process-step.reverse {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem;
  }

  .process-step::after {
    left: 0;
  }
}

/* Careers hero adjustments */
#careers-hero {
 
  display: flex;
  align-items: center;
}
#careers-hero h1 {
  line-height: 1.3;
}
#careers-hero img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
#careers-hero img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}

/* ==================================================
   GIGGLEZEN — COMPLETE RESPONSIVE STYLES
   Add this AFTER all your main CSS rules
================================================== */

/* ---------- DESKTOP LARGE (1200px–1600px) ---------- */
@media (max-width: 1600px) {
  section {
    padding: 4rem 2rem;
  }
  h1, h2 {
    line-height: 1.2;
  }
}

/* ---------- LAPTOP (992px–1199px) ---------- */
@media (max-width: 1199px) {
  .navbar {
    padding: 0.8rem 2rem;
  }
  .navbar ul {
    gap: 1.2rem;
  }
  #hero {
    padding: 7rem 2rem 5rem;
  }
  #hero h1 {
    font-size: 2.8rem;
  }
  #hero p {
    font-size: 1rem;
   
  }
  .process-step {
    padding: 2rem;
  }
  .card {
    padding: 1.8rem;
  }
}

/* ---------- TABLET LANDSCAPE (768px–991px) ---------- */
@media (max-width: 991px) {
  .navbar {
    flex-wrap: wrap;
  }
  .navbar ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0.8rem;
  }
  #hero {
    padding: 6rem 1.5rem 4rem;
    text-align: center;
  }
  #hero h1 {
    font-size: 2.4rem;
  }
  #hero p {
    font-size: 0.95rem;
  }
  .btn-accent {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }
  .process-flow::before {
    left: 1rem;
  }
  .process-step {
    width: 100%;
    left: 0 !important;
    margin-bottom: 2rem;
    padding: 1.8rem 1rem 1.8rem 3rem;
  }
  .step-number {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .step-content p {
    font-size: 0.9rem;
  }
  .card {
    padding: 1.5rem;
    text-align: left;
  }
  footer {
    padding: 2.5rem 1rem;
  }
}

/* ---------- TABLET PORTRAIT & LARGE MOBILE (576px–767px) ---------- */
@media (max-width: 767px) {
  .navbar {
    padding: 0.7rem 1rem;
  }
  .nav-logo {
    height: 44px;
  }
  #hero {
    padding: 5.5rem 1rem 4rem;
    text-align: center;
  }
  #hero h1 {
    font-size: 2.1rem;
    line-height: 1.3;
  }
  #hero p {
    font-size: 0.9rem;
    padding: 0 0.8rem;
  }
  .btn-accent {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
  }
  .card {
    padding: 1.3rem;
  }
  .process-step {
    margin-bottom: 2rem;
    padding: 1.5rem 1rem 1.5rem 2.8rem;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  footer {
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer-logo {
    height: 42px;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .social {
    width: 36px;
    height: 36px;
  }
}

/* ---------- SMALL MOBILE (320px–575px) ---------- */
@media (max-width: 575px) {
  #hero {
    padding: 4.5rem 1rem 3.2rem;
  }
  #hero h1 {
    font-size: 1.8rem;
  }
  #hero p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .btn-accent {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }
  .process-step {
    padding: 1.3rem 0.8rem 1.3rem 2.5rem;
  }
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .footer-links a {
    display: block;
    margin: 6px 0;
  }
  .social {
    margin: 4px;
  }
}

@media (max-width: 768px) {
  .pro-footer .col-12.col-md-6 {
    text-align: center !important;
  }

  .footer-logo {
    display: block;
    margin: 0 auto;
  }

  .social {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .d-flex.gap-2 {
    justify-content: center !important;
  }
}
/* ---------- ULTRAWIDE (1600px and above) ---------- */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
  #hero h1 {
    font-size: 4rem;
  }
  #hero p {
    font-size: 1.2rem;
  }
  .process-step {
    padding: 2.5rem 3rem;
  }
}

@media (max-width: 991px) {
    .card {
        padding: 1.5rem;
        text-align: left !important;
    }
}