/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #1c2b39; /* Deep Navy */
  --primary-light: #2874f0; /* Flipkart/Ekart Blue */
  --accent: #2874f0; /* Flipkart Blue */
  --accent-soft: rgba(40, 116, 240, 0.1);
  --orange: #fb641b; /* Ekart Orange */
  --orange-dark: #e65a16;
  --orange-soft: rgba(251, 100, 27, 0.1);
  --white: #ffffff;
  --light-bg: #f1f3f6; /* Light gray background */
  --gray: #717478;
  --dark: #172337; /* Darker navy */
  --card-shadow: 0 4px 12px 0 rgba(0,0,0,0.05);
  --card-hover-shadow: 0 8px 24px 0 rgba(0,0,0,0.12);
  --transition: all 0.3s ease-in-out;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--primary); }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
section { padding: 80px 0; }

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse { 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.05); } }
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-left { animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-right { animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-orange-gradient {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--orange); }
.top-bar i { color: var(--orange); margin-right: 6px; }
.top-bar .social-links a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); margin-left: 6px; font-size: .75rem; }
.top-bar .social-links a:hover { background: var(--orange); color: #fff; }

/* ===== Navbar ===== */
.navbar {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar.scrolled { padding: 6px 0; box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.navbar-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--primary) !important; }
.navbar-brand span { color: var(--orange); }
.nav-link { font-weight: 500; color: var(--primary) !important; padding: 8px 16px !important; border-radius: 8px; transition: var(--transition); font-size: .95rem; }
.nav-link:hover, .nav-link.active { color: var(--accent) !important; background: rgba(26,115,232,.06); }
.navbar .btn-partner { background: var(--orange); color: #fff !important; border-radius: 8px; padding: 8px 24px !important; font-weight: 600; border: none; }
.navbar .btn-partner:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ===== Hero Carousel ===== */
.hero-section { position: relative; }
.hero-slide {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-slide-1 { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%); }
.hero-slide-1::before { background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-slide-2 { background: linear-gradient(135deg, #0a1628 0%, var(--primary) 60%, #1a5276 100%); }
.hero-slide-3 { background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, #0B2447 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 20px; }
.hero-content h1 span { color: var(--orange); }
.hero-content p { font-size: 1.15rem; opacity: .9; max-width: 540px; margin-bottom: 30px; line-height: 1.7; }
.hero-shapes { position: absolute; right: 0; top: 0; width: 50%; height: 100%; z-index: 1; overflow: hidden; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: #fff;
}
.hero-shape-1 { width: 300px; height: 300px; top: -50px; right: -50px; }
.hero-shape-2 { width: 200px; height: 200px; bottom: 50px; right: 100px; animation: float 6s ease-in-out infinite; }
.hero-shape-3 { width: 120px; height: 120px; top: 40%; right: 30%; animation: float 4s ease-in-out infinite 1s; }
.carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; opacity: .5; }
.carousel-indicators .active { background: var(--orange); border-color: var(--orange); opacity: 1; }

/* ===== Buttons ===== */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover { background: #1557b0; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,115,232,.35); }
.btn-orange {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,53,.35); }
.btn-outline-light-custom {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-light-custom:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ===== Section Headers ===== */
.section-header { margin-bottom: 50px; }
.section-header .badge-label {
  display: inline-block;
  background: rgba(26,115,232,.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 { font-size: 2.4rem; margin-bottom: 16px; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.section-header.text-start p { margin: 0; }

/* ===== About Section ===== */
.about-section { background: #fff; }
.about-img-wrapper { position: relative; }
.about-img-wrapper img { border-radius: var(--radius); box-shadow: var(--card-shadow); }
.about-img-wrapper .exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(255,107,53,.3);
}
.about-img-wrapper .exp-badge h3 { color: #fff; font-size: 2rem; margin-bottom: 2px; }
.about-img-wrapper .exp-badge span { font-size: .85rem; opacity: .9; }
.about-list { list-style: none; padding: 0; }
.about-list li {
  padding: 8px 0;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-list li i { color: var(--accent); font-size: 1.1rem; }

/* ===== Services ===== */
.services-section { background: var(--light-bg); }
.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--orange));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover-shadow); background: #fff; }
.service-card:hover::before { transform: scaleX(1); }

/* Glassmorphism utility */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* How it works styles */
.step-item {
    position: relative;
    text-align: center;
    padding: 20px;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(255, 107, 53, 0.1);
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 60%;
    width: 80%;
    height: 2px;
    border-top: 2px dashed #ddd;
    z-index: 1;
}
@media (max-width: 991px) {
    .step-item:not(:last-child)::after { display: none; }
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon.blue { background: rgba(26,115,232,.1); color: var(--accent); }
.service-icon.orange { background: rgba(255,107,53,.1); color: var(--orange); }
.service-icon.green { background: rgba(40,167,69,.1); color: #28a745; }
.service-icon.purple { background: rgba(111,66,193,.1); color: #6f42c1; }
.service-card:hover .service-icon.blue { background: var(--accent); color: #fff; }
.service-card:hover .service-icon.orange { background: var(--orange); color: #fff; }
.service-card:hover .service-icon.green { background: #28a745; color: #fff; }
.service-card:hover .service-icon.purple { background: #6f42c1; color: #fff; }
.service-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: .92rem; line-height: 1.7; }

/* ===== Why Choose Us ===== */
.why-section { background: #fff; }
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-card:hover { background: var(--light-bg); transform: translateY(-4px); }
.why-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
  font-size: 1.5rem;
  transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1); box-shadow: 0 8px 25px rgba(26,115,232,.3); }
.why-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: .88rem; line-height: 1.6; }

/* ===== Partners ===== */
.partners-section { background: var(--light-bg); }
.partner-logo {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.partner-logo:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.partner-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ===== Testimonials ===== */
.testimonials-section { background: #fff; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
  transition: var(--transition);
  height: 100%;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.testimonial-card .stars { color: #ffc107; margin-bottom: 14px; font-size: .9rem; }
.testimonial-card .quote { color: #555; font-size: .95rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card .author-info h6 { margin: 0; font-size: .95rem; }
.testimonial-card .author-info small { color: var(--gray); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -100px; right: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -80px; left: 10%;
}
.cta-banner h2 { color: #fff; font-size: 2.4rem; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer h5, .footer h6 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h5::after, .footer h6::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: var(--orange); border-radius: 2px; }
.footer a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer a:hover { color: var(--orange); padding-left: 4px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { padding: 6px 0; font-size: .9rem; }
.footer ul li i { color: var(--orange); margin-right: 8px; font-size: .8rem; }
.footer .footer-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; }
.footer .footer-brand span { color: var(--orange); }
.footer .contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .9rem; }
.footer .contact-item i { color: var(--orange); margin-top: 4px; }
.footer .subscribe-form .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
}
.footer .subscribe-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.footer .subscribe-form .btn { background: var(--orange); color: #fff; border-radius: 8px; font-weight: 600; }
.footer .subscribe-form .btn:hover { background: var(--orange-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  margin-top: 40px;
  font-size: .85rem;
}
.footer .social-links a {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  margin-right: 8px;
  transition: var(--transition);
}
.footer .social-links a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer .text-muted { color: rgba(255,255,255,.6) !important; }
.footer .footer-links a { color: rgba(255,255,255,.65) !important; display: inline-block; }
.footer .footer-links a:hover { color: var(--orange) !important; padding-left: 5px; }
.footer h6 { color: #fff !important; }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; position: relative; }
.page-header .breadcrumb { justify-content: center; position: relative; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .9rem; }
.page-header .breadcrumb-item.active { color: var(--orange); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ===== Contact Page ===== */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); }
.contact-card .icon-box {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 1.3rem;
}
.contact-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ===== Forms ===== */
.form-section { background: var(--light-bg); }
.form-wrapper {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.form-wrapper .form-label { font-weight: 500; color: var(--primary); font-size: .9rem; }
.form-wrapper .form-control, .form-wrapper .form-select {
  border: 1.5px solid #e0e6ed;
  border-radius: 8px;
  padding: 10px 16px;
  transition: var(--transition);
  font-size: .92rem;
}
.form-wrapper .form-control:focus, .form-wrapper .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}

/* ===== Legal Pages ===== */
.legal-content { background: #fff; }
.legal-content h3 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 12px; color: var(--primary); }
.legal-content p, .legal-content li { color: #555; font-size: .95rem; line-height: 1.8; }
.legal-content ul { padding-left: 20px; }

/* ===== Stats ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 60px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item h3 { font-size: 2.8rem; color: #fff; margin-bottom: 4px; }
.stat-item h3 span { color: var(--orange); }
.stat-item p { opacity: .8; font-size: .9rem; margin: 0; }

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255,107,53,.35);
  transition: var(--transition);
  border: none;
}
.scroll-top:hover { transform: translateY(-3px); background: var(--orange-dark); }
.scroll-top.show { display: flex; }

/* ===== Responsive ===== */
@media(max-width:991.98px) {
  .hero-content h1 { font-size: 2.4rem; }
  .hero-slide { min-height: 500px; }
  section { padding: 60px 0; }
  .section-header h2 { font-size: 2rem; }
  .cta-banner h2 { font-size: 2rem; }
}
@media(max-width:767.98px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-slide { min-height: 440px; }
  .top-bar .d-flex { flex-direction: column; text-align: center; gap: 6px; }
  .about-img-wrapper .exp-badge { right: 10px; bottom: -10px; padding: 14px 18px; }
  .about-img-wrapper .exp-badge h3 { font-size: 1.5rem; }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 2rem; }
  .form-wrapper { padding: 24px; }
  .cta-banner { padding: 50px 0; }
}
