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

/* CSS Variables for Premium Design System */
:root {
  --primary: #0a2540;        /* Deep Premium Navy */
  --primary-light: #1e3a5f;  /* Medium Navy */
  --accent: #0f9f90;         /* Deep Teal */
  --accent-light: #14b8a6;   /* Light Teal Accent */
  --gold: #d4af37;           /* Premium Gold for accents */
  --text-dark: #1e293b;      /* Slate-800 */
  --text-muted: #64748b;     /* Slate-500 */
  --bg-light: #f8fafc;       /* Slate-50 */
  --bg-white: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-color: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --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-premium: 0 20px 25px -5px rgba(15, 159, 144, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

/* Global Resets & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(10, 37, 64, 0.2);
}

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

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(20, 184, 166, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

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

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

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

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

/* Hero Slider Section */
.hero-slider-container {
  position: relative;
  height: calc(100vh - 80px);
  width: 100%;
  overflow: hidden;
  margin-top: 80px; /* Shift slider below the fixed header bar */
}

.slider-wrapper {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
}

.slide.has-text .slide-img {
  filter: brightness(0.45);
}

.slide.image-only .slide-img {
  filter: brightness(1);
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  max-width: 800px;
  padding: 0 50px;
}

.slide-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.about-title-tag {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.about-bio {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 30px;
  white-space: pre-line;
}

.doctor-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spec-icon {
  background-color: rgba(15, 159, 144, 0.1);
  color: var(--accent);
  padding: 8px;
  border-radius: 8px;
  font-size: 1.1rem;
}

.spec-text h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.spec-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--gold);
  border-left: 4px solid var(--gold);
  z-index: 1;
  border-radius: 20px 0 0 0;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border-bottom: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
  z-index: 1;
  border-radius: 0 0 20px 0;
}

/* Specialized Procedures */
.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.procedure-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.procedure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
  transition: var(--transition);
}

.procedure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(15, 159, 144, 0.2);
}

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

.procedure-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent);
  display: inline-block;
}

.procedure-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.procedure-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Team Section */
.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 380px;
  width: 100%;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.team-img-wrapper {
  height: 380px;
  overflow: hidden;
  position: relative;
  background-color: var(--primary);
}

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

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 30px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.team-qual {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Details & Map */
.contact-section-bg {
  background-color: #f1f5f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  background-color: rgba(15, 159, 144, 0.1);
  color: var(--accent);
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-card-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

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

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 350px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-top: 50px;
}

.form-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}

.form-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.form-control {
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-control:focus {
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(15, 159, 144, 0.15);
}

.form-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-message.success {
  background-color: #ecfdf5;
  color: var(--success);
  border: 1px solid #a7f3d0;
  display: block;
}

.form-message.error {
  background-color: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
  display: block;
}

/* Footer Section */
footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 80px 0 30px;
}

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

.footer-logo-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.footer-logo-panel p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.footer-qualifications {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-links-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-panel h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links-panel ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links-panel ul a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links-panel ul a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--accent-light);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* Floating Actions */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* -------------------- ADMIN PANEL STYLING -------------------- */
.admin-body {
  background-color: #f1f5f9;
  min-height: 100vh;
}

.admin-login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.admin-login-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 450px;
  width: 100%;
  padding: 40px;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 35px;
}

.admin-login-header h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-top: 10px;
}

.admin-login-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Admin Dashboard Layout */
.admin-navbar {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

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

.admin-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav-brand h2 {
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.admin-nav-brand span {
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-nav-actions a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
}

.admin-nav-actions a:hover {
  color: var(--bg-white);
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 70px);
}

.admin-sidebar {
  background-color: var(--bg-white);
  border-right: 1px solid var(--border-color);
  padding: 30px 20px;
}

.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.admin-menu-item:hover, .admin-menu-item.active {
  background-color: rgba(15, 159, 144, 0.08);
  color: var(--accent);
}

.admin-menu-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.admin-content-area {
  padding: 40px;
  overflow-y: auto;
}

.admin-header-title {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header-title h2 {
  font-size: 1.8rem;
  color: var(--primary);
}

.admin-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.admin-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* Tab Content toggling */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 25px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.stat-card-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
}

.stat-card-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 5px;
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(15, 159, 144, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Lists and Tables */
.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: var(--bg-white);
  transition: var(--transition);
}

.admin-list-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(15, 159, 144, 0.2);
}

.admin-list-item-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-list-thumb {
  width: 80px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.admin-list-thumb-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-list-info h4 {
  font-size: 1.05rem;
  color: var(--primary);
}

.admin-list-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.btn-icon-danger {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-icon-danger:hover {
  background: var(--danger);
  color: var(--bg-white);
}

.btn-icon-primary {
  color: var(--primary);
  background: rgba(10, 37, 64, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-icon-primary:hover {
  background: var(--primary);
  color: var(--bg-white);
}

/* Modal Popup Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--danger);
}

/* Message Inbox specific */
.message-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.message-meta h4 {
  font-size: 1.1rem;
  color: var(--primary);
}

.message-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.message-body {
  font-size: 0.95rem;
  color: var(--text-dark);
  white-space: pre-line;
}

/* Helper styles */
.text-right {
  text-align: right;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.alert {
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-danger {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.alert-success {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

/* -------------------- RESPONSIVE DESIGN -------------------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-width: 500px;
    margin: 40px auto 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .admin-wrapper {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
  }
  .admin-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .hero-slider-container {
    height: 56.25vw;
    min-height: 320px;
    margin-top: 80px; /* Keep shifted below mobile fixed header */
  }
  .slide-content {
    padding: 0 25px;
  }
  .slide-content h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .slide-actions .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
  .nav-links {
    display: none; /* In production JS, toggle active class for a overlay menu */
  }
  .mobile-menu-btn {
    display: block;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .contact-form-container {
    padding: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .admin-content-area {
    padding: 20px;
  }
}

/* New dynamic sections: Why Choose, Conditions, Testimonials */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-white);
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-choose-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 159, 144, 0.2);
}

.why-choose-item i {
  color: var(--accent);
  font-size: 1.25rem;
  background: rgba(15, 159, 144, 0.1);
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.condition-badge {
  background: var(--bg-white);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.condition-badge i {
  color: var(--gold);
}

.condition-badge:hover {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.testimonial-comment {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.testimonial-author::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent-light);
  font-size: 0.8rem;
}

