/* ==========================================================================
   Home Nursing Services - Karachi, Pakistan
   CSS Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties / Design Tokens --- */
:root {
  --primary-navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --primary-teal: #0D9488;
  --teal-hover: #0F766E;
  --teal-light: #F0FDFA;
  --teal-border: #CCFBF1;
  --accent-blue: #2563EB;
  --blue-light: #EFF6FF;
  --soft-bg: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1DA851;

  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --shadow-teal: 0 12px 24px -6px rgba(13, 148, 136, 0.25);
  
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1240px;
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

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

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--teal-light);
  color: var(--primary-teal);
  border: 1px solid var(--teal-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -8px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.5);
}

/* --- Sticky Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-title span {
  color: var(--primary-teal);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -2px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-teal);
  border-radius: var(--radius-full);
}

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

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1050;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-navy);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.drawer-link.active {
  color: var(--primary-teal);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F0FDFA 100%);
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--primary-navy);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary-teal);
  position: relative;
  display: inline-block;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  position: relative;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Floating Trust Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: 20px;
  left: -20px;
}

.floating-card-2 {
  top: 30px;
  right: -20px;
  animation-delay: 2s;
}

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

.icon-box-sm {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.floating-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Trust Bar Section --- */
.trust-bar {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px;
}

.trust-icon {
  font-size: 1.8rem;
  color: var(--primary-teal);
  line-height: 1;
}

.trust-text {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1rem;
}

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

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-teal);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-border);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-action {
  margin-top: auto;
}

/* --- Medical Disclaimer Banner --- */
.disclaimer-banner {
  background-color: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-top: 50px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-text {
  font-size: 0.9rem;
  color: #92400E;
  line-height: 1.6;
}

.disclaimer-text strong {
  font-weight: 700;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-border);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.why-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

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

.nurse-profile-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.nurse-portrait-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--teal-light);
  box-shadow: var(--shadow-md);
}

.nurse-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nurse-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.nurse-role {
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
}

.nurse-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.nurse-tag {
  background-color: var(--soft-bg);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

.credential-notice {
  background-color: var(--soft-bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

.about-content-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.975rem;
  font-weight: 500;
}

.about-list-item i {
  color: var(--primary-teal);
  font-size: 1.1rem;
}

/* --- How It Works --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-border);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal-border);
  line-height: 1;
  margin-bottom: 16px;
}

.process-card:hover .process-number {
  color: var(--primary-teal);
}

.process-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* --- Emergency Notice Banner --- */
.urgent-notice {
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF5F5 100%);
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 60px 0;
}

.urgent-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.urgent-title {
  font-size: 1.25rem;
  color: #991B1B;
  margin-bottom: 4px;
}

.urgent-desc {
  font-size: 0.925rem;
  color: #7F1D1D;
}

/* --- Karachi Service Area --- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.area-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.area-map-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px 0;
}

.area-chip {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.area-chip i {
  color: var(--primary-teal);
}

/* --- WhatsApp CTA Highlight Banner --- */
.whatsapp-cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.whatsapp-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.whatsapp-cta-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.whatsapp-cta-text {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.whatsapp-cta-sub {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-top: 14px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.demo-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--soft-bg);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-teal);
  opacity: 0.4;
  margin-bottom: 12px;
}

.quote-text {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

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

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.active {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-navy);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--teal-light);
  color: var(--primary-teal);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* --- Contact Section & Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--soft-bg);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-info-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Demo Modal Pop-up */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.demo-modal.active {
  opacity: 1;
  visibility: visible;
}

.demo-modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.demo-modal.active .demo-modal-content {
  transform: scale(1);
}

.demo-modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px auto;
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid #1E293B;
}

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

.footer-logo {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--primary-teal);
}

.footer-sub {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.925rem;
}

.footer-link:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* --- Fixed Floating WhatsApp & Back to Top Buttons --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
}

.floating-whatsapp {
  position: relative;
  display: flex;
  align-items: center;
}

.whatsapp-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .area-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .trust-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid, .why-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-img {
    height: 340px;
  }

  .floating-card-1 {
    left: 10px;
    bottom: 10px;
  }

  .floating-card-2 {
    right: 10px;
    top: 10px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid, .why-grid, .process-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .urgent-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}
