
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #7f8c8d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Header & Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://img.freepik.com/premium-photo/woman-holding-glass-pure-water-table-female-hands-holding-transparent-glass-water_179369-1050.jpg');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.appointment-form {
margin-top: 140px;
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
margin-bottom: 40px;
}

.appointment-form h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

textarea.form-control {
    height: 120px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* How It Works Section */
.process-section {
    padding: 100px 0;
}

.process-step {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.process-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
}

.testimonial-card .quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.client-title {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: white;
    padding: 80px 0 0;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
}

.glassmorphism-form {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
padding: 30px;
}

.glassmorphism-form h3 {
color: white;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
margin-bottom: 25px;
}

.glassmorphism-form .form-control {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
height: 50px;
margin-bottom: 15px;
}

.glassmorphism-form .form-control::placeholder {
color: rgba(255, 255, 255, 0.7);
}

.glassmorphism-form textarea.form-control {
height: 120px;
}

.glassmorphism-form .btn-primary {
background: rgba(52, 152, 219, 0.8);
border: none;
backdrop-filter: blur(5px);
transition: all 0.3s ease;
}

.glassmorphism-form .btn-primary:hover {
background: rgba(41, 128, 185, 0.9);
}

/* For browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
.glassmorphism-form {
background: rgba(52, 152, 219, 0.85);
}
}
.cta-section {
    background: linear-gradient(135deg, #e6f4fa 0%, #c5e6f6 100%);
    padding: 100px 0;
}

.cta-content {
    position: relative;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.water-droplet {
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%233498db" fill-opacity="0.1" d="M50 0Q60 30 80 40Q100 50 70 80Q50 100 30 80Q0 50 20 40Q40 30 50 0Z"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.3;
    z-index: 0;
}

.btn-lg {
    font-weight: 500;
    min-width: 200px;
}

.icon-box {
    width: 50px;
    height: 50px;
}

.trust-badges {
    color: var(--accent-color);
    font-weight: 500;
}

.z-index-1 {
    z-index: 1;
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }
    
    .water-droplet {
        width: 100px;
        height: 100px;
    }
}

.benefits-section {
    background-color: #f8fafc;
}

.benefit-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: var(--primary-color);
}

.science-fact li, .comparison-chart {
    font-size: 0.95rem;
}

.table th, .table td {
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .benefit-card {
        margin-bottom: 20px;
    }
}

.video-banner-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.min-vh-80 {
    min-height: 80vh;
}

.z-index-1 {
    z-index: 2;
}

.trust-badges {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 50px;
}

.badge-item {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
}

/* Water Droplet Animation */
.water-droplet-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.droplet {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: fall linear infinite;
}

.droplet:nth-child(1) {
    width: 15px;
    height: 15px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.droplet:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 30%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.droplet:nth-child(3) {
    width: 12px;
    height: 12px;
    left: 70%;
    animation-duration: 7s;
    animation-delay: 1s;
}

@keyframes fall {
    0% {
        top: -50px;
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 100%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .video-banner-section {
        min-height: 70vh;
    }
    
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        border-radius: 20px;
        gap: 10px;
        padding: 15px;
    }
}

@media (max-width: 575.98px) {
    h1.display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
    }
}

.gallery-card img{
    aspect-ratio: 1;
    object-fit: contain;
}

.gallery-section {
    position: relative;
}

.filter-buttons .btn {
    margin: 5px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.overlay-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.rounded-lg {
    border-radius: 10px;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    background-color: var(--primary-color);
    color: white;
}

.btn-close {
    filter: invert(1);
}

/* Animation for filter */
.gallery-item {
    display: block;
    transition: all 0.5s ease;
}

.gallery-item.hide {
    display: none;
}

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
  }
  
  .fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E); /* WhatsApp gradient */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
  }
  
  .fab-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
  }
  
  .fab-container.open .fab-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .fab-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  
  .fab-whatsapp {
    background: #25D366;
    animation-delay: 0.1s;
  }
  
  .fab-call {
    background: #3498db;
    animation-delay: 0.2s;
  }
  
  .tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .fab-button:hover .tooltip {
    opacity: 1;
    right: 60px;
  }
  
  /* Animations */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  .fab-button {
    animation: slideUp 0.5s ease forwards;
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .fab-container {
      bottom: 20px;
      right: 20px;
    }
    
    .fab-main {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }
    
    .fab-button {
      width: 45px;
      height: 45px;
    }
    
    .tooltip {
      display: none;
    }
  }


  /* Global Mobile Fixes */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    /* Layout adjustments */
    .hero-section,
    .video-banner-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Form adjustments */
    .appointment-form {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    /* Navigation */
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    /* Gallery grid */
    .gallery-grid {
        margin: 0 -5px;
    }
    
    .gallery-item {
        padding: 0 5px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 0;
    }
    
    .footer .col-md-6 {
        margin-bottom: 30px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* Text adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2:after {
        width: 40px;
    }
}

/* Additional overflow protection */
.row {
    margin-left: 0;
    margin-right: 0;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}