@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #007bb5; /* Soft Blue */
  --primary-light: #e0f2fe;
  --secondary: #00a896; /* Teal */
  --secondary-light: #e6f7f5;
  --accent: #ffb703; /* Warm accent for CTA */
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(0, 123, 181, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-alt { background-color: var(--bg-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  padding: 16px 0;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: var(--secondary);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
  border-radius: 2px;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, var(--primary-light) 0%, var(--bg-color) 60%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.hero-img-wrapper img {
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.fc-1 { bottom: 40px; left: -30px; animation-delay: 0s; }
.fc-2 { top: 40px; right: -20px; animation-delay: 2s; }

.floating-card i {
  font-size: 2rem;
  color: var(--accent);
}

.fc-text h4 { font-size: 1rem; margin-bottom: 2px;}
.fc-text p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

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

/* Sections General */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--primary-light), transparent);
  z-index: -1;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: var(--bg-alt);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: #94a3b8;
  max-width: 300px;
}

.footer h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
}

/* Simple Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 3rem; }
  .hero p { margin: 0 auto 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floating-card { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-color);
    flex-direction: column;
    padding-top: 40px;
    transition: 0.4s ease;
  }
  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
}

/* Forms & Pages */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

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

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 181, 0.1);
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--secondary);
}

.contact-info-card h4 {
  margin-bottom: 8px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 123, 181, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.blog-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  color: var(--secondary);
}

/* About Team */
.team-member {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.team-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-info p {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Appointment Features */
.appointment-bg {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.success-message {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 24px;
  text-align: center;
  font-weight: 500;
}
