:root{ 
  --bg: #f7fbfc;
  --card: #ffffff;
  --primary: #4fb6c7; /* light blue */
  --primary-dark: #2f97ad;
  --muted: #6b7280;
  --accent: #60c1d6;
  --radius: 14px;
  --max-width: 1100px;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-heavy: 0 8px 30px rgba(0,0,0,0.18);
  --gradient-primary: linear-gradient(135deg, #4fb6c7 0%, #60c1d6 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fdff 100%);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{
  box-sizing:border-box;
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(79, 182, 199, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(79, 182, 199, 0.6);
  }
}

/* Improved typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--primary-dark);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--primary);
}

p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.95;
}

/* Enhanced body with animated gradient background */
body {
  margin:0;
  background: linear-gradient(-45deg, #e6f7ff, #f0f9ff, #e1f5fe, #e8f4fd);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color:#0b2540;
  line-height:1.5;
  font-size:16px;
  overflow-x:hidden;
  position: relative;
}

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

/* Main content wrapper */
main {
  width: 100%;
  margin: 0 auto;
}
/* Enhanced floating elements */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,182,199,0.2) 0%, rgba(96,193,214,0.1) 50%, transparent 100%);
  z-index: -1;
  animation: floatBgEnhanced 20s infinite alternate ease-in-out;
}

body::before { 
  width: 400px; 
  height: 400px; 
  top: -150px; 
  left: -150px; 
}

body::after { 
  width: 300px; 
  height: 300px; 
  bottom: -100px; 
  right: -100px; 
  animation-delay: 10s; 
}

@keyframes floatBgEnhanced {
  0%, 100% { 
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-30px) scale(1.2) rotate(180deg);
    opacity: 0.3;
  }
}

/* Additional floating particles */
body {
  position: relative;
}

/* Floating Particles Background */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.1), rgba(79, 182, 199, 0.15));
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s infinite linear;
  backdrop-filter: blur(1px);
}

.particle:nth-child(1) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  left: 20%;
  width: 30px;
  height: 30px;
  animation-delay: 2s;
  animation-duration: 25s;
}

.particle:nth-child(3) {
  left: 35%;
  width: 15px;
  height: 15px;
  animation-delay: 4s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 6s;
  animation-duration: 22s;
}

.particle:nth-child(5) {
  left: 65%;
  width: 18px;
  height: 18px;
  animation-delay: 8s;
  animation-duration: 26s;
}

.particle:nth-child(6) {
  left: 75%;
  width: 22px;
  height: 22px;
  animation-delay: 10s;
  animation-duration: 19s;
}

.particle:nth-child(7) {
  left: 85%;
  width: 16px;
  height: 16px;
  animation-delay: 12s;
  animation-duration: 24s;
}

.particle:nth-child(8) {
  left: 90%;
  width: 28px;
  height: 28px;
  animation-delay: 14s;
  animation-duration: 21s;
}

.particle:nth-child(9) {
  left: 5%;
  width: 14px;
  height: 14px;
  animation-delay: 16s;
  animation-duration: 23s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Jellyfish-inspired wave animations */
.wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.02), rgba(79, 182, 199, 0.04));
  overflow: hidden;
  z-index: -1;
}

.wave-bg::before,
.wave-bg::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(96, 193, 214, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: wave-flow 30s linear infinite;
}

.wave-bg::after {
  background: radial-gradient(circle, rgba(79, 182, 199, 0.02) 1px, transparent 1px);
  background-size: 75px 75px;
  animation-direction: reverse;
  animation-duration: 45s;
}

@keyframes wave-flow {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50px, -50px) rotate(360deg);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% {
    transform: translateY(0) scale(1);
  }
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding: 0 28px;
  width: 100%;
}

/* Enhanced sections */
.section {
  padding: 4rem 0;
  margin: 2rem auto;
  width: 100%;
}

.section.container {
  max-width: var(--max-width);
  padding: 4rem 28px;
  margin: 2rem auto;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #f8fdff 0%, #ffffff 100%);
  border-radius: var(--radius);
  margin: 2rem auto;
  box-shadow: var(--shadow-light);
  padding: 4rem 2rem;
  max-width: calc(var(--max-width) + 4rem);
}

/* Header */
.site-header {
  background: var(--bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.brand{
  display:flex;
  align-items:center;
  gap:15px;
  text-decoration:none;
  color:inherit;
  flex-shrink: 0;
}
.logo{
  width:80px;
  height:80px;
  object-fit:contain;
  border-radius:12px;
  background:white;
  padding:8px;
  box-shadow:0 4px 15px rgba(40,100,120,0.1);
  transition: transform 0.3s ease;
  display: block;
}
.brand-text .company{
  display:block;
  font-weight:900;
  letter-spacing:2px;
  color:#0077b6;
  font-size:24px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2px;
}
.brand-text .tag{
  font-size:11px;
  color:var(--muted);
  letter-spacing: 1px;
  line-height: 1.2;
}

.nav-list{
  display:flex;
  gap:20px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav-list a{text-decoration:none;color:inherit;padding:8px 12px;border-radius:10px}

/* Special style for the Hero Register button */
#hero-register {
  background: linear-gradient(90deg, #3f8fbd, #1a7beb); /* bright orange → yellow */
  color: white;
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#hero-register:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(255, 140, 66, 0.45);
}


/* CTA Buttons */
.cta, .btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 6px 18px rgba(96,193,214,0.25);
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.cta:hover, .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(96,193,214,0.35);
}

/* Floating particles inside buttons */
.cta::before, .cta::after, .btn-primary::before, .btn-primary::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  top: 50%; left: 50%;
  animation: float 3s infinite;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}
.cta::after, .btn-primary::after {
  width: 6px; height: 6px;
  animation-duration: 2s;
  animation-delay: 1s;
}
@keyframes float {
  0% { transform: translate(0,0) scale(1);}
  25% { transform: translate(-10px,-10px) scale(1.2);}
  50% { transform: translate(10px,-15px) scale(0.8);}
  75% { transform: translate(-5px,10px) scale(1.1);}
  100% { transform: translate(0,0) scale(1);}
}

.nav-toggle{display:none;background:none;border:0;font-size:20px}

/* Hero Section */
.hero{
  background: linear-gradient(135deg, #4fb6c7 0%, #60c1d6 100%);
  color:white;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
  align-items:center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.hero-copy h1{font-size:38px;margin:0 0 12px;}
.lead{color:#f0f0f0;margin:0 0 18px}
.btn{display:inline-block;text-decoration:none;padding:10px 16px;border-radius:10px;font-weight:600}

.hero h1, .hero .lead, .hero .btn {
  animation: fadeInUp 1.2s ease-out both;
}

.hero-card .card-box{background:var(--card);padding:22px;border-radius:12px;box-shadow:0 12px 40px rgba(10,50,80,0.06);text-align:left;color:#0b2540;}

.section{padding:60px 0;}
.section.alt{
  background:transparent;
  border-top:1px solid rgba(11,37,64,0.03);
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 4rem 28px;
}

/* CEO Note */
.ceo-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-left: 4px solid #0077b6;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ceo-note h3 {margin-bottom: 0.5rem; font-size: 1.2rem; color: #0077b6;}
.ceo-note p {margin: 0; line-height: 1.6;}
.ceo-note footer {margin-top: 0.75rem; font-weight: bold; color: #333;}

.features{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:0;list-style:none;margin:18px 0 0}
.features li{background:var(--card);padding:18px;border-radius:12px;box-shadow:0 10px 30px rgba(10,50,80,0.04)}
.features li span{display:block;color:var(--muted);margin-top:6px;font-size:14px}

.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:18px}
.review-card{background:linear-gradient(180deg, #ffffff, #fbffff);padding:16px;border-radius:12px;border-left:4px solid var(--primary);box-shadow:0 8px 30px rgba(11,37,64,0.04);transition: transform 0.3s ease, box-shadow 0.3s ease;}
.review-card:hover { transform:translateY(-6px); box-shadow:0 8px 20px rgba(0,119,182,0.15);}
.review-card footer{margin-top:10px;font-size:13px;color:var(--muted)}

.site-footer{
  padding:20px 0;
  border-top:1px solid rgba(11,37,64,0.03);
  text-align:center;
  color:var(--muted);
}

.site-footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Contact Section Styling */
#contact p, 
#contact a {
  font-size: 1.1rem;  /* increase base size */
  line-height: 1.6;
}

#contact strong {
  font-size: 1.15rem; /* slightly bigger for labels like Address, Email */
  color: #0077b6;     /* highlight in theme blue */
}

#contact .social-links a {
  font-size: 1.7rem;   /* bigger text next to icons */
  font-weight: 700;
}

#contact .social-links i {
  font-size: 3rem;     /* bigger icons */
  margin-right: 9px;
}


/* Developer signature */
.dev-signature {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  color: #0077b6;
  font-weight: normal;
}

/* Bigger icons */
.social-links i { font-size: 1.8rem; vertical-align: middle; margin-right: 6px; }

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-heavy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1002;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid #10b981;
}

.notification.success i {
  color: #10b981;
}

.notification.error {
  border-left: 4px solid #ef4444;
}

.notification.error i {
  color: #ef4444;
}

/* Enhanced Health Tip */
.health-tip {
  position: fixed;
  top: 20%;
  right: 20px;
  background: var(--gradient-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 15px;
  max-width: 300px;
  box-shadow: var(--shadow-heavy);
  z-index: 1001;
  backdrop-filter: blur(10px);
}

.tip-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.tip-close {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-content i {
  color: var(--primary);
  font-size: 1.2rem;
  align-self: flex-start;
}

.tip-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--primary-dark);
  font-style: italic;
}

.tip-author {
  font-size: 0.8rem;
  color: var(--muted);
  align-self: flex-end;
  font-weight: 600;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
  .social-fab-container {
    bottom: 20px;
    right: 20px;
  }
  
  .social-fab {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .health-tip {
    right: 10px;
    max-width: 250px;
    top: 15%;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
  
  /* Contact Section Mobile Optimization */
  #contact {
    padding: 2rem 1rem;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  #contact p, 
  #contact a {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  
  #contact strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  #contact .social-links a {
    font-size: 1.4rem;
    padding: 0.5rem 0;
    display: block;
    margin: 0.5rem 0;
  }
  
  #contact .social-links i {
    font-size: 2rem;
    margin-right: 12px;
    vertical-align: middle;
  }
  
  /* Make phone numbers and email more tappable */
  #contact a[href^="tel:"],
  #contact a[href^="mailto:"] {
    padding: 0.8rem;
    background: rgba(96, 193, 214, 0.1);
    border-radius: 8px;
    display: inline-block;
    margin: 0.5rem 0;
    min-height: 44px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  #contact a[href^="tel:"]:hover,
  #contact a[href^="mailto:"]:hover {
    background: rgba(96, 193, 214, 0.2);
    transform: translateY(-2px);
  }
  
  .hero-inner{grid-template-columns:1fr;gap:20px}
  .nav-list{display:none;position:absolute;right:20px;top:74px;background:white;padding:12px;border-radius:10px;box-shadow:0 14px 40px rgba(10,50,80,0.06)}
  .nav-toggle{display:block}
  .nav-list.open{display:flex;flex-direction:column}
  .features{grid-template-columns:1fr}
  
  /* Hide floating icons on mobile to avoid clutter */
  .floating-icons {
    display: none;
  }
  
  /* Adjust WhatsApp button for mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  /* Optimize animations for mobile */
  .particle {
    animation-duration: 10s;
  }
  
  /* Reduce health tip size on mobile */
  .health-tip {
    right: 10px;
    max-width: 250px;
    top: 15%;
  }
  
  /* Simplify background animations on mobile */
  body {
    animation-duration: 20s;
  }
  
  body::before,
  body::after {
    animation-duration: 30s;
  }
  
  /* Optimize text animations */
  h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

.reviews-grid .review-card .stars i {
  color: #fbbc05 !important;
  font-size: 1rem;
  margin-right: 2px;
}

/* Optimized Heartbeat Animation */
.heartbeat-slow {
  animation: heartbeatSlow 3s ease-in-out infinite;
}

@keyframes heartbeatSlow {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.05);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.05);
  }
  40%, 100% {
    transform: scale(1);
  }
}

/* Social Media Floating Action Buttons */
.social-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: fabFloat 3s ease-in-out infinite;
}

.social-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-fab {
  background: #25d366;
  animation-delay: 0s;
}

.instagram-fab {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  animation-delay: 1s;
}

.linkedin-fab {
  background: #0077b5;
  animation-delay: 2s;
}

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

/* WhatsApp Pulse Animation */
.whatsapp-fab {
  animation: whatsappPulse 2s infinite, fabFloat 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Floating Medical Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: var(--max-width);
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  color: rgba(79, 182, 199, 0.2);
  font-size: 1.5rem;
  animation: floatMedical 8s infinite ease-in-out;
}

.icon-1 {
  top: 25%;
  left: 25%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.icon-2 {
  top: 65%;
  left: 20%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.icon-3 {
  top: 35%;
  right: 25%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.icon-4 {
  top: 75%;
  right: 20%;
  animation-delay: 3s;
  animation-duration: 9s;
}

.icon-5 {
  top: 20%;
  left: 65%;
  animation-delay: 4s;
  animation-duration: 6s;
}

.icon-6 {
  top: 85%;
  left: 75%;
  animation-delay: 5s;
  animation-duration: 8s;
}

@keyframes floatMedical {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.6;
  }
}

/* Animation classes for intersection observer */
.animate-in {
  animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading optimization */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Social Media Floating Action Buttons */
.contact-form-wrapper {
  background: var(--gradient-card);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-heavy);
  margin: 2rem 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile contact form wrapper */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1rem 0.75rem !important;
    margin: 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }
}

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

.contact-form-header h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-form-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile override for contact form grid */
@media (max-width: 768px) {
  .contact-form-grid {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(79, 182, 199, 0.05);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--muted);
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

/* Modern Form Styles */
.modern-contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(79, 182, 199, 0.1);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 3rem;
  color: var(--muted);
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -0.5rem;
  left: 1rem;
  font-size: 0.8rem;
  color: var(--primary);
  background: white;
  padding: 0 0.5rem;
}

.form-group i {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i {
  color: var(--primary);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 182, 199, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Contact Form */
@media (max-width: 768px) {
  /* Complete mobile reset */
  * {
    box-sizing: border-box;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin: 0;
    box-sizing: border-box;
  }
  
  /* Contact form grid - single column */
  .contact-form-grid {
    display: block;
    width: 100%;
    gap: 0;
  }
  
  /* Contact form wrapper */
  .contact-form-wrapper {
    padding: 1rem 0.75rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* Contact info section */
  .contact-info {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    padding: 0;
  }
  
  .contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact-details {
    width: 100%;
  }
  
  .contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    word-wrap: break-word;
  }
  
  .contact-details p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Form styling */
  .form-row {
    display: block;
    width: 100%;
    gap: 0;
  }
  
  .modern-contact-form {
    padding: 1rem 0.75rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .contact-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0;
    width: 100%;
  }
  
  .contact-form-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
  }
  
  .contact-form-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
  }
  
  /* Form groups */
  .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  
  .form-group.full-width {
    width: 100%;
  }
  
  /* Form inputs */
  .modern-contact-form input,
  .modern-contact-form textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }
  
  .modern-contact-form textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .modern-contact-form button {
    min-height: 48px;
    font-size: 16px;
    padding: 12px 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
  }
  
  /* Form labels */
  .form-group label {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: visible;
  }
  
  .doctor-animation {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(96, 193, 214, 0.1), rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(96, 193, 214, 0.2);
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Doctor Animation Styling */
.doctor-animation {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.1), rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(96, 193, 214, 0.2);
  box-shadow: 0 4px 12px rgba(96, 193, 214, 0.1);
  transition: all 0.3s ease;
}

.doctor-animation:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(96, 193, 214, 0.2);
}

/* Animation Dividers Styling */
.animation-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.03), rgba(255, 255, 255, 0.1));
  margin: 2rem 0;
  overflow: hidden;
}

.medical-waves {
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.05), rgba(79, 182, 199, 0.08));
  border-radius: 0;
}

.floating-elements {
  background: linear-gradient(45deg, rgba(96, 193, 214, 0.04), rgba(255, 255, 255, 0.02));
}

.contact-transition {
  background: linear-gradient(135deg, rgba(79, 182, 199, 0.06), rgba(96, 193, 214, 0.04));
  padding: 2rem 0;
}

/* About Section Styling */
.about-content-wrapper {
  display: block;
  margin-bottom: 3rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CEO Note Enhancement */
.ceo-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ceo-text {
  flex: 1;
}

.ceo-avatar {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Enhanced Features Styling */
.features li {
  display: block;
  padding: 1.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fdff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(96, 193, 214, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(96, 193, 214, 0.1);
}

.features li:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(96, 193, 214, 0.15);
  border-color: rgba(96, 193, 214, 0.2);
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-content strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.feature-content span {
  color: var(--muted);
  line-height: 1.6;
}

/* Contact Illustration Styling */
.contact-illustration {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(96, 193, 214, 0.05), rgba(255, 255, 255, 0.8));
  border-radius: 16px;
  border: 1px solid rgba(96, 193, 214, 0.1);
  box-shadow: 0 4px 12px rgba(96, 193, 214, 0.08);
}

/* Responsive Design for Animations */
@media (max-width: 768px) {
  .animation-divider {
    padding: 2rem 0;
  }
  
  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .ceo-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .contact-illustration {
    margin-bottom: 1.5rem;
  }
  
  /* Reduce animation sizes on mobile */
  .animation-divider lottie-player {
    width: 250px !important;
    max-width: 90vw;
    height: auto !important;
  }
}

/* Interactive Animation Effects */
.animation-divider lottie-player {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.animation-divider:hover lottie-player {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.about-illustration lottie-player:hover,
.contact-illustration lottie-player:hover,
.why-illustration lottie-player:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon lottie-player {
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  display: block !important;
  visibility: visible !important;
  width: 80px !important;
  height: 80px !important;
}

.feature-icon lottie-player:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Enhanced Floating Icons */
.floating-icons .floating-icon {
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(96, 193, 214, 0.2));
}

.floating-icons .floating-icon:hover {
  transform: scale(1.2) translateY(-5px);
  filter: drop-shadow(0 8px 16px rgba(96, 193, 214, 0.4));
}

/* Pulse Animation for Important Elements */
@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.animation-divider.contact-transition lottie-player {
  animation: gentle-pulse 4s ease-in-out infinite;
}

/* Smooth Entrance Animations */
.animation-divider {
  opacity: 0;
  animation: fade-in-up 1s ease-out 0.5s forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Training Icon Styling */
.training-icon {
  text-align: center;
  margin-bottom: 15px;
}

.training-icon i {
  transition: all 0.3s ease;
}

.training-icon:hover i {
  transform: scale(1.1);
  color: var(--primary-dark) !important;
}
