/* ==========================================================================
   MALAYORAM CHITS INDIA PVT LTD - Master Stylesheet
   Sticky Header, Dual-Layer Arrow Badge & Mobile Side Drawer
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #060c2c;
  --primary-navy-dark: #030617;
  --primary-navy-light: #0d1a52;
  --accent-blue: #0088ff;
  --accent-blue-hover: #006ddb;
  
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f8fafc;
  
  --border-light: #e2e8f0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(6, 12, 44, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(6, 12, 44, 0.25);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. STICKY HEADER WRAPPER - Entire Header & Topbar Sticky
   ========================================================================== */
.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-combined-container {
  position: relative;
  width: 100%;
  min-height: 94px;
  display: flex;
  flex-direction: column;
}

/* Layer 1: Solid White Arrow Container Badge */
.logo-arrow-layer-solid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 345px;
  background: #ffffff;
  z-index: 25;
  display: flex;
  align-items: center;
  padding: 8px 45px 8px 20px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.08);
}

/* Layer 2: Whitish Semi-Transparent Glassmorphism Arrow Container */
.logo-arrow-layer-glass {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 370px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}

.logo-badge-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Header Right Area */
.header-right-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 94px;
}

/* Topbar Info Row */
.topbar-info-row {
  height: 44px;
  padding: 0 40px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.topbar-info-content {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: 0.98rem;
  color: #0f1e16;
  letter-spacing: 0.3px;
}

.topbar-item {
  white-space: nowrap;
}

.topbar-phone-link {
  color: #0b1a11;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.topbar-phone-link:hover {
  color: var(--accent-blue);
}

/* Navy Blue Menu Bar (Right-Aligned Desktop) */
.navy-navbar {
  height: 50px;
  background-color: var(--primary-navy);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 40px 0 0;
}

.nav-menu-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--accent-blue);
  border-radius: 3px 3px 0 0;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-top: 2px;
}

/* Dropdown Menu */
.nav-item.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--primary-navy-dark);
  border-top: 3px solid var(--accent-blue);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-navy-light);
  color: #ffffff;
  padding-left: 24px;
}

.dropdown-item .badge {
  font-size: 0.72rem;
  padding: 2px 6px;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 4px;
}

.search-toggle-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  padding: 10px;
  cursor: pointer;
  margin-left: 10px;
  transition: var(--transition-fast);
}

.search-toggle-btn:hover {
  color: var(--accent-blue);
  transform: scale(1.15);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px 12px;
}

.drawer-header {
  display: none;
}

/* ==========================================================================
   2. HERO SECTION - Cupped Hands & Sprout / Coins
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  padding: 0;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-sprout-img {
  width: 100%;
  max-width: 1500px;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-welcome-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  pointer-events: none;
  animation: heroTitleFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1e293b;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95), 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #060c2c;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.98), 0 0 25px rgba(255, 255, 255, 0.85);
}

@keyframes heroTitleFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -35%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ==========================================================================
   4. FEATURE BANNER - Let's Talk Currency Card
   ========================================================================== */
/* ==========================================================================
   4. FEATURE SHOWCASE - Currency Banner & 3 Overlapping Feature Cards
   ========================================================================== */
.feature-banner-section {
  padding: 40px 0 100px 0;
  background: #ffffff;
}

.feature-banner-card {
  position: relative;
  width: 100%;
  border-radius: 26px;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
  margin-bottom: 50px;
}

.feature-banner-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 26px;
  display: block;
}

.feature-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 140px;
  display: flex;
  align-items: center;
  padding-left: 60px;
}

.btn-lets-talk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #173d63;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-lets-talk:hover {
  background-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 136, 255, 0.4);
  color: #ffffff;
}

/* 3 Overlapping Cards positioned over the bottom of Feature Banner Card */
.feature-cards-overlay-grid {
  position: absolute;
  bottom: -60px;
  left: 40px;
  right: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  z-index: 10;
}

.feature-card {
  position: relative;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-services { background-image: url('../img/cards/card-services-bg.jpg'); }
.card-mission { background-image: url('../img/cards/card-mission-bg.jpg'); }
.card-advantage { background-image: url('../img/cards/card-advantage-bg.jpg'); }

.feature-card-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 38, 0.68);
  backdrop-filter: blur(2px);
  transition: background var(--transition-normal);
  z-index: 1;
}

.feature-card:hover .feature-card-backdrop {
  background: rgba(6, 12, 44, 0.82);
}

.feature-card-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-card-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.45;
  color: #ffffff;
  opacity: 0.95;
  font-weight: 400;
}

/* ==========================================================================
   6. CHIT SCHEMES SECTION
   ========================================================================== */
.section-padding { padding: 80px 0; }
.section-bg-alt { background-color: var(--bg-alt); }

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(0, 136, 255, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

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

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

.chit-plan-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.chit-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.chit-plan-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
  position: relative;
}

.chit-plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.chit-plan-amount {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  margin: 6px 0;
  color: #ffffff;
}

.chit-plan-label { font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; }

.chit-plan-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chit-info-list { display: flex; flex-direction: column; gap: 12px; }

.chit-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.92rem;
}

.chit-info-label { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.chit-info-val { font-weight: 700; color: var(--text-dark); }

.chit-action-group { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

.btn-primary-blue {
  background-color: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary-blue:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 6px 18px rgba(0, 136, 255, 0.4);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary-navy);
  border: 1.5px solid var(--primary-navy);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
}

/* ==========================================================================
   7. CHIT CALCULATOR SECTION
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.calculator-inputs { padding: 40px; }
.calc-group { margin-bottom: 24px; }

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.calc-val-display {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-blue);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 136, 255, 0.5);
}

.calculator-results {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.result-metric { margin-bottom: 20px; }
.result-metric-label { font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; }

.result-metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
}

/* ==========================================================================
   8. ABOUT & GALLERY
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-normal);
}

.about-img-wrap:hover {
  transform: translateY(-4px);
}

.about-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.about-badge-overlay i {
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.about-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.about-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 136, 255, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Gallery Section Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 72%;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

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

.gallery-icon {
  font-size: 1.8rem;
  color: var(--accent-blue);
  margin-bottom: 8px;
  transform: scale(0.8);
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-icon {
  transform: scale(1);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   INNER PAGE HERO BANNER & BREADCRUMBS
   ========================================================================== */
.page-hero-section {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  padding: 60px 0 50px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 20px;
}

.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 18px;
  border-radius: 20px;
}

.breadcrumb-trail a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: var(--accent-blue);
}

/* ==========================================================================
   GALLERY LIGHTBOX MODAL
   ========================================================================== */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.gallery-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#lightboxImg[src=""],
#lightboxImg:not([src]) {
  display: none !important;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.93);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 3001;
  max-width: 1000px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container {
  max-width: 100%;
  max-height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: #000000;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  color: #ffffff;
  font-family: var(--font-heading);
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lightbox-counter {
  font-size: 0.88rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3002;
}

.lightbox-prev {
  left: -24px;
}

.lightbox-next {
  right: -24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-blue);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ==========================================================================
   BRANCH OFFICES GRID STYLING
   ========================================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

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

.branch-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1fr solid var(--border-light);
  border-left: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.branch-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-blue);
  background: rgba(0, 136, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.branch-tag.tag-head {
  color: var(--primary-navy);
  background: rgba(15, 23, 42, 0.08);
}

.branch-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.branch-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.branch-info-item i {
  color: var(--accent-blue);
  font-size: 0.95rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #f8fafc;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}

.map-wrapper iframe { width: 100%; height: 100%; min-height: 380px; border: none; }

.sanctions-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.sanction-item-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sanction-item-btn:hover {
  border-color: var(--accent-blue);
  background: #f0f7ff;
  color: var(--accent-blue);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 70px 0 30px 0;
  border-top: 4px solid var(--accent-blue);
}

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

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-blue);
}

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

.footer-link {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-link:hover { color: #ffffff; padding-left: 5px; }

.footer-contact-info { display: flex; flex-direction: column; gap: 14px; font-size: 0.9rem; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item i { color: var(--accent-blue); margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-normal);
}

.floating-whatsapp:hover { transform: scale(1.12); }
.floating-whatsapp img { width: 36px; height: 36px; }

/* Backdrop Overlay for Mobile Side Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1800;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive Adjustments & Mobile Side Drawer */
@media (max-width: 1200px) {
  .logo-arrow-layer-solid { width: 320px; }
  .logo-arrow-layer-glass { width: 345px; }
}

@media (max-width: 991px) {
  .feature-cards-section {
    margin-top: -60px;
  }

  /* Hide CIN and GST IN on mobile topbar, show mobile phone number only */
  .topbar-item-cin, .topbar-item-gst {
    display: none !important;
  }
  
  .topbar-info-row {
    height: 34px;
    padding: 0 15px;
    justify-content: flex-end;
  }

  .topbar-info-content {
    font-size: 0.85rem;
  }

  /* Header Layout on Mobile */
  .header-combined-container {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }

  .header-right-content {
    min-height: auto;
  }

  .logo-arrow-layer-glass {
    display: none;
  }

  .logo-arrow-layer-solid {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: 48px;
    padding: 4px 12px;
    clip-path: none;
    box-shadow: none;
    border-radius: var(--radius-sm);
    background: transparent;
  }

  .logo-badge-img {
    height: 44px;
  }

  .navy-navbar {
    height: auto;
    background: transparent;
    padding: 0;
  }

  .mobile-nav-toggle {
    display: block;
    color: var(--primary-navy);
  }

  /* Mobile Side Drawer Navigation */
  .nav-menu-right {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--primary-navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 0;
    z-index: 2000;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav-menu-right.show {
    right: 0;
  }

  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .drawer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
  }

  .drawer-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color var(--transition-fast);
  }

  .drawer-close-btn:hover {
    color: var(--accent-blue);
  }

  .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    justify-content: space-between;
  }

  .nav-link.active::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--accent-blue);
    margin: 5px 0 10px 10px;
    display: none;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    display: block;
  }

  .feature-banner-card {
    position: relative;
    margin-bottom: 24px;
  }

  .feature-banner-img {
    height: 260px;
    border-radius: 16px;
  }

  .feature-banner-overlay {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 20px;
  }

  .btn-lets-talk {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .feature-cards-overlay-grid {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
    z-index: 1;
  }

  .feature-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .feature-cards-grid { grid-template-columns: 1fr; }
  .calculator-card { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .gallery-img-wrapper { padding-top: 75%; }
  .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(15, 23, 42, 0.82) 0%, transparent 100%); }
  .gallery-icon { font-size: 1.3rem; margin-bottom: 4px; }
  .gallery-title { font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}
