/* Your custom styles here */
.testimonial-card {
  width: 280px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  color: #f0f0f0;
  overflow-x: hidden;
}

.gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.premium-card {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.hover-glow:hover {
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
}

/* Enhanced Logo Styling */
.logo-container {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.logo-container:hover {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}


.hamburger {
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff7f7;
  color: white;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  left: 0;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Enhanced Service Cards */
.service-card {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
}

.service-icon {
  background: linear-gradient(135deg, #d4af37, #311414);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Professional Portfolio Grid - Fixed Sizing */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.reel-container {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(212, 175, 55, 0.2);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.reel-container:hover {
  border-color: rgba(212, 175, 55, 0.6);
}

.reel-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
}

/* Local Video Thumbnail Generation */
.video-thumbnail-generator {
  display: none;
}

/* Thumbnail Loading States */
.thumbnail-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(212, 175, 55, 0.8);
  font-size: 14px;
  z-index: 1;
  text-align: center;
}

.thumbnail-error {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 55, 0.6);
  font-size: 12px;
  text-align: center;
  padding: 20px;
}

@keyframes shimmer {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.thumbnail-loading {
  animation: shimmer 1.5s ease-in-out infinite;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  z-index: 2;
}

.reel-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  opacity: 0;
  z-index: 3;
}

.reel-container:hover .reel-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.reel-play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.reel-info {
  margin-top: auto;
  z-index: 2;
}

.reel-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.reel-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Minimal Social Stats with Lucide Icons */
.reel-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.reel-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reel-stat svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 25px;
  color: rgba(212, 175, 55, 0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.8);
  color: #ffd700;
  transform: translateY(-2px);
}

/* New Testimonials Section - Your Experience, Our Pride */
.testimonials-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.testimonial-row {
  position: absolute;
  display: flex;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.testimonial-row-left {
  top: 0;
}

.testimonial-row-right {
  top: 200px;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.testimonial-row-left .testimonial-track {
  animation-name: slideLeft;
}

.testimonial-row-right .testimonial-track {
  animation-name: slideRight;
}

/* Pause animation on hover */
.testimonial-row:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.testimonial-card-new {
  flex-shrink: 0;
  width: 320px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.testimonial-card-new:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-right: 12px;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.testimonial-role {
  font-size: 14px;
  color: rgba(212, 175, 55, 0.8);
  margin: 2px 0 0 0;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Enhanced Video Modal for Reels */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(212, 175, 55, 0.4);
  border: 3px solid rgba(212, 175, 55, 0.4);
  transform: scale(0.8) rotateX(10deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1) rotateX(0deg);
}

.video-modal iframe,
.video-modal video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.9);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background: rgba(212, 175, 55, 1);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Contact Form Enhancements */
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* Responsive Improvements */
@media (max-width: 1024px) {
  .testimonials-container {
    height: 350px;
  }
  .testimonial-card-new {
    width: 280px;
    padding: 20px;
  }
  .testimonial-row {
    height: 160px;
  }
  .testimonial-row-right {
    top: 180px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  .section-title {
    font-size: 2rem;
  }
  .video-modal-content {
    width: 95%;
    max-width: 350px;
    border-radius: 20px;
  }
  .video-modal-close {
    top: -50px;
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .service-card {
    margin-bottom: 1rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
  .reel-container {
    border-radius: 16px;
    max-width: 250px;
  }
  .reel-play-button {
    width: 60px;
    height: 60px;
  }
  .category-filter {
    gap: 8px;
    margin-bottom: 30px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .testimonials-container {
    height: 300px;
  }
  .testimonial-card-new {
    width: 250px;
    padding: 16px;
  }
  .testimonial-row {
    height: 140px;
  }
  .testimonial-row-right {
    top: 160px;
  }
  .testimonial-name {
    font-size: 14px;
  }
  .testimonial-role {
    font-size: 12px;
  }
  .testimonial-text {
    font-size: 13px;
  }
  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* Smooth Page Transitions */
* {
  transition-property: transform, opacity, background-color, border-color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.video-error {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 55, 0.6);
  text-align: center;
  padding: 20px;
}

.video-error i {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  stroke-width: 1.5;
}

.video-error p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.video-error small {
  font-size: 12px;
  opacity: 0.8;
}




/* REPLACE your existing mobile menu CSS with this */

/* Enhanced Mobile Menu - Fixed */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu a {
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  text-decoration: none;
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu a:hover {
  color: #ffd700;
  transform: translateY(-5px);
}

/* Hamburger Button - Updated */
.hamburger {
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger {
      display: none;
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Hamburger Button */
.hamburger {
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger {
      display: none;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#services-multiselect {
  position: relative !important;
}

#servicesMenuPanel {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

#servicesMenuPanel.hidden {
  display: none !important;
}

/* Ensure parent containers don't clip the dropdown */
.glass-effect, .contact-form {
  overflow: visible !important;
}
/* Style the container <ul> */
.services-list {
  padding: 12px;
  background: rgba(31, 41, 55, 0.95); /* dark gray with slight opacity */
  border-radius: 6px;
  font-size: 14px;
  color: #e5e7eb; /* light gray text */
  list-style: none;
  margin: 0;
}

/* Space between list items */
.services-list li {
  margin-bottom: 8px;
}

.services-list li:last-child {
  margin-bottom: 0;
}

/* Label and checkbox alignment */
.services-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Checkbox styling */
.services-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  accent-color: #3b82f6; /* blue */
  cursor: pointer;
}

/* Hover effect on label */
.services-list label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2px 4px;
}
