/**
 * Arthyojan Nidhi Limited — Modern Enterprise Theme & Design System
 * Modern Glassmorphism, Premium Typography & Micro-Animations
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #0f172a;
  --brand-navy: #1a365d;
  --brand-blue: #2563eb;
  --brand-gold: #c59b27;
  --brand-olive: #77763f;
  --accent-gold-light: #fef3c7;
  
  --bg-slate: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Typography */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-slate);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-bar-modern {
  background: var(--primary-navy);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-modern a {
  color: #e2e8f0;
}

.top-bar-modern a:hover {
  color: var(--brand-gold);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
}

.top-bar-item i {
  color: var(--brand-gold);
  margin-right: 6px;
}

.top-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-left: 6px;
  font-size: 12px;
}

.top-social-links a:hover {
  background: var(--brand-gold);
  color: var(--primary-navy);
}

/* ==========================================================================
   Navigation Bar (Sticky Glassmorphic)
   ========================================================================== */
.navbar-modern {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: all 0.3s ease;
}

.navbar-modern.scrolled {
  padding: 10px 0;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

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

.navbar-brand {
  padding: 0;
  margin-right: 0;
}

.navbar-brand img {
  max-height: 52px;
  width: auto;
  transition: max-height 0.3s ease;
}

.navbar-modern.scrolled .navbar-brand img {
  max-height: 45px;
}

.navbar-modern .navbar-collapse {
  flex-grow: 1;
  justify-content: flex-end;
}

.navbar-modern .navbar-nav {
  margin-left: auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-link-modern {
  color: #334155 !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  padding: 8px 16px !important;
  position: relative;
  border-radius: 4px;
  background: transparent !important;
  transition: color 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.nav-link-modern:hover {
  color: #c59b27 !important;
  background: transparent !important;
}

.nav-link-modern.active {
  color: #1a365d !important;
  font-weight: 700;
  background: transparent !important;
}

.nav-link-modern.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: #c59b27;
  border-radius: 3px;
}

@media (max-width: 991px) {
  .navbar-modern .navbar-collapse {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .navbar-modern .navbar-nav {
    align-items: flex-start;
    gap: 4px;
  }
  .nav-link-modern {
    padding: 10px 14px !important;
    width: 100%;
  }
  .nav-link-modern.active::after {
    left: 14px;
    width: 30px;
    bottom: 4px;
  }
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e40af 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #d97706 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

/* ==========================================================================
   Hero Section & Carousel
   ========================================================================== */
.hero-slider-modern {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-slider-modern .carousel-item {
  width: 100%;
  background-color: #ffffff;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider-modern .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .hero-slider-modern .carousel-item img {
    max-height: 400px;
  }
}

@media (max-width: 576px) {
  .hero-slider-modern .carousel-item img {
    max-height: 240px;
    object-fit: contain;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0.8;
  margin: 0 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: var(--brand-navy);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
  bottom: 15px;
  margin-bottom: 0;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.carousel-indicators .active {
  width: 32px;
  border-radius: 10px;
  background-color: var(--brand-gold);
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  color: #fef08a;
  border: 1px solid rgba(197, 155, 39, 0.4);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 24px; }
  .hero-glass-card { padding: 20px; }
}

.hero-lead {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 22px;
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.inner-page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1a365d 100%);
  padding: 60px 0 50px 0;
  position: relative;
  color: #ffffff;
  border-bottom: 3px solid var(--brand-gold);
}

.inner-page-header h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumb-modern {
  display: inline-flex;
  padding: 4px 0;
  list-style: none;
  font-size: 14px;
  margin-bottom: 0;
}

.breadcrumb-modern li a {
  color: #cbd5e1;
}

.breadcrumb-modern li a:hover {
  color: var(--brand-gold);
}

.breadcrumb-modern li + li::before {
  content: '/';
  color: #64748b;
  padding: 0 8px;
}

.breadcrumb-modern li.active {
  color: #fef08a;
  font-weight: 600;
}

/* ==========================================================================
   Feature & Trust Badges Row
   ========================================================================== */
.trust-metric-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.trust-metric-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(197, 155, 39, 0.4);
}

.trust-metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.08) 0%, rgba(197, 155, 39, 0.15) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.trust-metric-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.trust-metric-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Service Cards & Highlights
   ========================================================================== */
.service-card-modern {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-color: rgba(26, 54, 93, 0.25);
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-modern:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  font-size: 13px;
}

.service-features-list li {
  padding: 4px 0;
  color: #475569;
  display: flex;
  align-items: center;
}

.service-features-list li i {
  color: var(--brand-olive);
  margin-right: 8px;
  font-size: 14px;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(26, 54, 93, 0.06);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.service-card-btn:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

/* ==========================================================================
   Special Benefits Banner
   ========================================================================== */
.benefits-banner-modern {
  background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 45px 40px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.benefits-banner-modern::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.25) 0%, rgba(197, 155, 39, 0) 70%);
}

.benefit-badge-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
  margin: 6px 8px 6px 0;
}

.benefit-badge-pill i {
  color: #fef08a;
  margin-right: 8px;
}

/* ==========================================================================
   Interactive Financial Calculator
   ========================================================================== */
.calc-card-modern {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
}

.btn-check {
  position: absolute;
  clip: rect(0,0,0,0);
  pointer-events: none;
  opacity: 0;
}

.btn-check:checked + .btn-outline-primary {
  color: #fff !important;
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.25);
}

.calc-tabs .nav-link {
  color: #64748b;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.calc-tabs .nav-link.active {
  background: var(--brand-navy);
  color: #ffffff;
}

.calc-slider {
  width: 100%;
  accent-color: var(--brand-navy);
}

.calc-output-box {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.calc-output-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

/* ==========================================================================
   Leadership Team Cards
   ========================================================================== */
.team-card-modern {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(197, 155, 39, 0.4);
}

.team-avatar-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  overflow: hidden;
  border: 4px solid var(--bg-slate);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  background: #f1f5f9;
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  color: var(--brand-olive);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.team-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  margin: 0 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.team-social-links a:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
.footer-modern {
  background: #0b1120;
  color: #cbd5e1;
  padding: 65px 0 0 0;
  font-size: 14.5px;
  border-top: 4px solid var(--brand-gold);
}

.footer-modern p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.75;
}

.footer-brand-desc {
  color: #cbd5e1 !important;
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 14px;
}

.footer-heading {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #cbd5e1;
  font-size: 14.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links li a i {
  font-size: 11px;
  margin-right: 8px;
  color: var(--brand-gold);
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 50px;
  font-size: 13.5px;
  color: #94a3b8;
}

/* Floating WhatsApp / Phone Speed Dial */
.floating-speed-dial {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.speed-dial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speed-dial-btn.call {
  background: #2563eb;
}

.speed-dial-btn.mail {
  background: #1a365d;
}

.speed-dial-btn.top {
  background: #475569;
  font-size: 18px;
  display: none;
}

.speed-dial-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Enhancements
   ========================================================================== */
@media (max-width: 991px) {
  .top-bar-modern {
    font-size: 12px;
  }
  .top-bar-item {
    margin-right: 12px;
  }
  .top-social-links {
    margin-top: 4px;
  }
}

@media (max-width: 767px) {
  .top-bar-modern {
    padding: 6px 0;
    text-align: center;
  }
  .top-bar-modern .container > div {
    justify-content: center !important;
    flex-direction: column;
    gap: 4px;
  }
  .top-bar-item {
    margin: 2px 8px;
    display: inline-block;
  }
  .top-social-links {
    display: none;
  }
  .hero-slider-modern .carousel-item img {
    min-height: 180px;
    object-fit: cover;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 50%;
    margin: 0 8px;
  }
  .card-feature-modern {
    margin-bottom: 20px;
  }
  .footer-modern {
    padding: 45px 0 0 0;
    text-align: left;
  }
  .footer-bottom {
    margin-top: 30px;
    text-align: center;
    justify-content: center !important;
    gap: 8px;
  }
  .floating-speed-dial {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .speed-dial-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 42px;
  }
  .navbar-toggler {
    padding: 6px 10px;
    font-size: 16px;
  }
  h1, .h1 { font-size: 26px !important; }
  h2, .h2 { font-size: 22px !important; }
  h3, .h3 { font-size: 19px !important; }
  .btn-submit-modern,
  .btn-primary-custom {
    width: 100% !important;
    padding: 13px !important;
  }
  .contact-form-container {
    padding: 20px 16px !important;
  }
  .captcha-container {
    flex-wrap: wrap;
    gap: 8px;
  }
  .captcha-image-wrapper {
    flex: 1 1 140px;
  }
  .captcha-input-wrapper {
    flex: 1 1 100%;
  }
}

