/* =========================================
   YAS LOAN – Premium Financial Theme
   Navy (#0b1c3d) + Logo Blue (#1a8fe3) Theme
   ========================================= */

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

:root {
  --yas-navy: #0b1c3d;
  --yas-navy-light: #122a5c;
  --yas-blue: #1a3a6e;
  --yas-blue-light: #2e7eed;
  --yas-accent: #1a8fe3;
  --yas-accent-light: #45a5f0;
  --yas-accent-dark: #1279c4;
  --yas-white: #ffffff;
  --yas-light: #f4f8fc;
  --yas-gray: #6c7a8d;
  --yas-dark: #0a1628;
  --yas-gradient: linear-gradient(135deg, #0b1c3d 0%, #1a3a6e 50%, #0b1c3d 100%);
  --yas-accent-gradient: linear-gradient(135deg, #1279c4 0%, #1a8fe3 50%, #45a5f0 100%);
}

/* ===== PRELOADER ===== */
#yas-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1c3d 0%, #091530 50%, #0b1c3d 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#yas-preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
#yas-preloader .preloader-inner {
  text-align: center;
}
#yas-preloader .preloader-logo {
  width: 160px;
  height: auto;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}
#yas-preloader .preloader-ring {
  width: 80px;
  height: 80px;
  margin: 25px auto 0;
  border: 3px solid rgba(26, 143, 227, 0.15);
  border-top: 3px solid var(--yas-accent);
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(26, 143, 227, 0.3)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(26, 143, 227, 0.6)); }
}
@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== GLOBAL OVERFLOW FIX ===== */
html {
  overflow-x: hidden;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
body {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
  color: #333;
  overflow-x: hidden;
  padding-top: 75px;
  width: 100%;
  max-width: 100vw;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  color: var(--yas-navy);
}
.heading-serif {
  font-family: 'Playfair Display', serif !important;
}

/* ===== NAVBAR ===== */
.main-nav {
  background: var(--yas-white) !important;
  box-shadow: 0 2px 20px rgba(11, 28, 61, 0.08);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
}
.main-nav .navbar-brand img {
  height: 50px;
  width: auto;
}
.main-nav .navbar-brand {
  display: flex;
  align-items: center;
}
.brand-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--yas-navy);
  margin-left: 10px;
  letter-spacing: 0.5px;
}
@media (max-width: 360px) {
  .brand-text {
    font-size: 18px;
  }
}
.main-nav .navbar-nav .nav-item .nav-link {
  color: var(--yas-navy) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
}
.main-nav .navbar-nav {
  align-items: center;
}
.main-nav .navbar-nav .nav-item.active .nav-link,
.main-nav .navbar-nav .nav-item .nav-link:hover {
  color: var(--yas-accent) !important;
}
.main-nav .navbar-nav .nav-item.active .nav-link:before {
  background: var(--yas-accent) !important;
}
.nav-cta-btn {
  background: var(--yas-accent-gradient) !important;
  color: var(--yas-white) !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.5 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(26, 143, 227, 0.3);
  display: inline-block;
  margin: 0 !important;
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 143, 227, 0.5) !important;
  color: var(--yas-white) !important;
}

/* ===== BUTTONS ===== */
.btn-main-md, .btn-main, .btn-main-sm {
  background: var(--yas-accent-gradient) !important;
  color: var(--yas-white) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(26, 143, 227, 0.3);
}
.btn-main-md:hover, .btn-main:hover, .btn-main-sm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(26, 143, 227, 0.4) !important;
  color: var(--yas-white) !important;
}
.btn-outline-gold {
  background: transparent;
  color: var(--yas-accent) !important;
  border: 2px solid var(--yas-accent) !important;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: var(--yas-accent);
  color: var(--yas-white) !important;
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--yas-gradient) !important;
  color: var(--yas-white) !important;
  border: none;
  border-radius: 50px;
  padding: 14px 35px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(11, 28, 61, 0.3);
}
.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 28, 61, 0.4);
  color: var(--yas-white) !important;
}

/* ===== HERO SECTION ===== */
.gradient-banner {
  padding: 120px 0 170px !important;
}
.gradient-banner::before {
  background-image: linear-gradient(135deg, #0b1c3d 0%, #1a3a6e 30%, #0b1c3d 70%) !important;
}
.gradient-banner h1 {
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin-bottom: 20px;
}
.gradient-banner .hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  font-weight: 300;
}
.gradient-banner .gold-text {
  color: var(--yas-accent-light) !important;
}
.gradient-banner .hero-loan-range {
  display: inline-block;
  background: rgba(26, 143, 227, 0.15);
  border: 1px solid rgba(26, 143, 227, 0.4);
  border-radius: 50px;
  padding: 8px 25px;
  color: var(--yas-accent-light);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 25px;
}
.shapes-container .shape::before {
  background-color: rgba(26, 143, 227, 0.06) !important;
}

/* ===== HIGHLIGHT BOXES ===== */
.highlight-box {
  background: var(--yas-white);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 28, 61, 0.06);
}
.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(11, 28, 61, 0.1);
}
.highlight-box i {
  font-size: 36px;
  color: var(--yas-accent);
  margin-bottom: 15px;
  display: block;
}
.highlight-box h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.highlight-box p {
  font-size: 14px;
  color: var(--yas-gray);
  margin: 0;
}

/* ===== SERVICES SECTION ===== */
.yas-services {
  padding: 100px 0;
  background: var(--yas-light);
}
.yas-section-title {
  text-align: center;
  margin-bottom: 60px;
}
.yas-section-title .badge-label {
  display: inline-block;
  background: rgba(26, 143, 227, 0.1);
  color: var(--yas-accent-dark);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.yas-section-title h2 {
  font-size: 38px;
  color: var(--yas-navy);
  margin-bottom: 15px;
}
.yas-section-title p {
  font-size: 16px;
  color: var(--yas-gray);
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: var(--yas-white);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(11, 28, 61, 0.06);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--yas-accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(11, 28, 61, 0.12);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 143, 227, 0.08), rgba(26, 143, 227, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}
.service-card:hover .icon-wrap {
  background: var(--yas-accent-gradient);
}
.service-card .icon-wrap i {
  font-size: 28px;
  color: var(--yas-accent);
  transition: all 0.3s ease;
}
.service-card:hover .icon-wrap i {
  color: var(--yas-white);
}
.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--yas-gray);
  line-height: 1.6;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
  padding: 100px 0;
  background: var(--yas-white);
}
.why-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.why-item .why-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 143, 227, 0.08), rgba(26, 143, 227, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.why-item .why-icon i {
  font-size: 22px;
  color: var(--yas-accent);
}
.why-item h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}
.why-item p {
  font-size: 14px;
  color: var(--yas-gray);
  margin: 0;
  line-height: 1.6;
}

/* ===== LOAN RANGE SECTION ===== */
.loan-range-section {
  padding: 80px 0;
  background: var(--yas-gradient);
  position: relative;
  overflow: hidden;
}
.loan-range-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(26, 143, 227, 0.08);
}
.loan-range-section h2 {
  color: var(--yas-white) !important;
  font-size: 38px;
  margin-bottom: 10px;
}
.loan-range-section .loan-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--yas-accent-light);
  margin: 15px 0;
  display: block;
}
.loan-range-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 30px;
}
.loan-stat {
  text-align: center;
  padding: 25px;
}
.loan-stat .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--yas-accent-light);
  display: block;
  margin-bottom: 5px;
}
.loan-stat .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CIBIL SECTION ===== */
.cibil-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #eef5fc 0%, #f4f8fc 100%);
}
.cibil-card {
  background: var(--yas-white);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(11, 28, 61, 0.08);
  border-left: 5px solid var(--yas-accent);
}
.cibil-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}
.cibil-card p {
  font-size: 16px;
  color: var(--yas-gray);
  line-height: 1.7;
}
.cibil-features li {
  padding: 8px 0;
  font-size: 15px;
  color: #444;
  list-style: none;
}
.cibil-features li i {
  color: var(--yas-accent);
  margin-right: 10px;
}

/* ===== INSURANCE SECTION ===== */
.insurance-section {
  padding: 100px 0;
  background: var(--yas-white);
}
.insurance-card {
  background: var(--yas-light);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(11, 28, 61, 0.05);
}
.insurance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(11, 28, 61, 0.1);
  background: var(--yas-white);
}
.insurance-card .ins-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--yas-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.insurance-card .ins-icon i {
  font-size: 30px;
  color: var(--yas-white);
}
.insurance-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.insurance-card p {
  font-size: 14px;
  color: var(--yas-gray);
  line-height: 1.6;
}
.insurance-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 15px;
}
.insurance-card ul li {
  padding: 5px 0;
  font-size: 14px;
  color: #555;
}
.insurance-card ul li i {
  color: var(--yas-accent);
  margin-right: 8px;
  font-size: 12px;
}

/* ===== BANKING PARTNERS ===== */
.banking-partners {
  padding: 80px 0;
  background: var(--yas-light);
}
.partner-badge {
  background: var(--yas-white);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 28, 61, 0.06);
  margin-bottom: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.partner-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11, 28, 61, 0.08);
  border-color: var(--yas-accent);
}
.partner-badge .partner-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 143, 227, 0.08), rgba(26, 143, 227, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.partner-badge .partner-icon i {
  font-size: 22px;
  color: var(--yas-accent);
}
.partner-badge h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--yas-navy);
  margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--yas-light) !important;
}
.testimonial .testimonial-slider .item .block {
  background: var(--yas-white);
  border-radius: 16px;
  border: 1px solid rgba(11, 28, 61, 0.06);
}
.testimonial .testimonial-slider .item .block p {
  color: #555;
}
.testimonial .testimonial-slider .item .block cite {
  color: var(--yas-navy);
  font-weight: 600;
}
.testimonial .slick-dots li button:before {
  color: var(--yas-accent) !important;
}
.testimonial .slick-dots li.slick-active button:before {
  color: var(--yas-accent) !important;
}

/* ===== CTA SECTION ===== */
.yas-cta {
  padding: 80px 0;
  background: var(--yas-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yas-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(26, 143, 227, 0.08);
}
.yas-cta h2 {
  color: var(--yas-white) !important;
  font-size: 38px;
  margin-bottom: 15px;
}
.yas-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE TITLE ===== */
.page-title {
  background: var(--yas-gradient);
  padding: 80px 0 60px;
}
.page-title h1 {
  color: var(--yas-white) !important;
  font-size: 42px;
}
.page-title p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ABOUT PAGE ===== */
.about-stats {
  padding: 60px 0;
}
.stat-box {
  text-align: center;
  padding: 30px 20px;
}
.stat-box .stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--yas-accent-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-txt {
  font-size: 14px;
  color: var(--yas-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mission-card {
  background: var(--yas-white);
  border-radius: 16px;
  padding: 40px 30px;
  border: 1px solid rgba(11, 28, 61, 0.06);
  height: 100%;
  transition: all 0.3s ease;
}
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(11, 28, 61, 0.1);
}
.mission-card .mission-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--yas-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mission-card .mission-icon i {
  font-size: 24px;
  color: var(--yas-white);
}
.mission-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}
.mission-card p {
  font-size: 15px;
  color: var(--yas-gray);
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0;
}
.contact-info-card {
  background: var(--yas-gradient);
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  height: 100%;
}
.contact-info-card h3 {
  color: var(--yas-white) !important;
  font-size: 24px;
  margin-bottom: 25px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}
.contact-info-item .info-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: rgba(26, 143, 227, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}
.contact-info-item .info-icon i {
  font-size: 18px;
  color: var(--yas-accent-light);
}
.contact-info-item h5 {
  color: var(--yas-white) !important;
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-info-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: #fff !important;
  text-decoration: none;
}
.whatsapp-btn i {
  margin-right: 10px;
  font-size: 20px;
}
.contact-form-card {
  background: var(--yas-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(11, 28, 61, 0.08);
}
.contact-form-card h3 {
  font-size: 24px;
  margin-bottom: 25px;
}
.form-control.yas-input {
  background: var(--yas-light);
  border: 1px solid rgba(11, 28, 61, 0.1);
  border-radius: 10px;
  padding: 14px 20px;
  height: auto;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}
.form-control.yas-input:focus {
  border-color: var(--yas-accent);
  box-shadow: 0 0 0 3px rgba(26, 143, 227, 0.1);
}
select.form-control.yas-input {
  appearance: auto;
}

/* ===== FOOTER ===== */
.footer-main {
  background: var(--yas-dark) !important;
  padding: 80px 0 !important;
}
.footer-main .block-2 h6 {
  color: var(--yas-accent-light) !important;
  font-weight: 700 !important;
}
.footer-main .block-2 ul li a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-main .block-2 ul li a:hover {
  color: var(--yas-accent-light);
}
.footer-main .block ul.social-icon li a {
  background: rgba(26, 143, 227, 0.15);
  color: var(--yas-accent-light);
  transition: all 0.3s ease;
}
.footer-main .block ul.social-icon li a:hover {
  background: var(--yas-accent);
  color: var(--yas-white);
}
.footer-brand-name {
  color: var(--yas-white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-brand-name span {
  color: var(--yas-accent-light);
}
.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-to {
  background: var(--yas-accent) !important;
  color: var(--yas-white) !important;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
}
.scroll-top-to:hover {
  background: var(--yas-navy) !important;
  color: var(--yas-accent-light) !important;
}

/* ===== MISC OVERRIDES ===== */
a:focus, a:hover {
  color: var(--yas-accent) !important;
}
.bg-blue {
  background: var(--yas-navy) !important;
}
.bg-gray {
  background: var(--yas-light) !important;
}
.text-primary {
  color: var(--yas-accent) !important;
}
.pull-top {
  margin-top: -80px;
}
.section-title h2 {
  color: var(--yas-navy);
}
.section-title p {
  color: var(--yas-gray);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsappBounce 2s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}
.floating-whatsapp i {
  font-size: 28px;
  color: #fff;
}
@keyframes whatsappBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ===== NRI BADGE ===== */
.nri-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 143, 227, 0.12);
  border: 1px solid rgba(26, 143, 227, 0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--yas-accent-light);
  font-weight: 600;
  margin-right: 10px;
}
.nri-badge i {
  margin-right: 6px;
  font-size: 14px;
}

/* === Mobile Overflow Fix: AOS animations & section containment === */
@media (max-width: 991px) {
  /* Prevent AOS fade-left/right from causing horizontal overflow */
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos="fade-up-right"],
  [data-aos="fade-down-left"],
  [data-aos="fade-down-right"],
  [data-aos="fade-up-left"] {
    transition-property: opacity !important;
    transform: none !important;
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate,
  [data-aos="fade-up-right"].aos-animate,
  [data-aos="fade-down-left"].aos-animate,
  [data-aos="fade-down-right"].aos-animate,
  [data-aos="fade-up-left"].aos-animate {
    transform: none !important;
  }

  /* Contain all sections */
  section,
  .gradient-banner,
  .yas-services,
  .why-choose-us,
  .loan-range-section,
  .cibil-section,
  .insurance-section,
  .banking-partners,
  .testimonial,
  .yas-cta,
  .contact-section,
  .service-detail-section,
  .about-stats,
  footer,
  .footer-main,
  .page-title {
    overflow: hidden;
  }

  /* Contain Bootstrap rows */
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Contain container */
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* === Tablet Landscape (max-width: 992px) === */
@media (max-width: 992px) {
  body {
    padding-top: 65px;
  }

  /* Navbar */
  .main-nav .navbar-nav {
    align-items: flex-start;
    padding: 15px 0;
  }
  .main-nav .navbar-nav .nav-item .nav-link {
    padding: 10px 15px !important;
    line-height: 1.4 !important;
    text-align: left;
  }
  .nav-cta-btn {
    margin: 10px 15px !important;
    display: inline-block;
    text-align: center;
  }

  /* Hero */
  .gradient-banner {
    padding: 80px 0 130px !important;
  }
  .gradient-banner h1 {
    font-size: 38px !important;
    line-height: 1.2 !important;
  }
  .gradient-banner .hero-subtitle {
    font-size: 16px;
  }

  /* Section Titles */
  .yas-section-title h2 {
    font-size: 30px;
  }
  .loan-range-section h2 {
    font-size: 30px;
  }
  .yas-cta h2 {
    font-size: 30px;
  }

  /* Loan Range */
  .loan-range-section .loan-amount {
    font-size: 42px;
  }
  .loan-stat .stat-number {
    font-size: 34px;
  }

  /* Services */
  .yas-services {
    padding: 70px 0;
  }
  .yas-section-title {
    margin-bottom: 40px;
  }

  /* Why Choose Us */
  .why-choose-us {
    padding: 70px 0;
  }

  /* Insurance */
  .insurance-section {
    padding: 70px 0;
  }

  /* Banking Partners */
  .banking-partners {
    padding: 60px 0;
  }

  /* Service Detail */
  .service-detail-section {
    padding: 60px 0;
  }
  .service-detail-highlights {
    padding: 25px 20px;
  }

  /* Page Title */
  .page-title {
    padding: 60px 0 50px;
  }
  .page-title h1 {
    font-size: 34px;
  }

  /* CTA */
  .yas-cta {
    padding: 60px 0;
  }

  /* Contact */
  .contact-section {
    padding: 60px 0;
  }
}

/* === Tablet Portrait (max-width: 768px) === */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  /* Hero Section */
  .gradient-banner {
    padding: 60px 0 100px !important;
  }
  .gradient-banner h1 {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }
  .gradient-banner .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }
  .gradient-banner .hero-loan-range {
    font-size: 13px;
    padding: 6px 18px;
    margin-bottom: 18px;
  }
  .gradient-banner .col-md-5 img {
    max-width: 220px !important;
    margin-bottom: 25px;
  }

  /* NRI Badges */
  .nri-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-right: 6px;
    margin-bottom: 6px;
  }

  /* Pull Top Offset */
  .pull-top {
    margin-top: -50px;
  }

  /* Highlight Boxes */
  .highlight-box {
    padding: 25px 20px;
    margin-bottom: 15px;
  }
  .highlight-box i {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .highlight-box h5 {
    font-size: 15px;
  }

  /* Section Titles */
  .yas-section-title h2 {
    font-size: 26px;
  }
  .yas-section-title p {
    font-size: 14px;
  }
  .yas-section-title {
    margin-bottom: 35px;
  }

  /* Services */
  .yas-services {
    padding: 60px 0;
  }
  .service-card {
    padding: 28px 20px;
  }
  .service-card h4 {
    font-size: 16px;
  }

  /* Why Choose Us */
  .why-choose-us {
    padding: 60px 0;
  }
  .why-item {
    margin-bottom: 20px;
  }
  .why-item .why-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .why-item .why-icon i {
    font-size: 20px;
  }
  .why-item h5 {
    font-size: 15px;
  }
  .why-item p {
    font-size: 13px;
  }

  /* Loan Range */
  .loan-range-section {
    padding: 60px 0;
  }
  .loan-range-section h2 {
    font-size: 26px;
  }
  .loan-range-section .loan-amount {
    font-size: 34px;
  }
  .loan-range-section p {
    font-size: 15px;
  }
  .loan-stat {
    padding: 15px 10px;
  }
  .loan-stat .stat-number {
    font-size: 30px;
  }
  .loan-stat .stat-label {
    font-size: 12px;
  }

  /* CIBIL */
  .cibil-section {
    padding: 60px 0;
  }
  .cibil-card {
    padding: 30px 25px;
    margin-top: 25px;
  }
  .cibil-card h3 {
    font-size: 22px;
  }

  /* Insurance */
  .insurance-section {
    padding: 60px 0;
  }
  .insurance-card {
    padding: 30px 20px;
  }
  .insurance-card .ins-icon {
    width: 65px;
    height: 65px;
  }
  .insurance-card .ins-icon i {
    font-size: 26px;
  }

  /* Banking Partners */
  .banking-partners {
    padding: 50px 0;
  }
  .partner-badge {
    padding: 15px 10px;
  }
  .partner-badge .partner-icon {
    width: 45px;
    height: 45px;
  }
  .partner-badge .partner-icon i {
    font-size: 18px;
  }
  .partner-badge h6 {
    font-size: 11px;
  }

  /* Testimonials */
  .testimonial .testimonial-slider .item .block {
    padding: 25px;
  }

  /* CTA */
  .yas-cta {
    padding: 50px 0;
  }
  .yas-cta h2 {
    font-size: 26px;
  }
  .yas-cta p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* Page Title */
  .page-title {
    padding: 50px 0 40px;
  }
  .page-title h1 {
    font-size: 28px;
  }
  .page-title p {
    font-size: 14px;
  }

  /* Contact */
  .contact-section {
    padding: 50px 0;
  }
  .contact-info-card {
    padding: 30px 22px;
    margin-bottom: 25px;
  }
  .contact-info-card h3 {
    font-size: 20px;
  }
  .contact-form-card {
    padding: 28px 22px;
    margin-top: 0;
  }
  .contact-form-card h3 {
    font-size: 20px;
  }

  /* About Stats */
  .stat-box .stat-num {
    font-size: 34px;
  }
  .stat-box .stat-txt {
    font-size: 12px;
  }

  /* Mission Cards */
  .mission-card {
    padding: 30px 22px;
    margin-bottom: 20px;
  }
  .mission-card h4 {
    font-size: 18px;
  }
  .mission-card p {
    font-size: 14px;
  }

  /* Service Detail */
  .service-detail-section {
    padding: 50px 0;
  }
  .service-detail-title {
    font-size: 24px;
  }
  .service-detail-desc {
    font-size: 14px;
  }
  .service-detail-highlights {
    padding: 25px 20px;
    margin-top: 20px;
  }
  .service-detail-highlights h5 {
    font-size: 16px;
  }
  .service-detail-highlights ul li {
    font-size: 14px;
    padding: 8px 0;
  }
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-value {
    text-align: left;
    margin-top: 4px;
  }

  /* Insurance Detail */
  .insurance-detail-card {
    padding: 28px 20px;
  }
  .ins-detail-header h3 {
    font-size: 19px;
  }
  .ins-detail-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    margin-right: 14px;
  }
  .ins-detail-icon i {
    font-size: 20px;
  }

  /* Footer */
  .footer-main {
    padding: 50px 0 !important;
    text-align: center;
  }
  .footer-main .block {
    margin-bottom: 30px;
    text-align: center;
  }
  .footer-main .block-2 {
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-main .block-2 h6 {
    margin-bottom: 15px;
  }

  /* Floating WhatsApp */
  .floating-whatsapp {
    width: 48px;
    height: 48px;
    bottom: 20px;
    left: 20px;
  }
  .floating-whatsapp i {
    font-size: 24px;
  }

  /* Scroll Top */
  .scroll-top-to {
    width: 38px;
    height: 38px;
    line-height: 38px;
    bottom: 20px;
    right: 15px;
  }

  /* Buttons on mobile */
  .btn-main-md, .btn-main, .btn-main-sm {
    padding: 14px 28px !important;
    font-size: 13px !important;
  }
  .btn-outline-gold {
    padding: 10px 22px;
    font-size: 13px;
  }
  .btn-navy {
    padding: 12px 28px;
    font-size: 13px;
  }
}

/* === Large Phones (max-width: 576px) === */
@media (max-width: 576px) {
  /* Hero */
  .gradient-banner {
    padding: 50px 0 90px !important;
  }
  .gradient-banner h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .gradient-banner .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }
  .gradient-banner .hero-loan-range {
    font-size: 12px;
    padding: 5px 16px;
  }
  .gradient-banner .col-md-5 img {
    max-width: 180px !important;
  }

  /* Section Titles */
  .yas-section-title h2 {
    font-size: 23px;
  }
  .loan-range-section h2 {
    font-size: 23px;
  }
  .yas-cta h2 {
    font-size: 23px;
  }

  /* Loan Range */
  .loan-range-section .loan-amount {
    font-size: 30px;
  }
  .loan-stat .stat-number {
    font-size: 26px;
  }

  /* CIBIL */
  .cibil-card {
    padding: 25px 18px;
  }
  .cibil-card h3 {
    font-size: 20px;
  }
  .cibil-card div[style*="font-size:36px"] {
    font-size: 28px !important;
  }

  /* CTA Buttons stacked */
  .yas-cta .btn {
    display: block;
    margin: 0 auto 10px !important;
    max-width: 260px;
  }
  .gradient-banner .btn {
    display: block;
    margin: 0 auto 10px !important;
    max-width: 260px;
  }

  /* Contact */
  .contact-info-card {
    padding: 25px 18px;
  }
  .contact-form-card {
    padding: 22px 18px;
  }
  .whatsapp-btn {
    padding: 12px 22px;
    font-size: 13px;
  }
  .whatsapp-btn i {
    font-size: 18px;
  }

  /* Stats */
  .stat-box .stat-num {
    font-size: 30px;
  }
  .stat-box {
    padding: 20px 10px;
  }

  /* Service Detail */
  .service-detail-title {
    font-size: 22px;
  }
  .service-detail-icon {
    width: 60px;
    height: 60px;
  }
  .service-detail-icon i {
    font-size: 24px;
  }
  .service-detail-features {
    padding: 5px 15px;
  }

  /* Page Title */
  .page-title h1 {
    font-size: 24px;
  }

  /* Footer */
  .footer-main .block-2 ul li {
    margin-bottom: 5px;
  }
}

/* === Small Phones (max-width: 480px) === */
@media (max-width: 480px) {
  /* Hero */
  .gradient-banner h1 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
  .gradient-banner .hero-subtitle {
    font-size: 13px;
  }
  .gradient-banner .col-md-5 img {
    max-width: 150px !important;
  }

  /* NRI Badges stacked */
  .nri-badge {
    display: block;
    text-align: center;
    margin-bottom: 8px;
    margin-right: 0;
  }

  /* Nav CTA */
  .nav-cta-btn {
    margin-top: 10px;
    display: inline-block;
  }

  /* Highlight Boxes */
  .highlight-box {
    padding: 20px 15px;
    margin-bottom: 12px;
  }
  .highlight-box i {
    font-size: 28px;
  }
  .highlight-box h5 {
    font-size: 14px;
  }
  .highlight-box p {
    font-size: 13px;
  }

  /* Pull Top */
  .pull-top {
    margin-top: -40px;
  }

  /* Services */
  .service-card {
    padding: 25px 18px;
  }
  .service-card .icon-wrap {
    width: 60px;
    height: 60px;
  }
  .service-card .icon-wrap i {
    font-size: 24px;
  }
  .service-card h4 {
    font-size: 15px;
  }
  .service-card p {
    font-size: 13px;
  }

  /* Loan Amount */
  .loan-range-section .loan-amount {
    font-size: 26px;
  }
  .loan-stat .stat-number {
    font-size: 24px;
  }
  .loan-stat .stat-label {
    font-size: 11px;
  }

  /* Partner Badges */
  .partner-badge {
    padding: 12px 8px;
  }
  .partner-badge .partner-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  .partner-badge .partner-icon i {
    font-size: 16px;
  }
  .partner-badge h6 {
    font-size: 10px;
    line-height: 1.3;
  }

  /* CIBIL */
  .cibil-features li {
    font-size: 13px;
  }

  /* Insurance Card */
  .insurance-card {
    padding: 25px 15px;
  }
  .insurance-card .ins-icon {
    width: 56px;
    height: 56px;
  }
  .insurance-card .ins-icon i {
    font-size: 22px;
  }
  .insurance-card h4 {
    font-size: 17px;
  }

  /* Buttons full width on small screens */
  .btn-main-md, .btn-main, .btn-main-sm {
    padding: 12px 24px !important;
    font-size: 12px !important;
    width: 100%;
    text-align: center;
  }
  .btn-outline-gold {
    padding: 10px 20px;
    font-size: 12px;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 10px;
  }
  .btn-navy {
    padding: 12px 24px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .footer-main {
    padding: 40px 0 !important;
  }

  /* Insurance Detail */
  .insurance-detail-card {
    padding: 22px 16px;
  }
  .ins-detail-header {
    flex-direction: column;
    text-align: center;
  }
  .ins-detail-icon {
    margin: 0 auto 12px;
  }
  .ins-detail-header h3 {
    font-size: 18px;
  }
  .ins-features-list li {
    font-size: 13px;
  }

  /* Preloader */
  #yas-preloader .preloader-logo {
    width: 120px;
  }
  #yas-preloader .preloader-ring {
    width: 60px;
    height: 60px;
  }
}

/* === Very Small Phones (max-width: 360px) === */
@media (max-width: 360px) {
  body {
    padding-top: 55px;
  }

  .brand-text {
    font-size: 16px;
  }
  .main-nav .navbar-brand img {
    height: 40px;
  }

  .gradient-banner h1 {
    font-size: 20px !important;
  }
  .gradient-banner .hero-subtitle {
    font-size: 12px;
  }
  .gradient-banner .hero-loan-range {
    font-size: 11px;
    padding: 4px 12px;
  }

  .yas-section-title h2 {
    font-size: 20px;
  }
  .yas-cta h2 {
    font-size: 20px;
  }
  .loan-range-section h2 {
    font-size: 20px;
  }
  .loan-range-section .loan-amount {
    font-size: 22px;
  }

  .page-title h1 {
    font-size: 22px;
  }

  .cibil-card h3 {
    font-size: 18px;
  }
  .service-detail-title {
    font-size: 20px;
  }

  .contact-info-card h3 {
    font-size: 18px;
  }
  .contact-form-card h3 {
    font-size: 18px;
  }

  .stat-box .stat-num {
    font-size: 26px;
  }

  .mission-card {
    padding: 25px 18px;
  }
  .mission-card h4 {
    font-size: 16px;
  }
  .mission-card p {
    font-size: 13px;
  }

  /* Floating elements repositioned */
  .floating-whatsapp {
    width: 44px;
    height: 44px;
    bottom: 15px;
    left: 15px;
  }
  .floating-whatsapp i {
    font-size: 22px;
  }
  .scroll-top-to {
    width: 34px;
    height: 34px;
    line-height: 34px;
    bottom: 15px;
    right: 12px;
  }
}

/* ===== COUNTER ANIMATION ===== */
.counter-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--yas-accent);
}

/* ===== ABOUT PAGE STORY SECTION ===== */
.about .content h2 {
  color: var(--yas-navy);
}
.about .content p {
  color: var(--yas-gray);
  line-height: 1.8;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--yas-accent-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail-section {
  padding: 80px 0;
  background: var(--yas-white);
}
.service-detail-section.bg-alt {
  background: var(--yas-light);
}
.service-detail-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--yas-accent-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-detail-icon i {
  font-size: 28px;
  color: var(--yas-white);
}
.service-detail-title {
  font-size: 32px;
  color: var(--yas-navy);
  margin-bottom: 15px;
}
.service-detail-desc {
  font-size: 16px;
  color: var(--yas-gray);
  line-height: 1.8;
  margin-bottom: 25px;
}
.service-detail-features {
  background: var(--yas-light);
  border-radius: 12px;
  padding: 5px 20px;
  margin-bottom: 10px;
}
.service-detail-section.bg-alt .service-detail-features {
  background: var(--yas-white);
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 28, 61, 0.06);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  font-weight: 700;
  color: var(--yas-navy);
  font-size: 14px;
}
.detail-value {
  font-weight: 600;
  color: var(--yas-accent);
  font-size: 14px;
  text-align: right;
}
.service-detail-highlights {
  background: var(--yas-white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 40px rgba(11, 28, 61, 0.08);
  border-left: 4px solid var(--yas-accent);
  height: 100%;
}
.service-detail-section.bg-alt .service-detail-highlights {
  background: var(--yas-white);
}
.service-detail-highlights h5 {
  font-size: 18px;
  color: var(--yas-navy);
  margin-bottom: 20px;
}
.service-detail-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail-highlights ul li {
  padding: 10px 0;
  font-size: 15px;
  color: #444;
  border-bottom: 1px solid rgba(11, 28, 61, 0.04);
  display: flex;
  align-items: flex-start;
}
.service-detail-highlights ul li:last-child {
  border-bottom: none;
}
.service-detail-highlights ul li i {
  color: var(--yas-accent);
  margin-right: 12px;
  margin-top: 3px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== INSURANCE DETAIL CARDS ===== */
.insurance-detail-card {
  background: var(--yas-white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 40px rgba(11, 28, 61, 0.08);
  height: 100%;
  border-top: 4px solid var(--yas-accent);
}
.ins-detail-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.ins-detail-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: var(--yas-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
}
.ins-detail-icon i {
  font-size: 24px;
  color: var(--yas-white);
}
.ins-detail-header h3 {
  font-size: 22px;
  margin-bottom: 2px;
}
.ins-partner {
  font-size: 13px;
  color: var(--yas-accent);
  font-weight: 600;
}
.insurance-detail-card p {
  font-size: 15px;
  color: var(--yas-gray);
  line-height: 1.7;
}
.ins-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ins-features-list li {
  padding: 7px 0;
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: flex-start;
}
.ins-features-list li i {
  color: var(--yas-accent);
  margin-right: 10px;
  margin-top: 3px;
  font-size: 12px;
  flex-shrink: 0;
}

/* Service card links */
a.text-decoration-none .service-card h4 {
  color: var(--yas-navy);
}
a.text-decoration-none .service-card p {
  color: var(--yas-gray);
}


