/* 1. Initial State: Transparent */
.navbar {
  transition: all 0.4s ease-in-out;
  background-color: transparent !important;
}

/* 2. Scrolled State: Sky Light Blue */
/* This class 'navbar-scrolled' is usually added by the 'data-navbar-on-scroll' script */
.navbar.navbar-scrolled {
  background-color: #e3f2fd !important; /* Sky Light Blue */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* 3. Mobile Specific: Ensure the menu is readable when toggled */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #e3f2fd; /* Matches sky blue so links are visible */
    margin-top: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
}



/* Hide default cursor only on desktop for better UX */
@media (min-width: 992px) {
  body { cursor: none; }
}

.cursor-dot, .cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #FF8C00; /* Vibrant Orange */
}

.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 140, 0, 0.4); /* Faded Orange */
  transition: transform 0.15s ease-out;
}

/* Hover effect for buttons */
.cursor-grow {
  transform: translate(-50%, -50%) scale(1.8);
  background-color: rgba(255, 140, 0, 0.15);
  border: 1px solid #FF8C00;
}


/* Soft background colors for icons */
.bg-soft-warning {
  background-color: rgba(255, 140, 0, 0.1) !important;
}

.icon-sm {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover effect for the right-side illustration */
/* .hover-top {
  transition: transform 0.5s ease-in-out;
} */

/* .hover-top:hover {
  transform: translateY(-15px);
} */

/* Responsive adjustment for text */
@media (max-width: 767.98px) {
  #aboutMutualFunds .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #aboutMutualFunds .me-3 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
}




/* Styling for the Why Choose Us section */
.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}

.transition-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1) !important;
  border: 1px solid #e3f2fd !important;
}

#whyChooseUs h6 {
  letter-spacing: 2px;
  font-weight: 700;
}








/* Matching the sky blue theme for the text icons if preferred */
.text-warning {
  color: #ffb300 !important; /* A warm gold to contrast the sky blue */
}

.icon-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 140, 0, 0.1); /* Soft orange background */
  transition: all 0.3s ease;
}

.card:hover .icon-circle {
  transform: scale(1.1);
  background-color: #e3f2fd;
}


.card:hover .text-warning{
    /* color: #ffffff !important; */
}

.card:hover .icon-circle i {
  /* color: # !important; */
}

.card-span {
  transition: all 0.3s ease-in-out;
}

.card-span:hover {
  transform: translateY(-10px);
}


/* Navigation Pills Styling */
#become-distributor .nav-pills .nav-link {
  color: #333;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  padding: 15px 20px;
  font-weight: 600;
  width: 140px;
  transition: all 0.3s ease;
}

#become-distributor .nav-pills .nav-link.active {
  background-color: #FF8C00 !important; /* Pure Orange */
  color: #fff !important;
  border-color: #FF8C00;
  transform: scale(1.05);
}

/* Form Styling */
.form-control:focus, .form-select:focus {
  border-color: #FF8C00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.1) !important;
}

/* Hover effects */
.hover-top {
  transition: transform 0.3s ease;
}
.hover-top:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}
/* Container Layout */
.registration-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    /* background-color: #f0f7ff; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    gap: 40px;
}

/* Left Content Styles */
.content-left {
    flex: 1;
    max-width: 500px;
}

.content-left h1 {
    font-size: 42px;
    color: #333;
    line-height: 1.2;
    margin-bottom: 25px;
}

.content-left .highlight {
    color: #ffcc00;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefit-list li {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #444;
}

.check-icon {
    background: #ffcc00;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 12px;
}

.customer-badge {
    background: #ffcc00;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
    color: #fff;
}

/* Form Card Styles */
.form-right {
    flex: 1;
    max-width: 450px;
}

.form-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.form-card h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.otp-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1a73e8;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}

/* Ensure all elements calculate width correctly */
* {
    box-sizing: border-box;
}

.otp-boxes {
    display: flex; /* Switched to flex for better control */
    justify-content: space-between;
    gap: 5px; /* Reduced gap to save space */
    margin-bottom: 15px;
    width: 100%; /* Keeps it within the parent width */
}

.otp-boxes input {
    width: calc(16.66% - 5px); /* Forces 6 boxes to fit mathematically */
    height: 40px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    outline: none;
}

.otp-boxes input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 0 1px #ffcc00;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 10px 0;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-secondary {
    background: #ffcc00;
    border: none;
    padding: 12px;
    /* border-radius: 8px; */
    font-weight: bold;
    flex: 1;
    cursor: pointer;
}

/* .btn-primary {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    flex: 1;
    cursor: pointer;
} */

.disclaimer {
    font-size: 10px;
    color: #6b7280;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .registration-container {
        flex-direction: column;
        text-align: center;
    }
    .benefit-list li {
        justify-content: center;
    }
}


.stats-section .icon-wrapper {
    font-size: 3rem; /* Size of the icon */
    color: #FF8C00;  /* Corporate blue color */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stats-section .text-primary {
    color: navy !important;
    font-weight: 800;
}

.stats-section .text-800 {
    color: navy;
    font-size: 1rem;
}

/* Optional: Slight hover effect */
.stats-section div:hover .icon-wrapper {
    transform: translateY(-5px);
}
.logo-slider-section {
  /* background-color: #e3f2fd; Light blue background from your image */
  padding: 40px 0;
  overflow: hidden;
}

.logo-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* The track that moves */
.logo-track {
  display: flex;
  width: calc(250px * 20); /* Adjust based on (logo width + margin) * total logos */
  animation: scroll 30s linear infinite;
}

.logo-item {
  width: 160px; /* Adjust size based on your design */
  height: 80px;
  background: white;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Soft shadow like the image */
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Infinite Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-190px * 10)); /* Move by total width of one set of logos */
  }
}

/* Pause animation on hover for better UX */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}
.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.font-base {
    letter-spacing: 0.1rem;
    font-weight: 600;
}
/* Custom class to reduce image size */
.img-small {
    max-width: 70%; /* Adjust this percentage to make it smaller or larger */
    height: auto !important; /* Maintains aspect ratio */
}

.illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 
.floating-animation {
    animation: float 4s ease-in-out infinite;
    Soft shadow to match the 3D look
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.08));
}

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

.font-base {
    letter-spacing: 2px;
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    background-color: #f6f8fc !important;
    color: #155bd5 !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-item {
    border: 1px solid #edf2f7 !important;
}

.accordion-button {
    padding: 1.25rem;
    font-size: 1.1rem;
}

.accordion-body {
    background-color: #f6f8fc;
    padding-top: 0;
}

.btn-outline-primary {
    border-color: #155bd5;
    color: #155bd5;
}

.btn-outline-primary:hover {
    background-color: #155bd5;
    color: white;
}
/* Ensure the section is tight */
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Z-index for text clarity over potential background elements */
.z-index-1 {
    position: relative;
    z-index: 1;
}

/* Specific styling for the compact buttons */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.btn-outline-light:hover {
    background-color: white;
    color: #000;
    transform: translateY(-2px);
}

/* Smaller float for smaller height */
@keyframes app-float-small {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-animation {
    animation: app-float-small 4s ease-in-out infinite;
}

.download-section {
  background-color: #fff6ec;
  padding: 80px 20px;
}

.download-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LEFT IMAGE */
.download-image {
  position: relative;
  flex: 1;
  text-align: center;
}

.download-image img {
  width: 260px;
  position: relative;
  z-index: 2;
}

.gradient-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, #f28c28, #f6c343);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* RIGHT CONTENT */
.download-content {
  flex: 1;
}

.download-content h2 {
  font-size: 42px;
  color: #0b2d5c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.download-content h2 span {
  color: #f28c28;
}

.download-content p {
  font-size: 16px;
  color: #333;
  max-width: 460px;
  margin-bottom: 30px;
}

/* ACTIONS */
.download-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qr {
  width: 100px;
}

.store-buttons img {
  width: 150px;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .download-container {
    flex-direction: column;
    text-align: center;
  }

  .download-content h2 {
    font-size: 32px;
  }

  .download-actions {
    justify-content: center;
  }
}

.serviceSwiper {
  width: 100%;
  padding: 20px 10px 50px 10px;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: #fffdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: 0.3s;
}

.card:hover .icon-circle {
  background: #fff4d1;
  transform: scale(1.1);
}

.bg-primary-soft {
  background-color: #e3f2fd !important;
}

.swiper-pagination-bullet-active {
  background-color: #ffc107 !important;
}
.btn-distributor-fixed {
    position: fixed;
    /* This anchors it to the right side */
    right: 0; 
    top: 50%;
    /* Rotate -90 and translate to keep it flush against the edge */
    transform: rotate(-90deg) translateX(50%);
    transform-origin: bottom right;
    
    background-color: #ffc107;
    color: #000 !important;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 8px 8px 0 0; 
    z-index: 10000;
    box-shadow: -2px -2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    font-size: 13px;
    display: block;
}

.btn-distributor-fixed:hover {
    background-color: #000;
    color: #ffc107 !important;
    padding-bottom: 25px; /* Makes it "pop out" from the right */
}

/* Fix for loading: ensure it doesn't flicker on mobile */
@media (max-width: 768px) {
    .btn-distributor-fixed {
        padding: 8px 15px;
        font-size: 11px;
    }
}
/* Desktop Layout (Side by Side) */
/* CONTAINER */
.registration-container {
  padding: 40px 15px;
  width: 100%;
  overflow-x: hidden;
}

/* FLEX WRAPPER */
.registration-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT CONTENT */
.content-left {
  flex: 1;
}

.content-left h1 {
  font-size: 2.2rem;
  line-height: 1.3;
}

.highlight {
  color: #0d6efd;
}

.benefit-list {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.benefit-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.customer-badge {
  margin-top: 15px;
  font-weight: 600;
}

/* FORM */
.form-right {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.form-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-card h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* INPUTS */
.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* OTP */
.otp-email {
  position: relative;
}

.otp-link {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #0d6efd;
  font-size: 13px;
  cursor: pointer;
}

.otp-boxes {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}

.otp-boxes input {
  height: 45px;
  text-align: center;
  font-size: 16px;
}

/* RADIO */
.radio-group {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* BUTTONS */
.button-row {
  display: flex;
  gap: 10px;
}





/* DISCLAIMER */
.disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 992px) {
  .registration-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content-left {
    width: 100%;
  }

  .form-right {
    max-width: 100%;
  }

  .benefit-list {
    text-align: left;
    display: inline-block;
  }

  .button-row {
    flex-direction: column;
  }

  .otp-boxes input {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .content-left h1 {
    font-size: 1.7rem;
  }

  .form-card {
    padding: 20px;
  }
}

#backToTop {
  display: none; /* Hidden by default */
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99; 
  
  /* Circle & Border Settings */
  width: 50px;           /* Fixed width */
  height: 50px;          /* Same height for perfect circle */
  border-radius: 50%;    /* Perfect circle */
  background-color: transparent; /* No background color */
  border: 2px solid #f99c19;    /* Initial border color */
  color: #f99c19;               /* Icon color matches border */
  
  /* Functionality & Transitions */
  cursor: pointer;
  outline: none;
  font-size: 18px;
  transition: all 0.4s ease-in-out;
  
  /* Added Animation Trigger */
  animation: float 3s ease-in-out infinite;
}

/* Hover Effect: Fills with color and changes border */
#backToTop:hover {
  background-color: #fddb3a; 
  border-color: #fddb3a;
  color: #000;
  transform: scale(1.1); /* Slight grow effect */
}

/* Floating Animation */
@keyframes float {
	0% {
		transform: translateY(0px);
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.2);
	}
	50% {
		transform: translateY(-10px);
		box-shadow: 0 20px 15px 0px rgba(0,0,0,0.1);
	}
	100% {
		transform: translateY(0px);
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.2);
	}
}

