/* =========================
   RESET & VARIABLES
========================= */
:root {
  --primary-blue: #0A3D62; /* Deep Premium Navy */
  --accent-blue: #1890FF; /* Bright Medical Blue */
  --bg-light: #F4F7FB; /* Soft Hospital White/Grey */
  --text-main: #2C3E50;
  --text-muted: #576574;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 12px rgba(10, 61, 98, 0.06);
  --shadow-lg: 0 12px 30px rgba(10, 61, 98, 0.12);
  --radius: 16px; 
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER & LOGO FIX (For Consistency)
========================= */
.header {
    height: 90px; /* ഹെഡറിന്റെ ഹൈറ്റ് എല്ലാ പേജിലും ഒരേപോലെയാക്കും */
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px; /* ലോഗോയുടെ ഉയരം എല്ലാ പേജിലും ഫിക്സ് ചെയ്യുന്നു */
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.02);
}

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--accent-blue);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-blue);
}

/* =========================
   BUTTONS
========================= */
.btn-main {
  background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  margin-left: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: none;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  padding: 80px 0;
  background: var(--white);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: var(--shadow-sm);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* =========================
   CARDS (Services, Packages, Lab)
========================= */
.services, .packages, .contact, .lab {
  padding: 80px 0;
}

.services-grid, .packages-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card, .package-card, .contact-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover, .package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card i {
  font-size: 48px;
  color: var(--accent-blue);
  margin-bottom: 20px;
  background: rgba(24, 144, 255, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: inline-block;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
  margin-top: 40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width: 768px) {
  .header { height: 80px; }
  .logo img { height: 50px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    display: none;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
  }
  .nav.active { display: flex; }
  .nav a { margin: 10px 0; }
}
/* =========================
   BOOKING WIDGET & FORM FIX
========================= */
.booking-widget {
  max-width: 800px;
  margin: 50px auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-form select, 
.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: #f8fafc;
  transition: var(--transition);
}

.contact-form select:focus, 
.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: var(--accent-blue);
  background: var(--white);
}

/* Date ഉം Time ഉം ഒരേ വരിയിൽ വരാൻ */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

/* കൺഫേം ബട്ടൺ സെന്റർ ആക്കാൻ */
.contact-form .btn-main {
  width: 100%;
  margin-left: 0;
  padding: 16px;
  font-size: 18px;
  cursor: pointer;
  border: none;
}

/* മൊബൈൽ റെസ്പോൺസീവ് */
@media(max-width: 768px) {
  .booking-widget {
    padding: 20px;
    margin: 30px auto;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr; /* മൊബൈലിൽ ഒന്നിന് താഴെ ഒന്നായി വരും */
  }
}