@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ========================================
   BLACK WIDOW THEME - FULLY RESPONSIVE
   Optimized for all devices: 320px - 2560px
   ======================================== */

:root {
  --red: #c0392b;
  --red-dark: #8e1c12;
  --red-glow: rgba(192,57,43,0.18);
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #181818;
  --black-4: #222222;
  --white: #f5f0eb;
  --white-muted: rgba(245,240,235,0.65);
  --white-faint: rgba(245,240,235,0.12);
  --glass: rgba(20,10,10,0.72);
  --border: rgba(192,57,43,0.25);
  --border-subtle: rgba(245,240,235,0.08);
  --green: #4bb78e;
  --green-glow: rgba(75,183,142,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── TEXTURE OVERLAY (spider web + grain) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(140,20,10,0.22) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── SPIDER WEB SVG BACKGROUND ── */
.web-svg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110vmax;
  height: 110vmax;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   RESPONSIVE NAVBAR
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 1600px) {
  .navbar { padding: 1rem 8%; }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem 4%; }
}
@media (max-width: 480px) {
  .navbar { padding: 0.8rem 4%; }
}

.navbar .logo-btn {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  background: transparent;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-links a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--red);
}

.btn-nav {
  display: inline-block;
  padding: 0.5em 1.2em;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--red);
  color: var(--white);
}

.hamburger {
  display: none;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  cursor: pointer;
  color: var(--white-muted);
}

/* Sidebar (mobile) */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(260px, 70%);
  height: 100vh;
  background: var(--black-2);
  border-left: 1px solid var(--border);
  z-index: 2000;
  padding: 8rem 2rem 2rem;
  transition: right 0.3s ease;
  backdrop-filter: blur(20px);
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sidebar a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar a:hover, .sidebar a.active {
  color: var(--red);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .btn-nav { display: none; }
}

/* ========================================
   RESPONSIVE BUTTONS
   ======================================== */
.btn, .btn-nav {
  font-family: 'Raleway', sans-serif;
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: transparent;
  border-radius: 4rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--red);
  letter-spacing: 0.2rem;
  font-weight: 600;
  border: 2px solid var(--red);
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: scale3d(1.03, 1.03, 1.03);
  background-color: var(--red);
  color: var(--black);
  box-shadow: 0 0 25px var(--red);
}

.coming-soon-card-btn, .complete-card-btn {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: transparent;
  border-radius: 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.coming-soon-card-btn {
  color: var(--red);
  border: 2px solid var(--red);
}
.coming-soon-card-btn:hover {
  background-color: var(--red);
  color: var(--black);
  box-shadow: 0 0 15px var(--red);
}

.complete-card-btn {
  color: var(--green) !important;
  border: 2px solid var(--green) !important;
}
.complete-card-btn:hover {
  background-color: var(--green) !important;
  color: var(--black) !important;
  box-shadow: 0 0 15px var(--green) !important;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(3.5rem, 8vw, 4rem);
  height: clamp(3.5rem, 8vw, 4rem);
  background-color: transparent;
  border: 0.2rem solid var(--red);
  font-size: clamp(1.6rem, 4vw, 2rem);
  border-radius: 50%;
  margin: 2rem 1rem 2rem 0;
  transition: 0.3s ease;
  color: var(--red);
}

.social-icons a:hover {
  color: var(--black);
  transform: scale(1.2) translateY(-3px);
  background-color: var(--red);
  box-shadow: 0 0 25px var(--red);
}

/* ========================================
   RESPONSIVE HOME PAGE
   ======================================== */
.home {
  min-height: 100vh;
  padding: 10rem 5% 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .home { flex-direction: column; text-align: center; gap: 3rem; padding-top: 8rem; }
}
@media (max-width: 768px) { .home { padding-top: 7rem; gap: 2rem; } }
@media (max-width: 480px) { .home { padding-top: 6rem; } }

.home-img {
  border-radius: 50%;
  flex-shrink: 0;
}

.home-img img {
  width: clamp(200px, 35vw, 320px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--red-glow);
  border: 2px solid var(--border);
  transition: 0.2s linear;
}

.home-img img:hover { transform: scale(1.02); }

.home-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Cinzel', serif;
}

.home-content h1 span, .typing-text span { color: var(--red); }

.home-content p {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--white-muted);
  line-height: 1.6;
  max-width: 600px;
}
@media (max-width: 992px) { .home-content p { margin: 0 auto; } }

/* Typing Animation - Responsive */
.typing-wrapper {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.typing-text {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 600;
  min-width: 200px;
}
#dynamic-text {
  display: inline-block;
  white-space: nowrap;
  min-width: 140px;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--red);
  margin-left: 0;
  animation: cursorBlink 0.7s infinite;
}
@media (max-width: 480px) {
  .typing-text { font-size: 1.6rem; }
  #dynamic-text { min-width: 120px; }
}

@keyframes cursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ========================================
   RESPONSIVE PROJECTS SLIDER
   ======================================== */
#projects-slider {
  padding: 10rem 2rem 6rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { #projects-slider { padding: 8rem 1rem 5rem; } }
@media (max-width: 480px) { #projects-slider { padding: 7rem 0.5rem 4rem; } }

.section-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--red);
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
  text-align: center;
}

.disclaimer {
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.disclaimer h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--red);
  font-family: 'Cinzel', serif;
}
.disclaimer h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white-muted);
  line-height: 1.4;
}

.projects-swiper {
  height: auto;
  padding: 2rem 0 5rem;
  width: 100%;
}
.swiper-wrapper { padding: 1rem 0; }
.project-slide {
  width: min(300px, 85vw);
  height: auto;
  min-height: 380px;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .project-slide { width: 320px; } }
@media (min-width: 1024px) { .project-slide { width: 350px; } }

.project-slide-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.project-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-slide-content {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.project-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--red);
  font-weight: 600;
  font-family: 'Cinzel', serif;
  line-height: 1.3;
}

.projects-slider-control {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.slider-arrow {
  background: var(--white-faint);
  color: var(--red);
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover {
  background: var(--red);
  color: var(--black);
  box-shadow: 0 0 15px var(--red);
}
.swiper-pagination { position: relative !important; margin-top: 2rem !important; }
.swiper-pagination-bullet {
  background: transparent !important;
  border: 2px solid var(--red) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--red) !important;
}

/* ========================================
   RESPONSIVE CONTACT PAGE
   ======================================== */
.contact-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .contact-section { padding: 7rem 1.5rem 4rem; } }
@media (max-width: 480px) { .contact-section { padding: 6rem 1rem 3rem; } }

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
}
.contact-heading h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  font-family: 'Cinzel', serif;
  text-align: center;
}
.contact-heading h1 span { color: var(--red); }

.contact-calendly {
  width: 100%;
  max-width: min(1000px, 95vw);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0 30px var(--red-glow);
}
.calendly-inline-widget {
  width: 100% !important;
  height: clamp(500px, 60vh, 700px) !important;
  min-height: 500px;
}

/* ========================================
   RESPONSIVE PROJECT DETAIL PAGES
   ======================================== */
.project-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 6rem;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .project-detail { padding: 7rem 1.5rem 4rem; } }
@media (max-width: 480px) { .project-detail { padding: 6rem 1rem 3rem; } }

.project-box {
  border: 2px solid var(--border);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  max-width: min(1000px, 95vw);
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.project-box h1 {
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
  text-align: center;
}
.project-box p {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--white-muted);
}
.project-box img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin: 1rem 0;
}
.project-box .step-heading {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--red);
  margin-top: 2rem;
}
.project-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 600px) { .project-buttons { flex-direction: column; } .project-buttons .btn { width: 100%; text-align: center; } }

/* ========================================
   RESPONSIVE CERTIFICATES PAGE
   ======================================== */
.certificates-heading {
  text-align: center;
  padding: 10rem 2rem 1rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .certificates-heading { padding-top: 8rem; } }
.certificates-heading h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--red);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.15rem;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem auto 2rem;
  padding: 0 1rem;
}
.control-btn {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--red);
  border-radius: 4rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--red);
  cursor: pointer;
}
.control-btn:hover {
  background: var(--red);
  color: var(--black);
}

.container {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.card-stream {
  position: absolute;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.card-wrapper {
  width: clamp(220px, 30vw, 350px);
  height: auto;
  aspect-ratio: 1.6 / 1;
  flex-shrink: 0;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   RESPONSIVE GUESTS PAGE
   ======================================== */
.main-content {
  padding: 10rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .main-content { padding: 8rem 1rem 3rem; } }

.flipping-interface {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) { .flipping-interface { flex-direction: column; } }

.case-stack {
  position: relative;
  width: min(320px, 85vw);
  height: min(420px, 60vh);
}
.case-file {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
}
.case-content {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  overflow-y: auto;
}
.case-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: #000;
}
.bottom-controls {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.all-buttons-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 2rem;
  border: 2px solid var(--red);
  border-radius: 4rem;
  color: var(--red);
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}
.nav-buttons { display: flex; gap: 1rem; }
.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-btn svg { width: 24px; height: 24px; stroke: currentColor; }

/* ========================================
   RESPONSIVE AI AUDIO CARD
   ======================================== */
.ai-audio-card {
  width: 100%;
  max-width: min(500px, 90vw);
  height: auto;
  min-height: 55px;
  background: var(--black-3);
  border-radius: 3rem;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  gap: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--border-subtle);
}
.ai-audio-card .play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
}
.ai-audio-card .audio-info { flex: 1; }
.ai-audio-card .progress-container {
  background: var(--black-4);
  height: 4px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.ai-audio-card .progress-bar {
  background: var(--red);
  width: 0%;
  height: 100%;
  border-radius: 4px;
  position: relative;
}
.ai-audio-card .time {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--white-muted);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .ai-audio-card .play-btn { width: 35px; height: 35px; }
  .ai-audio-card { padding: 0.4rem 1rem; }
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  background: var(--glass);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(14px);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--white-muted);
}
.footer span { color: var(--red); }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-4px); }
  40%,80% { transform: translateX(4px); }
}
.btn.shake { animation: shake 0.4s ease; }

/* Touch-friendly tap targets */
button, a, .btn, .control-btn, .nav-btn, .play-btn {
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
@media (hover: hover) {
  button:hover, a:hover, .btn:hover { transition: all 0.2s ease; }
}




/* ========================================
   BLACK WIDOW THEME - COMPLETE
   Includes fixed navbar
   ======================================== */

:root {
  --red: #c0392b;
  --red-dark: #8e1c12;
  --red-glow: rgba(192,57,43,0.18);
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #181818;
  --black-4: #222222;
  --white: #f5f0eb;
  --white-muted: rgba(245,240,235,0.65);
  --white-faint: rgba(245,240,235,0.12);
  --glass: rgba(20,10,10,0.72);
  --border: rgba(192,57,43,0.25);
  --border-subtle: rgba(245,240,235,0.08);
  --green: #4bb78e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(140,20,10,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Spider web SVG */
.web-svg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110vmax;
  height: 110vmax;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   FIXED NAVBAR
   ======================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .logo-btn {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--red);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--white-muted);
  background: transparent;
  border: none;
  padding: 0.5rem;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 70%;
  height: 100vh;
  background: var(--black-2);
  border-left: 1px solid var(--border);
  z-index: 2000;
  padding: 8rem 2rem 2rem;
  transition: right 0.3s ease-in-out;
  backdrop-filter: blur(20px);
}

.sidebar.active {
  right: 0 !important;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sidebar ul li a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
  padding: 0.8rem;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  color: var(--red);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  
  .hamburger {
    display: block !important;
  }
  
  .navbar .logo-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

body.sidebar-open {
  overflow: hidden;
}







/* ========================================
   ADDITIONAL NAVBAR STYLES FROM INDEX.HTML
   (Add this at the end of your existing CSS file)
   ======================================== */

/* Override navbar layout to center the nav links like index.html */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center; /* Changed from space-between to center */
  padding: 1rem 5%;
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  gap: 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Hide logo-btn if you don't need it on all pages, or keep it */
.navbar .logo-btn {
  display: none; /* Hide if you don't want the logo button */
}

/* Adjust nav-links styling to match index.html exactly */
.nav-links li a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 1rem; /* Larger than 0.9rem */
  font-weight: 600; /* Bolder */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

/* Ensure the hamburger is on the right side */
.hamburger {
  display: none;
  font-size: 1.9rem;
  cursor: pointer;
  color: var(--white-muted);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
}

/* Sidebar styling - exact match to index.html */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(280px, 70%);
  height: 100vh;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-left: 1px solid rgba(192, 57, 43, 0.5);
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  padding: 2rem;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.sidebar ul li {
  text-align: center;
  width: 100%;
}

.sidebar ul li a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  color: var(--red);
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Mobile responsive for navbar */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: block !important;
  }
  .navbar {
    padding: 1rem 5%;
    justify-content: center;
  }
}

/* Page spacing fix - prevents content from hiding under fixed navbar */
.page-content {
  padding-top: 80px; /* Will be dynamically adjusted by JS */
}

/* First element after navbar spacing */
.urgency-strip, 
.home, 
.hero,
.contact-section,
.main-content,
.certificates-heading,
#projects-slider,
.project-detail,
.about-section {
  position: relative;
  z-index: 1;
}
