:root{
  --brand:#052169; /* deep navy */
  --accent:#21c55d; /* green */
  --ink:#0f172a;
  --muted:#475569;
  --light-blue:#f0f9ff;
  --hero-bg:#e0f2fe;
}
body{font-family:'League Spartan',sans-serif;color:var(--ink);background:linear-gradient(180deg,var(--light-blue),#f2f7ff);overflow-x:hidden}

/* Smooth scrolling */
html{scroll-behavior:smooth}

/* ===== NAVBAR (Desktop Design) ===== */
.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px 40px 60px;
  isolation: isolate;
  position: fixed;
  width: 100%;
  height: 124px;
  left: 0;
  right: 0;
  top: 0;
  background: #F1F7FF;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--brand);
  width: 136px;
  height: 100px;
  z-index: 0;
}

.logo-image {
  height: 100px;
  width: 136px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.navbar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.navbar-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  width: 452px;
  height: 64px;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 0px;
  gap: 10px;
  width: 113px;
  height: 64px;
  background: transparent;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #001A6E;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.nav-link:first-child {
  border-radius: 15px 0px 0px 15px;
}

.nav-link:last-child {
  border-radius: 0px 15px 15px 0px;
}

.nav-link:hover, .nav-link.active {
  background: #cfe0ff;
  color: #001A6E;
}

.navbar-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 223px;
  height: 64px;
  z-index: 3;
  flex-shrink: 0;
}

.btn-grievance {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  width: 111px;
  height: 34px;
  border: 1px solid #001A6E;
  border-radius: 37px;
  background: #FFFFFF;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.02em;
  color: #001A6E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-grievance:hover {
  background: #001A6E;
  color: #FFFFFF;
}

.btn-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  width: 96px;
  height: 34px;
  background: #89AC46;
  border-radius: 30px;
  border: none;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #74a93d;
  color: #FFFFFF;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  margin-top: 124px;
  min-height: calc(100vh - 124px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 700px;
  background: linear-gradient(180deg, #F1F7FF, #f2f7ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 80px;
  gap: 20px;
}

.hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 57px;
  width: 100%;
  max-width: 1120px;
  height: 500px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 24px;
  width: 619px;
  height: 297px;
}

.hero-content h1 {
  width: 619px;
  height: 116px;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #070707;
  margin: 0;
}

.hero-content p {
  width: 619px;
  height: 87px;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #7F7F7F;
  margin: 0;
}

.hero-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 24px;
  width: 158px;
  height: 46px;
  background: #89AC46;
  border-radius: 30px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: #74a93d;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-illustration {
  width: 500px;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== COMMON SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-light {
  background: linear-gradient(180deg, #F1F7FF, #e3f2fd);
}

.section-white {
  background: #EFF8FE;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
}

.card-dark {
  background: #001A6E;
  color: #FFFFFF;
}

.section-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #070707;
  line-height: 1.2;
  margin: 0 0 24px 0;
  text-align: center;
}

.section-description {
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #7F7F7F;
  line-height: 1.6;
  margin: 0 0 40px 0;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== COMPLIANCE CERTIFICATES (Regulatory page) ===== */
.cert-grid { 
  margin-left: 0; 
  margin-right: 0;
}

.cert-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 300px; /* keep all cards equal height */
}

.cert-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #070707;
  text-align: left;
  width: 100%;
  margin: 0;
  min-height: 44px; /* reserve space for 1-2 line titles */
  display: flex;
  align-items: center;
}

.cert-thumb {
  width: 100%;
  height: 140px; /* uniform mock image height */
  border-radius: 12px;
  background: #E5E8EE; /* placeholder image area */
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.btn-download {
  width: 160px;
  justify-content: center;
  background: #89AC46;
  margin-top: auto; /* stick to bottom to equalize layout */
}

.btn-download::after { /* remove default arrow from base .btn */
  content: '';
}

.cert-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== RBI Disclaimer styles ===== */
.disclaimer-box{
  background:#FFFFFF;
  border-radius:48px;
  padding:60px 80px;
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
}
.disclaimer-title{
  font-family:'League Spartan',sans-serif;
  font-weight:700;
  font-size:48px;
  color:#070707;
  margin:0 0 24px 0;
}
.disclaimer-text{
  font-family:'Spline Sans',sans-serif;
  line-height:1.8;
  color:#6b7280; /* muted grey */
  margin:24px 0 0 0;
}

@media (max-width: 768px){
  .disclaimer-box{padding:30px;border-radius:28px}
  .disclaimer-title{font-size:32px}
  .disclaimer-text{font-size:18px}
}

/* ===== Carrers page categories ===== */
.category-box{background:#FFFFFF;border-radius:24px;padding:40px 32px;box-shadow:0 20px 40px rgba(0,0,0,0.08)}
.category-list{list-style:none;margin:0;padding:0}
.category-list li{font-family:'EB Garamond',serif;font-size:28px;color:#0b0b0b;margin:18px 0}
@media (max-width:768px){
  .category-list li{font-size:20px;margin:12px 0}
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #89AC46;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'League Spartan', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #74a93d;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn::after {
  content: '→';
  font-size: 14px;
}

.btn-secondary {
  background: #001A6E;
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: #000d4a;
  color: #FFFFFF;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #070707;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E9ECEF;
  border-radius: 8px;
  font-family: 'League Spartan', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #89AC46;
  box-shadow: 0 0 0 3px rgba(137, 172, 70, 0.1);
}

.form-control::placeholder {
  color: #7F7F7F;
}

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

/* ===== FOOTER ===== */
.footer {
  background: #001A6E;
  color: #FFFFFF;
  padding: 60px 0 30px;
  font-family: 'League Spartan', sans-serif;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
}

.footer-logo-column {
  max-width: 300px;
}

.footer-logo-image {
  width: 116px;
  height: auto;
  margin-bottom: 20px;
}

.company-name {
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 15px 0;
}

.company-address {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.company-phone {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
}

.footer-heading {
  font-family: 'League Spartan', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}

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

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

.footer-links a {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #89AC46;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #001A6E;
  border: 1px solid #2A3A7A;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #89AC46;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-icon i {
  font-size: 16px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #2A3A7A;
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
}

.designer {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft{
    from{opacity:0;transform:translateX(-50px)}
    to{opacity:1;transform:translateX(0)}
}
@keyframes slideInRight{
    from{opacity:0;transform:translateX(50px)}
    to{opacity:1;transform:translateX(0)}
}
@keyframes fadeInUp{
    from{opacity:0;transform:translateY(30px)}
    to{opacity:1;transform:translateY(0)}
}
@keyframes float{
    0%,100%{transform:translateY(0px)}
    50%{transform:translateY(-20px)}
}
@keyframes bounce{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-10px)}
}
@keyframes pulse{
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.1)}
}
@keyframes rotate{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}
@keyframes grain{
    0%{transform:translateX(0)}
    100%{transform:translateX(100px)}
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll{opacity:0;transform:translateY(30px);transition:all 0.6s ease}
.animate-on-scroll.animated{opacity:1;transform:translateY(0)}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .navbar {
    padding: 20px 40px;
  }
}

@media (max-width: 768px){
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px;
    position: fixed;
  }
  .navbar-brand {
    margin-bottom: 20px;
  }
  .navbar-nav {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }
  .nav-link {
    width: 25%;
    font-size: 16px;
  }
  .navbar-actions {
    width: 100%;
    justify-content: center;
  }
  .btn-grievance, .btn-contact {
    font-size: 12px;
    padding: 8px 16px;
  }
  .hero {
    padding-top: 200px;
  }
  .hero .copy h1{font-size:2.5rem}
  .hero-illustration{height:350px}
  
  .footer-main {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px){
  .navbar {
    padding: 15px;
  }
  .nav-link {
    font-size: 14px;
    padding: 15px 0px;
  }
  .btn-grievance, .btn-contact {
    font-size: 11px;
    padding: 6px 12px;
  }
  .hero {
    padding-top: 180px;
  }
  .hero .copy h1{font-size:2rem}
  .hero-illustration{height:300px}
}

/* ===== PAGE LOADER ===== */
.page-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:rgba(0,26,110,0.2);
  z-index:9999;
  overflow:hidden;
}
.page-loader::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:0%;
  height:100%;
  background:#001A6E;
  animation:loaderProgress 1.5s ease-in-out forwards;
}
@keyframes loaderProgress{
  0%{width:0%;left:0}
  50%{width:70%;left:0}
  100%{width:100%;left:100%}
}
.page-loader.hidden{
  opacity:0;
  transition:opacity 0.3s ease;
  pointer-events:none;
}

/* ===== Grievance Form (grievance.html) ===== */
.grievance-section{background:#f1f7ff;padding:80px 0}
.grievance-kicker{color:#89AC46;font-family:'League Spartan',sans-serif;font-weight:700;letter-spacing:.05em;margin:0}
.grievance-chip{display:flex;align-items:center;gap:14px;background:#fff;border-radius:12px;padding:10px 12px}
.grievance-chip .chip-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#052169;color:#fff;font-weight:700;font-family:'League Spartan',sans-serif}
.grievance-chip .chip-text{font-family:'League Spartan',sans-serif;color:#052169;font-weight:600}
.grievance-chip .btn.small{padding:6px 14px;font-size:14px}
.grievance-sub{color:#cbd5e1;margin:0 0 16px 0;font-family:'League Spartan',sans-serif}
.grievance-form{max-width:100%}
.grievance-control{background:#fff;border:0;border-radius:10px;padding:14px 16px;font-family:'League Spartan',sans-serif}
.grievance-control.select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:44px;background-color:#fff}
.grievance-control.select::-ms-expand{display:none}
.grievance-control.select:focus{box-shadow:0 0 0 3px rgba(137,172,70,.18);border:1px solid #89AC46}
.grievance-control.select:hover{border:1px solid #94a3b8}
.select-caret{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#7f7f7f;pointer-events:none}
.upload-group{display:flex;align-items:center;gap:12px}
.upload-filename{flex:1}
.btn-upload{display:inline-flex;align-items:center;gap:8px;background:#89AC46;color:#fff;border-radius:24px;padding:10px 18px;cursor:pointer}
.grievance-check{background:#f1f7ff;border-color:#94a3b8}
.grievance-check-label{color:#475569;font-family:'League Spartan',sans-serif;line-height:1.7}
.grievance-submit{width:100%;margin-top:20px;background:#5e7d2b;border:0;color:#fff;border-radius:30px;padding:14px 24px;font-family:'League Spartan',sans-serif;font-weight:600}
