/* ══════════════════════════════════════════════════
   KKSOFT AEC — Dark Theme Stylesheet
   Background : Black
   Accent     : White / Grey
   Fonts      : Cormorant Garamond · Montserrat · Inter
   Sizing     : % only for layout
   ══════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap");

/* ── Tokens ── */
:root {
  --bg: #0d0d0d;
  --bg-alt: #141414;
  --bg-card: #1c1c1c;
  --border: #2a2a2a;
  --white: #ffffff;
  --off-white: #e8e8e8;
  --grey: #888888;
  --grey-light: #555555;
  --accent: #ffffff;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", sans-serif;
  --font-ui: "Inter", sans-serif;

  --ease: 0.35s ease;

  /* Responsive Spacing Tokens */
  --space-unit: 1rem;
  --container-width: min(90%, 1200px);
  --space-gold: #c9a84c;
  --section-pad: clamp(3rem, 6vw, 5rem);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem; /* 16px default */
  background: var(--bg);
  color: var(--off-white);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}
p {
  line-height: 1.8;
  color: var(--off-white);
}

.w1 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}

/* ══════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════ */
#main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(13, 13, 13, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--ease);
}
#main-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 5%;
  padding: 1.4% 0;
}

.logo {
  width: clamp(100px, 15%, 180px);
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

nav {
  width: 85%;
  display: flex;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0.5rem 1.2rem;
  transition: color var(--ease);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ── Mobile Menu Trigger ── */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

#menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: var(--ease);
}

#menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

#menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
  #menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-alt);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s var(--ease), visibility 0.5s var(--ease), opacity 0.5s var(--ease);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }

  nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  /* Dimming background overlay */
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    z-index: 999;
  }

  body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════
   HELPERS
   ══════════════════════════════════════════════════ */
.container {
  width: 90%;
  margin: 0 5%;
}

.section-pad {
  padding: var(--section-pad) 0;
}

.dark-section {
  background: var(--bg-alt);
}

.divider {
  width: 90%;
  margin: 0 5%;
  border: none;
  border-top: 1px solid var(--border);
}

.sec-header {
  text-align: left;
  margin-bottom: 3%;
}

.sec-label {
  font-family: var(--font-ui);
  font-size: 72%;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--grey);
  margin-bottom: 1%;
}

.sec-header h2,
.hover-gold {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.hover-gold {
  white-space: nowrap;
}

.sec-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
}

/* 🔥 Golden line (hidden initially) */
.sec-header h2::after,
.hover-gold::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ffd700, #d4af37); /* gold */
  transition: width 0.6s ease;
}

/* ✨ On hover → expand line */
.sec-header h2:hover::after,
.hover-gold:hover::after {
  width: 100%;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — Hero only on content
   ══════════════════════════════════════════════════ */
/* SECTION */
.hero-section {
  width: 100%;
  padding: clamp(2rem, 8vw, 4rem) 0;
  background: var(--bg);
  min-height: auto;
  display: flex;
  align-items: center;
}

/* LAYOUT */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: var(--container-width);
  margin: 0 auto;
}

@media (min-width: 769px) {
  .hero-inner {
    flex-direction: row;
    text-align: left;
  }
}

.hero-content {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 769px) {
  .hero-content {
    flex: 0 0 55%;
  }
}

.hero-image {
  flex: 1 1 100%;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: stretch;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 4/3;
}

/* TEXT */
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 5vw, 2.9rem);
  color: var(--white);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  line-height: 1.2;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--grey);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--grey);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 481px) {
  .hero-btns {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .hero-btns {
    justify-content: flex-start;
    width: auto;
  }
}

/* BUTTONS (your upgraded version) */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  white-space: nowrap;
  text-align: center;

  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn-career {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 78%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1% 2%;
  border: 1px solid var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 40px;

  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}

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

.btn:active {
  transform: scale(0.96);
}

.btn-solid {
  background: var(--white);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
}

.btn-solid:hover {
  background: var(--bg);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--bg);
}

/* ========================= */
/* 🔥 ANIMATIONS */
/* ========================= */

/* Base hidden state */
.fade-up,
.fade-right {
  opacity: 0;
}

/* Fade Up */
.fade-up {
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}

/* Fade Right (for image) */
.fade-right {
  transform: translateX(60px);
  animation: fadeRight 1s ease forwards;
}

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

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================= */
/* ⏱ DELAYS (sequence control) */
/* ========================= */

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
  justify-content: center;
}
.delay-4 {
  animation-delay: 1.2s;
}

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

/* ══════════════════════════════════════════════════
   LAYOUT 1 | 2  (Services & Projects)
   ══════════════════════════════════════════════════ */
.layout-12 {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
  width: 100%;
}

@media (min-width: 769px) {
  .layout-12 {
    flex-direction: row;
    gap: 0;
  }
}

.col-list {
  display: none;
}

@media (min-width: 769px) {
  .col-list {
    display: block;
    width: 25%;
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding-right: 2rem;
    padding-bottom: 0;
  }
}

.col-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 769px) {
  .col-cards {
    width: 75%;
    flex-direction: row;
    align-items: flex-start;
    padding-left: 2rem;
  }
}

/* Item List - Mobile horizontal scroll */
.item-list {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.item-list::-webkit-scrollbar {
  display: none;
}

@media (min-width: 769px) {
  .item-list {
    flex-direction: column;
    overflow-x: visible;
    gap: 0;
    padding-bottom: 0;
  }
}

.item-list li {
  flex: 0 0 auto;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  letter-spacing: 0.06em;
  color: var(--grey);
  border: 1px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

@media (min-width: 769px) {
  .item-list li {
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem 0;
    white-space: normal;
  }
}

.item-list li:hover,
.item-list li.active {
  color: var(--bg);
  background: var(--white);
}

@media (min-width: 769px) {
  .item-list li:hover,
  .item-list li.active {
    color: var(--white);
    background: transparent;
    padding-left: 1rem;
  }
}

.item-list li.active {
  font-weight: 600;
}

/* Cards */
.card-main {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 8px;
  transition: box-shadow 0.3s;
}
@media (min-width: 769px) {
  .card-main {
    flex: 1 1 60%;
  }
}

.card-main:hover {
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.04);
}

.card-side {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 8px;
  opacity: 1;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
@media (min-width: 769px) {
  .card-side {
    flex: 1 1 35%;
    opacity: 0.8;
    transform: scale(0.96);
  }
  .card-side:hover {
    opacity: 1;
    transform: scale(1);
  }
}

.card-main h3,
.card-side h3 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--white);
  margin: clamp(0.5rem, 2vw, 1rem) 0;
}
.card-main p,
.card-side p {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--grey);
}

/* ==================================================
   PROJECTS SECTION (REFACTORED SHOWCASE)
   ================================================== */
.proj-sidebar-col {
  width: 100%;
}
@media (min-width: 769px) {
  .proj-sidebar-col {
    width: 30% !important;
    border-right: 1px solid var(--border);
    padding-right: 2.5rem;
    display: block !important;
  }
}

.proj-preview-col {
  width: 100% !important;
}
@media (min-width: 769px) {
  .proj-preview-col {
    width: 70% !important;
    padding-left: 2.5rem;
    display: flex !important;
    flex-direction: column;
  }
}

/* Sidebar scrollable container */
.proj-sidebar {
  max-height: 250px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 0.5rem;
}
@media (min-width: 769px) {
  .proj-sidebar {
    max-height: 60vh;
  }
}

/* Sidebar Scrollbar styling */
.proj-sidebar::-webkit-scrollbar {
  width: 6px;
}
.proj-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.proj-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.proj-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--grey);
}

/* Category groups styling */
.proj-category-group {
  margin-bottom: 2rem;
}
.proj-category-group:last-child {
  margin-bottom: 0;
}

.proj-category-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.proj-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proj-item {
  padding: 0.6rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey);
  cursor: pointer;
  transition: all var(--ease);
  border-left: 2px solid transparent;
  margin-bottom: 0.3rem;
  border-radius: 0 4px 4px 0;
}
.proj-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border-left-color: rgba(255, 255, 255, 0.3);
  padding-left: 1.2rem;
}
.proj-item.active {
  color: #ffd700;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  border-left-color: #ffd700;
  padding-left: 1.2rem;
}

.proj-item-empty {
  padding: 0.6rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.25);
  cursor: default;
  margin-bottom: 0.3rem;
}

/* Right Column: Carousel Preview container */
.proj-preview-container {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Titles */
.proj-title-top {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--white);
  margin: 0;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.proj-title-bottom {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--grey);
  margin: 0;
  font-weight: 400;
}

/* Swiper Slider styling */
.proj-swiper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.proj-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.proj-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.6s ease;
}

.proj-swiper:hover .swiper-slide img {
  transform: scale(1.02);
}

/* Swiper navigation buttons customization */
.proj-swiper .swiper-button-next,
.proj-swiper .swiper-button-prev {
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.proj-swiper .swiper-button-next:hover,
.proj-swiper .swiper-button-prev:hover {
  background: var(--white);
  color: var(--bg);
}
.proj-swiper .swiper-button-next::after,
.proj-swiper .swiper-button-prev::after {
  font-size: 1.1rem;
  font-weight: bold;
}

.proj-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.proj-swiper .swiper-pagination-bullet-active {
  background: #ffd700;
}

/* ══════════════════════════════════════════════════
   TOGGLE BUTTONS
   ══════════════════════════════════════════════════ */
.toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5%;
}
.tog-btn {
  font-family: var(--font-ui);
  font-size: 78%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2% 5%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition:
    background var(--ease),
    color var(--ease),
    border-color var(--ease);
}
.tog-btn:first-child {
  border-right: none;
}
.tog-btn.active {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.tog-btn:hover:not(.active) {
  border-color: var(--grey);
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   TESTIMONIALS — 3-column grid
   ══════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
}
@media (min-width: 769px) {
  .testi-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
.testi-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--ease);
}
.testi-card:hover {
  border-color: var(--grey-light);
}

.testi-quote {
  font-family: var(--font-head);
  font-size: 108%;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 2%;
}
.author-name {
  font-family: var(--font-ui);
  color: gold;
  margin-bottom: 0.6%;
}
.author-role {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 102;
  color: var(--off-white);
  line-height: 1.65;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════
   PAGE BANNER (inner pages)
   ══════════════════════════════════════════════════ */
.page-banner {
  width: 100%;
  padding: 3% 0 2%;
  background: #080808;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4.2rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-banner p {
  color: var(--grey);
  font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════
   SERVICES GRID (services.html)
   ══════════════════════════════════════════════════ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.service-card {
  display: block;
  width: calc(33.33% - 1.5rem);
  margin-bottom: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    border-color var(--ease),
    transform var(--ease);
}
.service-card:hover {
  border-color: var(--grey-light);
  transform: translateY(-0.5%);
}
.service-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-image video,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-content {
  padding: 6%;
}
.service-content .icon {
  display: none;
}
.service-content h3 {
  font-family: var(--font-head);
  font-size: 150%;
  color: var(--white);
  margin-bottom: 4%;
}
.service-content p {
  font-size: 88%;
  color: var(--grey);
}

/* ══════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════ */
.detail-grid {
  display: flex;
  gap: 7%;
  align-items: center;
}
.detail-grid > * {
  width: 50%;
}

.about-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(20%);
}

/* 🔥 NEW WRAPPER FOR 80% CENTER */
.video-wrapper {
  width: 80%;
  margin: 4% auto 0 auto;
}

/* Director video */
.video-section-v2 {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.video-section-v2 video {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7);
}

.play-btn-v2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.play-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.play-text {
  font-family: var(--font-ui);
  font-size: 72%;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 58px;
}

/* Team */
.team-grid {
  display: flex;
  gap: 3%;
  flex-wrap: wrap;
  margin-top: 4%;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
}

/* CARD */
.team-card {
  width: 100%;
  max-width: 20rem;
  text-align: center;
  transition: transform 0.3s ease;
}

/* HOVER LIFT */
.team-card:hover {
  transform: translateY(-6px);
}

/* IMAGE (FULL CIRCLE) */
.team-image {
  width: clamp(200px, 40vw, 280px);
  height: clamp(200px, 40vw, 280px);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(133, 80, 80, 0.08);
  transition: all 0.4s ease;
}

/* HOVER EFFECT */
.team-card:hover .team-image {
  filter: grayscale(0%);
  transform: scale(1.08);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* NAME */
.team-card h3 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

/* ROLE */
.team-card p {
  font-size: 1rem;
  color: #9a9a9a;
}

/* Core Values */
.about-values-tile {
  background: var(--bg-card);
  padding: 4%;
  border-left: 2px solid var(--white);
}

.about-values-tile h3 {
  font-family: var(--font-head);
  font-size: 160%;
  color: var(--white);
  margin-bottom: 3%;
}

/* ✅ Responsive fix */
@media (max-width: 768px) {
  .video-wrapper {
    width: 95%;
  }

  .detail-grid {
    flex-direction: column;
  }

  .detail-grid > * {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   PROJECTS GRID (projects.html)
   ══════════════════════════════════════════════════ */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.project-card {
  width: calc(50% - 1rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}
.project-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.project-card:hover .project-image {
  transform: scale(1.04);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
}
.project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6%;
}
.project-details h3 {
  font-family: var(--font-head);
  font-size: 180%;
  color: var(--white);
  margin-bottom: 2%;
}
.project-details p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 86%;
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.site-footer {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--border);
  background: #080808;
}
.site-footer .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 5%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3rem);
  margin-bottom: clamp(2rem, 6vw, 4rem);
  text-align: center;
}
@media (min-width: 481px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}
@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 481px) {
  .footer-col {
    align-items: flex-start;
  }
}
.footer-logo {
  width: clamp(120px, 30%, 180px);
  margin-bottom: 1.5rem;
}
.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer-col p {
  color: var(--grey);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: var(--grey);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  transition: color var(--ease);
}
.footer-links a:hover {
  color: var(--white);
}
.social-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}
@media (min-width: 481px) {
  .social-row {
    justify-content: flex-start;
  }
}
.social-icon {
  color: var(--grey);
  transition: color var(--ease);
}
.social-icon:hover {
  color: var(--white);
}
.footer-bottom {
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: var(--grey);
  text-align: center;
}
@media (min-width: 769px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 100%;
  color: var(--grey);
}

/* ══════════════════════════════════════════════════
   CHATBOT
   ══════════════════════════════════════════════════ */
.kk-chatbot-wrapper {
  position: fixed;
  bottom: 3%;
  right: 2%;
  z-index: 9999;
}
.kk-chatbot-toggle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform var(--ease);
}
.kk-chatbot-toggle-btn:hover {
  transform: scale(1.1);
}
.kk-chatbot-window {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}
.kk-chatbot-hidden {
  display: none !important;
}
.kk-chatbot-header {
  background: #111;
  padding: 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.kk-chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kk-chatbot-avatar {
  width: 34px;
  height: 34px;
  background: var(--grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 78%;
  font-weight: 600;
  color: var(--white);
}
.kk-chatbot-name {
  font-family: var(--font-ui);
  font-size: 86%;
  color: var(--white);
}
.kk-chatbot-close-btn {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 140%;
  cursor: pointer;
}
.kk-chatbot-messages {
  padding: 4%;
  height: 230px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kk-chatbot-msg p {
  font-size: 86%;
  line-height: 1.5;
}
.kk-chatbot-bot {
  background: #222;
  padding: 3%;
  border-radius: 0 8px 8px 8px;
  align-self: flex-start;
  max-width: 86%;
}
.kk-chatbot-bot p {
  color: var(--off-white);
}
.kk-chatbot-user {
  background: var(--white);
  padding: 3%;
  border-radius: 8px 0 8px 8px;
  align-self: flex-end;
  max-width: 86%;
}
.kk-chatbot-user p {
  color: var(--bg);
}
.kk-chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.kk-chatbot-quick-btn {
  font-size: 72%;
  padding: 2% 4%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--grey);
  cursor: pointer;
  font-family: var(--font-ui);
  transition:
    background var(--ease),
    color var(--ease);
}
.kk-chatbot-quick-btn:hover {
  background: var(--white);
  color: var(--bg);
}
.kk-chatbot-typing {
  display: flex;
  gap: 4px;
  padding: 3%;
}
.kk-chatbot-typing span {
  width: 6px;
  height: 6px;
  background: var(--grey);
  border-radius: 50%;
  animation: bounce 1s infinite alternate;
}
.kk-chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.kk-chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}
.kk-chatbot-footer {
  border-top: 1px solid var(--border);
  padding: 3%;
}
.kk-chatbot-input-wrapper {
  display: flex;
  gap: 4px;
}
.kk-chatbot-input-wrapper input {
  flex: 1;
  border: 1px solid var(--border);
  padding: 3%;
  background: var(--bg-alt);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 84%;
  outline: none;
}
.kk-chatbot-input-wrapper input:focus {
  border-color: var(--grey);
}
.kk-chatbot-send-btn {
  background: var(--white);
  color: var(--bg);
  border: none;
  padding: 3%;
  cursor: pointer;
}
.kk-chatbot-res-btn {
  margin-top: 6px;
  width: 100%;
  text-align: center;
  font-size: 74%;
  font-family: var(--font-ui);
  color: var(--grey);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--ease);
}
.kk-chatbot-res-btn:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
}
@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-bottom: 4%;
  padding: 3%;
  background: var(--bg-alt);
  color: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 92%;
  outline: none;
  transition: border-color var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--grey);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  width: 100%;
  padding: 3%;
  background: var(--white);
  color: var(--bg);
  border: none;
  font-family: var(--font-ui);
  font-size: 84%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--ease);
}
.contact-form button:hover {
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════
   SECTION DIVIDER (legacy class support)
   ══════════════════════════════════════════════════ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ══════════════════════════════════════════════════
   SECTION helpers (legacy class support)
   ══════════════════════════════════════════════════ */
.section-padding {
  padding: var(--section-pad) 0;
}
.section-shaded {
  background: var(--bg-alt);
}

/* ── Slider fade transition ── */
.card-media {
  width: 100%;
  height: clamp(180px, 25vw, 220px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
  transition: opacity 0.45s ease;
}
.card-media.fading {
  opacity: 0;
}
.card-media video,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-side .card-media {
  height: 140px;
}

/* proj-img fixed heights with transition */
.proj-img {
  height: clamp(180px, 25vw, 260px);
  background-size: 100% 110%;
  background-position: center;
  transition:
    opacity 0.45s ease,
    background-image 0s ease 0.45s;
}
.proj-img.fading {
  opacity: 0;
}
.card-side .proj-img {
  height: clamp(100px, 15vw, 140px);
}

/* Card text fade */
.card-text-fade {
  transition: opacity 0.35s ease;
}
.card-text-fade.fading {
  opacity: 0;
}

/* Card as anchor link */
a.card-main,
a.card-side {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
}
a.card-main:hover,
a.card-side:hover {
  border-color: var(--grey);
}

/* ══════════════════════════════════════════════════
   PROJECTS PAGE GRID
   ══════════════════════════════════════════════════ */
.proj-page-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.proj-page-card {
  display: block;
  position: relative;
  width: 48%;
  margin-bottom: 3%;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease);
}
.proj-page-card:hover {
  border-color: var(--grey);
}
.proj-page-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.proj-page-card:hover .proj-page-img {
  transform: scale(1.04);
}
.proj-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
  pointer-events: none;
}
.proj-page-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6%;
}
.proj-page-info h3 {
  font-family: var(--font-head);
  font-size: 200%;
  color: var(--white);
  margin-bottom: 2%;
}
.proj-page-info p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 88%;
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════ */
.contact-h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--white);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
  text-align: center;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.info-item i {
  color: var(--grey);
  font-size: 120%;
  margin-top: 3px;
}
.info-item h4 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.info-item p {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}
.map-wrapper {
  width: 100%;
  height: clamp(250px, 40vw, 400px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: clamp(1.5rem, 4vw, 2rem) 0;
}
.map-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card);
}

/* ══════════════════════════════════════════════════
   SECTION HEADER (legacy)
   ══════════════════════════════════════════════════ */
.section-header-left {
  text-align: left;
  margin-bottom: 5%;
}

.section-header-center {
  text-align: center;
}

.section-header h2,
.section-header-center h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--white);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════
   CAREER GRID
   ══════════════════════════════════════════════════ */

/* GRID: max 3 per row */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* CARD */
.career-card {
  background: var(--bg-card, #111);
  border: 1px solid var(--border, #222);
  border-radius: 16px;
  padding: 1.8rem;
  min-height: 260px; /* 🔥 fixed feel */

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Hover effect */
.career-card:hover {
  transform: translateY(-6px);
  border-color: var(--grey-light, #444);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Job Tag */
.job-tag {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: black;
  background: linear-gradient(90deg, #c9a84c, #e0c36e);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Title */
.career-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Meta info */
.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Apply Button */
.btn-apply {
  display: inline-block;
  text-align: center;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  background: black;
  border: 1px solid var(--white);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background: var(--white);
  color: var(--bg);
}

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

/* ══════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════ */
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mt-6p {
  margin-top: 6%;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-1-5 {
  margin-bottom: 1.5rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.p-3p {
  padding: 3%;
}
.w-full {
  width: 100%;
}
.flex-gap-5 {
  display: flex;
  gap: 5%;
}
.section-fixed-height {
  height: 700px;
}

.italic {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 108%;
}

@media (max-width: 1024px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-fixed-height {
    height: auto;
    min-height: 500px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .flex-gap-5 {
    flex-direction: column;
    gap: 2rem;
  }
  .career-grid {
    grid-template-columns: 1fr;
  }
}

.application-form-container {
  width: 70%;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   MOBILE SCREEN ADJUSTMENTS (max-width: 768px)
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero image positioned above hero content */
  .hero-inner {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .hero-content h1 {
    margin-bottom: 1rem;
  }

  /* Show only one service and project card */
  .card-side {
    display: none !important;
  }

  /* Premium Footer adjustment for mobile screens */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2.5rem;
  }
  .footer-col {
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    width: 100%;
  }
  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .social-row {
    justify-content: flex-start;
  }
  .footer-bottom {
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ══════════════════════════════════════════════════
   PREMIUM HOVER EFFECTS & LIGHTBOX SYSTEM
   ══════════════════════════════════════════════════ */

/* Video Cards Hover Animations */
.card-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.card-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 2;
}

.card-main:hover .card-media::after,
.card-side:hover .card-media::after {
  opacity: 1;
}

.card-media video {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.card-main:hover .card-media video,
.card-side:hover .card-media video {
  transform: scale(1.06);
}

/* Projects Swiper Hover polish */
.proj-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.proj-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 2;
}

.proj-swiper .swiper-slide:hover::after {
  opacity: 1;
}

.proj-swiper .swiper-slide img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.proj-swiper .swiper-slide:hover img {
  transform: scale(1.06);
}

/* Lightbox Modal System */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10005;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

/* Video Lightbox Content */
.lightbox-content.video-content {
  width: 80%;
  aspect-ratio: 16/9;
  max-width: 1100px;
}

.lightbox-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  background: #000;
  outline: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Image Lightbox Content */
.lightbox-content.image-content {
  max-width: 80%;
  max-height: 80%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10020;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.lightbox-close:hover {
  color: var(--gold);
  transform: scale(1.1);
}

/* Lightbox Navigation Chevrons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 2.2rem;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 45px;
}

.lightbox-next {
  right: 45px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-close {
    top: 25px;
    right: 25px;
    font-size: 2.8rem;
  }
  .lightbox-content.video-content {
    width: 95%;
  }
  .lightbox-content.image-content {
    max-width: 95%;
  }
}
