:root {
  --primary-color: #FF85A2;
  --secondary-color: #FFC0D3;
  --accent-color: #FFD700;
  --text-color: #2C3E50;
  --light-bg: #FFF5F7;
  --glass-bg: #ffffff26;
  --glass-border: #ffffff2e;
  --primary-rgb: 255, 133, 162;
  --neumorphic-shadow: 0 8px 32px #0000001a;
}

::-webkit-scrollbar {
  width:10px
  }
  
  ::-webkit-scrollbar-track {
  background:var(--light-bg)
  }
  
  ::-webkit-scrollbar-thumb {
  background:var(--primary-color);
  border-radius:5px;
  transition:all .3s ease
  }
  
  ::-webkit-scrollbar-thumb:hover {
  background:var(--secondary-color)
  }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background: #fff;
  line-height: 1.6;
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2c3e50d9;
}

/* Navbar */
.navbar {
  background: #fffffffa;
  padding: 0.5rem 0;
  transition: all .3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem !important;
  color: var(--text-color) !important;
  transition: all .3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  box-shadow: 0 4px 15px #ff85a233;
  transition: all .3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #ff85a24d;
}

/* Hero Section */
.hero {
  background: linear-gradient(#ffffffeb, #ffffffeb), url(https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80);
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #2c3e50d9;
}

.services-overview {
  padding:80px 0
  }
  
  .service-card {
  background:#fff;
  border-radius:12px;
  padding:2rem;
  text-align:center;
  box-shadow:var(--neumorphic-shadow);
  transition:all .4s ease;
  margin-bottom:2rem;
  border:1px solid #0000000d
  }
  
  .service-card:hover {
  transform:translateY(-5px)
  }
  
  .service-card i {
  font-size:2.5rem;
  color:var(--primary-color);
  margin-bottom:1.5rem
  }
  
  .service-card h4 {
  font-size:1.4rem;
  margin-bottom:.75rem
  }
  
  .service-card p {
  font-size:.95rem;
  color:#2c3e50b3;
  margin-bottom:1rem
  }
  
  .service-card .price {
  font-weight:600;
  color:var(--primary-color);
  margin-bottom:1.25rem
  }
  
  @keyframes fadeIn {
    from {
    opacity:0;
    transform:translateY(20px)
    }
    
    to {
    opacity:1;
    transform:translateY(0)
    }
    }
    
    @keyframes fadeInUp {
    from {
    opacity:0;
    transform:translateY(20px)
    }
    
    to {
    opacity:1;
    transform:translateY(0)
    }
    }
    
    .fade-in {
    animation:fadeIn .8s ease-out forwards
    }
    
    .gallery-card {
    position:relative;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:2rem;
    box-shadow:var(--neumorphic-shadow);
    transition:all .3s ease
    }
    
    .gallery-image {
    position:relative;
    padding-top:125%;
    overflow:hidden
    }
    
    .gallery-image img {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .3s ease
    }
    
    .gallery-card:hover .gallery-image img {
    transform:scale(1.05)
    }

    .gallery-overlay {
      position:absolute;
      bottom:0;
      left:0;
      right:0;
      padding:2rem;
      background:linear-gradient(to top,#000c 0%,#0006 75%,transparent 100%);
      color:#fff;
      opacity:1;
      transform:translateY(20px);
      transition:all .4s ease
      }
      
        
    .gallery-overlay h4 {
    font-size:1.2rem;
    margin-bottom:.5rem;
    color:#fff
    }
    
    .gallery-overlay p {
    font-size:.9rem;
    margin:0;
    color:#ffffffe6
    }

    .gallery-showcase {
      background:var(--light-bg);
      position:relative
      }
      
      .gallery-grid {
      position:relative
      }
      
      .gallery-item {
      position:relative;
      border-radius:12px;
      overflow:hidden;
      margin-bottom:1.5rem;
      box-shadow:var(--neumorphic-shadow);
      transition:all .4s ease
      }
      
      .gallery-item img {
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .4s ease
      }
      
      .gallery-item:hover img {
      transform:scale(1.05)
      }
    
      .gallery-item:hover .gallery-overlay {
        opacity:1;
        transform:translateY(0)
        }
        
        .gallery-category {
        display:inline-block;
        padding:.4rem 1rem;
        background:var(--primary-color);
        border-radius:20px;
        font-size:.8rem;
        text-transform:uppercase;
        letter-spacing:1px;
        margin-bottom:.8rem
        }
    
        .gallery-item.fade-in {
          animation:fadeIn .8s ease-out forwards
          }    
    .process-card {
      text-align:center;
      padding:2rem;
      background:#fff;
      border-radius:12px;
      box-shadow:var(--neumorphic-shadow);
      transition:all .3s ease
      }
      
      .process-card:hover {
      transform:translateY(-5px)
      }
      
      .process-icon {
      width:80px;
      height:80px;
      margin:0 auto 1.5rem;
      display:flex;
      align-items:center;
      justify-content:center;
      border-radius:50%;
      background:var(--light-bg);
      color:var(--primary-color)
      }
      
      .process-icon i {
      font-size:2rem
      }
      
      .process-card h4 {
      font-size:1.2rem;
      margin-bottom:.75rem;
      color:var(--text-color)
      }
      
      .process-card p {
      font-size:.9rem;
      color:#2c3e50b3;
      margin:0
      }
      
      .booking-section {
        padding:80px 0;
        background:var(--light-bg)
        }
        
        .booking-form {
        background:#fff;
        padding:2.5rem;
        border-radius:12px;
        box-shadow:var(--neumorphic-shadow)
        }
        
        .booking-form .form-label {
        font-size:.9rem;
        font-weight:500;
        margin-bottom:.5rem;
        color:#2c3e50e6
        }
        
        .booking-form .form-control {
        height:48px;
        border-radius:8px;
        border:1px solid #0000001a;
        padding:.5rem 1rem;
        font-size:.95rem;
        transition:all .3s ease
        }
        
        .booking-form .form-control:focus {
        border-color:var(--primary-color);
        box-shadow:0 0 0 3px #ff85a21a
        }
        .testimonials {
          padding:80px 0;
          background:#fff
          }
          
          .testimonial-card {
          background:#fff;
          border-radius:12px;
          padding:2rem;
          margin:1rem 0;
          box-shadow:var(--neumorphic-shadow);
          border:1px solid #0000000d
          }
          
          .testimonial-card p {
          font-size:.95rem;
          line-height:1.7;
          font-style:italic;
          margin-bottom:1.5rem;
          color:#2c3e50d9
          }
          
          .testimonial-info h5 {
          font-size:1.1rem;
          margin-bottom:.25rem
          }
   
          
          .enquiry-section {
            padding:80px 0
            }
            
            .contact-info p {
            font-size:.95rem;
            margin-bottom:1rem;
            display:flex;
            align-items:center
            }
            
            .contact-info i {
            font-size:1.2rem;
            color:var(--primary-color);
            /* margin-right:1rem; */
            width:17px
            }
            
            .enquiry-form {
            background:#fff;
            padding:2.5rem;
            border-radius:12px;
            box-shadow:var(--neumorphic-shadow)
            }
            
            .enquiry-form h3 {
            margin-bottom:2rem;
            text-align:center;
            font-size:1.75rem
            }
            
            .enquiry-form .form-group {
            margin-bottom:1.25rem
            }
            
            .enquiry-form textarea.form-control {
            height:120px;
            resize:none
            }
           
            /*** Contact form **/
            
              
              .contact-hero h1,.partner-hero h1 {
              margin-top:2.5rem;
              margin-bottom:1.5rem;
              color:#222;
             font-family: 'Lora', serif;
              position:relative;
              font-weight:700;
              letter-spacing:-.5px
              }
              
              .contact-title,.form-title,.map-title {
              color:#222
              }
              
              .form-subtitle {
              color:#444;
              font-size:.95rem;
              margin-bottom:1.5rem
              }
              
              .contact-hero h1:after {
              content:'';
              position:absolute;
              left:0;
              bottom:-15px;
              width:60px;
              height:3px;
              background-color:var(--primary-color)
              }
              
              .contact-hero .lead {
              color:#333;
              font-size:1.1rem;
              line-height:1.7;
              max-width:90%
              }
              
              .contact-item {
              transition:all .3s ease;
              margin-bottom:2rem;
              display:flex;
              align-items:center
              }
              
              
              
              .contact-icon {
              width:50px;
              height:50px;
              background-color:rgba(var(--primary-rgb),0.1);
              border-radius:50%;
              display:flex;
              align-items:center;
              justify-content:center;
              margin-right:1.5rem;
              color:var(--primary-color);
              font-size:1.2rem;
              transition:all .3s ease;
              box-shadow:0 5px 15px #00000014;
              border:1px solid #0000000d;
              flex-shrink:0
              }
              
              .contact-item:hover .contact-icon {
              background-color:var(--primary-color);
              color:#fff;
              transform:translateY(-3px);
              box-shadow:0 8px 20px rgba(var(--primary-rgb),0.2)
              }
              
              .contact-text {
              flex-grow:1
              }
              
              .contact-text h5 {
              margin-bottom:.5rem;
              font-weight:600;
              color:#222;
              font-size:1.1rem
              }
              
              .contact-text p {
              color:#444;
              font-size:.95rem;
              line-height:1.5;
              margin-bottom:0
              }
              
              .contact-form-card,.partner-form-card {
              margin-top:2.5rem;
              background-color:#fff;
              border-radius:12px;
              padding:2.5rem;
              box-shadow:0 15px 30px #0000001a;
              border:1px solid #0000001a;
              position:relative;
              overflow:hidden
              }
              
              .social-circle-link {
              display:inline-flex;
              align-items:center;
              justify-content:center;
              width:45px;
              height:45px;
              border-radius:50%;
              background-color:rgba(var(--primary-rgb),0.1);
              color:var(--primary-color);
              transition:all .3s ease;
              text-decoration:none;
              font-size:1rem
              }
              
              .social-circle-link:hover {
              background-color:var(--primary-color);
              color:#fff;
              transform:translateY(-3px);
              box-shadow:0 8px 15px rgba(var(--primary-rgb),0.2)
              }

              
              /*partner */

              .partner-hero {
                background:linear-gradient(#fffffff2,#fffffff2),url(https://images.unsplash.com/photo-1522337660859-02fbefca4702);
                background-size:cover;
                background-position:center
                }
                
                .partner-content {
                padding-right:3rem
                }
   
                
                .partner-form-card .form-header {
                  text-align:center;
                  margin-bottom:2.5rem
                  }
                  
                  .partner-form-card h3 {
                  color:#222;
                  font-size:2rem;
                  margin-bottom:.5rem
                  }
                  
                  .partner-form .form-label {
                  font-weight:500;
                  color:#444;
                  margin-bottom:.5rem
                  }
                  
                  .partner-form .form-control {
                  border:1px solid #0000001a;
                  padding:.75rem 1rem;
                  font-size:.95rem
                  }
                  
                  .partner-form .input-group-text {
                  background:rgba(var(--primary-rgb),0.1);
                  border:none;
                  color:var(--primary-color)
                  }
                  
                  .services-select {
                  display:grid;
                  grid-template-columns:repeat(2,1fr);
                  gap:1rem;
                  margin-top:.5rem
                  }
                  
                  .benefit-card {
                  background:#fff;
                  border-radius:12px;
                  padding:2.5rem 2rem;
                  text-align:center;
                  transition:all .3s ease;
                  box-shadow:0 8px 20px #0000000f
                  }
                  
                  .benefit-card:hover {
                  transform:translateY(-5px);
                  box-shadow:0 12px 25px #0000001a
                  }
                  
                  .benefit-icon {
                  width:80px;
                  height:80px;
                  background:rgba(var(--primary-rgb),0.1);
                  border-radius:50%;
                  display:flex;
                  align-items:center;
                  justify-content:center;
                  margin:0 auto 1.5rem;
                  color:var(--primary-color);
                  font-size:2rem;
                  transition:all .3s ease
                  }
                  
                  .benefit-card:hover .benefit-icon {
                  background:var(--primary-color);
                  color:#fff
                  }
                  
                  .benefit-card h4 {
                  color:#222;
                  margin-bottom:1rem;
                  font-size:1.4rem
                  }
                  
                  .benefit-card p {
                  color:#666;
                  font-size:.95rem;
                  margin:0
                  }
                  
                 

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: .5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #2c3e50b3;
}

/* Benefit Cards */
.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all .3s ease;
  box-shadow: 0 8px 20px #0000000f;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px #0000001a;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 2rem;
  transition: all .3s ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--primary-color);
  color: #fff;
}

.benefit-card h4 {
  color: #222;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.benefit-card p {
  color: #666;
  font-size: .95rem;
  margin: 0;
}

/* Service Cards (Used for Team) */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--neumorphic-shadow);
  transition: all .4s ease;
  margin-bottom: 2rem;
  border: 1px solid #0000000d;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.service-card p {
  font-size: .95rem;
  color: #2c3e50b3;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: var(--neumorphic-shadow);
  border: 1px solid #0000000d;
  height: 100%;
}

.testimonial-card p {
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #2c3e50d9;
}

.testimonial-info h5 {
  font-size: 1.1rem;
  margin-bottom: .25rem;
}

/* Contact Items */
.contact-item {
  transition: all .3s ease;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all .3s ease;
  box-shadow: 0 5px 15px #00000014;
  border: 1px solid #0000000d;
  flex-shrink: 0;
}

.contact-item:hover .contact-icon i {
  cursor: pointer;
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2);
}

.contact-text {
  flex-grow: 1;
}

.contact-text h5 {
  margin-bottom: .5rem;
  font-weight: 600;
  color: #222;
  font-size: 1.1rem;
}

.contact-text p {
  color: #444;
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-card {
  margin-top: 0;
  background-color: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 30px #0000001a;
  border: 1px solid #0000001a;
  position: relative;
  overflow: hidden;
}

.social-circle-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  transition: all .3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.social-circle-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.2);
}

.contact-social h5 {
  color:#222;
  font-weight:600;
  position:relative;
  display:inline-block;
  padding-bottom:8px
  }
  
  .contact-social h5:after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:40px;
  height:2px;
  background-color:var(--primary-color)
  }


.contact-form-card:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.form-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.form-header h3 {
  color: #333;
  font-family: 'Lora', serif;
  margin-bottom: .5rem;
  font-weight: 600;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.contact-form-card .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: .5rem;
  font-size: .9rem;
}

.contact-form-card .form-control {
  color: #333;
  padding: 12px 15px;
  font-size: .95rem;
  background-color: #fff;
  box-shadow: inset 0 1px 3px #0000000d;
}

.contact-form-card .form-control::placeholder {
  color: #999;
  font-size: .9rem;
}

.contact-form-card .form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.4);
  background-color: #fff;
}

/* Map */
.map-wrapper {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 3rem;
  box-shadow: 0 15px 30px #0000001a;
}

.map-wrapper h3 {
  color: #222;
  font-family: 'Lora', serif;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
  letter-spacing: -.5px;
}

.map-wrapper h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px #00000014;
}

/* Footer */
.footer {
  background: var(--light-bg);
  padding: 60px 0 30px;
  margin-top: 0;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.footer-heading {
  color: var(--primary-color);
  font-family: 'Lora', serif;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: var(--primary-color);
}

.footer p, .footer li {
  font-size: .9rem;
  color: #2c3e50cc;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all .3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-text {
  color: #555;
  font-size: .95rem;
}

.footer-tagline {
  font-style: italic;
  color: var(--primary-color);
  font-size: .9rem;
}

.footer-links li {
  transition: all .3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-link {
  color: #555;
  text-decoration: none;
  transition: all .3s ease;
  font-size: .95rem;
}

.footer-link:hover {
  color: var(--primary-color);
}

.newsletter .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.newsletter .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: .375rem 1rem;
}

.footer-divider {
  border-color: rgba(var(--primary-rgb), 0.1);
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
}

.footer-copyright {
  color: #777;
  font-size: .85rem;
}

.footer-link-small {
  color: #777;
  font-size: .85rem;
  text-decoration: none;
  transition: all .3s ease;
}

.footer-link-small:hover {
  color: var(--primary-color);
}

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

.fade-in {
  animation: fadeIn .8s ease-out forwards;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
      font-size: 2.5rem;
  }
  h2 {
      font-size: 2rem;
  }
  .hero {
      padding: 100px 0 60px;
  }
}

@media (max-width: 768px) {
  h1 {
      font-size: 2rem;
  }
  h2 {
      font-size: 1.8rem;
  }
  .hero {
      text-align: center;
  }
  .hero-content {
      margin: 0 auto;
  }
}



.hero-video-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  /* margin-top: 10px;  */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light-bg); /* Light pink background from our theme */
  padding: 0 15px;
}

.hero-video-container {
  position: relative;
  height: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #FFF9FB; /* Very light pink background */
  /* Enhanced background with gradient and beauty-themed pattern */
  background-image: 
    linear-gradient(135deg, rgba(255, 240, 245, 0.8) 0%, rgba(255, 245, 250, 0.8) 100%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFC0D3' fill-opacity='0.15'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  box-shadow: 0 10px 30px rgba(255, 133, 162, 0.15);
  border-radius: 12px;
  transition: transform 0.3s ease;
  /* Add a subtle inner border */
  border: 1px solid rgba(255, 192, 211, 0.2);
}

/* Beauty-themed decorative elements */
.hero-video-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at center, transparent 30%, rgba(255, 240, 245, 0.5) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23FFC0D3' fill-opacity='0.08'%3E%3Cpath d='M20 3.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zm0 28c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zm18-14c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zm-36 0c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

/* Add decorative elements to the background */
.hero-video-container:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 133, 162, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(255, 192, 211, 0.1) 0%, transparent 25%),
    /* Beauty-themed decorative elements */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23FF85A2' fill-opacity='0.05'%3E%3Cpath d='M30 20c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z'/%3E%3Cpath d='M30 25c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.hero-video-container video {
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  z-index: 2;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 240, 245, 0.2));
  z-index: 3;
  pointer-events: none;
}

.hero-video-container .position-absolute {
  z-index: 2;
  max-width: 800px;
  width: 90%;
}

.hero-video-container h1 {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-video-container .lead {
  font-size: 1.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 15px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 30px;
  transition: all 0.3s ease;
  opacity: 0.7;
  box-shadow: 0 4px 15px rgba(255, 133, 162, 0.2);
  align-items: center;
  border: 1px solid rgba(255, 192, 211, 0.3);
}

.hero-video-container:hover .video-controls {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.control-btn {
  background-color: rgba(255, 133, 162, 0.2);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(255, 133, 162, 0.1);
}

.control-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(255, 133, 162, 0.4);
  color: white;
}

.control-btn i {
  font-size: 1rem;
}

.video-time {
  color: var(--text-color);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
  text-shadow: none;
}

.video-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero-video-container:hover .video-progress-container {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.7);
}

.video-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  width: 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255, 133, 162, 0.5);
}

/* Add a subtle glow effect to the video container */
@keyframes subtle-glow {
  0% {
    box-shadow: 0 10px 30px rgba(255, 133, 162, 0.15);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 133, 162, 0.25);
  }
  100% {
    box-shadow: 0 10px 30px rgba(255, 133, 162, 0.15);
  }
}

/* Add a subtle shimmer effect to the background */
@keyframes subtle-shimmer {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.hero-video-container {
  animation: 
    subtle-glow 4s infinite alternate,
    subtle-shimmer 15s infinite alternate;
  background-size: 100% 100%, 80px 80px, 40px 40px;
  background-position: 0 0;
}

/* Media queries for responsive design */
@media (min-width: 1200px) {
  .hero-video-container {
    width: auto;
    max-width: 500px; /* Control max width on large screens */
  }
}

@media (min-width: 1600px) {
  .hero-video-container {
    max-width: 600px; /* Slightly larger for extra-large screens */
  }
  
  .hero-video-section {
    height: 85vh; /* Slightly reduced height for better proportion */
  }
}

@media (max-width: 768px) {
  .hero-video-section {
    height: 87vh;
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100%;
    border-radius: 0;
    background-color: #FFF9FB; /* Very light pink background */
  }
  
  .hero-video-container {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
  
  .hero-video-container video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .video-controls {
    bottom: 30px;
  }
  
  /* Adjust the background for mobile */
  .hero-video-container:before,
  .hero-video-container:after {
    opacity: 0.5;
  }
}

/* Video Placeholder and Loading Animation */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFF9FB;
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.placeholder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: blur(3px);
  transition: all 0.5s ease;
}

/* Beauty-themed decorative elements for placeholder */
.video-placeholder:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 133, 162, 0.2) 0%, transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(255, 192, 211, 0.2) 0%, transparent 30%);
  z-index: 1;
  animation: pulse-glow 3s infinite alternate;
}

/* Floating beauty elements */
.video-placeholder:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 40%, rgba(255, 133, 162, 0.4) 0%, rgba(255, 133, 162, 0) 5%),
    radial-gradient(circle at 80% 60%, rgba(255, 192, 211, 0.4) 0%, rgba(255, 192, 211, 0) 5%),
    radial-gradient(circle at 40% 70%, rgba(255, 133, 162, 0.3) 0%, rgba(255, 133, 162, 0) 4%),
    radial-gradient(circle at 60% 30%, rgba(255, 192, 211, 0.3) 0%, rgba(255, 192, 211, 0) 4%);
  background-size: 120% 120%;
  z-index: 2;
  animation: float-elements 15s infinite alternate ease-in-out;
  opacity: 0.7;
}

.loading-animation {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(255, 133, 162, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 192, 211, 0.3);
  animation: pulse 2s infinite alternate;
}

.loading-animation p {
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 192, 211, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(255, 133, 162, 0.2);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 133, 162, 0.3);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}

@keyframes float-elements {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 100%;
  }
}

/* Video loaded state */
.video-loaded .video-placeholder {
  opacity: 0;
  pointer-events: none;
}

.video-loaded video {
  opacity: 1;
}

/* Video paused state with beauty-themed animation */
.video-paused .video-placeholder {
  opacity: 0.95;
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.9) 0%, rgba(255, 245, 250, 0.9) 100%);
}

.video-paused .loading-animation {
  display: none;
}

.video-paused .placeholder-image {
  filter: blur(0);
  opacity: 0.9;
  transform: scale(1.02);
}

/* Add a play button overlay when paused */
.video-paused .video-placeholder:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 7;
  box-shadow: 0 5px 20px rgba(255, 133, 162, 0.3);
  animation: pulse 2s infinite alternate;
}

.video-paused .video-placeholder:after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
  font-size: 30px;
  z-index: 8;
}

/* Video error state */
.video-error .video-placeholder {
  opacity: 1;
}

.video-error .loading-animation {
  background-color: rgba(255, 255, 255, 0.9);
}

.video-error .loading-animation p {
  color: #d63384;
}

.video-error .spinner {
  display: none;
}

.video-error .loading-animation:before {
  content: '!';
  font-size: 24px;
  font-weight: bold;
  color: #d63384;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #d63384;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Network Interruption Loader */
.network-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 249, 251, 0.5); /* More transparent background */
  backdrop-filter: blur(3px); /* Subtle blur */
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.video-loading .network-loader {
  opacity: 1;
  pointer-events: auto;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px 25px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(255, 133, 162, 0.15);
  border: 1px solid rgba(255, 192, 211, 0.2);
  transform: translateY(0);
  animation: float 3s infinite alternate ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.loader-spinner {
  width: 30px;
  height: 30px;
  position: relative;
  margin-bottom: 12px;
}

.loader-spinner:before,
.loader-spinner:after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.loader-spinner:before {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  animation: spin 1.5s infinite ease;
  opacity: 0.7;
}

.loader-spinner:after {
  width: 70%;
  height: 70%;
  background: rgba(255, 255, 255, 0.9);
  top: 15%;
  left: 15%;
  animation: pulse 1.5s infinite alternate ease-in-out;
}

.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  max-width: 200px;
  animation: fade 1.5s infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* Modify existing video placeholder to be hidden by default */
.video-placeholder {
  display: none;
}

/* Only show the video placeholder in error state */
.video-error .video-placeholder {
  display: flex;
  opacity: 1;
}

/* Ensure video is visible by default */
.hero-video-container video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* When loading, make video slightly visible but blurred */
.video-loading .hero-video-container video {
  opacity: 0.7;
  filter: blur(2px);
}

/* When error occurs, hide video */
.video-error .hero-video-container video {
  opacity: 0;
}

/* Creative Gallery Layout - Scalable for unlimited images */
.creative-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  grid-gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 133, 162, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.gallery-overlay h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: white;
}

/* Define different sizes for gallery items */
.gallery-item.wide {
  grid-column: span 7;
}

.gallery-item.medium {
  grid-column: span 5;
}

.gallery-item.narrow {
  grid-column: span 4;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.short {
  grid-row: span 1;
}

/* Repeating pattern for unlimited images */
/* First row pattern */
.creative-gallery .gallery-item:nth-child(6n+1) {
  grid-column: 1 / span 7;
  grid-row: auto / span 1;
}

.creative-gallery .gallery-item:nth-child(6n+2) {
  grid-column: 8 / span 5;
  grid-row: auto / span 2;
}

/* Second row pattern */
.creative-gallery .gallery-item:nth-child(6n+3) {
  grid-column: 1 / span 4;
  grid-row: auto / span 2;
}

.creative-gallery .gallery-item:nth-child(6n+4) {
  grid-column: 5 / span 3;
  grid-row: auto / span 1;
}

/* Third row pattern */
.creative-gallery .gallery-item:nth-child(6n+5) {
  grid-column: 5 / span 5;
  grid-row: auto / span 1;
}

.creative-gallery .gallery-item:nth-child(6n+6) {
  grid-column: 10 / span 3;
  grid-row: auto / span 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .creative-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }
  
  /* First row pattern - tablet */
  .creative-gallery .gallery-item:nth-child(6n+1) {
    grid-column: 1 / span 4;
    grid-row: auto / span 1;
  }
  
  .creative-gallery .gallery-item:nth-child(6n+2) {
    grid-column: 5 / span 2;
    grid-row: auto / span 2;
  }
  
  /* Second row pattern - tablet */
  .creative-gallery .gallery-item:nth-child(6n+3) {
    grid-column: 1 / span 2;
    grid-row: auto / span 2;
  }
  
  .creative-gallery .gallery-item:nth-child(6n+4) {
    grid-column: 3 / span 2;
    grid-row: auto / span 1;
  }
  
  /* Third row pattern - tablet */
  .creative-gallery .gallery-item:nth-child(6n+5) {
    grid-column: 3 / span 4;
    grid-row: auto / span 1;
  }
  
  .creative-gallery .gallery-item:nth-child(6n+6) {
    grid-column: 1 / span 2;
    grid-row: auto / span 1;
  }
}

@media (max-width: 768px) {
  .creative-gallery {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: minmax(250px, auto);
    grid-gap: 15px;
  }
  
  /* Mobile layout - single column for all items */
  .creative-gallery .gallery-item {
    grid-column: 1 / span 1;
    grid-row: auto / span 1;
  }
  
  /* Override all previous nth-child rules */
  .creative-gallery .gallery-item:nth-child(3n+1),
  .creative-gallery .gallery-item:nth-child(3n+2),
  .creative-gallery .gallery-item:nth-child(3n+3),
  .creative-gallery .gallery-item:nth-child(6n+1),
  .creative-gallery .gallery-item:nth-child(6n+2),
  .creative-gallery .gallery-item:nth-child(6n+3),
  .creative-gallery .gallery-item:nth-child(6n+4),
  .creative-gallery .gallery-item:nth-child(6n+5),
  .creative-gallery .gallery-item:nth-child(6n+6) {
    grid-column: 1 / span 1;
    grid-row: auto / span 1;
  }
  
  /* Reset all size classes on mobile for consistency */
  .creative-gallery .gallery-item.wide,
  .creative-gallery .gallery-item.medium,
  .creative-gallery .gallery-item.narrow {
    grid-column: 1 / span 1;
  }
  
  .creative-gallery .gallery-item.tall {
    grid-row: auto / span 1;
  }
  
  /* Show overlay by default on mobile for better UX */
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 1rem;
  }
}

/* Gallery animation effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creative-gallery .gallery-item {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Staggered animation for first 12 items */
.creative-gallery .gallery-item:nth-child(1) { animation-delay: 0.1s; }
.creative-gallery .gallery-item:nth-child(2) { animation-delay: 0.2s; }
.creative-gallery .gallery-item:nth-child(3) { animation-delay: 0.3s; }
.creative-gallery .gallery-item:nth-child(4) { animation-delay: 0.4s; }
.creative-gallery .gallery-item:nth-child(5) { animation-delay: 0.5s; }
.creative-gallery .gallery-item:nth-child(6) { animation-delay: 0.6s; }
.creative-gallery .gallery-item:nth-child(7) { animation-delay: 0.7s; }
.creative-gallery .gallery-item:nth-child(8) { animation-delay: 0.8s; }
.creative-gallery .gallery-item:nth-child(9) { animation-delay: 0.9s; }
.creative-gallery .gallery-item:nth-child(10) { animation-delay: 1.0s; }
.creative-gallery .gallery-item:nth-child(11) { animation-delay: 1.1s; }
.creative-gallery .gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* For items beyond 12, use a repeating pattern of delays */
.creative-gallery .gallery-item:nth-child(n+13) {
  animation-delay: 0.6s; /* Fallback for browsers that don't support calc() */
}

/* Gallery Popup Styles */
.gallery-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gallery-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gallery-popup-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-popup-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.gallery-popup-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: white;
}

.gallery-popup-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.gallery-popup-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: white;
}

.gallery-popup-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.gallery-popup-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-popup-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.gallery-popup-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.gallery-popup-nav-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-popup-nav-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.zoom-level-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zoom-level-indicator.active {
  opacity: 1;
}

/* Zoom cursor styles */
.gallery-popup-image.zoomable {
  cursor: zoom-in;
}

.gallery-popup-image.zoomed {
  cursor: grab;
}

.gallery-popup-image.zoomed:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .gallery-popup-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .gallery-popup-controls {
    top: 10px;
    right: 10px;
  }
  
  .gallery-popup-btn {
    width: 35px;
    height: 35px;
  }
  
  .gallery-popup-title {
    font-size: 1.2rem;
  }
}