/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Roboto:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #f4f4f9;
  background-color: #121212;
  line-height: 1.8; /* Increased line height for readability */
  scroll-behavior: smooth;
}

/* Splash Screen Styles */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  color: #f4f4f9;
  animation: fadeInUp 1s ease-out;
}

.splash-content .company-name {
  font-size: 4em;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6c63ff;
}

.splash-content .company-title {
  font-size: 1.2em;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
  color: #bbb;
}

.logo {
  width: 80px;
  height: auto;
}

/* Navbar Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(10px);
  color: #f4f4f9;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar {
  padding: 0.5rem 1rem;
  height: 90px;
}

/* Ensure brand/logo aligns centered with navbar contents */
.navbar .container-fluid {
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Increase navbar logo size while preserving aspect ratio */
.navbar-brand .logo {
  height: 70px;
  width: auto;
}

/* Remove baseline gap so image centers correctly */
.navbar-brand img,
.navbar-brand .logo {
  display: block;
}

/* Light theme: make brand logo appear black without swapping asset */
.theme-light .navbar-brand .logo {
  filter: brightness(0) saturate(100%);
}

.navbar-nav .nav-link {
  color: #f4f4f9 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(108, 99, 255, 0.2);
  color: #6c63ff !important;
}

/* Light theme: navbar link colors */
.theme-light .navbar-nav .nav-link {
  color: #000000 !important;
}
.theme-light .navbar-nav .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--primary) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
}

.navbar-collapse {
  background: rgba(240, 240, 240, 0);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  margin-top: 0.5rem;
  padding: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand img {
  height: auto;
  width: 70px;
}

/* Nav links styling */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #f4f4f9fa;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #6c63ff;
}

/* Hamburger Menu for Mobile */
.hamburger {
  display: none; /* Hidden by default */
  font-size: 1.5em;
  cursor: pointer;
  color: #f4f4f9;
}

/* Hero Section */
.hero {
  margin-top: 100px;
  text-align: center;
  padding: 60px 20px;
  animation: heroFadeIn 1s ease-in-out;
  color: #ddd;
}

.hero h2 {
  font-size: 2.5em;
  color: #6c63ff;
}

.hero p {
  max-width: 700px;
  margin: 10px auto;
  font-weight: 300;
  color: #c1c1c1;
}

/* Call to Action Button */
.cta-button {
  display: inline-block;
  background-color: #6c63ff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #574bd4;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Main Content */
.main-content {
  opacity: 0;
  transition: opacity 1s ease-in;
  padding: 0 15px;
}

.main-content.show {
  opacity: 1;
}

/* Responsive spacing utilities */
@media (max-width: 575.98px) {
  .main-content {
    padding: 0 10px;
  }
  
  .section {
    padding: 30px 15px;
  }
  
  .hero {
    padding: 30px 15px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .main-content {
    padding: 0 20px;
  }
  
  .section {
    padding: 40px 20px;
  }
}

@media (min-width: 768px) {
  .main-content {
    padding: 0 30px;
  }
  
  .section {
    padding: 60px 30px;
  }
}

@media (min-width: 1200px) {
  .main-content {
    padding: 0 60px;
  }
  
  .section {
    padding: 80px 40px;
  }
}

/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(18, 18, 18, 0);
  color: #ccc;
}

.section h2 {
  font-size: 2.5em;
  color: #6c63ff;
  margin-bottom: 20px;
}

.section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 300;
  color: #aaa;
}

/* removed tech stack marquee */
/* Seamless Carousel */
.carousel {
  margin: 40px auto;
  width: 90%;
  display: flex;
  overflow: hidden;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: tech-spin 40s linear infinite;
  padding-right: 1rem;
  flex-shrink: 0;
  min-width: 100%;
}
.tech-card {
  flex: 0 0 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: .5rem;
  backdrop-filter: blur(6px);
}
.theme-light .tech-card {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
.tech-card img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: brightness(0.95);
}
@keyframes tech-spin { from { transform: translateX(0); } to { transform: translateX(-100%); } }




/* Service Cards */
.service-cards-horizontal {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-cards-horizontal::-webkit-scrollbar {
  display: none;
}

.service-cards-horizontal .card {
  flex: 0 0 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  background-color: #f3d58f39;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px); /* Apply the blur effect */
}

/* Responsive card improvements */
.card {
  background: rgba(34, 34, 34, 0.9);
  padding: 25px;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card h3 {
  color: #6c63ff;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

/* Remove old card styles - now handled by Bootstrap and new responsive styles */

/* Gallery Items */
.gallery-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Modal styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-modal:hover {
  color: #bbb;
}

/* Testimonials */
.testimonial {
  background: #222;
  padding: 25px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ddd;
}

.client-name {
  font-weight: 500;
  color: #6c63ff;
  margin-top: 15px;
}

/* Contact Form */
form {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.form-control {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #f4f4f9;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Ensure field text and caret are white in dark mode while typing and after */
.form-control,
.form-control:focus {
  color: #ffffff;
  caret-color: #ffffff;
}

.form-control:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  background-color: #6c63ff;
  border-color: #6c63ff;
  color: #ffffff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  background-color: #574bd4;
  border-color: #574bd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
  color: #ffffff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.45), 0 0 10px rgba(255, 255, 255, 0.35);
}


/* Submit button success/error states */
.btn-tick {
  background-color: #22c55e !important; /* green */
  border-color: #22c55e !important;
  color: #ffffff !important;
}
.btn-error {
  background-color: #ef4444 !important; /* red */
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

/* overlay tick container relative to button */
.btn-submit-wrapper {
  position: relative;
  display: inline-block;
}

.btn-submit-wrapper .btn-primary {
  position: relative;
  z-index: 1;
}

.tick-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 2;
}

.tick-overlay.show {
  opacity: 1;
  transform: scale(1);
}

.tick-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.tick-mark {
  width: 14px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

/* small pop animation for tick */
@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0.85; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}

.tick-pop {
  animation: popIn 350ms ease-out;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Typography */
.hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Responsive Design */
/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero {
    margin-top: 80px;
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 40px 15px;
  }

  .service-cards-horizontal {
    flex-direction: column;
    gap: 15px;
    overflow-x: visible;
  }

  .service-cards-horizontal .card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gallery {
    flex-direction: column;
    gap: 15px;
  }

  .team-cards {
    flex-direction: column;
    gap: 15px;
  }

  .testimonials {
    flex-direction: column;
    gap: 15px;
  }

  /* removed tech stack styles */

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .card {
    padding: 20px;
  }

  .testimonial {
    padding: 20px;
  }

  form {
    max-width: 100%;
  }

  input, textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  button {
    width: 100%;
    max-width: 100%;
  }
  .navbar-brand .logo {
    height: 90% !important;
    width: 90% !important;
    max-width: 72px !important; /* 90% of 80px */
  }
  .hamburger {
    transform: scale(0.7);
    transform-origin: top right;
    margin-top: 6px;
  }
  .toggle {
    transform: scale(0.7);
    transform-origin: top right;
    margin-top: 5px;
  }
  .navbar {
    height: 59px !important; /* 90% of 90px */
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    margin-top: 90px;
    padding: 50px 20px;
  }

  .service-cards-horizontal {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-cards-horizontal .card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .gallery {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gallery .col-12 {
    flex: 0 0 100%;
  }

  .team-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    margin-top: 100px;
    padding: 60px 30px;
  }

  .service-cards-horizontal {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-cards-horizontal .card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }

  .gallery {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .team-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .slider .list .item img {
    width: 70%;
    height: 70%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero {
    margin-top: 100px;
    padding: 80px 40px;
  }

  .service-cards-horizontal {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .service-cards-horizontal .card {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }

  .gallery {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .team-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .slider .list .item img {
    width: 80%;
    height: 80%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero {
    padding: 100px 60px;
  }

  .section {
    padding: 80px 40px;
  }

  .service-cards-horizontal .card {
    flex: 0 0 350px;
  }
}


 

/* removed tech stack title */

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6c63ff;
}

.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1; /* Moves video behind content */
}

/* Theme toggle (from Uiverse.io by vikramsinghnegi) */
.toggle {
  position: relative;
  box-sizing: border-box;
}
.toggle input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.toggle label {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.toggle label:before {
  content: "";
  width: 70px;
  height: 40px;
  background: #fff;
  border: 2px solid #ddd;
  box-shadow: inset -30px 0 0 #666;
  position: relative;
  display: inline-block;
  border-radius: 20px;
  box-sizing: border-box;
  transition: 0.25s ease-in;
}

.toggle label:after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 50%;
  background: #fffdfd;
  box-shadow: inset -8px -5px #333;
  transition: 0.2s ease-in-out;
}

.toggle input[type="checkbox"]:checked + label:before {
  box-shadow: inset 30px 0 0 #ffeb00;
}
.toggle input[type="checkbox"]:checked + label:after {
  box-shadow: inset 0 0 0 2px #fff;
  background: #ffbc00;
  left: 39px;
  top: 8px;
  border: 2px dashed #fff;
}

/* Theme variables */
:root {
  --bg: #121212;
  --text: #f4f4f9;
  --muted: #c1c1c1;
  --card-bg: rgba(34, 34, 34, 0.9);
  --primary: #6c63ff;
  --border: rgba(255, 255, 255, 0.1);
}

.theme-light {
  --bg: #fafafa;
  --text: #000000;
  --muted: #000000;
  --card-bg: #ffffffd9;
  --primary: #4a56e2;
  --border: rgba(0, 0, 0, 0.08);
}

/* Apply variables */
body {
  background-color: var(--bg);
  color: var(--text);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
header,
.card,
.testimonial,
.navbar-collapse,
.form-control,
.btn-primary {
  border-color: var(--border);
}
.card {
  background: var(--card-bg);
}
.section h2,
.hero h2,
.client-name {
  color: var(--primary);
}

/* Ensure primary buttons have white text */
.btn.btn-primary {
  color: #ffffff !important;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
  color: #ffffff !important;
}

/* Force gray-like text to black in light theme for visibility */
.theme-light .section p,
.theme-light .card p,
.theme-light .hero p,
.theme-light .testimonial {
  color: #000000;
}

/* removed tech stack title color */

.theme-light .form-control {
  color: #000000;
  background: rgba(0, 0, 0, 0.04);
}

.theme-light .form-control,
.theme-light .form-control:focus {
  color: #000000;
  caret-color: #000000;
}

.theme-light .form-control::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

/* Handle browser autofill text colors */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 9999s ease-out 0s;
}

.theme-light input:-webkit-autofill,
.theme-light textarea:-webkit-autofill,
.theme-light select:-webkit-autofill {
  -webkit-text-fill-color: #000000 !important;
}

/* Ensure Video Stretches Properly */
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers entire screen without stretching */
  min-width: 100%;
  min-height: 100%;
  transition: opacity 300ms ease-in-out;
}

/* Responsive video adjustments */
@media (max-width: 768px) {
  .video-wrapper {
    /* Ensure video covers mobile screens properly */
    width: 100vw;
    height: 100vh;
  }
  
  .video-wrapper video {
    /* Better mobile video handling */
    object-position: center center;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .video-wrapper video {
    /* Better handling for landscape mobile */
    object-fit: cover;
    object-position: center top;
  }
}

/* removed slider */
/* Custom Mobile Nav (under lg) */
@media (max-width: 991.98px) {
  .custom-mobile-nav {
    position: relative;
    z-index: 1100;
  }
  .custom-mobile-nav .nav-container {
    position: relative;
    height: 48px;
  }
  .custom-mobile-nav .mobile-theme-toggle {
    position: absolute;
    top: 6px;
    right: 52px; /* leaves room for hamburger */
    z-index: 2;
  }
  .custom-mobile-nav .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 8px;
    right: 8px;
    z-index: 3;
    opacity: 0;
    cursor: pointer;
  }
  .custom-mobile-nav .hamburger-lines {
    height: 24px;
    width: 32px;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .custom-mobile-nav .hamburger-lines .line {
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: #f4f4f9;
  }
  /* Light theme: hamburger lines visible on light bg */
  .theme-light .custom-mobile-nav .hamburger-lines .line {
    background: #000000;
  }
  .custom-mobile-nav .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
  }
  .custom-mobile-nav .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  .custom-mobile-nav .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
  }
  .custom-mobile-nav .menu-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding-top: 120px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    transform: translateX(-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.4s ease-in-out;
  }
  .custom-mobile-nav .menu-items li {
    list-style: none;
  }
  .custom-mobile-nav .menu-items a {
    color: #f4f4f9;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
  }
  .custom-mobile-nav input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }
  .custom-mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  .custom-mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  .custom-mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
}

/* Loader styles (From Uiverse.io by aryamitra06) */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,18,18,1);
  z-index: 10000;
}
.bar {
  display: inline-block;
  width: 3px;
  height: 20px;
  background-color: rgba(255, 255, 255, .5);
  border-radius: 10px;
  animation: scale-up4 1s linear infinite;
}
.bar:nth-child(2) {
  height: 35px;
  margin: 0 5px;
  animation-delay: .25s;
}
.bar:nth-child(3) {
  animation-delay: .5s;
}
@keyframes scale-up4 {
  20% {
    background-color: #ffff;
    transform: scaleY(1.5);
  }
  40% {
    transform: scaleY(1);
  }
}

/* Zoom overlay for gallery card */
.zoom-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.zoom-overlay.active {
  display: flex;
  opacity: 1;
}
.zoomed-card {
  position: relative;
  background: var(--card-bg, #222);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(1);
  animation: zoomInCard 0.35s cubic-bezier(.4,2,.6,1) forwards;
  transition: box-shadow 0.3s;
}
@keyframes zoomInCard {
  from { transform: scale(0.7); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
.zoomed-card img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  margin: 0;
}
.zoom-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.zoom-close:hover {
  background: rgba(255,255,255,0.2);
  color: #ff4c4c;
}
