/* --- Video background for top area on Careers page --- */
.career-top-bg-area {
  position: relative;
  width: 1920px;
  min-height: 0;
  z-index: 0;
}
.career-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1920px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background: #000;
  transition: opacity 0.4s;
}
.career-top-content {
  position: relative;
  z-index: 1;
}
/* Remove backgrounds from hero and container so video is visible */
.career-top-bg-area .career-hero,
.career-top-bg-area .career-hero *,
.career-top-bg-area .career-container,
.career-top-bg-area .career-container * {
  background: none !important;
  box-shadow: none !important;
}
@media (max-width: 56.25rem) {
  .career-bg-video {
    height: 21.875rem;
    min-height: 13.75rem;
    max-height: 25rem;
  }
}
@media (max-width: 37.5rem) {
  .career-bg-video {
    height: 13.75rem;
    min-height: 7.5rem;
    max-height: 15.625rem;
  }
}
/* Global Styles */
html, body {
  margin: 0;
  min-height: 100vh;
  height: auto; /* Fix overflow issue */
  display: block; /* Flex is fine if used properly, but can cause layout issues */
}
html, body {
  overflow-x: hidden;
  overflow-y: auto; /* allow full page scroll */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  zoom: 1; /* Ensures consistent rendering */
}


:root{
  --main-content-bg:linear-gradient(to right,#f9f9f9,#e2f4f4); /* light */
  --primary-navy: #0B1426;
  --secondary-navy: #1A2B47;
  --accent-gold: #D4AF37;
  --platinum: #E5E4E2;
  --rich-blue: #003366;
  --subtle-gold: rgba(212, 175, 55, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --primary: #1a365d;
  --primary-light: #2d5a87;
  --secondary: #d4af37;
  --accent: #f7fafc;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 0.625rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1), 0 0.625rem 0.625rem -0.3125rem rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
  --gradient-secondary: linear-gradient(135deg, #d4af37 0%, #f6e05e 100%);
    }
body:not(.dark-mode) {
  background-color: #f5f9ff;
  color: #333;
}

body {
  background-color: #f4f8fb;
  margin: 0;
  padding: 0;
}
body > footer {
  margin-top: auto;
}

/* Fade-in keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(0.625rem); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  flex: 1;
  padding: 2.5rem 1.25rem;
  text-align: center;
  /* Subtle upward float on load */
  animation: floatUp 1s ease-out;
   overflow: visible;
  min-height: 100vh;  
}

/* Float-up animation */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}

header {
  /* background-color: #00264d; */
  padding: 0rem 0rem;
  color: white;
  border-bottom: 0.0625rem solid #ddd;
  position: relative;
  /* Add glow behind header */
  box-shadow: 0 0 1.25rem rgba(0, 38, 77, 0.6);
  margin-top: 0;
  padding-top: 0;
  top: 0;
}

/* Hero Section */

.hero {
  /* background-color: #e6f0fa; */
  background-color: linear-gradient(to right,#f9f9f9,#e2f4f4);
  min-height: 20vh;
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2.5rem 1.25rem;
  margin-top: 6.25rem;
}

.career-hero {
  background: none !important;
  min-height: 70vh;
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2.5rem 1.25rem;
  margin-top: 6.25rem;
  box-shadow: none !important;
}

/* Add a subtle glowing blob behind hero */

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 960px;
  width: 3840px;
  height: 3840px;
  background: radial-gradient(circle at center, rgba(26, 188, 156, 0.2), transparent 70%);
  transform: translateX(-50%) scale(0.5);
  animation: glowPulse 4s infinite ease-in-out;
  z-index: 0;
}

.career-hero::after {
  display: none !important;
}

@keyframes glowPulse {
  0%, 100% { transform: translateX(-50%) scale(0.5); opacity: 0.7; }
  50%      { transform: translateX(-50%) scale(0.6); opacity: 1; }
}


.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #003366;
  position: relative;
  z-index: 1;
  /* Slide-in from left */
  animation: slideInLeft 0.8s ease-out;
}

.career-hero h1 {
  font-size: 60px;
  margin-bottom: 1rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
  background: none !important;
  box-shadow: none !important;
  animation: slideInLeft 0.8s ease-out;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.7);
}

.career-hero p {
  font-size: 1.2rem;
  max-width: 43.75rem;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.8);
  animation: fadeInText 1s 0.5s ease-in-out forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-1.875rem); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero p {
  font-size: 1.1rem;
  max-width: 43.75rem;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  /* Fade-in text after heading */
  animation: fadeInText 1s 0.5s ease-in-out forwards;
  opacity: 0;
}

@keyframes fadeInText {
  to { opacity: 1; }
}

/* Career Section */
.career-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
  gap: 2.5rem;
}

.career-image img {
  border-radius: 0.625rem;
  max-width: 37.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.career-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
}

.career-benefits {
  max-width: 25rem;
  background: #f1f7fc;
  padding: 1.25rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  /* Slight slide-up on load */
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.career-benefits h2 {
  color: #003366;
  margin-bottom: 1rem;
}

.career-benefits ul {
  list-style-type: none;
  padding: 0;
}

.career-benefits li {
  text-align: left;
  margin-bottom: 1rem;
  color: #333;
  position: relative;
  padding-left: 1.2rem;
}

/* Add bullet glow on list items */
.career-benefits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1abc9c;
  animation: pulseBullet 2s infinite ease-in-out;
}

@keyframes pulseBullet {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Features Section */
.features {
  text-align: center;
  position: relative;
  padding: 6.25rem 2.5rem;
  background-color: var(--main-content-bg);
}

.features h2 {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.1875rem;
  font-weight: 600;
  margin-bottom: 3.75rem;
  animation: headingGlow 6s ease infinite;
  color: var(--primary-navy);
}

.feature-cards {
  flex-wrap: wrap;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto;
    }

@keyframes tealGlow {
  0%, 100% {
    box-shadow: 0 0 1.25rem rgba(26, 188, 156, 0.2);
    border-color: rgba(26, 188, 156, 0.4);
  }
  50% {
    box-shadow: 0 0 2.5rem rgba(26, 188, 156, 0.5);
    border-color: rgba(26, 188, 156, 0.7);
  }
}

.premium-card {
  background: var(--glass-bg);
  backdrop-filter: blur(1.25rem);
  border: 0.0625rem solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 1.25rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 1920px;
  height: 1920px;
  background: linear-gradient(90deg, transparent, rgba(26, 188, 156, 0.15), transparent);
  transition: left 0.6s ease;
}

.premium-card:hover::before {
  left: 1920px;
}

/* Hover + animated glow effect */
.premium-card:hover {
  transform: translateY(-0.9375rem) scale(1.02);
  background: rgba(26, 188, 156, 0.03);
  border-color: rgba(26, 188, 156, 0.4);
  box-shadow: 0 1.875rem 3.75rem rgba(11, 20, 38, 0.15);
  animation: tealGlow 2s ease-in-out infinite;
}

/* Headings and paragraphs */
.premium-card h3 {
  color: var(--primary-navy);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
}

body.dark-mode .premium-card h3 {
  color: var(--platinum);
}

.premium-card:hover h3 {
  color: #1abc9c;
}

.premium-card p {
  color: var(--secondary-navy);
  line-height: 1.7;
  font-size: 1rem;
}

body.dark-mode .premium-card p {
  color: rgba(229, 228, 226, 0.8);
}



/* === Glowing Border === */
.calculator-box::after {
  content: '';
  position: absolute;
  top: -0.125rem; left: -0.125rem; right: -0.125rem; bottom: -0.125rem;
  background: linear-gradient(45deg, #0a91ab, #1abc9c, #0a91ab);
  background-size: 7680px 4320px;
  animation: borderGlow 3s infinite ease;
  z-index: -1;
  border-radius: 0.75rem;
}

@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.input-section, .output-section {
  flex: 1;
  min-width: 17.5rem;
  margin: 0.625rem;
}

label {
  display: block;
  margin-top: 0.9375rem;
  font-weight: bold;
  text-align: left;
  animation: fadeIn 0.6s ease-in-out;
}

/* === Stylish Slider === */
input[type=range] {
  appearance: none;
  -webkit-appearance: none;
  width: 1920px;
  height: 0.5rem;
  margin: 0.75rem 0;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #0a91ab 0%, #1abc9c 100%);
  box-shadow: 0 0 0.5rem 0.0625rem #0a91ab40;
  transition: background 0.3s ease;
  cursor: pointer;
}

/* WebKit (Chrome, Edge) Thumb */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #ffffff;
  border: 0.1875rem solid #0a91ab;
  transition: transform 0.2s ease;
  box-shadow: 0 0 0.25rem rgba(0,0,0,0.3);
}

input[type=range]:hover::-webkit-slider-thumb,
input[type=range]:focus::-webkit-slider-thumb {
  transform: scale(1.2);
}

/* Firefox Thumb */
input[type=range]::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #ffffff;
  border: 0.1875rem solid #0a91ab;
  transition: transform 0.2s ease;
  box-shadow: 0 0 0.25rem rgba(0,0,0,0.3);
}

input[type=range]:hover::-moz-range-thumb,
input[type=range]:focus::-moz-range-thumb {
  transform: scale(1.2);
}

/* Firefox Track */
input[type=range]::-moz-range-track {
  background: linear-gradient(90deg, #0a91ab 0%, #1abc9c 100%);
  height: 0.5rem;
  border-radius: 0.5rem;
}

/* === Dark Mode Styles === */
body.dark-mode input[type=range] {
  background: linear-gradient(90deg, #1abc9c 0%, #0a91ab 100%);
  box-shadow: 0 0 0.5rem 0.0625rem #1abc9c40;
}

body.dark-mode input[type=range]::-webkit-slider-thumb {
  background: #111;
  border: 0.1875rem solid #1abc9c;
}

body.dark-mode input[type=range]::-moz-range-thumb {
  background: #111;
  border: 0.1875rem solid #1abc9c;
}

/* Remove dark mode slider overrides */
body.dark-mode input[type=range],
body.dark-mode input[type=range]:hover,
body.dark-mode input[type=range]:focus,
body.dark-mode input[type=range]::-webkit-slider-thumb,
body.dark-mode input[type=range]:hover::-webkit-slider-thumb,
body.dark-mode input[type=range]:focus::-webkit-slider-thumb,
body.dark-mode input[type=range]::-moz-range-thumb,
body.dark-mode input[type=range]:hover::-moz-range-thumb,
body.dark-mode input[type=range]:focus::-moz-range-thumb,
body.dark-mode input[type=range]::-ms-thumb,
body.dark-mode input[type=range]:hover::-ms-thumb,
body.dark-mode input[type=range]:focus::-ms-thumb,
body.dark-mode input[type=range]::-webkit-slider-runnable-track,
body.dark-mode input[type=range]::-ms-fill-lower,
body.dark-mode input[type=range]::-ms-fill-upper {
  all: unset;
}

.output-section h2 {
  font-size: 1.375rem;
  margin-bottom: 0.625rem;
  animation: fadeIn 0.8s ease-in-out;
}

.emi-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: #0a91ab;
  animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {
  0%, 100% { transform: scale(1); color: #0a91ab; }
  50%      { transform: scale(1.05); color: #1abc9c; }
}

.result {
  text-align: left;
  margin-top: 1.25rem;
}

.result div {
  display: flex;
  justify-content: space-between;
  margin: 0.625rem 0;
}

/* button:hover {
  background: #1abc9c;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(26, 188, 156, 0.4);
} */

/* About Section */
.about-section {
  background: #f7f7f7;
  padding: 3.75rem 1.25rem;
  text-align: center;
  position: relative;
  margin-top: 6.25rem;
}


@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-container {
  max-width: 75rem;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1 1 31.25rem;
  padding: 1.25rem;
  text-align: left;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: #003366;
  animation: fadeIn 0.8s ease-in-out;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 0.9375rem;
  line-height: 1.6;
  animation: fadeIn 1s 0.3s ease-in-out forwards;
  opacity: 0;
}

.about-image {
  flex: 1 1 25rem;
  text-align: center;
}

.about-image img {
  max-width: 1920px;
  border-radius: 0.625rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
}

/* Leaders Section */
.leaders-section {
  padding: 3.75rem 1.25rem;
  background-color: #f9fbfd;
  text-align: center;
}

.leaders-section h2 {
  color: #1a3e72;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s ease-in-out;
}

.leaders-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.leader-card {
  background-color: #f4f7fa;
  border-radius: 0.625rem;
  padding: 1.875rem;
  max-width: 20rem;
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.1);
}

.leader-card img {
  border-radius: 50%;
  width: 9.375rem;
  height: 9.375rem;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 0.3125rem solid #fff;
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.leader-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1.25rem rgba(26, 188, 156, 0.6);
}

.leader-card h3 {
  color: #1a3e72;
  margin-bottom: 0.3125rem;
}

.leader-card h4 {
  font-weight: normal;
  margin-bottom: 0.9375rem;
  color: #666;
}

.leader-card p {
  font-size: 0.875rem;
  color: #444;
}

/* Testimonials */
.testimonial-card {
  background-color: #fff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-top: 0.625rem;
}

/* Add little star sparkle animation */
.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  /* animation: sparkle 1.5s infinite ease-in-out; */
}

@keyframes sparkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Customer review avatar images */
.review-img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 50%;
  border: 0.125rem solid var(--accent-gold);
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
  display: block;
}

/* Job Openings */
.openings {
  margin-top: 3.75rem;
  text-align: center;
   background-color: #f5f9ff;
}

.openings h2 {
  margin-bottom: 2.5rem;
  color: #003366;
  animation: fadeIn 0.8s ease-in-out;
}

.openings-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.875rem;
}

.job-card {
  background: white;
  border-radius: 0.625rem;
  padding: 1.25rem;
  box-shadow: 0 0 0.625rem rgba(0,0,0,0.05);
  max-width: 18.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.job-card h3 {
  margin-top: 0;
  color: #0a91ab;
}

/* Apply Section */
.apply-section {
  margin-top: 3.75rem;
  padding: 8.125rem;
  background: #eef4f9;
  text-align: center;
  position: relative;
}

/* Glow background behind apply-section */
.apply-section::after {
  content: '';
  position: absolute;
  top: -10%; left: 960px;
  width: 2304px; height: 2304px;
  background: radial-gradient(circle at center, rgba(10, 145, 171, 0.2), transparent 70%);
  transform: translateX(-50%);
  animation: glowPulse 5s infinite ease-in-out;
  z-index: 0;
}

.form-box {
  margin-top: 1.25rem;
  background: white;
  padding: 1.25rem;
  border-radius: 0.625rem;
  box-shadow: 0 0 0.625rem rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}

/* Call to Action */
.cta {
  background-color: #00264d;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0.625rem;
  z-index: 1;
  transition: margin 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #003456, #002140);
  margin-top: 6.25rem;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, rgba(26, 188, 156, 0.1), transparent 80%);
  animation: slowRotate 15s linear infinite;
  z-index: 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-in-out;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  animation: fadeIn 1s 0.3s ease-in-out forwards;
  opacity: 0;
}

.btn {
  background-color: #1abc9c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.3125rem;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.btn:hover {
  background-color: #0a91ab;
  transform: translateY(-0.125rem) scale(1.02);
  box-shadow: 0 0.625rem 1.25rem rgba(26, 188, 156, 0.18);
}

/* Legal Pages Styling */
.legal-page {
  padding: 3.75rem 1.875rem;
  max-width: 62.5rem;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 0.625rem;
  box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: #333;
  animation: fadeIn 0.8s ease-in-out;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1.875rem;
  border-bottom: 0.125rem solid #1abc9c;
  padding-bottom: 0.625rem;
  animation: slideInLeft 0.8s ease-out;
}

.legal-page h2 {
  font-size: 1.5rem;
  color: #0a91ab;
  margin-top: 2.5rem;
  margin-bottom: 0.9375rem;
  border-left: 0.25rem solid #1abc9c;
  padding-left: 0.625rem;
  animation: fadeIn 0.8s ease-in-out;
}

.legal-page p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #555;
  animation: fadeIn 1s 0.3s ease-in-out forwards;
  opacity: 0;
}

.legal-page ul {
  margin-left: 1.25rem;
  padding-left: 0;
  list-style-type: disc;
  color: #444;
}

.legal-page ul li {
  margin-bottom: 0.75rem;
}

.legal-page a {
  color: #0a91ab;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-page a:hover {
  color: #1abc9c;
}

/* Responsive tweaks */
@media (max-width: 48rem) {
  .legal-page {
    padding: 2.5rem 1.25rem;
  }

  .legal-page h1 {
    font-size: 2rem;
  }

  .legal-page h2 {
    font-size: 1.25rem;
  }
}

/* Slider wrapper */
.slider-container {
  position: relative;
  width: 1920px;
  max-width: 62.5rem;      
  height: 1920px;
  
}


/* Each slide */
.slide {
  position: absolute;
  width: 2304px;
  height: 1920px;
  padding: 10 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateX(100%);    /* start just outside the right edge */
  transition: transform 0.9s ease-in-out;
}

/* The visible slide */
.slide.active {
  transform: translateX(0);
}

/* When a slide moves off‑screen to the left */
.slide.exit-left {
  transform: translateX(-100%);
}

.slide {
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateX(100%); /* start off-screen right */
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 0;
}

.slide.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 1;
}

.slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
}

.dots {
  position: absolute;
  bottom: 1.25rem;
  left: 960px;
  translate: -50% 0;
  display: flex;
  gap: 0.625rem;
  z-index: 5;
}
.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.975);
  cursor: pointer;
  /* transition: background 0.3s; */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0.125rem solid transparent;
}
.dot.active { 
 background: #090979;
  border-color: #fff; 
  box-shadow: #090979;
  transform: scale(1.2);
}     

.slide-content {
  margin-left: 2.5rem;
}


body.dark-mode {
  background-color: #23272f  !important;
  color: #fff;
}
body.dark-mode, html.dark-mode {
  background-color: #23272f !important;
  color: #fff !important;
}
body.dark-mode section,
body.dark-mode .hero-content,
body.dark-mode .features,
body.dark-mode .cta,
body.dark-mode .slide,
body.dark-mode .text-wrap {
  background: transparent !important;
  color: #fff !important;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode a.btn {
  color: #fff !important;
}

body.dark-mode .card {
  background-color: #23272f !important;
  color: #fff !important;
  border-color: #333 !important;
}
body.dark-mode .card h3,
body.dark-mode .card p {
  color: #fff !important;
}

body.dark-mode .contact-card,
body.dark-mode .info-card,
body.dark-mode .map-card {
  background: #23272f !important;
  color: #fff !important;
  border-color: #333 !important;
}
body.dark-mode .contact-card h3,
body.dark-mode .contact-card p,
body.dark-mode .info-card h3,
body.dark-mode .info-card p,
body.dark-mode .map-card h3,
body.dark-mode .map-card p {
  color: #fff !important;
}

body.dark-mode .contact-section,
body.dark-mode .feature-cards,
body.dark-mode section,
body.dark-mode .cta,
body.dark-mode .hero,
body.dark-mode .features,
body.dark-mode .slide,
body.dark-mode .text-wrap {
  background: #23272f !important;
  color: #fff !important;
}
body.dark-mode .contact-section h1,
body.dark-mode .contact-section p,
body.dark-mode .feature-cards h2,
body.dark-mode .feature-cards p,
body.dark-mode section h2  {
  color: #fff !important;
}

body.dark-mode .testimonial-card {
  background-color: #23272f !important;
  color: #fff !important;
  border-color: #333 !important;
}
body.dark-mode .testimonial-card h6,
body.dark-mode .testimonial-card p,
body.dark-mode .testimonial-card .stars,
body.dark-mode .testimonial-card small {
  color: #fff !important;
}
body.dark-mode .testimonial-card .stars {
  color: #d4af37 !important;
  text-shadow: 0 0 0.375rem #d4af37, 0 0 0.75rem #d4af3744;
}

/* Dark mode styles for EMI Calculator */
body.dark-mode .calculator-box {
  background: #23272f !important;
  color: #fff !important;
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.6);
  border-radius: 0.75rem;
}

body.dark-mode .calculator-box label,
body.dark-mode .calculator-box p,
body.dark-mode .calculator-box h1,
body.dark-mode .calculator-box h2,
body.dark-mode .calculator-box .emi-value,
body.dark-mode .calculator-box .result,
body.dark-mode .calculator-box span,
body.dark-mode .calculator-box strong {
  color: #ffffff !important;
}

/* Button in dark mode */
body.dark-mode .calculator-box button {
  background: #d4af37;
  color: #1e1e26;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  transition: background 0.3s ease;
}
body.dark-mode .calculator-box button:hover {
  background: #b8941f;
}

/* Range slider track */
body.dark-mode input[type=range] {
  width: 1920px;
  accent-color: #3a7cff;
  background: linear-gradient(90deg, #0a3a91 0%, #3a7cff 100%);
  box-shadow: 0 0 0.375rem #0a3a9180;
  height: 0.375rem;
  border-radius: 0.375rem;
  outline: none;
  transition: background 0.3s ease;
}

/* Slider thumb (Chrome/Edge/Safari) */
body.dark-mode input[type=range]::-webkit-slider-thumb {
  background: #ffffff;
  border: 0.1875rem solid #3a7cff;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem 0.125rem #3a7cff80;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -0.4375rem;
}
body.dark-mode input[type=range]:hover::-webkit-slider-thumb {
  background: #0a3a91;
  box-shadow: 0 0 0.75rem 0.125rem #3a7cff;
}

/* Firefox */
body.dark-mode input[type=range]::-moz-range-thumb {
  background: #ffffff;
  border: 0.1875rem solid #3a7cff;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem 0.125rem #3a7cff80;
  cursor: pointer;
}
body.dark-mode input[type=range]:hover::-moz-range-thumb {
  background: #0a3a91;
  box-shadow: 0 0 0.75rem 0.125rem #3a7cff;
}

/* IE/Edge */
body.dark-mode input[type=range]::-ms-thumb {
  background: #ffffff;
  border: 0.1875rem solid #3a7cff;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem 0.125rem #3a7cff80;
  cursor: pointer;
}
body.dark-mode input[type=range]:hover::-ms-thumb {
  background: #0a3a91;
  box-shadow: 0 0 0.75rem 0.125rem #3a7cff;
}

/* Slider track */
body.dark-mode input[type=range]::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, #0a3a91 0%, #3a7cff 100%);
  height: 0.375rem;
  border-radius: 0.375rem;
}
body.dark-mode input[type=range]::-moz-range-track {
  background: linear-gradient(90deg, #0a3a91 0%, #3a7cff 100%);
  height: 0.375rem;
  border-radius: 0.375rem;
}
body.dark-mode input[type=range]::-ms-fill-lower {
  background: #0a3a91;
}
body.dark-mode input[type=range]::-ms-fill-upper {
  background: #3a7cff;
}


/* Apply dark backgrounds and light text to all career and openings sections, job cards, and the form box in dark mode for full readability and consistency */
body.dark-mode .career-benefits,
body.dark-mode .features,
body.dark-mode .career-container,
body.dark-mode .openings,
body.dark-mode .openings-list,
body.dark-mode .job-card,
body.dark-mode .form-box,
body.dark-mode .apply-section {
  background: #23272f !important;
  color: #fff !important;
  border-color: #333 !important;
}
body.dark-mode .career-benefits h2,
body.dark-mode .career-benefits li,
body.dark-mode .job-card h3,
body.dark-mode .job-card p,
body.dark-mode .apply-section h2,
body.dark-mode .apply-section p {
  color: #fff !important;
}
body.dark-mode .job-card .btn {
  background: #0a91ab !important;
  color: #fff !important;
}
body.dark-mode .form-box iframe {
  background: #23272f !important;
}

/* Dark mode styles for leaders section and cards */
body.dark-mode .leaders-section {
  background: #23272f !important;
  color: #fff !important;
}
body.dark-mode .leaders-section h2 {
  color: #d4af37 !important;
  text-shadow: 0 0.125rem 1rem #d4af3733;
}
body.dark-mode .leaders-cards {
  background: transparent !important;
}
body.dark-mode .leader-card {
  background: #23272f !important;
  color: #fff !important;
  border: 0.09375rem solid #333 !important;
  box-shadow: 0 0.125rem 1rem 0 #00000040 !important;
}
body.dark-mode .leader-card h3,
body.dark-mode .leader-card h4,
body.dark-mode .leader-card p {
  color: #fff !important;
}
body.dark-mode .leader-card img {
  border: 0.3125rem solid #23272f !important;
  box-shadow: 0 0 1.25rem #00000044 !important;
}


/* Video background styling for career hero */
.career-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1920px;
  object-fit: cover;
  z-index: -1;
}

/* Ensure video is loaded and displayed */
.career-hero video::-webkit-media-controls {
  display: none !important;
}

.career-hero video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Fallback background if video doesn't load */
.career-hero {
  background: linear-gradient(135deg, #003366, #1abc9c) !important;
}

.career-hero video + div {
  background: rgba(0, 0, 0, 0.4);
}
html, body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}

main {
  min-height: 100vh;
  overflow: visible;
}

