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

:root {
  --navy-blue: #1F5DAA;
  --medical-blue: #1FA6A8;
  --globe-green: #3C4DB3;
  --accent-yellow: #7B3CB4;
  --dark-text: #111111;
  --light-bg: #E6EDF0;
  --white: #FFFFFF;
  --med-teal: #1FA6A8;
  --med-blue: #1F5DAA;
  --med-indigo: #3C4DB3;
  --med-purple: #7B3CB4;
  --med-black: #111111;
  --med-bg-light: #E6EDF0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: none;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 4rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 125px;
  width: auto;
  transition: transform 0.3s ease;
  margin-top: 8%;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-yellow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: 0.3s;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1F5DAA 0%, #111111 100%);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  width: 100%;
  margin: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.footer-section {
  width: 100%;
}

.footer-section h3 {
  color: #1FA6A8;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-section a:hover {
  color: #7B3CB4;
}

.footer-section ul li a {
  position: relative;
  padding-left: 0;
}

.footer-section ul li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: opacity 0.3s, left 0.3s;
  color: #7B3CB4;
  font-weight: bold;
}

.footer-section ul li a:hover {
  padding-left: 20px;
}

.footer-section ul li a:hover::before {
  opacity: 1;
  left: 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #1FA6A8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
  position: relative;
}

.social-follow-text {
  color: #1FA6A8;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
  animation: followPulse 2s ease-in-out infinite;
}

@keyframes followPulse {
  0%, 100% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: translateX(5px);
  }
}

.social-icons a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.social-icons a:hover {
  transform: translateY(-5px);
  background: #7B3CB4;
}

.social-icons a:hover svg {
  animation: iconPulse 0.5s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    flex-direction: column;
    background: rgba(15, 63, 99, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .logo img {
    height: 60px;
  }

  .nav-links a {
    font-size: 1.05rem;
    color: var(--white);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1FA6A8 0%, #3C4DB3 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(123, 60, 180, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.cta-section p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 1rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #7B3CB4 0%, #3C4DB3 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(123, 60, 180, 0.5);
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}
