:root {
  /* Extracted Palette - Light Mode (Default) */
  --bg-body: #f8f6f4;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.85);

  --color-primary: #c5e0e0;
  --color-secondary: #d3eaea;
  --color-accent: #6ebfb5;
  --color-accent-hover: #5aa8a0;

  --color-white: #ffffff;
  --color-light: #f8f6f4;

  /* Text Colors */
  --text-main: #2d3436;
  --text-muted: #636e72;
  --text-light: #f8f6f4;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(110, 191, 181, 0.3);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: 1px solid rgba(0, 0, 0, 0.05);
  /* Solid border for light mode */
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-body: #1a1a1a;
  --bg-card: #2d2d2d;
  --bg-header: rgba(26, 26, 26, 0.85);

  --color-primary: #2c3e50;
  --color-secondary: #34495e;

  --text-main: #ecf0f1;
  --text-muted: #bdc3c7;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(110, 191, 181, 0.4);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--text-main);
  color: var(--color-white);
}

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

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: var(--glass-border);
  transition: background 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand h1 {
  font-size: 1.5rem;
  color: var(--text-main);
}


.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-light) 100%);
  min-height: 90vh;
  /* Adjusted for better viewport fit */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Prevent spillover */
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: fadeUp 1s ease-out;
}

.hero-subtitle {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 90%;
  line-height: 1.7;
}

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

/* Social Media Links */
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: var(--glass-border);
}

.social-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Hero Image */
.hero-image {
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-image img {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(110, 191, 181, 0.4),
    0 0 0 8px rgba(255, 255, 255, 0.3);
  border: 4px solid #fff;
  transition: var(--transition);
  margin: 0 auto;
}

.hero-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(110, 191, 181, 0.6),
    0 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Updated Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 2;
  }

  .hero-content,
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    /* Smaller H1 on mobile */
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    /* Reduce top padding */
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .about-grid,
  .info-grid,
  .values-grid,
  .service-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    /* Stack everything */
    gap: 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

.hero-image {
  order: 1;
  /* Image first on mobile usually looks nice if it's a person */
  margin-bottom: 20px;
}

.hero-buttons,
.social-links {
  justify-content: center;
}

.hero h1 {
  font-size: 2.5rem;
}


/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  width: 30px;
  /* Fixed width */
  height: 24px;
  /* Fixed height to fit the spans */
  justify-content: center;
  /* Vertically center spans */
  padding: 0;
  flex-shrink: 0;
  /* Prevent squashing */
}

/* =========================================
   Gallery Page Styles
   ========================================= */

.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  /* Use CSS Columns for Masonry Layout */
  column-count: 3;
  column-gap: 20px;
  margin-top: 40px;
}

/* Responsive Columns */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;

  /* Masonry Item Styles */
  break-inside: avoid;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  /* Allow natural height */
  display: block;
  /* Remove bottom space */
  object-fit: contain;
  /* Ensure full image is visible */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item.portrait {
  grid-row: span 2;
  aspect-ratio: 3/4;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 5px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 400;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-toggle i {
  font-size: 1.5rem;
  color: var(--text-main);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] i {
  transform: rotate(90deg);
  /* Optional rotation effect */
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-card);
    padding: 100px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .site-nav a {
    font-size: 1.5rem;
    color: var(--text-main);
  }
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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


/* =========================================
   Thank You Popup Styles
   ========================================= */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

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

.popup-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  border: var(--glass-border);
}

.popup-overlay.active .popup-card {
  transform: scale(1);
}

/* Checkmark Animation */
.checkmark-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 0 rgba(110, 191, 181, 0.7);
  animation: pulse-green 2s infinite;
}

.checkmark-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 0.5s ease 0.2s;
  /* Delay start */
}

.popup-overlay.active .checkmark-icon {
  stroke-dashoffset: 0;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(110, 191, 181, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(110, 191, 181, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(110, 191, 181, 0);
  }
}

.popup-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.popup-message {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.5;
}

.popup-close-btn {
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(110, 191, 181, 0.3);
}

.popup-close-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 191, 181, 0.4);
}

/* Dark mode adjustments for popup */
body.dark-mode .popup-card {
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Spacing Utilities */
.section-padding {
  padding: 80px 0;
}

.pt-header {
  padding-top: var(--header-height);
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 15px;
}

.mb-3 {
  margin-bottom: 20px;
}

.mb-4 {
  margin-bottom: 24px;
}

.mt-4 {
  margin-top: 30px;
}

/* Backgrounds */
.bg-light {
  background-color: var(--color-light);
}

.bg-accent {
  background-color: var(--color-accent);
  color: #fff;
}

.bg-accent h2 {
  color: #fff;
}

.bg-accent p {
  opacity: 0.9;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  width: 100%;
}

/* About Page Specifics */
/* About Page Specifics */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile First */
  gap: 40px;
  align-items: center;
}

@media (min-width: 993px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    /* Desktop restore */
    align-items: center;
    gap: 80px;
  }
}

.about-image {
  position: relative;
  overflow: hidden;
  /* For zoom effect containment */
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Only target the image in the Who I Am section */
.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  transition: transform 0.5s ease, filter 0.3s ease;
}

/* Specific fix for Who I Am section image to be balanced */
/* Specific fix for Who I Am section image to be balanced */
.about-grid:not(.reverse) .about-image img {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
}

.about-content p {
  text-align: center;
  /* Mobile Center */
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 0 15px;
  /* Added side gap */
}

@media (min-width: 993px) {
  .about-content p {
    text-align: left;
    /* Desktop Left */
  }
}

/* Section Tag */
.section-tag {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
  text-align: center;
  /* Mobile Center */
}

@media (min-width: 993px) {
  .section-tag {
    text-align: left;
  }
}

/* Stats Row */
.about-stats {
  display: flex;
  justify-content: center;
  /* Mobile Center */
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

@media (min-width: 993px) {
  .about-stats {
    justify-content: flex-start;
    /* Desktop Start */
    text-align: left;
  }
}

/* About Page Typography Classes (Replaces Inline Styles) */
.about-title {
  font-size: 1.8rem;
  /* Mobile Size */
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 2.5rem;
    /* Desktop Size */
  }
}

.about-lead {
  font-size: 1rem;
  /* Mobile Size */
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .about-lead {
    font-size: 1.15rem;
    /* Desktop Size */
  }
}

/* Improved Stats Layout for Mobile */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columns on mobile */
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-stats {
    display: flex;
    gap: 40px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 1rem;
  }
}

.stat-item {
  text-align: center;
  flex: 1;
  /* Distribute evenly */
  min-width: 80px;
}

@media (min-width: 993px) {
  .stat-item {
    text-align: left;
    flex: 0 1 auto;
  }
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  margin: 0;
}

.about-image:hover img {
  transform: scale(1.05);
  /* Zoom in effect */
  filter: brightness(1.05);
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse>* {
  direction: ltr;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Check Lists */
.list-check {
  list-style: none;
  margin-top: 20px;
}

.list-check li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-check i {
  color: var(--color-accent);
  margin-top: 4px;
}

/* Values Grid (Small Cards) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--color-accent);
  transition: var(--transition);
}

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

.value-card i {
  color: var(--color-accent);
  margin-bottom: 15px;
}

.value-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

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

/* Commitment Cards (Enhanced Info Cards) */
.info-card.left-align {
  text-align: left;
  border-left: 4px solid var(--color-accent);
  /* distinctive style */
  border-top: none;
}

.info-card.left-align h3 {
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* Responsive Fixes */
@media (max-width: 992px) {

  .about-grid,
  .about-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }
}

/* =========================================
   New Section Styles
   ========================================= */

/* Marquee Section */
.marquee-section {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* Section Headings */
.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Why Choose Us & Generic Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: var(--glass-border);
}

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

.info-card h3 {
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1.35rem;
}

/* Philosophy Section (Parallax) */
.philosophy-section {
  /* Using a gradient as placeholder for Himalayas/Spiritual bg */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('pic/about_bg_final.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}

.philosophy-author {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
  display: block;
}

/* CTA Map Section */
.cta-map-section {
  text-align: center;
  background: var(--color-light);
}

.map-container {
  width: 100%;
  height: 400px;
  background: #e0e0e0;
  border-radius: var(--radius);
  margin-top: 30px;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: #d3eaea;
}

/* =========================================
   Services Page Styles
   ========================================= */

/* Page Header - Premium Redesign */
.page-header {
  background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(110, 191, 181, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeDown 0.8s ease-out;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
  font-weight: 300;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

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

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

/* Search Bar */
.search-container {
  max-width: 600px;
  margin: -30px auto 60px;
  /* Overlap header slightly or just margin */
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.search-input-wrapper {
  position: relative;
  background: var(--color-white);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 5px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-input-wrapper i {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-left: 20px;
}

.search-input {
  width: 100%;
  border: none;
  padding: 15px 20px;
  font-size: 1.1rem;
  outline: none;
  background: transparent;
  color: var(--text-main);
  border-radius: 50px;
}

/* Service Categories */
.service-category {
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-category:last-child {
  border-bottom: none;
}

.service-category h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.service-category h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Trust Section */
.trust-section {
  padding: 80px 0;
  background: var(--color-light);
  margin-top: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.trust-item {
  text-align: center;
  padding: 30px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust-item i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.trust-item h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.trust-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Important Note Alert */
.important-note {
  background: #fff8e1;
  border-left: 5px solid #ffc107;
  padding: 30px;
  margin: 60px auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
}

.important-note h3 {
  color: #f57f17;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.important-note ul {
  list-style: none;
  padding: 0;
}

.important-note li {
  color: #5d4037;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1rem;
}

.important-note li::before {
  content: '\f05a';
  /* FontAwesome info-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ffca28;
}

/* CTA Section */
.services-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--text-main) 0%, #000000 100%);
  color: var(--color-white);
}

.services-cta h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services-cta .btn {
  font-size: 1.2rem;
  padding: 15px 40px;
}

/* =========================================
   Contact Page Styles
   ========================================= */

/* Contact Header */
/* Reusing .page-header from Services */

/* Contact Grid */
.contact-wrapper {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Contact Info Section */
.contact-info-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: var(--color-white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(110, 191, 181, 0.1);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-main);
}

.contact-details p,
.contact-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--color-accent);
}

/* Hours Section */
.hours-section {
  margin-top: 40px;
  background: var(--color-light);
  padding: 30px;
  border-radius: var(--radius);
}

.hours-section h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.hours-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Contact Form Section */
.contact-form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
  background: var(--color-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(110, 191, 181, 0.1);
}

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

/* Map Section */
.map-section {
  padding-bottom: 60px;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  background: #e0e0e0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

/* Site Footer */
.site-footer {
  background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
  padding: 60px 0 30px;
  color: var(--color-white);
  text-align: center;
  margin-top: 60px;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* Footer Social Links */
.footer-social {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-social .social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-social .social-btn:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-3px);
}

/* Page Loader */
#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(110, 191, 181, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modern Glassmorphism & Cards */
/* Modern Glassmorphism & Cards */
.glass-card,
.info-card,
.service-card,
.value-card,
.gallery-item {
  background: var(--bg-card);
  /* Reverted to solid variable */
  /* Remove blur for default light mode if they want Strict original */
  /* backdrop-filter: blur(12px); */
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Reverted border */
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

body.dark-mode .glass-card,
body.dark-mode .info-card,
body.dark-mode .service-card,
body.dark-mode .value-card,
body.dark-mode .gallery-item {
  background: rgba(45, 45, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card:hover,
.service-card:hover,
.value-card:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-accent);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Typing Effect Cursor */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Dark Mode Toggle & Back to Top */
.floating-controls {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-main);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Hide Back To Top initially */
#backToTop {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}