/* 
 * Workaholix by Laham Ventures
 * Core Design System & Stylesheet (Premium Luxury Minimal Aesthetic)
 */

/* ==========================================================================
   1. Imports & Typography
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   2. Design Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-blue: #0166e8;
  --white: #ffffff;
  --black: #111111;
  --gray-light: #fafafa;
  --gray-medium: #8e8e93;
  --gray-dark: #1c1c1e;

  /* Theme Variables (Default: Light Theme) */
  --bg-color: var(--white);
  --text-color: var(--black);
  --text-muted: #555555;
  --border-color: rgba(17, 17, 17, 0.08);
  --header-bg: rgba(255, 255, 255, 0.8);
  --input-bg: var(--gray-light);
  --input-border: rgba(17, 17, 17, 0.15);
  --btn-border: var(--black);
  --btn-bg: transparent;
  --btn-text: var(--black);
  --btn-hover-bg: var(--black);
  --btn-hover-text: var(--white);
  --menu-bg: var(--white);
  --menu-text: var(--black);

  /* Fonts */
  --font-heading: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout Spacing */
  --section-padding: 8rem 2rem;
  --container-width: 1300px;
  --transition-speed: 0.8s;
  --transition-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Dark Theme Variables */
body.dark-theme {
  --bg-color: var(--black);
  --text-color: var(--white);
  --text-muted: #aaaaaa;
  --border-color: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(17, 17, 17, 0.85);
  --input-bg: var(--gray-dark);
  --input-border: rgba(255, 255, 255, 0.18);
  --btn-border: var(--white);
  --btn-bg: transparent;
  --btn-text: var(--white);
  --btn-hover-bg: var(--white);
  --btn-hover-text: var(--black);
  --menu-bg: var(--black);
  --menu-text: var(--white);
}

/* ==========================================================================
   3. Global Reset & Base Elements
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Containers & Grid Layouts */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.thin-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  border: none;
  margin: 0;
  transition: background-color var(--transition-speed) var(--transition-curve);
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  display: inline-block;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.body-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
}

.body-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

/* Button Component */
.btn-premium {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  border: 1px solid var(--btn-border);
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 
    color 0.4s var(--transition-curve), 
    border-color var(--transition-speed) var(--transition-curve);
  z-index: 1;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--btn-hover-bg);
  transform: translateY(100%);
  transition: transform 0.4s var(--transition-curve);
  z-index: -1;
}

.btn-premium:hover {
  color: var(--btn-hover-text);
}

.btn-premium:hover::before {
  transform: translateY(0);
}

/* Primary Accent CTA Button variation */
.btn-primary-blue {
  border-color: var(--primary-blue);
  color: var(--white);
  background-color: var(--primary-blue);
}
.btn-primary-blue::before {
  background-color: var(--black);
}
.btn-primary-blue:hover {
  border-color: var(--black);
  color: var(--white);
}

/* ==========================================================================
   4. Floating WhatsApp & Header
   ========================================================================== */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: 
    height 0.4s var(--transition-curve),
    top 0.4s var(--transition-curve),
    width 0.4s var(--transition-curve),
    padding 0.4s var(--transition-curve),
    border-radius 0.4s var(--transition-curve);
}

.header.scrolled {
  height: 64px;
  top: 12px;
  width: 85%;
  padding: 0 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 35px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s ease;
}

.header.scrolled .logo-img {
  height: 28px;
}

/* Minimalist Hamburger Menu */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px; /* space out 3 lines */
  padding: 0;
  z-index: 102;
}

.menu-btn-bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-color);
  transition: transform 0.4s var(--transition-curve), opacity 0.3s ease, background-color 0.4s ease;
  transform-origin: center;
}

/* Hamburger Active State (Transforming to 'X') */
.menu-btn.active .menu-btn-bar:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}

.menu-btn.active .menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .menu-btn-bar:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

/* Force the X icon to always be visible against the overlay bg */
.menu-btn.active .menu-btn-bar {
  background-color: var(--menu-text) !important;
}

/* When the overlay is open ON TOP of dark background, ensure white X */
body.dark-theme .menu-btn.active .menu-btn-bar {
  background-color: #ffffff !important;
}

/* When the overlay is open ON TOP of light background, ensure black X */
body:not(.dark-theme) .menu-btn.active .menu-btn-bar {
  background-color: #111111 !important;
}

/* Fullscreen Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--menu-bg);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 2rem 100px;
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 0.6s var(--transition-curve), 
    visibility 0.6s var(--transition-curve),
    background-color 0.4s ease;
}

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

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav-links:hover .nav-link:not(:hover) {
  opacity: 0.25;
  filter: blur(1.5px);
}

.nav-item {
  overflow: hidden;
}

.nav-number {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-right: 1.25rem;
  display: inline-block;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--menu-text);
  display: flex;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.6s var(--transition-curve), color 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.nav-overlay.active .nav-link {
  transform: translateY(0);
}

/* Staggered transition delay for links */
.nav-item:nth-child(1) .nav-link { transition-delay: 0.1s; }
.nav-item:nth-child(2) .nav-link { transition-delay: 0.15s; }
.nav-item:nth-child(3) .nav-link { transition-delay: 0.2s; }
.nav-item:nth-child(4) .nav-link { transition-delay: 0.25s; }
.nav-item:nth-child(5) .nav-link { transition-delay: 0.3s; }

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-footer-meta {
  margin-top: auto;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-medium);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition-curve) 0.4s, transform 0.6s var(--transition-curve) 0.4s;
}

.nav-overlay.active .nav-footer-meta {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 99;
  cursor: pointer;
  transition: transform 0.3s var(--transition-curve), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ==========================================================================
   5. Hero Section (Centered Architectural Immersive)
   ========================================================================== */
.hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 0 1.5rem;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.5s var(--transition-curve);
  filter: brightness(0.5); /* Overlay level to guarantee readability */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.6) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--transition-curve) 0.2s, transform 1.2s var(--transition-curve) 0.2s;
}

.hero.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo {
  height: 55px;
  width: auto;
  margin-bottom: 0.5rem;
  opacity: 0.95;
  animation: fadeInDown 1s var(--transition-curve) both;
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-subbrand {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: -0.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 300;
  max-width: 650px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta .btn-premium {
  --btn-border: var(--white);
  --btn-text: var(--white);
  --btn-hover-bg: var(--white);
  --btn-hover-text: var(--black);
}

/* ==========================================================================
   6. About Section (Spacious Layout, Split Columns)
   ========================================================================== */
.about {
  background-color: var(--bg-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 4.5fr 5.5fr;
    gap: 6rem;
  }
}

.about-left {
  display: flex;
  flex-direction: column;
}

.about-image-wrapper {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1.2s var(--transition-curve);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--border-color);
  padding-left: 2rem;
  transition: border-color var(--transition-speed) var(--transition-curve);
}

@media (max-width: 991px) {
  .about-right {
    border-left: none;
    padding-left: 0;
  }
}

.about-highlight {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.about-description {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ==========================================================================
   7. Facilities Section (Architectural List Style)
   ========================================================================== */
.facilities {
  position: relative;
  background-color: var(--bg-color);
  overflow: hidden;
}

.facilities-header-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .facilities-header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.facilities-header-desc {
  max-width: 450px;
  margin-top: 1rem;
}

.facilities-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
}

.facility-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  align-items: start;
  gap: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: background-color 0.4s var(--transition-curve);
}

.facility-row:last-child {
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .facility-row {
    grid-template-columns: 3.5fr 6.5fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }
}

.facility-title-col {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.facility-num {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
}

.facility-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.facility-desc-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.facility-desc {
  max-width: 680px;
}

/* Hidden photo preview drawer concept */
.facility-preview-img-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-curve), margin-top 0.5s var(--transition-curve);
  border-radius: 2px;
}

.facility-row.expanded .facility-preview-img-wrapper {
  max-height: 500px;
  margin-top: 1.5rem;
}

.facility-preview-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Side-by-side double images for meeting rooms */
.facility-images-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.facility-images-double .facility-preview-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .facility-images-double {
    grid-template-columns: 1fr;
  }
  .facility-images-double .facility-preview-img {
    height: 200px;
  }
}

.facility-arrow-col {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.facility-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 
    background-color 0.4s var(--transition-curve), 
    border-color 0.4s var(--transition-curve), 
    transform 0.4s var(--transition-curve);
}

.facility-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-color);
  stroke-width: 1.5;
  transition: stroke 0.4s var(--transition-curve), transform 0.4s var(--transition-curve);
}

/* Hover States (Apple Architectural Vibe) */
.facility-row:hover .facility-title {
  color: var(--primary-blue);
}

.facility-row:hover .facility-arrow {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.facility-row:hover .facility-arrow svg {
  stroke: var(--white);
  transform: translateX(3px);
}

.facility-row.expanded .facility-arrow svg {
  transform: rotate(90deg);
}

.facility-row.expanded:hover .facility-arrow svg {
  transform: rotate(90deg);
}

/* Split Image Banner bottom */
.facilities-bottom-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 2px;
  margin-top: 2rem;
}

.facilities-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--transition-curve);
}

.facilities-bottom-banner:hover .facilities-banner-img {
  transform: scale(1.03);
}

/* ==========================================================================
   8. Location Section (Minimal Layout, Embedded Google Map)
   ========================================================================== */
.location {
  background-color: var(--bg-color);
}

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

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 4.5fr 5.5fr;
    gap: 6rem;
  }
}

.location-info {
  display: flex;
  flex-direction: column;
}

.location-address {
  margin-bottom: 2rem;
}

.address-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.address-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.address-directions-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.address-directions-link:hover {
  border-bottom: 1px solid var(--primary-blue);
}

.location-map-container {
  width: 100%;
  height: 480px;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color var(--transition-speed) var(--transition-curve);
}

.location-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Premium dark architectural map overlay */
}

body:not(.dark-theme) .location-map-container iframe {
  filter: grayscale(0.5) contrast(1); /* Clean gray tone maps in light theme */
}

/* ==========================================================================
   9. Contact Section (Minimalist Input Fields)
   ========================================================================== */
.contact {
  background-color: var(--bg-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 4.5fr 5.5fr;
    gap: 6rem;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-medium);
  font-weight: 600;
}

.contact-meta-value {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--text-color);
}

.contact-meta-value a:hover {
  color: var(--primary-blue);
}

.contact-form-container {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--input-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  border-radius: 0;
  transition: border-color 0.4s var(--transition-curve);
}

.form-input:focus {
  outline: none;
  border-bottom: 1px solid var(--primary-blue);
}

.form-label {
  position: absolute;
  top: 0.8rem;
  left: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.4s var(--transition-curve), font-size 0.4s var(--transition-curve), color 0.4s var(--transition-curve);
}

/* Floating Label Logic */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-20px);
  font-size: 0.75rem;
  color: var(--primary-blue);
}

textarea.form-input {
  min-height: 120px;
  resize: none;
}

.form-submit-btn {
  align-self: flex-start;
  margin-top: 1rem;
}

/* Form success message */
.form-success-msg {
  display: none;
  font-size: 1rem;
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 1.5rem;
  border-radius: 2px;
  margin-top: 1rem;
}

/* ==========================================================================
   10. Footer (Clean Architectural Typography)
   ========================================================================== */
.footer {
  background-color: var(--bg-color);
  padding: 6rem 2rem 3rem;
  border-top: 1px solid var(--border-color);
  transition: border-color var(--transition-speed) var(--transition-curve);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gray-medium);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-nav-link:hover {
  color: var(--primary-blue);
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  align-items: center;
  transition: border-color var(--transition-speed) var(--transition-curve);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--gray-medium);
}

.footer-meta-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-meta-link {
  font-size: 0.85rem;
  color: var(--gray-medium);
}

.footer-meta-link:hover {
  color: var(--primary-blue);
}

/* ==========================================================================
   11. Reveal & Stagger Scroll Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 1.2s var(--transition-curve), transform 1.2s var(--transition-curve), filter 1.2s var(--transition-curve);
  will-change: transform, opacity, filter;
}

.reveal-slide-up {
  transform: translateY(40px);
}

.reveal-fade {
  transform: scale(0.98);
}

.reveal-blur {
  filter: blur(10px);
  transform: translateY(10px);
}

/* Reveal Active State */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger Animation Delays */
.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

/* Special Down Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   12. WhatsApp Section Details & Custom Icons
   ========================================================================== */
.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  transition: transform 0.3s var(--transition-curve), background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 0.5rem;
}
.contact-whatsapp-link:hover {
  transform: scale(1.08);
  background-color: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.4);
}
.contact-whatsapp-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==========================================================================
   13. Global HTML Overflow & Mobile Fixes
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 767px) {
  .header {
    top: 12px;
    width: 92%;
    height: 64px;
    padding: 0 1.5rem;
  }
  .header.scrolled {
    top: 8px;
    width: 90%;
    height: 56px;
    padding: 0 1.25rem;
  }
  .section {
    padding: 4rem 1.25rem;
  }
  .section-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  .body-lead {
    font-size: 1.1rem;
  }
  .about-img {
    height: 300px;
  }
  .about-right {
    padding-left: 0;
  }
  .facilities-bottom-banner {
    height: 240px;
  }
  .location-map-container {
    height: 300px;
  }
  .contact-form {
    gap: 2rem;
  }
  .footer {
    padding: 4rem 1.25rem 2rem;
  }
  .footer-top {
    gap: 2rem;
    margin-bottom: 3rem;
  }
}
