/* --- Base Variables --- */
:root {
  /* Colors - Clean modern medical aesthetic */
  --primary: #0A5C70;
  --primary-light: #168DAA;
  --secondary: #2CADE3;
  --accent: #FF8F6A; /* subtle warm accent */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-body: #F8FAFC;
  --bg-light: #F1F5F9;
  --white: #FFFFFF;

  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(10, 92, 112, 0.08);

  /* Typography */
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 16px;
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Headings & Typography --- */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10, 92, 112, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 92, 112, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Utility Classes --- */
.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(10, 92, 112, 0.12);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
}

.logo-icon {
  font-size: 2rem;
  color: var(--secondary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

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

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

.nav-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}
.nav-btn:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 10px rgba(10, 92, 112, 0.3);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: var(--bg-body);
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.shape-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: linear-gradient(to right, #EEF7FA, #2CADE3);
  animation: float 15s ease-in-out infinite;
}

.shape-2 {
  bottom: -10%; right: -5%;
  width: 40vw; height: 40vw;
  background: linear-gradient(to right, #168DAA, #D6F1FA);
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(44, 173, 227, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-card.hero-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  animation: slideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
}

.hero-card.delay-1 { animation-delay: 0.2s; }
.hero-card.delay-2 { animation-delay: 0.4s; }

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}
.hero-card h3 { font-size: 1.2rem; }
.hero-card p { margin: 0; font-size: 0.9rem; }

/* --- Services Section --- */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(44, 173, 227, 0.1), rgba(10, 92, 112, 0.1));
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.service-subtitle {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* --- About Us Section --- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-alert {
  display: flex;
  gap: 1rem;
  background: rgba(44, 173, 227, 0.05);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-top: 2rem;
}

.info-alert i {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-top: 3px;
}

.info-alert p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* --- Qualifications Section --- */
.qual-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.custom-list {
  margin-top: 1.5rem;
}

.custom-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.custom-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.qual-card h3 i {
  color: var(--secondary);
  margin-right: 0.5rem;
}

/* --- Split Section (Hours & Contact) --- */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.hours-box.accent-border {
  border-top: 5px solid var(--primary);
}

.hours-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hours-header i {
  font-size: 2.5rem;
  color: var(--primary);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  font-weight: 600;
  color: var(--text-main);
}

.hours-list .divider {
  color: var(--secondary);
  margin: 0 0.5rem;
}

.highlight {
  color: var(--primary-light) !important;
  font-weight: 700 !important;
}

.hours-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.hours-footer p {
  margin-bottom: 0.2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.phone-link, .mail-link {
  font-weight: 600;
  color: var(--primary);
}

.phone-link:hover, .mail-link:hover {
  color: var(--secondary);
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .hero-container, .about-container, .split-container {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2.8rem; }
  
  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .hero-card {
    flex: 1 1 200px;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-out;
    gap: 1.5rem;
  }
  
  .nav-list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-toggle {
    display: block;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}
