/* ==========================================================================
   G-STAR FINCORP THEME SYSTEM
   Brand Palette: Deep Royal Navy (#082454), Vibrant Star Gold (#F5A623 / #FDB827), Pure White (#FFFFFF)
   ========================================================================== */

:root {
  --navy-brand: #082454;
  --navy-deep: #051838;
  --navy-surface: #0B2B63;
  --navy-light: #123B80;
  --navy-gradient: linear-gradient(135deg, #051838 0%, #082454 50%, #0F377D 100%);
  --navy-hero-gradient: radial-gradient(circle at 85% 25%, rgba(245, 166, 35, 0.22) 0%, transparent 45%), radial-gradient(circle at 15% 85%, rgba(18, 59, 128, 0.4) 0%, transparent 50%), linear-gradient(135deg, #041228 0%, #082454 50%, #0C2F6E 100%);

  --star-gold: #F5A623;
  --star-gold-bright: #FDB827;
  --star-gold-dark: #D48806;
  --star-gold-glow: 0 0 25px rgba(245, 166, 35, 0.45);
  --gold-gradient: linear-gradient(135deg, #FDB827 0%, #F5A623 50%, #D48806 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFC84A 0%, #FDB827 50%, #F5A623 100%);
  --gold-shadow: 0 10px 25px -5px rgba(245, 166, 35, 0.4);

  --white: #FFFFFF;
  --slate-50: #F4F7FB;
  --slate-100: #EAEFF6;
  --slate-200: #D8E2EF;
  --slate-300: #CBD5E1;
  --slate-400: #8FA4C2;
  --slate-600: #486182;
  --slate-700: #2C3E55;
  --slate-800: #1A283B;
  --slate-900: #0B1726;

  --card-shadow: 0 10px 30px -5px rgba(8, 36, 84, 0.08), 0 4px 6px -2px rgba(8, 36, 84, 0.04);
  --card-shadow-hover: 0 20px 40px -10px rgba(8, 36, 84, 0.18), 0 0 20px rgba(245, 166, 35, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Rajdhani', 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--slate-700);
  background-color: var(--slate-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--star-gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--star-gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-brand);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   TOP UTILITY BAR (Deepest Midnight Navy)
   ========================================================================== */
.fincorp-topbar {
  background-color: var(--navy-deep);
  color: var(--slate-300);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(245, 166, 35, 0.25);
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-200);
}

.topbar-item i {
  color: var(--star-gold);
  font-size: 13px;
}

.topbar-item a {
  color: var(--slate-200);
}

.topbar-item a:hover {
  color: var(--star-gold-bright);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-badge {
  background: rgba(245, 166, 35, 0.15);
  color: var(--star-gold-bright);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-badge i {
  color: var(--star-gold-bright);
}

.topbar-btn {
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  padding: 5px 12px;
  background: var(--navy-surface);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: var(--star-gold);
}

/* ==========================================================================
   NAVIGATION HEADER (Royal Navy with Gold Edge)
   ========================================================================== */
.fincorp-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(8, 36, 84, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 25px rgba(4, 18, 40, 0.4);
  z-index: 1000;
  border-bottom: 2.5px solid var(--star-gold);
  transition: var(--transition);
}

.navbar-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}

.brand-title span {
  color: var(--star-gold-bright);
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--star-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link-item a {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  padding: 8px 0;
}

.nav-link-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}

.nav-link-item.active a,
.nav-link-item a:hover {
  color: var(--star-gold-bright);
}

.nav-link-item.active a::after,
.nav-link-item a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--navy-deep) !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--gold-shadow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-cta-btn:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.65);
}

.nav-toggle-btn {
  display: none;
  background: var(--navy-surface);
  border: 1px solid var(--star-gold);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 20px;
  color: var(--star-gold);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--navy-deep) !important;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: var(--gold-shadow);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(245, 166, 35, 0.6);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--star-gold-bright) !important;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  border: 2px solid var(--star-gold);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: var(--star-gold);
  color: var(--navy-deep) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy-surface);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 166, 35, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--star-gold);
  transform: translateY(-2px);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--star-gold-dark);
  border: 1px solid rgba(245, 166, 35, 0.4);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.fincorp-hero {
  position: relative;
  background: var(--navy-hero-gradient);
  color: var(--white);
  padding: 85px 20px 110px;
  overflow: hidden;
  border-bottom: 3px solid var(--star-gold);
}

.fincorp-hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-badge {
  align-self: flex-start;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid var(--star-gold);
  color: var(--star-gold-bright);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.25);
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-title .gold-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 17px;
  color: var(--slate-200);
  line-height: 1.7;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-showcase {
  background: var(--navy-brand);
  border: 3px solid var(--star-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 166, 35, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 380px;
  width: 100%;
}

.hero-logo-showcase img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.4));
  transition: transform 0.4s ease;
}

.hero-logo-showcase:hover img {
  transform: scale(1.05);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  background: var(--navy-surface);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1.5px solid var(--star-gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-floating-badge i {
  color: var(--star-gold-bright);
  font-size: 16px;
}

.hero-floating-badge span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   STATS BAR (Royal Navy with Gold Top Border)
   ========================================================================== */
.fincorp-stats-section {
  max-width: 1140px;
  margin: -45px auto 70px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--navy-brand);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(4, 18, 40, 0.3);
  border-top: 3.5px solid var(--star-gold);
  border-left: 1px solid rgba(245, 166, 35, 0.2);
  border-right: 1px solid rgba(245, 166, 35, 0.2);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(245, 166, 35, 0.2);
  padding-right: 15px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--star-gold-bright);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.1;
}

.stat-info p {
  font-size: 13px;
  color: var(--slate-300);
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-subtitle {
  color: var(--star-gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.section-subtitle i {
  color: var(--star-gold);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy-brand);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-divider {
  width: 90px;
  height: 4px;
  background: var(--gold-gradient);
  margin: 0 auto 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--slate-600);
}

/* ==========================================================================
   ABOUT & MISSION SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-highlight-box {
  background: var(--white);
  border-left: 4px solid var(--star-gold);
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--card-shadow);
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.8;
}

.about-card-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.mission-vision-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--navy-brand);
  transition: var(--transition);
}

.mission-vision-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--star-gold);
  box-shadow: var(--card-shadow-hover);
}

.mv-icon {
  font-size: 28px;
  color: var(--star-gold);
  margin-bottom: 12px;
}

.mission-vision-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-brand);
  margin-bottom: 8px;
}

.mission-vision-card p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

.values-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.value-chip {
  background: var(--white);
  color: var(--navy-brand);
  border: 1.5px solid var(--star-gold);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.value-chip i {
  color: var(--star-gold-dark);
}

.about-media-wrap {
  position: relative;
}

.about-main-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 4px solid var(--white);
  width: 100%;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--navy-brand);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(4, 18, 40, 0.4);
  border-top: 3.5px solid var(--star-gold);
  text-align: center;
}

.about-experience-badge h3 {
  font-size: 32px;
  color: var(--star-gold-bright);
  margin: 0;
}

.about-experience-badge p {
  font-size: 12px;
  color: var(--slate-200);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   LOAN PRODUCTS / WHAT WE DO
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--star-gold);
}

.product-image-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--slate-100);
  border-bottom: 3.5px solid var(--star-gold);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 36, 84, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--star-gold-bright);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid var(--star-gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  z-index: 2;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-brand);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 48px;
}

.product-perks-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.product-perks-list li {
  font-size: 13px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-perks-list li i {
  color: var(--star-gold);
  font-size: 14px;
}

.product-card-footer {
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-brand);
  color: var(--star-gold-bright);
  border: 1px solid var(--star-gold);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
}

.product-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: var(--star-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   LOAN SERVICES DETAIL CARDS (Loan Services Page)
   ========================================================================== */
.loan-services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.loan-service-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--navy-brand);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  transition: var(--transition);
}

.loan-service-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-top-color: var(--star-gold);
}

.loan-service-img-wrap {
  position: relative;
  width: 100%;
  min-height: 280px;
  background-color: var(--slate-100);
  overflow: hidden;
}

.loan-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.loan-service-row:hover .loan-service-img-wrap img {
  transform: scale(1.05);
}

.loan-service-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loan-service-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-brand);
  margin-bottom: 12px;
  line-height: 1.25;
}

.loan-service-desc {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.loan-service-action {
  margin-top: 6px;
}

/* Tablet & Mobile Breakpoints for Loan Services */
@media (max-width: 900px) {
  .loan-service-row {
    display: flex;
    flex-direction: column;
  }

  .loan-service-img-wrap {
    width: 100%;
    min-height: unset;
    aspect-ratio: 16 / 9;
    height: auto;
    border-bottom: 3.5px solid var(--star-gold);
  }

  .loan-service-img-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .loan-service-content {
    padding: 24px 20px;
  }

  .loan-service-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .loan-service-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .loan-service-action .btn-gold {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .loan-services-list {
    gap: 28px;
  }

  .loan-service-content {
    padding: 20px 16px;
  }

  .loan-service-title {
    font-size: 20px;
  }

  .product-badge-overlay {
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 5px 12px;
  }
}

/* ==========================================================================
   EMI CALCULATOR WIDGET (Deep Royal Navy Theme)
   ========================================================================== */
.emi-section-wrapper {
  background: var(--navy-gradient);
  color: var(--white);
  padding: 70px 40px;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 20px 50px rgba(4, 18, 40, 0.4);
  border: 2px solid rgba(245, 166, 35, 0.4);
}

.emi-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.emi-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.emi-input-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-200);
  margin-bottom: 10px;
}

.emi-val-display {
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid var(--star-gold);
  color: var(--star-gold-bright);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

.emi-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--star-gold);
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-300);
  margin-top: 6px;
}

.emi-results-card {
  background: rgba(8, 36, 84, 0.7);
  border: 2px solid var(--star-gold);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.emi-monthly-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.emi-monthly-box p {
  font-size: 13px;
  color: var(--slate-300);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.emi-monthly-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--star-gold-bright);
  font-family: var(--font-heading);
  text-shadow: 0 0 15px rgba(245, 166, 35, 0.5);
}

.emi-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--slate-300);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.emi-breakdown-row span:last-child {
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   BRANCHES SECTION
   ========================================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--navy-brand);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  min-width: 0;
  box-sizing: border-box;
}

.branch-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--star-gold);
  box-shadow: var(--card-shadow-hover);
}

.branch-city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-city h3 {
  font-size: 24px;
  color: var(--navy-brand);
  margin: 0;
}

.branch-pill {
  background: rgba(245, 166, 35, 0.15);
  color: var(--star-gold-dark);
  border: 1px solid rgba(245, 166, 35, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.branch-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--slate-600);
  min-width: 0;
}

.branch-detail-row i {
  color: var(--star-gold-dark);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.branch-detail-row div {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.branch-action-bar {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.branch-call-btn {
  flex: 1;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-brand);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.branch-call-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep) !important;
  border-color: var(--star-gold);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-brand);
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item-row:last-child {
  margin-bottom: 0;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--star-gold-dark);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-brand);
  margin-bottom: 4px;
}

.contact-item-details p,
.contact-item-details a {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0;
}

.contact-item-details a:hover {
  color: var(--star-gold-dark);
}

.quick-action-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.quick-box {
  background: var(--navy-brand);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border: 1.5px solid rgba(245, 166, 35, 0.4);
}

.quick-box:hover {
  transform: translateY(-4px);
  border-color: var(--star-gold);
  box-shadow: 0 10px 25px rgba(8, 36, 84, 0.3);
}

.quick-box i {
  font-size: 26px;
  color: var(--star-gold-bright);
}

.quick-box span {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--star-gold);
}

.contact-form-panel h3 {
  font-size: 26px;
  color: var(--navy-brand);
  margin-bottom: 8px;
}

.contact-form-panel p {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.form-group-custom {
  margin-bottom: 20px;
}

.form-group-custom label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-brand);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: var(--transition);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--star-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER (Midnight Navy with Gold Accents)
   ========================================================================== */
.fincorp-footer {
  background: var(--navy-deep);
  color: var(--slate-400);
  padding-top: 70px;
  border-top: 3.5px solid var(--star-gold);
}

.footer-top-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col-brand img {
  height: 60px;
  margin-bottom: 18px;
  object-fit: contain;
}

.footer-col-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-300);
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--star-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--slate-300);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a:hover {
  color: var(--star-gold-bright);
  transform: translateX(4px);
}

.footer-bottom-bar {
  background: #030e20;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 166, 35, 0.15);
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-400);
}

.footer-bottom-container a {
  color: var(--star-gold-bright);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-description {
    margin: 0 auto;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-logo-showcase {
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .emi-container {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-brand);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-top: 2px solid var(--star-gold);
  }
  .nav-links-wrap.show-menu {
    display: flex;
  }
  .nav-toggle-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(245, 166, 35, 0.2);
    padding-bottom: 15px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .about-card-pair {
    grid-template-columns: 1fr;
  }
  .topbar-container {
    justify-content: center;
    text-align: center;
  }
}
