/* ==========================================================
   PHARMA LIFE SOLUTION – Premium Medical Website Stylesheet
   Author: Pharma Life Solution Design Team
   Version: 1.0
   ========================================================== */

/* ----------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Brand Colors */
  --clr-green: #0E7A5F;
  --clr-green-light: #12a07b;
  --clr-green-pale: #e6f5f1;
  --clr-blue: #0B3C5D;
  --clr-blue-light: #0e4d78;
  --clr-accent: #FF7A00;
  --clr-accent-pale: #fff3e6;
  --clr-bg: #F7FAFC;
  --clr-white: #FFFFFF;
  --clr-dark: #0d1b2a;
  --clr-text: #2c3e50;
  --clr-muted: #6b7c93;
  --clr-border: #dce9f0;

  /* Typography */
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale (rem) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 60, 93, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 60, 93, 0.12);
  --shadow-lg: 0 16px 48px rgba(11, 60, 93, 0.16);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Max widths */
  --max-w: 1280px;
  --nav-h: 72px;
}

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
*,
*::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(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ----------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.text-green {
  color: var(--clr-green);
}

.text-accent {
  color: var(--clr-accent);
}

.section {
  padding-block: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-green);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 2px;
  background: var(--clr-green);
}

.accent-label {
  color: var(--clr-accent);
}

.accent-label::before {
  background: var(--clr-accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--clr-blue);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-green);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(14, 122, 95, 0.35);
}

.btn-primary:hover {
  background: var(--clr-green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 122, 95, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--clr-white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}

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

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 2rem;
  color: var(--clr-green);
  line-height: 1;
}

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

.logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-blue);
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-green);
  background: var(--clr-green-pale);
}

.nav-link.nav-cta {
  background: var(--clr-green);
  color: var(--clr-white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--clr-green-light);
  color: var(--clr-white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--clr-blue);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  padding-top: 3rem;
  padding-bottom: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('media/banner.jpg') center center / cover no-repeat;
  margin-top: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Grid pattern overlay for texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(11, 60, 93, 0) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14, 122, 95, 0) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 860px;
  animation: fadeUp 0.9s ease both;
  margin-top: 80PX;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  animation: fadeUp 0.9s 0.1s ease both;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--clr-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: var(--space-md);
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-line {
  display: block;
}

.hero-highlight {
  color: var(--clr-accent);
}

.hero-large {
  color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.9s 0.35s ease both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.5s ease both;
}

/* Decorative pill shapes */
.hero-deco {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.08;
  z-index: 1;
}

.hero-deco-1 {
  width: 320px;
  height: 320px;
  background: var(--clr-green-light);
  top: -80px;
  right: -80px;
}

.hero-deco-2 {
  width: 200px;
  height: 200px;
  background: var(--clr-accent);
  bottom: -40px;
  left: -40px;
}

/* ----------------------------------------------------------
   STATS BAR
   ---------------------------------------------------------- */
.stats-bar {
  background: var(--clr-white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid var(--clr-border);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--clr-muted);
  font-weight: 500;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: var(--space-lg);
  text-align: center;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--clr-text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 0.85rem;
  color: var(--clr-muted);
}

/* Mission / Vision cards */
.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  max-width: 700px;
  margin-inline: auto;
}

.mv-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.mv-card:hover {
  border-color: var(--clr-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.mv-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.mv-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-blue);
  margin-bottom: 0.4rem;
}

.mv-card p {
  font-size: 0.88rem;
  color: var(--clr-muted);
  margin-bottom: 0 !important;
  line-height: 1.6;
}

/* Founder card */
.founder-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--clr-blue);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  color: var(--clr-white);
  max-width: 480px;
  margin-inline: auto;
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.founder-info strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.founder-info span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.founder-qual {
  font-size: 0.75rem !important;
  color: var(--clr-accent) !important;
  opacity: 1 !important;
}



/* ----------------------------------------------------------
   FACILITY GALLERY SECTION
   ---------------------------------------------------------- */
.facility-gallery {
  background: var(--clr-bg);
}

.facility-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.facility-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-card:hover img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(11, 60, 93, 0) 35%, rgba(11, 60, 93, 0.9) 100%);
  opacity: 0;
  transition: var(--transition);
}

.facility-card:hover .facility-overlay {
  opacity: 1;
}



.facility-card:hover .facility-zoom-icon {
  transform: translateY(0);
  opacity: 1;
}

.facility-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.3;
  transform: translateY(14px);
  opacity: 0;
  transition: var(--transition) 0.05s;
}

.facility-card:hover .facility-card-title {
  transform: translateY(0);
  opacity: 1;
}



/* ----------------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------------- */
.services-section {
  background: var(--clr-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.1rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover .sc-img {
  background: var(--clr-green);
  transform: scale(1.05);
}

.sc-img {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--clr-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  transition: var(--transition);
}

.service-card:hover .sc-img {
  background: var(--clr-green);
  transform: scale(1.05);

}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-blue);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  line-height: 1.55;
}

/* ----------------------------------------------------------
   WHY CHOOSE US
   ---------------------------------------------------------- */
.why-section {
  background: var(--clr-blue);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(14, 122, 95, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(255, 122, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.why-section .section-label,
.why-section .section-heading,
.why-section .section-sub {
  color: var(--clr-white);
}

.why-section .section-label {
  color: var(--clr-accent);
}

.why-section .section-label::before {
  background: var(--clr-accent);
}

.why-section .section-heading .text-green {
  color: #3dd9aa;
}

.why-section .section-sub {
  color: rgba(255, 255, 255, 0.72);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.3rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(61, 217, 170, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.why-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.contact-section {
  background: var(--clr-white);
}

/* Contact Info Cards + Map layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Left: vertical stack of info cards */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--clr-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ci-icon {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--clr-blue);
  margin-bottom: 0.5rem;
}

.contact-info-card a,
.contact-info-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-muted);
  line-height: 1.5;
  transition: var(--transition);
}

.contact-info-card a:hover {
  color: var(--clr-green);
}

/* Right: Google Map */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
  min-height: 460px;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
}



/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background: var(--clr-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-btn:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-green);
  display: inline-block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--clr-green);
  font-size: 1rem;
  font-weight: 700;
}

.footer-col ul li a:hover {
  color: var(--clr-white);
  padding-left: 4px;
}

/* Footer Contact */
.footer-contact {
  gap: 0.85rem !important;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

.fc-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--clr-green-light);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ----------------------------------------------------------
   SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-green);
  border-radius: 3px;
}

/* ==========================================================
   RESPONSIVE SYSTEM
   ========================================================== */

/* ----------------------------------------------------------
   TABLET LARGE (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  /* About */
  .about-content {
    max-width: 90%;
  }

  /* Facility Gallery */
  .facility-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Why */
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--clr-border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--clr-border); }
}

/* ----------------------------------------------------------
   TABLET (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
  }

  /* Navbar — hamburger */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--clr-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--clr-border);
    gap: 0.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link.nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 320px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section sub */
  .section-sub {
    font-size: 0.95rem;
  }
}

/* ----------------------------------------------------------
   MOBILE (≤ 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --space-2xl: 3rem;
    --space-xl: 2rem;
  }

  /* Hero */
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-heading {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  /* About */
  .about-content {
    max-width: 100%;
  }

  .mv-cards {
    grid-template-columns: 1fr;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }

  .founder-info {
    align-items: center;
    text-align: center;
  }

  /* Facility Gallery */
  .facility-gallery-grid {
    grid-template-columns: 1fr;
  }

  .facility-card {
    aspect-ratio: 16 / 10;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Contact cards */
  .contact-info-card {
    padding: 1rem;
  }

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

  .footer-col-center ul {
    align-items: flex-start;
  }

  /* Section heading */
  .section-heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}

/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}