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

/* --- CUSTOM DESIGN TOKENS --- */
:root {
  --primary: #0F2C59;       /* Deep Trust Navy */
  --primary-light: #1E4D92; /* Professional Royal Blue */
  --primary-dark: #071935;  /* Midnight Slate */
  --secondary: #EEB902;     /* Amber Gold for trust signals/CTAs */
  --secondary-hover: #D8A502;
  --accent: #2EC4B6;        /* Health Teal */
  --accent-light: #E6F8F6;  /* Soft Teal Mint */
  --text-main: #2D3748;     /* Dark Charcoal */
  --text-muted: #5A6A85;    /* Professional Grey */
  --bg-light: #F4F7FB;      /* Light blue-grey background */
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 44, 89, 0.05);
  --shadow-md: 0 8px 16px rgba(15, 44, 89, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 44, 89, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--secondary); }

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-5, .grid-2 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
  gap: 15px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* --- SECTIONS --- */
section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 45px 0;
  }
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-bg-dark {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.section-bg-dark h2, .section-bg-dark h3, .section-bg-dark h4 {
  color: var(--bg-white);
}

.section-bg-dark .text-muted {
  color: #A0AEC0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrap h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

@media (max-width: 768px) {
  .section-title-wrap h2 {
    font-size: 1.9rem;
  }
  .section-title-wrap p {
    font-size: 1rem;
  }
}

.section-title-wrap h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-title-wrap p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* --- NAVIGATION HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 65px;
  width: auto;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-left: 10px;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  padding: 10px 5px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-light);
}

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

.nav-link.active {
  color: var(--primary-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 44, 89, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(238, 185, 2, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(238, 185, 2, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
}

/* --- HERO VIDEO BACKGROUND SECTION --- */
.hero-video-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image Slider Fallback */
.hero-slider-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

.slider-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-bg-img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 25, 53, 0.85) 0%, rgba(15, 44, 89, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  max-width: 850px;
  padding-top: 90px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--bg-white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-video-section {
    min-height: 520px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .logo-img {
    height: 48px;
  }
}

/* --- STATS SECTION --- */
.stats-section {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat-card p {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- WHY CHOOSE US CARDS --- */
.why-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}

.why-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- COUNTRY FLIP CARDS --- */
.flip-card-container {
  perspective: 1200px;
  height: 420px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.flip-card-container:hover .flip-card, 
.flip-card-container.auto-flipped .flip-card {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.flip-card-front {
  background-color: var(--bg-white);
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flip-card-container:hover .flip-card-front img {
  transform: scale(1.05);
}

.flip-card-front-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(7, 25, 53, 0.9) 0%, rgba(7, 25, 53, 0.4) 60%, rgba(7, 25, 53, 0) 100%);
  color: var(--bg-white);
}

.flip-card-front-overlay h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.flip-card-front-overlay p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.flip-card-back {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  transform: rotateY(180deg);
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-back h3 {
  color: var(--secondary);
  font-size: 1.6rem;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.flip-info-list {
  list-style: none;
  margin-bottom: 20px;
}

.flip-info-list li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.flip-info-list li i {
  color: var(--secondary);
  margin-top: 3px;
}

/* --- AUTOMATIC CAROUSEL/SLIDERS --- */
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide-item {
  min-width: 100%;
  position: relative;
  height: 480px;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 25, 53, 0.8) 0%, rgba(7, 25, 53, 0.3) 100%);
}

.slide-caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  right: 50px;
  color: var(--bg-white);
  z-index: 5;
}

.slide-caption h3 {
  font-size: 2.2rem;
  color: var(--bg-white);
  margin-bottom: 15px;
}

.slide-caption p {
  font-size: 1.1rem;
  max-width: 600px;
  opacity: 0.9;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 44, 89, 0.8);
  color: var(--bg-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
}

.slider-arrow-left { left: 20px; }
.slider-arrow-right { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--secondary);
  width: 24px;
  border-radius: 6px;
}

/* --- RECRUITMENT TIMELINE --- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-white);
  border: 4px solid var(--secondary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left-item { left: 0; }
.right-item { left: 50%; }

.right-item::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--bg-white);
  position: relative;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.timeline-step {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item::after {
    left: 21px;
    right: auto;
  }
  .left-item, .right-item {
    left: 0;
  }
}

/* --- HOSPITAL JOBS LISTINGS --- */
.job-filter-bar {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  margin-bottom: 45px;
}

.filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.filter-select, .form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-white);
  transition: var(--transition-fast);
  outline: none;
}

.filter-select:focus, .form-input:focus, .form-select:focus {
  border-color: var(--primary-light);
}

.job-card {
  background-color: var(--bg-white);
  padding: 35px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-light);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.job-details {
  flex: 1;
  padding-right: 40px;
}

.job-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.job-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta i {
  color: var(--accent);
}

.job-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .job-filter-bar {
    flex-direction: column;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .job-details {
    padding-right: 0;
  }
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.15rem;
  margin: 0;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.3s ease-out;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 300px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: #EDF2F7;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  margin: 0;
}

.testimonial-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- MULTI-STEP APPLY FORM & PAYMENT --- */
.apply-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.step-progressbar {
  display: flex;
  background-color: var(--primary-dark);
  padding: 25px 30px;
  list-style: none;
  justify-content: space-between;
}

.step-node {
  flex: 1;
  text-align: center;
  position: relative;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-node::before {
  content: attr(data-step);
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto 8px auto;
  color: var(--bg-white);
  border: 2px solid transparent;
  transition: var(--transition-normal);
}

.step-node.active {
  color: var(--bg-white);
}

.step-node.active::before {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--bg-white);
}

.step-node.completed {
  color: var(--accent);
}

.step-node.completed::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  background-color: var(--accent);
  color: var(--primary-dark);
}

.form-step-content {
  padding: 50px;
  display: none;
}

.form-step-content.active {
  display: block;
}

@media (max-width: 768px) {
  .form-step-content {
    padding: 25px;
  }
  .step-progressbar {
    padding: 20px 15px;
  }
  .step-node {
    font-size: 0.7rem;
  }
}

.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label span {
  color: #E53E3E;
}

.file-dropzone {
  border: 2px dashed var(--border-color);
  padding: 30px;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  background-color: var(--bg-light);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.file-dropzone:hover {
  border-color: var(--primary-light);
  background-color: var(--accent-light);
}

.file-dropzone i {
  font-size: 2.2rem;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.file-dropzone span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.file-input {
  display: none;
}

.file-preview {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Payment Section Styling */
.payment-summary {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius-md);
  margin-bottom: 35px;
  border-left: 5px solid var(--secondary);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}

.payment-row:last-child {
  margin-bottom: 0;
  font-weight: 700;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.payment-method-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

.method-option {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.method-option.active {
  border-color: var(--primary-light);
  background-color: var(--accent-light);
  color: var(--primary-light);
}

.method-option i {
  font-size: 1.8rem;
}

@media (max-width: 600px) {
  .payment-method-selector {
    grid-template-columns: 1fr;
  }
}

.payment-form-container {
  display: none;
}

.payment-form-container.active {
  display: block;
}

/* Credit Card Styling */
.credit-card-mockup {
  width: 100%;
  max-width: 380px;
  height: 220px;
  background: linear-gradient(135deg, #1A365D 0%, #2A4365 100%);
  border-radius: var(--border-radius-md);
  padding: 25px;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto 30px auto;
  box-shadow: var(--shadow-md);
  font-family: 'Courier New', Courier, monospace;
}

.card-chip {
  width: 45px;
  height: 35px;
  background-color: #ECC94B;
  border-radius: 4px;
}

.card-number-mock {
  font-size: 1.4rem;
  letter-spacing: 2px;
  word-spacing: 4px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
}

/* UPI QR Simulator */
.upi-qr-mock {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  max-width: 280px;
  margin: 0 auto 20px auto;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  background-color: #000;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 0.8rem;
}

/* Processing Overlay */
.payment-processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid var(--border-color);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 25px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-icon-animate {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 25px;
}

@keyframes scaleUp {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* --- CONTACT SECTION & FOOTER --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.map-container {
  height: 350px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #A0AEC0;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #A0AEC0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #A0AEC0;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--bg-white);
}

/* --- WORD COUNT BANNER OR TRUST BADGES --- */
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.trust-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Image gallery styling for sections */
.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .image-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .image-gallery-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card,
  .why-card {
    padding: 25px 20px;
  }
  .apply-card .grid-2 {
    grid-template-columns: 1fr;
  }
}
