:root {
    --primary: #38b6ff;
    --secondary: #2c3e50;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #2a8fd3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
    background-color: #25D366;
    margin-left: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Header Styles */
header {
    background-color: black;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;   /* keep logo centered */
  min-height: 80px;          
}

.logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo img {
    height: 100%;
    width: auto;
}

.hamburger-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger-menu:hover {
    color: var(--primary);
}

/* Side Menu */
    .side-menu{
      position:fixed;top:0;right:-50%;width:50%;height:100%;background:#000;z-index:1001;transition:var(--transition);
      padding:80px 30px 30px;box-shadow:-5px 0 15px rgba(0,0,0,.2)
    }
    .side-menu.active{right:0}
    .side-menu-close{position:absolute;top:20px;right:20px;color:#fff;font-size:24px;cursor:pointer;transition:var(--transition)}
    .side-menu-close:hover{color:var(--primary)}
    .side-menu nav ul{list-style:none}
    .side-menu nav ul li{margin-bottom:15px}
    .side-menu nav ul li a{
      color:#fff;text-decoration:none;font-size:18px;font-weight:500;transition:var(--transition);display:block;padding:8px 0
    }
    .side-menu nav ul li a:hover{color:var(--primary);transform:translateX(5px)}
    .menu-overlay{
      position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);
      z-index:999;opacity:0;visibility:hidden;transition:var(--transition)
    }
    .menu-overlay.active{opacity:1;visibility:visible}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.carousel {
    height: 100%;
    position: relative;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Reduce height by 40% (from 100vh to 60vh) */
    }
    
}

@media (max-width: 480px) {
    .hero {
        height: 70vh; /* Reduce height by 50% */
    }
    
}

/* Make hero <img> behave like background cover */
.carousel-item { position: absolute; inset: 0; }
.hero-media,
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-media img {
  object-fit: cover; object-position: center;
  z-index: 0; pointer-events: none;
}
/* Your overlay still works */
.carousel-item::after { z-index: 0; }
.carousel-content { position: relative; z-index: 1; }


/* Services Section */
.services {
    margin-bottom: 10px;
    margin-top: 0;
    background-color: #38b6ff;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 3.8rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--dark);
    text-shadow:
  0 0 6px  rgba(255,255,255,0.85),
  0 0 14px rgba(255,255,255,0.75),
  0 0 24px rgba(255,255,255,0.55);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #667eea, var(--primary));
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.15);
    filter: brightness(1.1) saturate(1.2);
}

.service-content {
    padding: 30px 25px;
    position: relative;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.service-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-content .btn {
    background: linear-gradient(135deg, #38b6ff, #1e3c72);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.service-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.service-content .btn:hover::before {
    left: 100%;
}

.service-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.service-image--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 220px;
    overflow: hidden;
    gap: 2px;
}

.service-image--split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-card:hover .service-image--split img {
    transform: scale(1.12);
    filter: brightness(1.1) saturate(1.2);
}

.service-card:hover .service-image--split img:first-child {
    transform: scale(1.12) rotate(1deg);
}

.service-card:hover .service-image--split img:last-child {
    transform: scale(1.12) rotate(-1deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        border-radius: 15px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
} 

/* ===========================
   Reviews Section (final)
   =========================== */
.reviews {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  /* Background image */
  background-image: url('aboutus.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Button style (brand blue, readable on dark bg) */
.review-cta .btn-review {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  background: #38b6ff;
  color: #fff;
  box-shadow: 0 6px 18px rgba(56,182,255,.35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.review-cta .btn-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(56,182,255,.45);
}
.review-cta .btn-review:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(56,182,255,.35);
}
.reviews .review-cta {
  display: flex;
  margin-top: 48px;   /* tweak: 40–64px */
  margin-bottom: 0;
  justify-content: center;   /* horizontal */
  align-items: center;       /* vertical if you give it a height */
}

/* Dark tint overlay so text stays readable */
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  /* top layer: darken, bottom layer: brand-tinted wash */
  background:
    linear-gradient(0deg, rgba(0,0,0,0.68), rgba(0,0,0,0.68)),
    linear-gradient(0deg, rgba(56,182,255,0.15), rgba(56,182,255,0.15));
  pointer-events: none;
  z-index: 0;                         /* sits under the content */
}

/* Ensure content sits above overlay */
.reviews > .container {
  position: relative;
  z-index: 1;
}

/* Make section text light for contrast */
.reviews :is(h1,h2,h3,h4,h5,h6,p,a,li,span,small) {
  color: #ffffff !important;
}

/* Slider layout (unchanged) */
.reviews-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 15px;
  overflow: hidden;
}

/* Review card: translucent dark so image subtly shows through */
.review-item {
  background: rgba(56, 182, 255, 0.22);   /* #38b6ff @ ~22% opacity */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid rgba(56, 182, 255, 0.30);
  text-align: center;
  margin: 0;
  opacity: 0;                              /* stays for your slider logic */
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transition: opacity 0.5s ease, background 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  color: #fff;
  backdrop-filter: blur(6px);              /* frosted glass vibe */
  -webkit-backdrop-filter: blur(6px);
}

/* Optional: slightly stronger tint on hover */
.review-item:hover {
  background: rgba(56, 182, 255, 0.28);
}

.review-item.active {
  opacity: 1;
  position: relative;
}

/* Text + decorative quotes */
.review-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding: 0 30px;
}

.review-text::before,
.review-text::after {
  content: '"';
  font-size: 50px;
  color: rgba(255,255,255,0.35); /* light quotes on dark bg */
  position: absolute;
}

.review-text::before { top: -20px; left: 0; }
.review-text::after { bottom: -40px; right: 0; }

/* Author lighter accent */
.review-author {
  font-weight: 600;
  color: #e5e7eb; /* light gray for contrast */
}

/* Nav buttons (keep your brand colors) */
.review-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.review-nav button {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  transition: var(--transition);
}

.review-nav button:hover {
  background: var(--secondary);
}

/* Appointment Section */
.appointment {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3') no-repeat center/cover;
    color: white;
}

.appointment h2 {
    color: white;
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

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

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

/* ================================
   CONTACT SECTION — FULL CSS
   (keeps your HTML/text unchanged)
   ================================ */

/* Base layout + premium animated background */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 0; /* +20px top space (was 80px) */
  /* Layered gradients for depth */
  background:
    radial-gradient(90vmax 90vmax at -10% -20%, rgba(59,130,246,.12), transparent 40%),
    radial-gradient(80vmax 80vmax at 110% 10%, rgba(139,92,246,.10), transparent 40%),
    conic-gradient(from 220deg at 80% 20%, rgba(139,92,246,.14), rgba(59,130,246,0) 25% 75%, rgba(139,92,246,.14)),
    linear-gradient(180deg, #0b0d12, #0a0b10);
}

/* Animated, soft color blobs */
.contact::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(45vmax 45vmax at 20% 30%, var(--primary), transparent 60%),
    radial-gradient(40vmax 40vmax at 85% 70%, var(--secondary), transparent 60%),
    radial-gradient(35vmax 35vmax at 60% -10%, #22d3ee, transparent 60%);
  filter: blur(60px) saturate(120%);
  opacity: .25;
  animation: contactBlobMove 28s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Subtle twinkle particles (SVG pattern) */
.contact::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'>\
<g fill='%23ffffff' fill-opacity='0.35'>\
<circle cx='10' cy='12' r='1.2'/>\
<circle cx='50' cy='86' r='1.4'/>\
<circle cx='120' cy='30' r='1.1'/>\
<circle cx='140' cy='120' r='1.3'/>\
<circle cx='80' cy='60' r='0.9'/>\
<circle cx='20' cy='120' r='1.1'/>\
<circle cx='90' cy='140' r='1.2'/>\
<circle cx='130' cy='70' r='1.0'/>\
<circle cx='30' cy='40' r='1.0'/>\
</g></svg>");
  background-size: 220px 220px;
  background-repeat: repeat;
  opacity: .35;
  animation: contactDrift 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Gentle diagonal light beam behind content */
.contact .container::before {
  content: "";
  position: absolute; inset: -40% -10% auto -10%;
  height: 70%;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 60%);
  transform: skewY(-8deg);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

/* Ensure content sits above backgrounds */
.contact .container { position: relative; z-index: 1; }

/* --- Your original block styles (kept) --- */
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  /* color overridden to white below */
}

.contact-details { margin-bottom: 30px; }

.contact-details p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-details i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 20px;
  width: 24px;
}

.social-links { 
  display: flex; 
  gap: 15px; 
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; 
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

/* Generic hover stays as a fallback; brand-specific hovers below will override it */
.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* === Brand colors === */
.social-links a[aria-label="WhatsApp"] {
  background: #25D366; /* WhatsApp green */
}
.social-links a[aria-label="WhatsApp"]:hover {
  background: #1ebe57;
}

.social-links a[aria-label="Facebook"] {
  background: #1877F2; /* Facebook blue */
}
.social-links a[aria-label="Facebook"]:hover {
  background: #0f6ae0;
}

.social-links a[aria-label="Instagram"] {
  /* Instagram multicolor gradient */
  background: radial-gradient(circle at 30% 110%,
    #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.social-links a[aria-label="Instagram"]:hover {
  filter: brightness(1.1);
}

.social-links a[aria-label="TikTok"] {
  /* Black + red, as requested */
  background: linear-gradient(135deg, #000 0 70%);
}
.social-links a[aria-label="TikTok"]:hover {
  filter: brightness(1.1);
}

/* Keep icons/text white on all */
.social-links a i { color: #fff; }

/* FIX: selector needed the dot */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* --- Your requested overrides --- */

/* Keep text white throughout (don’t touch icon colors) */
.contact :is(h1,h2,h3,h4,h5,h6,p,a,li,span,small,label) {
  color: #ffffff !important;
}

/* Remove glass/card look from the "Get In Touch" area */
.contact .contact-info {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0;
  padding: 0; /* keep spacing tight since no card */
}

/* Optional: if links should look clean on dark bg */
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* --- Animations --- */
@keyframes contactBlobMove {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d( 2%,  3%, 0) scale(1.05); }
  100% { transform: translate3d(-1%,  2%, 0) scale(1.02); }
}

@keyframes contactDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 600px 400px; }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  .contact::before,
  .contact::after {
    animation: none;
  }
}


/* Footer Base Styles */
footer {
    position: relative;
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    overflow: hidden;
    /* Enhanced gradient background */
    background:
        radial-gradient(800px 400px at 15% -10%, color-mix(in oklab, var(--primary) 18%, transparent) 0%, transparent 70%),
        radial-gradient(600px 320px at 110% 80%, color-mix(in oklab, var(--primary) 14%, transparent) 0%, transparent 65%),
        var(--dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Ambient Particles Layer */
.footer-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Floating Orbs - Smooth Continuous Movement */
.footer-ambient .orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(59, 130, 246, 0.5) 0%,
        rgba(59, 130, 246, 0.25) 35%,
        rgba(59, 130, 246, 0.08) 60%,
        rgba(59, 130, 246, 0.0) 90%);
    filter: 
        drop-shadow(0 0 6px rgba(59, 130, 246, 0.2))
        drop-shadow(0 0 12px rgba(59, 130, 246, 0.15));
    opacity: var(--alpha, 0.7);
    
    /* Continuous smooth floating animation */
    animation: 
        float-drift var(--duration, 25s) linear infinite,
        gentle-pulse var(--pulse-duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s), var(--pulse-delay, 0s);
}

/* Smooth continuous drift animation - creates figure-8 like movement */
@keyframes float-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(var(--drift-x, 30px), var(--drift-y, -20px)) scale(1.02);
    }
    50% {
        transform: translate(var(--drift-x2, -15px), var(--drift-y2, -40px)) scale(0.98);
    }
    75% {
        transform: translate(var(--drift-x3, -35px), var(--drift-y3, -10px)) scale(1.01);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Gentle pulsing for organic feel */
@keyframes gentle-pulse {
    0%, 100% { 
        opacity: var(--alpha, 0.7);
        filter: 
            drop-shadow(0 0 6px rgba(59, 130, 246, 0.2))
            drop-shadow(0 0 12px rgba(59, 130, 246, 0.15));
    }
    50% { 
        opacity: calc(var(--alpha, 0.7) * 1.3);
        filter: 
            drop-shadow(0 0 10px rgba(59, 130, 246, 0.3))
            drop-shadow(0 0 18px rgba(59, 130, 246, 0.2));
    }
}

/* Interactive hover effect */
footer:hover .footer-ambient .orb {
    animation-duration: 
        calc(var(--duration, 25s) * 0.8),
        calc(var(--pulse-duration, 8s) * 0.9);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .footer-ambient .orb {
        animation: gentle-pulse var(--pulse-duration, 8s) ease-in-out infinite;
        animation-delay: var(--pulse-delay, 0s);
    }
}

/* Additional smooth movement for some particles */
.footer-ambient .orb.drift-alt {
    animation: 
        float-drift-alt var(--duration, 30s) linear infinite,
        gentle-pulse var(--pulse-duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s), var(--pulse-delay, 0s);
}

@keyframes float-drift-alt {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(var(--drift-x, -25px), var(--drift-y, 15px)) scale(1.03);
    }
    66% {
        transform: translate(var(--drift-x2, 20px), var(--drift-y2, 35px)) scale(0.97);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .side-menu {
        width: 70%;
        right: -70%;
    }
    
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-whatsapp {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .side-menu {
        width: 85%;
        right: -85%;
    }
    
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}