:root {
  --black: #0b0b0b;
  --yellow: #f5c400;
  --white: #ffffff;
  --gray: #cccccc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
}

/* =========================
   NAVBAR (FINAL, STABLE)
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;                 /* 🔒 LOCK HEIGHT */
  z-index: 1000;

  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
}

/* Inner wrapper to lock content width */
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
}

/* =========================
   LOGO
========================= */

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;                 /* ⬅ important: smaller than navbar height */
  width: auto;
  padding-left: 1rem;
}

/* =========================
   NAV LINKS
========================= */

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 1rem;
  gap: 1.8rem;
  list-style: none;
}

.nav-links li {
  position: relative;           /* for dropdown anchor */
}

.nav-links a {
  display: flex;
  align-items: center;          /* vertical lock */
  height: 72px;                 /* match navbar */
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

/* CTA button in nav */
.btn-nav {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  height: auto;
}

/* =========================
   DROPDOWN (DESKTOP)
========================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);   /* floats below navbar */
  left: 0;

  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 999;
}

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

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  height: auto;                 /* IMPORTANT */
  padding: 12px 20px;
  font-size: 14px;
  color: #111;
  display: block;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  padding-left: 26px;
}

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

@media (max-width: 900px) {

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-links a {
    height: auto;
    padding: 12px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }

  .dropdown:focus-within .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-menu a {
    padding-left: 1.5rem;
    background: #111;
    color: #fff;
  }
}







html {
  overflow-y: scroll;
}


body {
  padding-top: 72px;   /* SAME as navbar height */
}

/* GENERAL */
section {
  padding: 5rem 3rem;
}

h1, h2 {
  font-family: 'Poppins', sans-serif;
}

h2 {
  color: var(--yellow);
  margin-bottom: 2rem;
}

html {
  scroll-behavior: smooth;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  color: var(--gray);
}

.btn {
  margin-top: 2rem;
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  border-radius: 6px;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.85)
  );
  z-index: 2;
}

@supports (-webkit-touch-callout: none) {
  .hero-video {
    display: none;
  }

  .hero {
    background: url("assets/hero-fallback.jpg") center/cover no-repeat;
  }
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 3;

  max-width: 720px;
  padding: 0 20px;

  margin-left: 3vw;
  top: 50%;
  transform: translateY(-50%);

  color: #fff;
}


.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}

/* CTA BUTTON */
.hero-btn {
  display: inline-block;
  background: #facc15;
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}








/* ENGAGEMENT LAYOUT */
.impact-section {
  padding: 120px 20px;
}

.impact-wrapper {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 340px 220px 300px;
  gap: 32px;
  align-items: center;
}

/* GLASS BASE */
.impact-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  padding: 26px;
  text-align: center;

  box-shadow:
    0 20px 40px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.1);
}

/* LEFT BIG CARD */
.impact-left {
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* MIDDLE STACK */
.impact-middle {
  display: grid;
  gap: 24px;
}

.impact-small {
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* RIGHT CARD */
.impact-right {
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TYPOGRAPHY */
.impact-number,
.impact-text {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.impact-label {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.8);
}

/* GRAPH */
.impact-graph {
  width: 220px;
  margin: 0 auto;
}

/* MOBILE */
@media (max-width: 900px) {
  .impact-wrapper {
    grid-template-columns: 1fr;
  }

  .impact-left,
  .impact-small,
  .impact-right {
    height: auto;
  }
}




/* =========================
   SERVICES HERO OVERLAY
========================= */

.services-hero {
  position: relative;
  height: 70vh;
  width: 100%;

  background: url("../images/IMG_7125.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Text container */
.services-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.services-hero-content h1 {
  color: var(--yellow);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .services-hero {
    height: 50vh;
  }

  .services-hero-content h1 {
    font-size: 2.6rem;
  }
}



/* =========================
   SERVICES PAGE
========================= */

.services-wrapper {
  background: #000;
  padding: 120px 0 80px;
}

/* =========================
   SERVICE ROW
========================= */

.service-row {
  max-width: 1200px;
  margin: 0 auto 120px;
  padding: 0 3rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;

  cursor: pointer;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

/* =========================
   SERVICE LINK
========================= */

.service-link {
  display: block;
  text-decoration: none;
}

/* =========================
   TEXT
========================= */

.yellow-panel h2 {
  color: #000;
  font-size: 2.8rem;
  font-weight: 70;
  line-height: 1.15;
  margin: 0;
}

/* =========================
   YELLOW PILL
========================= */

.yellow-pill {
  background: var(--yellow);
  border-radius: 120px;
  padding: 4rem 5rem;
  max-width: 520px;
}

.yellow-pill h2 {
  color: #000;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
}

/* LEFT VERSION */
.edge-left .yellow-panel {
  border-radius: 0 999px 999px 0;
  margin-left: 0;
}

/* RIGHT VERSION */
.edge-right .yellow-panel {
  border-radius: 999px 0 0 999px;
  margin-right: 0;
}

/* =========================
   ARROW HINT
========================= */

.service-arrow {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  transition: transform 0.3s ease;
}

.service-link:hover .service-arrow {
  transform: translateX(8px);
}

/* =========================
   IMAGE / VISUAL
========================= */

.service-visual img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   HOVER FEEL
========================= */

.service-link:hover .yellow-pill {
  transform: translateY(-6px);
  transition: transform 0.3s ease;
}

/* =========================
   FADE-IN ANIMATION
========================= */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    min-height: auto;
  }

  .yellow-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 40px 40px !important;
    justify-content: center;
    text-align: center;
  }

  .service-arrow {
    display: none;
  }

  .service-visual {
    padding: 3rem 0;
  }
}



/* =========================
   SERVICE DETAIL PAGE
========================= */

.service-hero {
  background: #000;
  padding: 140px 0 100px;
}

.service-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;

  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-tag {
  color: var(--yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.service-hero-text h1 {
  font-size: 3rem;
  color: #fff;
  margin: 1rem 0;
}

.service-hero-text p {
  color: #ccc;
  max-width: 520px;
  margin-bottom: 2rem;
}

.service-hero-visual img {
  max-width: 420px;
  width: 100%;
}

/* BUTTON */
.btn-primary {
  background: var(--yellow);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* SECTIONS */
.service-section {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 3rem;
}

.service-section.dark {
  background: #0b0b0b;
  padding: 100px 3rem;
}

.service-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.service-section p,
.service-list li {
  color: #555;
  line-height: 1.7;
}

/* LIST */
.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step span {
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.2rem;
}

/* CTA */
.service-cta {
  background: var(--yellow);
  text-align: center;
  padding: 100px 2rem;
}

.service-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-cta p {
  margin-bottom: 2rem;
}

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

  .service-hero-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .service-hero-text h1 {
    font-size: 2.2rem;
  }
}



/* =========================
   WORKS HERO OVERLAY
========================= */

.works-hero {
  position: relative;
  height: 70vh;
  width: 100%;

  background: url("../images/7.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.works-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Text content */
.works-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.works-hero-content h1 {
  color: var(--yellow);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

@media (max-width: 900px) {
  .works-hero {
    height: 50vh;
  }

  .works-hero-content h1 {
    font-size: 2.6rem;
  }
}




/* WORKFLOW */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.step {
  border: 1px solid var(--yellow);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

/* COLLABORATION */
.collaboration {
  padding: 5rem 0;
  background: #000000;
  overflow: hidden;
}

.collaboration h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* SLIDER CONTAINER */
.logo-slider {
  width: 100%;
  overflow: hidden;
}

/* MOVING TRACK */
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

/* LOGO STYLE */
.logo-track img {
  height: 80px;
  margin: 0 3rem;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes scroll-logos {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* GLASS LOGO CARD */
.glass-logo {
  min-width: 160px;
  height: 100px;

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

  margin: 0 1.5rem;
  padding: 1rem;

  background: rgba(166, 175, 170, 0.43);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);

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

  transition: all 0.3s ease;
}

/* LOGO IMAGE */
.glass-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* HOVER EFFECT (subtle, classy) */
.glass-logo:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.25);
}


/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #151515;
  padding: 2rem;
  border-radius: 12px;
}

/* CONTACT */
.contact-info p {
  margin: 0.5rem 0;
}

.contact-section {
  padding: 100px 6%;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  opacity: 0.85;
}


/* CONTACT CARDS */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.contact-card {
  background: #e8c64f;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(17, 17, 17, 0.519);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.contact-card h3 {
  color: #2a2615; /* Dunia yellow */
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

.contact-card p {
  color: #080808;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card a {
  color: #1e1d1d;
  text-decoration: none;
}

.contact-card a:hover {
  color: #f5c400;
}

/* ICON */
.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f5a700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #000;
}


.contact-form {
  max-width: 500px;
  margin: auto;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
}

input, textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 520px;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  padding: 42px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.contact-form button {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 10px 26px;
  border-radius: 30px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}


.contact-map {
  margin-bottom: 140px; /* creates gap from form */
}




/* Glass effect */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.map-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 12px;
}


.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}


/* =========================
   BLOG HERO OVERLAY
========================= */

.blog-hero {
  position: relative;
  height: 70vh;
  width: 100%;

  background: url("../images/9.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Text container */
.blog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.blog-hero-content h1 {
  color: var(--yellow);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

@media (max-width: 900px) {
  .blog-hero {
    height: 50vh;
  }

  .blog-hero-content h1 {
    font-size: 2.6rem;
  }
}


/* BLOG LIST */
.blog-list {
  padding: 4rem 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: #000;
}

.blog-card {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

.blog-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.blog-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.blog-card span {
  display: inline-block;
  margin-top: 1rem;
  color: #f5c400;
  font-weight: 500;
}


/* BLOG POST HERO */
.blog-post-hero {
  padding: 8rem 8% 4rem;
  background: #000;
}

.blog-tag {
  color: #f5c400;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.blog-post-hero h1 {
  font-size: 2.8rem;
  max-width: 900px;
  margin: 1rem 0;
}

.blog-meta {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* BLOG CONTENT */
.blog-post-content {
  padding: 4rem 8%;
  max-width: 900px;
}

.blog-post-content h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.blog-post-content p {
  margin-top: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* BLOG CTA */
.blog-cta {
  padding: 5rem 8%;
  text-align: center;
  background: #0a0a0a;
}



/* WORKS PREVIEW (CARD)*/
.works-preview {
  padding: 6rem 8%;
  background: #000;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.works-header h2 {
  font-size: 2.5rem;
  color: #f5c400;
}

.view-all {
  color: #45a6c7;
  text-decoration: none;
  font-weight: 500;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
  text-decoration: none;
}

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

.work-card:hover img {
  transform: scale(1.08);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.work-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.work-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.case-hero {
  padding: 8rem 8% 4rem;
  background: #000;
}

.case-tag {
  color: #f5c400;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.case-hero h1 {
  font-size: 3.5rem;
  margin: 1rem 0;
}

.case-hero p {
  max-width: 600px;
  opacity: 0.8;
}

.case-section {
  padding: 4rem 8%;
  background: #000;
}

.case-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.case-section p,
.case-section li {
  max-width: 800px;
  opacity: 0.85;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: #f5c400;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.proof-grid img {
  width: 100%;
  border-radius: 12px;
}

.case-cta {
  padding: 6rem 8%;
  text-align: center;
  background: #0a0a0a;
}

.btn-primary {
  background: #f5c400;
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}


/* =========================
   ABOUT HERO OVERLAY
========================= */

.about-hero {
  position: relative;
  height: 70vh;
  width: 100%;

  background: url("../images/DD-logo copy.png") center / contain no-repeat;
  background-color: #000;

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

/* Dark overlay */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Text content */
.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-hero-content h1 {
  color: var(--yellow);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* =========================
   ABOUT CONTENT
========================= */

.about-section {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 3rem;
}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

/* =========================
   TEAM GRID
========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: #111;
  padding: 2.5rem;
  border-radius: 16px;
}

.team-card h3 {
  margin-bottom: 0.5rem;
}

.team-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-card img {
  max-width: 150px;
  height: 150px;
}

/* =========================
   TEAM SECTION
========================= */

.team-section {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 60px 20px;
  text-align: center;
}

.team-card {
  max-width: 220px; /* smaller card */
}

.image-wrapper {
  width: 150px;       
  height: 150px;      
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* SECTION */
.works-3d {
  padding: 120px 0;
  text-align: center;
}

.section-title {
  color: #f5c400;
  font-size: 2.2rem;
  margin-bottom: 60px;
}


/* 3D SPACE */
.carousel {
  perspective: 1200px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ROTATING TRACK */
.carousel-track {
  width: 300px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCarousel 18s linear infinite;
}

/* PAUSE ON HOVER */
.carousel-track:hover {
  animation-play-state: paused;
}

/* ITEMS */
.carousel-item {
  position: absolute;
  width: 260px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;

  /* GLASS EFFECT */
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);

  transition: transform 0.5s;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* POSITION IN 3D RING */
.carousel-item:nth-child(1) {
  transform: rotateY(0deg) translateZ(420px);
}
.carousel-item:nth-child(2) {
  transform: rotateY(120deg) translateZ(420px);
}
.carousel-item:nth-child(3) {
  transform: rotateY(240deg) translateZ(420px);
}

/* ROTATION ANIMATION */
@keyframes rotateCarousel {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}


/* =========================================
   FINAL MOBILE FIX (DO NOT REMOVE DESKTOP)
========================================= */

@media screen and (max-width: 900px) {

  /* Force layout to use real screen width */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Remove desktop width locking */
  .navbar-inner,
  .service-row,
  .service-hero-inner,
  .impact-wrapper,
  .about-section,
  .service-section,
  .blog-post-content,
  .case-section {
    max-width: 100% !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  section {
    padding: 3rem 1.5rem !important;
  }

  /* HERO */
  .hero-content {
    margin-left: 0 !important;
    text-align: center;
    padding: 0 1.2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* WORKS GRID */
  .works-grid {
    grid-template-columns: 1fr !important;
  }

  .work-card {
    height: 260px;
  }

  /* STATS */
  .stats {
    grid-template-columns: 1fr !important;
  }

  /* PROOF GRID */
  .proof-grid {
    grid-template-columns: 1fr !important;
  }

  /* CONTACT */
  .contact-container {
    grid-template-columns: 1fr !important;
  }

  /* MAP */
  .map-wrapper iframe {
    height: 280px;
  }

  /* WHATSAPP BUTTON */
  .whatsapp-float img {
    width: 55px;
    height: 55px;
  }

  /* CAROUSEL */
  .carousel {
    height: 280px;
  }

  .carousel-track {
    width: 200px;
    height: 200px;
  }

  .carousel-item {
    width: 180px;
    height: 120px;
  }

}

/* =========================
   MOBILE (ABOUT US)
========================= */

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

  .about-hero-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .team-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .image-wrapper {
    width: 180px;
    height: 180px;
  }
}


