:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --secondary: #f59e0b;
  --secondary-hover: #d97706;
  --dark: #0f172a;
  --text: #334155;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1d4ed8, #10b981);
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  --radius: 12px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utilities */
.text-primary { color: var(--primary); }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(29, 78, 216, 0.39);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.23);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--light-gray);
  color: var(--primary-dark);
}
.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo i { font-size: 2rem; }

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


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

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active {
  color: var(--primary);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after {
  width: 100%;
}

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

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu-overlay.active .mobile-menu-content {
  right: 0;
}

.close-menu-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating { animation: float 6s ease-in-out infinite; }
.floating-delayed { animation: float 6s ease-in-out 3s infinite; }

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: var(--light-gray);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(29, 78, 216, 0.2);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  bottom: -50px;
  left: -50px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-small {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}
.stat-item i { color: var(--secondary); font-size: 1.25rem; }

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  display: block;
  object-fit: cover;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.trust-card h4 { margin: 0; font-size: 1.125rem; }
.trust-card span { font-size: 0.875rem; color: var(--text); }

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--dark);
  color: white;
}

.stats h2, .stats h3, .stats p { color: white; }

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box h2 {
  font-size: 3rem;
  display: inline-block;
  margin: 0;
}

.stat-box span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Products Section */
.products { padding: 8rem 0; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, 0.2);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.bg-blue { background: #3b82f6; }
.bg-green { background: #10b981; }
.bg-orange { background: #f59e0b; }
.bg-purple { background: #8b5cf6; }
.bg-indigo { background: #6366f1; }
.bg-teal { background: #14b8a6; }
.bg-red { background: #ef4444; }
.bg-cyan { background: #06b6d4; }

.product-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.product-card p { margin-bottom: 1.5rem; color: var(--text); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--primary);
}
.card-link:hover { gap: 0.5rem; }

/* EMI Calculator */
.emi-calculator {
  padding: 8rem 0;
  background: var(--light-gray);
}

.emi-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.emi-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.emi-content h2 i { color: var(--primary); }

.emi-content p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.glass-panel {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.input-group { margin-bottom: 2rem; }
.input-group:last-child { margin-bottom: 0; }

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.input-header label { font-weight: 600; color: var(--dark); }
.val-display {
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
}

input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px rgba(29,78,216,0.3);
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 4px;
}

.result-card {
  background: var(--gradient);
  color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.result-card h3 { color: white; margin-bottom: 2rem; font-size: 1.5rem; }

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.result-item span { opacity: 0.8; font-size: 1rem; }
.result-item h4 { color: white; font-size: 1.25rem; margin: 0; }
.result-item.primary h4 { font-size: 2rem; color: var(--secondary); }

hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 1.5rem 0;
}

.result-item.total { margin-top: 1.5rem; margin-bottom: 0; }

/* About Us */
.about-us { 
  padding: 6rem 0; 
  background-color: #f4f8f9;
}

.about-us h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: #111827;
}

.text-green { color: #10b981; }
.text-blue { color: #3b82f6; }
.text-purple { color: #8b5cf6; }
.text-red { color: #ef4444; }

.about-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0 auto 3.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.about-stat-card .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-stat-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.about-stat-card p {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Mission and Vision Grid */
.mt-5 {
  margin-top: 4rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mv-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.mv-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.icon-green {
  background-color: #d1fae5;
  color: #10b981;
}

.icon-blue {
  background-color: #dbeafe;
  color: #3b82f6;
}

.mv-card p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mt-why-choose {
  margin-top: 6rem;
  margin-bottom: 0;
}

.dark-heading {
  font-size: 3rem; 
  color: #111827;
}

/* Why Choose Us Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Floating Chat Button */
.floating-chat-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-chat-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  color: white;
}

.floating-chat-btn .notification-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #ff6b6b;
  border: 2px solid white;
  border-radius: 50%;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* CTA Section */
.cta-section { padding: 6rem 0; }

.cta-container {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.cta-text p, .cta-text h2 { color: white; }
.cta-text h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-text p { font-size: 1.125rem; margin-bottom: 0; opacity: 0.9; }

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

footer h4, footer p { color: white; }

.footer-logo {
  color: white;
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.brand-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.social-links a:hover { background: var(--primary); }

.links-col ul { list-style: none; }
.links-col li { margin-bottom: 0.75rem; }
.links-col a { color: rgba(255,255,255,0.7); }
.links-col a:hover { color: white; padding-left: 5px; }

.contact-col h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.contact-col h4:first-child { margin-top: 0; }
.contact-col p { opacity: 0.8; display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem;}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { opacity: 0.6; margin: 0; font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.75rem; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .emi-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats-small { justify-content: center; }
  
  .about-stats-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .dark-heading { font-size: 2.5rem; }
  .cta-container { flex-direction: column; text-align: center; gap: 2rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}
