/* ============================================
   SRI KASI NATTUKOTTAI NAGARA SATRAM
   Premium Stylesheet – style.css
   Color Palette:
     Primary:   #E8631A (Orange)
     Accent:    #F5A623 (Golden)
     Dark:      #1a1a1a (Footer BG)
     Light BG:  #FFF8F3 (Warm cream)
     Text:      #2D1B0E (Deep brown)
     White:     #FFFFFF
============================================ */

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

:root {
  --clr-primary:   #E8631A;
  --clr-primary-d: #C84E10;
  --clr-accent:    #F5A623;
  --clr-dark:      #1a1a1a;
  --clr-dark2:     #111111;
  --clr-footer-bg: #1C1008;
  --clr-text:      #2D1B0E;
  --clr-text-muted:#7A5C42;
  --clr-bg:        #FFFFFF;
  --clr-white:     #FFFFFF;
  --clr-border:    #F0DDD0;
  --ff-body:       'Outfit', 'DM Sans', 'Noto Sans Tamil', sans-serif;
  --ff-display:    'Outfit', 'DM Sans', 'Noto Sans Tamil', sans-serif;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 2px 8px rgba(232,99,26,0.12);
  --shadow-md:     0 8px 32px rgba(232,99,26,0.18);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.25);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: clip;
}

/* Explicit Font Assignment for all tags */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
}
p, span, a, li, div, button, input, textarea, select, label {
  font-family: var(--ff-body);
}



img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* Language Toggle Visibility Rules */
.ta {
    display: none !important;
}

.en {
    display: inline-block !important;
}

html[data-lang="ta"] .ta {
    display: inline-block !important;
}

html[data-lang="ta"] div.ta,
html[data-lang="ta"] p.ta,
html[data-lang="ta"] section.ta,
html[data-lang="ta"] span.ta,
html[data-lang="ta"] h3.ta,
html[data-lang="ta"] h4.ta {
    display: block !important;
}

html[data-lang="ta"] .en {
    display: none !important;
}

#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
}
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(232,99,26,0.35);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--clr-primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,99,26,0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

/* ── Section Shared ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(232,99,26,0.1);
  color: var(--clr-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-desc {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}



/* ==============================
   HEADER
============================== */

/* ==============================
   HERO SECTION
============================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #122B22; /* Fallback for left */
}

.hero-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-wrap: nowrap;
}

.hero-left {
  flex: 0 0 45%;
  background-color: #122B22; /* Dark green */
  display: flex;
  align-items: center;
  padding: 100px 4% 100px 8%;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  animation: hero-fade-in 1s ease 0.4s both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-right {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 10s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #122B22;
  padding: 6px 16px 6px 6px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-icon {
  background: var(--clr-primary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Typography */
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title br {
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--clr-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-btns .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-primary);
  color: #fff;
  padding: 8px 8px 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
}

.hero-btns .btn-primary i {
  background: #fff;
  color: var(--clr-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hero-btns .btn-primary:hover {
  background: var(--clr-primary-d);
}

.hero-btns .btn-primary:hover i {
  transform: translateX(4px);
}

.hero-btns .btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  transition: var(--transition);
}

.hero-btns .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-btns .btn-outline-white i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hero-btns .btn-outline-white:hover i {
  transform: translate(3px, -3px);
}

/* Stats Group */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat-group {
  display: flex;
  flex-direction: column;
}

.hero-stat-group .stat-num {
  color: var(--clr-primary);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.hero-stat-group .stat-lbl {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-top: 6px;
  font-weight: 500;
}

/* Right Glass Box */
.hero-glass-box {
  position: absolute;
  bottom: 180px; /* above the wave */
  right: 6%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 12px;
  width: 320px;
  z-index: 3;
}

.glass-title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
}

.glass-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a1a1a;
  transition: var(--transition);
}

.glass-link i {
  background: #1a1a1a;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.glass-link:hover {
  color: var(--clr-primary);
}

.glass-link:hover i {
  background: var(--clr-primary);
  transform: translateX(4px);
}

.glass-arrows {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glass-arrows .arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--clr-primary);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.glass-arrows .arrow-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.05);
}

/* Wave Shape */
.banner-wave-shape {
  position: absolute;
  bottom: -2px; /* slight overlap to avoid tiny gap */
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.banner-wave-shape svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-right {
    min-height: 400px;
  }
  .hero-glass-box {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
  }
}


/* ==============================
   PAGE BANNER (BREADCRUMB)
============================== */
.page-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--clr-white);
  overflow: hidden;
  margin-bottom: 60px;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(232, 99, 26, 0.85) 0%, rgba(232, 99, 26, 0.45) 60%, rgba(232, 99, 26, 0.8) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  margin-top: -20px;
}

.page-banner-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.page-breadcrumb a {
  transition: var(--transition);
  color: #FFF;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--clr-accent);
}

.page-breadcrumb .bc-sep {
  color: var(--clr-accent);
  font-size: 0.8rem;
}

.page-breadcrumb .bc-curr {
  color: var(--clr-accent);
  font-weight: 600;
}

.page-banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.page-banner-wave svg {
  display: block;
  width: 100%;
  height: 95px;
}

.page-banner-wave path {
  fill: #ffffff;
}

/* ==============================
   STATS BAND
============================== */
/* .stats-band {
  background: var(--clr-primary);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.04) 40px,
      rgba(255, 255, 255, 0.04) 80px);
}

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

.stats-item {
  text-align: center;
  padding: 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

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

.stats-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--clr-white);
  font-family: var(--ff-display);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
} */




/* ==============================
   ABOUT SECTION
============================== */
.about-section {
  padding: 100px 0;
  background: var(--clr-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.about-img:hover { transform: scale(1.02); }
.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(232,99,26,0.4);
  font-weight: 700;
  font-size: 0.92rem;
  z-index: 2;
}
.badge-om {
  font-size: 1.8rem;
  line-height: 1;
}
.about-text {
  font-size: 1.02rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}
.feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,99,26,0.08);
  color: var(--clr-primary);
  border: 1px solid rgba(232,99,26,0.2);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.feature-chip:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}
.chip-icon { font-size: 1.1rem; }

/* ==============================
   GALLERY SECTION
============================== */
.gallery-section {
  padding: 40px 0;
  background: var(--clr-bg);
}

.gallery-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.gallery-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.gallery-slider-controls {
  display: flex;
  gap: 12px;
}

.gallery-slider-controls .arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--clr-primary);
  background: #fff;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-slider-controls .arrow-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.05);
}

.gallery-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-tab:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.gallery-tab.active {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
  box-shadow: 0 4px 16px rgba(232, 99, 26, 0.3);
}

/* ===== PREMIUM GALLERY GRID ===== */
.premium-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}
.premium-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.premium-gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.premium-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.premium-gallery-item:hover img {
  transform: scale(1.1);
}
.item-tall { grid-row: span 2; }
.item-wide { grid-column: span 2; }

.pg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(232,99,26,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.premium-gallery-item:hover .pg-overlay {
  opacity: 1;
}
.pg-content h4 {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}
.pg-content p {
  color: var(--clr-accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.05s;
}
.premium-gallery-item:hover .pg-content h4,
.premium-gallery-item:hover .pg-content p {
  transform: translateY(0);
}
.pg-zoom-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: var(--transition);
  transform: translateY(15px) scale(0.9);
}
.premium-gallery-item:hover .pg-zoom-btn {
  transform: translateY(0) scale(1);
}
.pg-zoom-btn:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: scale(1.1) !important;
}

/* Responsive grid */
@media (max-width: 991px) {
  .premium-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .premium-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .item-tall { grid-row: span 1; }
}
@media (max-width: 480px) {
  .premium-gallery-grid { grid-template-columns: 1fr; }
  .item-wide { grid-column: span 1; }
}

.overlay-cat {
  display: inline-block;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.overlay-zoom {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  margin-top: auto;
  align-self: flex-end;
}

.overlay-zoom svg {
  width: 16px;
  height: 16px;
}

.overlay-zoom:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.gallery-card-info {
  padding: 12px 16px;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  min-height: 60px;
  flex-shrink: 0;
}

.gallery-card-info h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-card-info p {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* Filtered hidden state */
.gallery-card.hidden {
  display: none;
}
/* ==============================
   SERVICES SECTION
============================== */
.services-section {
  padding: 100px 0;
  background: var(--clr-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--clr-bg);
  border: 1.5px solid #122f2a;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: #122f2a;
  background-color: #122f2a;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .service-link {
  color: var(--clr-white);
}

.service-card-featured {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-featured .service-title,
.service-card-featured .service-desc,
.service-card-featured .service-link {
  color: var(--clr-white);
}

.service-card-featured .service-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
}

.service-card-featured:hover {
  background: var(--clr-primary-d);
  border-color: var(--clr-primary-d);
}

.service-icon-wrap {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border: 2px solid var(--clr-primary);
  padding: 4px;
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.service-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-link:hover {
  letter-spacing: 0.5px;
}

.services-cta {
  text-align: center;
}

/* ==============================
   CHATRAMS SECTION
============================== */
.chatrams-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--clr-bg) 0%, #fff5ee 100%);
}
.chatrams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.chatram-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Card Themes */
.chatram-card.theme-orange { border-color: rgba(232,93,30,0.3); }
.chatram-card.theme-green { border-color: rgba(11,120,74,0.3); }
.chatram-card.theme-teal { border-color: rgba(0,119,112,0.3); }

.cc-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
}
.cc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cc-badge {
  position: absolute;
  top: 16px;
  left: -8px;
  padding: 5px 14px;
  border-radius: 4px 20px 20px 4px;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 3;
}
.cc-badge.bg-orange { background: #e85d1e; }
.cc-badge.bg-green { background: #0b784a; }
.cc-badge.bg-teal { background: #007770; }

.cc-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 35px;
  display: block;
  z-index: 2;
}

.cc-icon {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cc-icon.border-orange { border: 2px solid rgba(232,93,30,0.3); color: #e85d1e; }
.cc-icon.border-green { border: 2px solid rgba(11,120,74,0.3); color: #0b784a; }
.cc-icon.border-teal { border: 2px solid rgba(0,119,112,0.3); color: #007770; }

.cc-body {
  padding: 45px 24px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chatram-city {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
}
.chatram-addr {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.chatram-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}
.chatram-contact span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.chatram-contact.text-orange { color: #e85d1e; }
.chatram-contact.text-green { color: #0b784a; }
.chatram-contact.text-teal { color: #007770; }
.chatrams-cta { text-align: center; }

/* ==============================
   CTA SECTION
============================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.445) 0%, rgba(0, 0, 0, 0.719) 100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  margin: 16px 0;
}
.cta-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-primary {
  background: var(--clr-white);
  color: var(--clr-primary);
}
.cta-btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}


/* ==============================
   LIGHTBOX
============================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  color: var(--clr-white);
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--clr-primary); }
.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  text-align: center;
  animation: lb-pop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes lb-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
#lightboxImg {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
#lightboxCaption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 14px;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-badge { left: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .chatrams-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px 0; }
  .stats-item:nth-child(2n) { border-bottom: none; }
}

@media (max-width: 768px) {
  .header-top .logo-text .logo-main { font-size: 0.9rem; }
  .nav-hamburger { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-primary-d);
    z-index: 500;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-list.open { display: flex; }
  .nav-link { padding: 13px 20px; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    border-radius: 0;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu li a { color: rgba(255,255,255,0.8); }
  .dropdown-menu li a:hover { background: rgba(255,255,255,0.1); color: var(--clr-white); }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-stat-group { padding: 0; }
  .stat-num { font-size: 1.3rem; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-card-wide { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-divider { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-tall, .gallery-card-wide { grid-column: span 1; grid-row: span 1; }
  .gallery-tabs { gap: 8px; }
  .gallery-tab { font-size: 0.78rem; padding: 8px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ==============================
   PAGE INNER BANNER & ABOUT EXTRA
============================== */
.page-banner {
  position: relative;
  padding: 56px 0 48px;
  min-height: 240px;
  display: flex;
  align-items: center;
  background-color: var(--clr-footer-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--clr-white);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
}
.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.38;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.page-banner-title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.page-banner-subtitle {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.breadcrumb a { color: var(--clr-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { opacity: 0.6; }
.bc-curr { color: var(--clr-white); font-weight: 600; }

/* Story Section */
.story-section {
  padding: 90px 0;
  background: var(--clr-bg);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.story-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.story-card-overlay {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(0deg, rgba(232, 99, 26, 0.95) 0%, rgba(232, 99, 26, 0) 100%);
  padding: 24px;
  color: var(--clr-white);
}
.story-card-overlay h4 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--clr-accent);
  margin-bottom: 4px;
}
.story-card-overlay p {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* Pillars Section */
.pillars-section {
  padding: 90px 0;
  background: var(--clr-white);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--clr-text);
  margin-bottom: 10px;
}
.pillar-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Locations Section */
.locations-section {
  padding: 90px 0;
  background: var(--clr-bg);
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.loc-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  transition: var(--transition);
}
.loc-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.loc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-primary);
  background: rgba(232,99,26,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.loc-card h4 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.loc-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.loc-phone {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-primary);
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
}

/* =======================================================================
   CHATRAMS GALLERY STYLES
========================================================================== */

/* Gallery Hero Section */
.gallery-hero {
  position: relative;
  padding: 120px 0 100px;
  background: var(--clr-primary);
  color: var(--clr-white);
  overflow: hidden;
  text-align: center;
}
.gallery-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/gallery-hero.png') center/cover no-repeat;
  opacity: 0.3;
}
.gallery-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.gallery-hero .section-tag {
  background: rgba(255,255,255,0.2);
  color: var(--clr-white);
  margin-bottom: 20px;
}
.gallery-hero .section-title {
  color: var(--clr-white);
  font-size: 3rem;
  margin-bottom: 16px;
}
.gallery-hero .section-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

/* Chatrams Gallery Grid */
.chatrams-gallery-section {
  padding: 80px 0;
  background: var(--clr-bg);
}
.region-section {
  margin-bottom: 60px;
}
.region-title {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--clr-primary);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--clr-border);
}
.chatrams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.chatram-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.chatram-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Card Header (Dynamic Gradients) */
.chatram-header {
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  color: var(--clr-white);
}
.chatram-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to top, rgba(232,99,26,0.5), transparent);
}
.chatram-header.h-ho { background: linear-gradient(135deg, #E8631A, #b34a10); }
.chatram-header.h-locker { background: linear-gradient(135deg, #d35400, #e67e22); }
.chatram-header.h-chennai { background: linear-gradient(135deg, #1abc9c, #16a085); }
.chatram-header.h-palani { background: linear-gradient(135deg, #f39c12, #e67e22); }
.chatram-header.h-devipattinam { background: linear-gradient(135deg, #2980b9, #3498db); }
.chatram-header.h-madurai { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.chatram-header.h-varanasi { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.chatram-header.h-allahabad { background: linear-gradient(135deg, #2c3e50, #34495e); }
.chatram-header.h-ayodhya { background: linear-gradient(135deg, #d35400, #f39c12); }
.chatram-header.h-gaya { background: linear-gradient(135deg, #16a085, #27ae60); }
.chatram-header.h-nasik { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.chatram-header.h-kolkata { background: linear-gradient(135deg, #34495e, #2c3e50); }
.chatram-header.h-tarakeshwaram { background: linear-gradient(135deg, #7f8c8d, #95a5a6); }

.chatram-header * {
  position: relative;
  z-index: 2;
}
.chatram-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}
.chatram-header h4 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  margin: 0 0 5px;
}
.chatram-area {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Card Body */
.chatram-body {
  padding: 24px;
  flex: 1;
}
.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}
.c-info-item:last-child { margin-bottom: 0; }
.c-info-item svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Footer */
.chatram-footer {
  padding: 20px 24px;
  background: #f9f9f9;
  border-top: 1px solid var(--clr-border);
}
.btn-map {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-map:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Responsive */
@media (max-width: 991px) {
  .chatrams-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-hero .section-title { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  .chatrams-grid { grid-template-columns: 1fr; }
  .gallery-hero .section-title { font-size: 2rem; }
}

/* =======================================================================
   QUICK CONTACT REFERENCE
========================================================================== */
.quick-contact-section {
  padding: 60px 0 100px;
  background: var(--clr-bg);
}
.qc-header {
  text-align: center;
  margin-bottom: 40px;
}
.qc-table-wrapper {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.qc-table {
  display: flex;
  flex-direction: column;
}
.qc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2.5fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
  align-items: center;
}
.qc-row:last-child {
  border-bottom: none;
}
.qc-row:not(.qc-head):hover {
  background: rgba(232,99,26,0.03);
}
.qc-head {
  background: var(--clr-primary);
  color: var(--clr-white);
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: none;
}
.qc-cell {
  font-size: 0.95rem;
  color: var(--clr-text);
  line-height: 1.5;
}
.qc-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.qc-detail:last-child {
  margin-bottom: 0;
}
.qc-icon {
  display: flex;
}
.qc-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--clr-text-muted);
}
.fw-600 {
  font-weight: 600;
}
.text-muted {
  color: var(--clr-text-muted);
}

/* Responsive Table */
@media (max-width: 991px) {
  .qc-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .qc-head {
    display: none;
  }
  .qc-row {
    background: var(--clr-white);
    margin-bottom: 15px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }
  .qc-table-wrapper {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}
@media (max-width: 576px) {
  .qc-row {
    grid-template-columns: 1fr;
  }
}

/* ===== GLASSY SHINE HOVER EFFECT ===== */
@keyframes glassShine {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* 1. Key Chatrams & Services Cards */
.cc-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}
.chatram-card:hover .cc-img-wrap::before {
  animation: glassShine 0.8s ease forwards;
}

/* 2. Gallery Cards */
.gallery-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}
.gallery-card:hover .gallery-img-wrap::before {
  animation: glassShine 0.8s ease forwards;
}

/* ===== CUSTOM CURSOR ===== */
@media (pointer: fine) {
  body, a, button, input, select, textarea, .gallery-card, .premium-gallery-item, .float-btn, .overlay-zoom, .nav-item, .lang-toggle, .btn-primary, .btn-outline-white, .btn-outline-primary { cursor: none !important; }
  .cursor-dot { width: 8px; height: 8px; background-color: var(--clr-primary); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 999999; }
  .cursor-outline { width: 36px; height: 36px; border: 1.5px solid var(--clr-primary); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 999998; transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s; }
  .cursor-hover { width: 50px !important; height: 50px !important; background-color: rgba(232, 99, 26, 0.1); border-color: rgba(232, 99, 26, 0.3) !important; }
}



/* Hide Google Translate UI */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
body { top: 0px !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* ===== OUR PURPOSE CARD STYLES ===== */
.our-purpose-card {
  position: relative;
  background: linear-gradient(145deg, var(--clr-primary) 0%, var(--clr-primary-d) 100%);
  border-radius: 20px;
  padding: 32px 24px 24px;
  margin: 28px 0;
  box-shadow: 0 12px 32px rgba(232, 99, 26, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.purpose-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 210px;
  font-family: serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.purpose-top-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #FFFFFF;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.purpose-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.purpose-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 460px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.purpose-feature-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.purpose-feature-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

.purpose-feature-icon {
  font-size: 24px;
  line-height: 1;
}

.purpose-feature-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
}

@media (max-width: 576px) {
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Language Switcher Toggle Styles */
.lang-toggle {
  position: relative;
  width: 100px;
  height: 34px;
  background-color: rgba(45, 27, 14, 0.06);
  border-radius: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.lang-toggle span { display: none !important; }
.lang-toggle::before {
  content: 'EN';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-primary);
  z-index: 2;
  transition: color 0.3s;
}
.lang-toggle::after {
  content: 'தமிழ்';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  z-index: 2;
  transition: color 0.3s;
}
html[data-lang="ta"] .lang-toggle::before { color: var(--clr-text-muted); }
html[data-lang="ta"] .lang-toggle::after { color: var(--clr-primary); }
.lang-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 30px;
  background-color: var(--clr-white);
  border-radius: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 1;
}
html[data-lang="ta"] .lang-toggle-thumb { transform: translateX(42px); }
