@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

:root {
  --primary-dark: #0A2540;
  --gold: #C6A43F;
  --gold-light: #E0BB5E;
  --gold-dark: #9E8232;
  --gray-bg: #F8FAFE;
  --card-white: #FFFFFF;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --border-light: #e9eef3;
  --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  background: #fbfdff;
  color: #1e293b;
  scroll-behavior: smooth;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Enhanced Dynamic Background */
.bg-animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: #fbfdff;
}

.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: float-aura 20s infinite alternate ease-in-out;
}

.aura-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.aura-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.aura-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes float-aura {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 10%) scale(1.1); }
  66% { transform: translate(-5%, 5%) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Financial Background Layer Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/financial-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -3;
  opacity: 0.04;
  pointer-events: none;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.top-bar {
  background: #061626;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(198, 164, 63, 0.2);
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--gold-dark);
  padding-left: 12px;
  margin-left: 4px;
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Buttons */
.btn-primary {
  background-color: var(--gold);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(198, 164, 63, 0.2);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(198, 164, 63, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: #0A2540;
  transform: translateY(-2px);
}

/* Slider Section */
.hero-slider {
  position: relative;
  height: 650px;
  width: 100%;
  overflow: hidden;
  background: #0a1c2c;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.4) 50%, rgba(10, 37, 64, 0.1) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 5%;
  color: white;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
  opacity: 0;
}

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

.slide-content h1 {
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 600px;
}

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(198, 164, 63, 0.6);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.8rem;
  user-select: none;
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

.arrow-prev { left: 40px; }
.arrow-next { right: 40px; }

/* Tree of Growth Animation */
.tree-container {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.tree-trunk {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tree-branch {
  opacity: 0;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: all 1s ease-out;
}

.tree-leaf {
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active .tree-trunk { transform: scaleY(1); }
.reveal.active .tree-branch { opacity: 1; stroke-dashoffset: 0; }
.reveal.active .tree-leaf { transform: scale(1); }

/* Staggered Leaves */
.tree-leaf:nth-child(2) { transition-delay: 0.8s; }
.tree-leaf:nth-child(3) { transition-delay: 0.9s; }
.tree-leaf:nth-child(4) { transition-delay: 1s; }
.tree-leaf:nth-child(5) { transition-delay: 1.1s; }
.tree-leaf:nth-child(6) { transition-delay: 1.2s; }
.tree-leaf:nth-child(7) { transition-delay: 1.3s; }
.tree-leaf:nth-child(8) { transition-delay: 1.4s; }
.tree-leaf:nth-child(9) { transition-delay: 1.5s; }

/* Section Variations */
.section-light {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-dark {
  background: var(--primary-dark);
  color: white;
  position: relative;
}

.section-dark h2 {
  color: var(--gold);
}

.section-dark .section-subhead {
  color: rgba(255, 255, 255, 0.7);
}

.section-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/financial-bg.png');
  background-size: cover;
  opacity: 0.05;
  pointer-events: none;
}

/* Feature Grid refinements */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-box {
  background: white;
  padding: 3rem 2rem;
  border-radius: 40px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -12px rgba(10, 37, 64, 0.15);
  border-color: var(--gold);
}

.feature-box .icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(158, 130, 50, 0.2);
}

.section-dark .feature-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.section-dark .feature-box h3 {
  color: white;
}

.section-dark .feature-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold);
}

/* Section Spacing */
.section-padding {
  padding: 7rem 0;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  background: rgba(198, 164, 63, 0.1);
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
}

/* Timeline */
.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 5rem 0 3rem;
}

.timeline-step {
  flex: 1;
  background: white;
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.step-number {
  background: var(--gold);
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

/* Scheme Cards Global */
.scheme-gallery, .schemes-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.scheme-item, .scheme-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
}

.scheme-item:hover, .scheme-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.15);
  border-color: var(--gold);
}

.scheme-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.scheme-item img, .scheme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scheme-item:hover img, .scheme-card:hover img {
  transform: scale(1.1);
}

.scheme-amount-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 5;
}

.scheme-info, .scheme-body {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.scheme-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.scheme-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-icon-circle {
  width: 24px;
  height: 24px;
  background: rgba(198, 164, 63, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Directors */
.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.director-card {
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 3.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(198, 164, 63, 0.35);
  position: relative;
  overflow: hidden;
  color: white;
}

.director-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 50px 120px -30px rgba(198, 164, 63, 0.25);
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--gold);
}

.director-image-container {
  width: 200px;
  height: 240px;
  margin: 0 auto 1.8rem;
  border-radius: 32px;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, #02184d 0%, #2e4364 100%);
  position: relative;
}

.director-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

/* Contact Card */
.contact-card {
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 48px;
  padding: 4rem 3rem;
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  border: 1px solid rgba(198, 164, 63, 0.45);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
  background: #0a1c2c;
  color: #ccc;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128c7e;
}

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
  }
  .nav-links.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero-slider { height: 500px; }
  .contact-card, .footer-grid { flex-direction: column; }
}
