/* Base Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #8b8b8b;
    --light-color: #f8f8f8;
    --dark-color: #121212;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  html {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
  }
  
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
  }
  
  .btn-outline {
    background-color: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background-color: var(--accent-color);
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .text-center {
    text-align: center;
  }
  
/* Floating Navbar */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}

.nav-container.visible {
  pointer-events: all;
}

.floating-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.nav-pill {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 1rem 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  width: 90%;
  margin: 0 auto;
}

.nav-pill.scrolled {
  padding: 0.6rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.98);
  justify-content: center;
  width: fit-content;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-pill.scrolled .brand-name {
  font-size: 1.3rem;
  left: 0;
}

.nav-links {
  font-family: lora;
  display: flex;
  list-style: none;
  margin: 0 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1.5rem;
}

.nav-pill.scrolled .nav-links {
  opacity: 0;
  pointer-events: none;
  width: 0;
  margin: 0;
  transform: scale(0.9);
}

.nav-links li a {
  position: relative;
  padding: 0.5rem 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--dark-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 1.5rem;
  height: 1rem;
  position: relative;
  z-index: 1001;
  transition: all 0.4s ease;
}

/* Hamburger Menu Visibility */
.hamburger span {
  display: block;
  width: 90%;
  height: 2px;
  border-radius: 10px;
  background-color: var(--dark-color); /* Make sure this color contrasts */
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* Hide hamburger in small pill mode */
.nav-pill.scrolled .hamburger {
  display: none !important; /* Force hide when scrolled */
}

/* Center brand name in small pill mode */
.nav-pill.scrolled {
  justify-content: center !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

@media (max-width: 576px) {
  
}
  
  .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;
  }
  
  .hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 0;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .hero video, .hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-btns {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  /* About Section */
  .about {
    padding: 6rem 0;
    background-color: var(--light-color);
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .about-img {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  
  .about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .about-img:hover img {
    transform: scale(1.02);
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
  }
  
  .about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
  }
  
  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
  }
  
  .stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  
  .stat-item h4 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
  }
  
  .stat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
  }
  
  /* Portfolio Sections */
  .portfolio {
    padding: 6rem 0;
  }
  
  .portfolio-section {
    margin-bottom: 5rem;
  }
  
  .portfolio-header {
    margin-bottom: 2rem;
  }
  
  .portfolio-subtitle {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: var(--dark-color);
    font-weight: 500;
  }

  .v-portfolio {
    padding: 6rem 0;
  }
  
  .v-portfolio-section {
    margin-bottom: 5rem;
  }
  
  .v-portfolio-header {
    margin-bottom: 2rem;
  }
  
  .v-portfolio-subtitle {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: var(--dark-color);
    font-weight: 500;
  }
  @media (min-width: 768px) {
    /* Video Portfolio Section */
    .v-portfolio .swiper {
      height: 100%; /* Adjust height as needed */
      max-width: 90%; /* Optional max-width */
      margin: 0 auto;
      margin-bottom: 2rem;
    }

    .v-portfolio .swiper-slide {
      width: 95% !important;
      margin-right: 2.5% !important;
      margin-left: 2.5% !important;
    }

    .v-portfolio video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    height: 28rem;
    margin-bottom: 2rem;
  }
  
  .swiper-slide {
    position: relative;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
    transition: all 0.3s ease;
  }
  
  .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .swiper-slide img, .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .swiper-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
  }
  
  .swiper-slide-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
  }
  
  .swiper-slide-content p {
    font-size: 0.85rem;
    opacity: 0.8;
  }
  
  .swiper-button-next, .swiper-button-prev {
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
  }
  
  .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background-color: darkgray;
    opacity: 0.5;
  }
  
  .swiper-pagination-bullet-active {
    background-color: black;
    opacity: 1;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 6rem 0;
    background-color: var(--light-color);
  }
  
  .testimonial-slide {
    width: 100%;
    background-color: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .testimonial-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .testimonial-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
  }
  
  .testimonial-content .position {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-style: italic;
  }
  
  .testimonial-content .text {
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  .testimonial-rating {
    color: #e8b339;
    font-size: 0.9rem;
  }
  
  /* Contact Section */
  /* Contact Form Security Elements */
  .hidden {
    position: absolute;
    left: -9999px;
  }

  .error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
  }

  .loading-icon {
    margin-left: 10px;
  }

  /* reCAPTCHA styling */
  .g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
  }

  /* Success message */
  .form-success {
    display: none;
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
  }

  .contact {
    padding: 6rem 0;
    background-color: var(--dark-color);
    color: white;
  }
  
  .contact .section-title {
    color: white;
  }
  
  .contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .contact-content {
    display: flex;
    gap: 3rem;
  }
  
  .contact-form {
    flex: 1;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  
  .form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  textarea.form-control {
    min-height: 10rem;
    resize: vertical;
  }

  .contact select.form-control,
  .contact select.form-control option {
    color: #000;
  }
  .contact select.form-control option {
    background: #fff;
  }

  .contact-info {
    flex: 1;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  .contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--accent-color);
  }
  
  .contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.8;
  }
  
  .contact-details {
    margin-top: 2rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 0.9rem;
  }
  
  .contact-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
  }
  
  .contact-text p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.9rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }
  
  .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  /* Footer */
  .footer {
    background-color: #0a0a0a;
    color: white;
    padding: 4rem 0 2rem;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-col {
    flex: 1;
    min-width: 15rem;
  }
  
  .footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  .footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 1px;
    background-color: var(--accent-color);
  }
  
  .footer-col p {
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.7;
    font-size: 0.9rem;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
  }
  
  .footer-links a {
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    opacity: 1;
    padding-left: 0.3rem;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.8rem;
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .nav-links {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 400px;
      background-color: rgba(255, 255, 255, 0.98);
      border-radius: 20px;
      padding: 1.5rem;
      flex-direction: column;
      align-items: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      margin: 0;
      opacity: 0;
      pointer-events: none;
      gap: 1rem;
    }
    
    .nav-links.active {
      opacity: 1;
      pointer-events: all;
    }
    
    .nav-links li {
      margin: 0;
      width: 100%;
      text-align: center;
    }
    
    .nav-links li a {
      display: block;
      padding: 0.8rem 0;
    }
    
    .hamburger {
      display: block;
      margin-left: 1.5rem;
    }
    
    .nav-pill:not(.scrolled) .hamburger {
      opacity: 1 !important;
      pointer-events: all !important;
    }
    
    .hero-content h1 {
      font-size: 2.8rem;
    }
  
    .about-content {
      flex-direction: column;
    }
  
    .contact-content {
      flex-direction: column;
    }
  
    .swiper {
      height: 24rem;
    }
  }
  
  @media (max-width: 768px) {
    .brand-name {
      font-size: 1.2rem;
    }

    .nav-pill {
      padding: 0.8rem 1.5rem;
    }
    
    .nav-pill.scrolled {
      padding: 0.5rem 1.2rem;
    }
    
    .nav-pill.scrolled .brand-name {
      font-size: 1.1rem;
    }
    
    .hero-content h1 {
      font-size: 2.2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .hero-btns {
      flex-direction: column;
      gap: 1rem;
    }
  
    .btn {
      width: 100%;
      max-width: 18rem;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  
    .testimonial-slide {  
      flex-direction: column;
      text-align: center;
    }
  
    .testimonial-img {
      margin-bottom: 1.5rem;
    }
  
    .swiper {
      height: auto;
    }
  }
  
  @media (max-width: 576px) {
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .about-stats {
      grid-template-columns: 1fr;
    }
  
    .section-title {
      font-size: 1.6rem;
    }
  
    .swiper {
      height: auto;
    }

  }

/* Mobile-specific fixes */
@media (max-width: 768px) {
    /* Prevent horizontal scroll during animations */
    body.overflow-hidden {
      overflow: hidden;
    }
    
    /* Ensure images don't cause overflow */
    img, video {
      max-width: 100%;
      height: auto;
    }
    
    /* Fix for swiper container */
    .swiper-wrapper {
      width: auto !important;
    }
  }