:root {
  --primary-color: #50030b; /* Rich Burgundy */
  --primary-dark: #1a0507; /* Almost Black Maroon */
  --secondary-color: #d4af37; /* Metallic Gold Base - minimal use */
  --bg-light: #faf9f8; /* Very pale clean background */
  --text-dark: #1f1f1f;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  --gold-gradient: linear-gradient(135deg, #cba250 0%, #fdf4bd 50%, #cca454 100%);
  --maroon-gradient: linear-gradient(135deg, #380208 0%, #630510 100%);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.04);
  --shadow-float: 0 20px 40px rgba(80, 3, 11, 0.08);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-top: 90px;
  position: relative;
}

/* Topographic / Wave Background Pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zm44.204 0l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zM111 0h2v20h-2V0zM40 9h20v2H40V9zm60 0h20v2h-20V9zM19.16 19.16l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zm60 0l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zM0 40h20v2H0v-2zm80 0h20v2H80v-2zm-60.84 9.16l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zm60 0l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zM0 80h20v2H0v-2zm80 0h20v2H80v-2zm-60.84 9.16l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zm60 0l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zM40 111h20v2H40v-2zm60 0h20v2h-20v-2zM9 100h2v20H9v-20zm102 0h2v20h-2v-20zM34.134 94.84l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14zm44.204 0l1.414 1.414-14.14 14.14-1.414-1.414 14.14-14.14z' fill='%2350030b' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Floating Watermark Icons */
.watermark-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.watermark-icon {
  position: absolute;
  color: var(--primary-color);
  opacity: 0.08;
  font-size: 15rem;
}

.wi-1 { top: 10%; left: -5%; transform: rotate(15deg); }
.wi-2 { top: 40%; right: -2%; transform: rotate(-10deg); font-size: 20rem; }
.wi-3 { bottom: 10%; left: 15%; transform: rotate(25deg); font-size: 12rem; }

/* Typography */
.text-muted {
  color: #444444 !important; /* Darker gray for better contrast on patterned background */
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.text-gold {
  color: var(--secondary-color) !important;
}

/* Clean Full-Width Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  padding: 0; /* User requested remove padding completely */
}

/* Toggler is now handled directly in HTML with FontAwesome <i> tag */

.navbar-toggler {
  border: 1px solid rgba(0,0,0,0.1);
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-brand img {
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--primary-dark) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 15px !important;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Dropdown Styles */
.navbar .dropdown-menu {
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 15px !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  min-width: 220px;
  border-top: 3px solid var(--primary-color) !important;
}

/* Add an invisible bridge so the menu doesn't disappear when moving mouse down */
.navbar .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.dropdown-item {
  padding: 10px 25px;
  font-size: 0.95rem;
  color: var(--primary-dark);
  transition: all 0.2s ease;
  font-weight: 500;
  position: relative;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-color);
  padding-left: 30px;
}

.dropdown-item::before {
  content: '\f105'; /* FontAwesome angle-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 12px;
  color: var(--primary-color);
  opacity: 0;
  transition: all 0.2s ease;
}

.dropdown-item:hover::before {
  opacity: 1;
}

/* Buttons */
.btn-primary-custom {
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 600;
  border: none;
  padding: 12px 35px;
  border-radius: 8px; /* Slight rounding, not pill */
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(80, 3, 11, 0.2);
  font-size: 1rem;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(80, 3, 11, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  font-weight: 600;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 600;
  padding: 10px 33px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

/* Split-Screen Hero Section */
.hero-split {
  padding: 2vh 0 2vh;
  position: relative;
  min-height: calc(100vh - 155px);
  display: flex;
  align-items: center;
}

.hero-content {
  padding-right: 50px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: clamp(15px, 2vw, 25px);
  color: #111;
  min-height: 2.2em; /* Prevent layout shift while typing */
}

.typewriter-cursor {
  color: var(--secondary-color);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-content p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: clamp(20px, 3vw, 35px);
  max-width: 95%;
  line-height: 1.6;
}

/* 2x2 Service Pills Grid */
.hero-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-service-pill {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* Start hidden for animation */
  transform: translateY(25px); /* Start low */
  animation: pillFadeUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Staggered animation delays for the 4 pills */
.hero-services-grid a:nth-child(1) .hero-service-pill { animation-delay: 0.8s; }
.hero-services-grid a:nth-child(2) .hero-service-pill { animation-delay: 1.0s; }
.hero-services-grid a:nth-child(3) .hero-service-pill { animation-delay: 1.2s; }
.hero-services-grid a:nth-child(4) .hero-service-pill { animation-delay: 1.4s; }

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

.hero-service-pill:hover {
  transform: translateY(-3px) !important; /* Ensure hover works after animation */
  box-shadow: var(--shadow-float);
  border-color: rgba(80, 3, 11, 0.1);
}

.hero-service-pill i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.hero-service-pill span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Hero Image Asymmetrical */
.hero-image-wrapper {
  position: relative;
  height: clamp(300px, 60vh, 700px);
  width: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 120px 20px 120px 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}


/* Ticker Tape */
.ticker-wrap {
  width: 100%;
  background: #fff;
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ticker-item {
  padding: 0 50px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.ticker-item i {
  font-size: 0.4rem;
  color: rgba(80,3,11,0.2);
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title span {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--primary-dark);
}

/* Services section spacing adjustment */
.services-section {
  padding: 50px 0;
  background: transparent;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-float);
  border-color: rgba(80, 3, 11, 0.1);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(80, 3, 11, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background: var(--primary-color);
}

.icon-box i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.service-card:hover .icon-box i {
  color: #fff;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #111;
}

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

/* Modern Core Features Section */
.core-features-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.feature-image-wrapper {
  position: relative;
  padding: 20px;
}

.feature-img {
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  animation: floatImage 6s ease-in-out infinite;
}

.feature-img-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 40px;
  opacity: 0.15;
  transform: rotate(-3deg);
  z-index: 1;
  transition: transform 0.4s ease;
}

.feature-image-wrapper:hover .feature-img-backdrop {
  transform: rotate(-6deg) scale(1.02);
}

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* Clean Feature Block (No Card) */
.clean-feature-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 15px 0;
  transition: transform 0.3s ease;
}

.clean-feature-block:hover {
  transform: translateX(5px);
}

.cf-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  background: rgba(80, 3, 11, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cf-icon i {
  font-size: 1.4rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.clean-feature-block:hover .cf-icon {
  background: var(--primary-color);
}

.clean-feature-block:hover .cf-icon i {
  color: #fff;
}

.cf-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.cf-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 80px 0 30px;
}

footer .footer-logo {
  height: 70px;
  margin-bottom: 25px;
}

footer h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  margin-right: 10px;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0px 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Service Details Page Specifics */
.service-header {
  padding: 50px 0 0 20px;
  position: relative;
}

.service-content-box {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.03);
}

.eligibility-list {
  list-style: none;
  padding-left: 0;
}

.eligibility-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.eligibility-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
}

/* --- ABOUT PAGE STYLES --- */
.about-hero {
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 150px 0 100px;
}
.about-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(26, 5, 7, 0.8), rgba(26, 5, 7, 0.9));
  z-index: 1;
}

.mission-vision-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-float) !important;
}
.icon-circle {
  width: 70px; height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.bg-icon {
  position: absolute;
  right: -20px; bottom: -20px;
  font-size: 150px;
  color: rgba(0,0,0,0.03);
  z-index: 0;
  transition: transform 0.5s ease;
}
.mission-vision-card:hover .bg-icon {
  transform: scale(1.1) rotate(-10deg);
}

.value-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
}
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-float);
  border-color: rgba(80, 3, 11, 0.1);
}
.value-icon {
  width: 80px; height: 80px;
  background: rgba(80, 3, 11, 0.05);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.value-card:hover .value-icon {
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
}

.founder-block {
  border-left: 6px solid var(--secondary-color);
}
.letter-spacing-1 {
  letter-spacing: 1px;
}

/* Media Queries */
@media (max-width: 991px) {
  .navbar-collapse {
    padding-bottom: 20px;
  }
  .hero-split {
    flex-direction: column;
    padding: 40px 0;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 30px;
  }
  .hero-image-wrapper {
    height: 400px;
  }
  .scroll-indicator, .hero-counter {
    display: none;
  }
}
@media (max-width: 576px) {
  .hero-services-grid {
    grid-template-columns: 1fr;
  }
}
