/* =========================================
   1. ROOT VARIABLES & GLOBAL RESET
   ========================================= */
:root {
  /* Global Colors */
  --primary-color: #077c8c;
  --primary-dark: #056674;
  --primary-light: #0a92a5;
  --secondary-color: #dfedf1;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;

  --card-width: 320px;
  --gap: 35px;
  --scroll-duration: 40s;

  /* Header Specific */
  --header-primary: #077c8c;
  --header-secondary: #dfedf1;
  --header-text-dark: #2c3e50;
  --header-text-light: #7f8c8d;
  --header-radius: 10px;
  --header-transition: 0.3s ease;



  /* Hero Colors */
  --hero-primary: #077c8c;
  --hero-primary-dark: #056674;
  --hero-primary-light: #0a92a5;
  --hero-secondary: #dfedf1;
  --hero-text-dark: #2c3e50;
  --hero-text-light: #7f8c8d;

  /* Brand Colors */
  --brand-primary: #077c8c;
  --brand-bg-fade: rgba(223, 237, 241, 0.6);

  /* How It Works */
  --how-primary: #077c8c;
  --how-secondary: #dfedf1;
  --how-text-dark: #2c3e50;

  /* Category Colors */
  --cat-primary: #077c8c;
  --cat-secondary: #dfedf1;
  --cat-text-dark: #2c3e50;
  --cat-text-light: #7f8c8d;
  --cat-card-bg: #f8f9fa;

  /* Common Settings */
  --sidebar-width: 280px;
  --transition-speed: 0.3s;
  --border-radius: 10px;
  --bg-light: #f8f9fa;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  --card-hover-shadow: 0 8px 24px rgba(7, 124, 140, 0.15);
}

* {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

/* ==================================================
   2. LAYOUT FIX (Keep this!)
   ================================================== */
html {
  height: auto !important;
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  padding-top: 80px;
  overflow-x: hidden;
}

main,
.main-content {
  flex: 1 0 auto;
  width: 100%;
}


/* =========================================
   3. HEADER SECTION
   ========================================= */
.header-navbar {
  box-shadow: none !important;
  border-bottom: none !important;
  padding: 0.5rem 0;
  transition: all var(--header-transition);
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
}

.header-logo-img {
  transition: transform var(--header-transition);
  width: 150px;
  height: auto;
  object-fit: contain;
}

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

.header-nav-link {
  font-weight: 600;
  color: var(--header-text-dark) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: var(--header-radius);
  transition: all var(--header-transition);
  margin: 0 0.25rem;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1rem;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--header-primary) !important;
  background-color: var(--header-secondary);
}

.header-nav-link:hover {
  transform: translateY(-1px);
}

.header-nav-link.active::before {
  display: none !important;
}

/* Dropdown */
.header-dropdown-menu {
  border: 1px solid var(--header-secondary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.75rem;
  animation: headerFadeIn var(--header-transition);
}

.header-dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--header-text-dark);
  font-weight: 500;
  border-radius: 6px;
  margin: 0.25rem 0.5rem;
  width: auto;
  transition: all 0.2s ease;
}

.header-dropdown-item:hover {
  /* background-color: rgba(7, 124, 140, 0.1);  */
  color: var(--header-primary);
  transform: translateX(5px);
}

.header-dropdown-item:hover i {
  color: var(--header-primary) !important;
  transition: color 0.2s ease;
}

/* 🔥 UPDATE END */

/* Search & Notifications */
.header-search-form {
  position: relative;
  margin: 0;
}

.header-search-input {
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  height: 44px;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  box-shadow: none;
  transition: all var(--header-transition);
  width: 100%;
}

.header-search-input:focus {
  background-color: #ffffff;
  border-color: var(--header-primary);
  outline: none;
}

.header-bell-btn {
  color: var(--header-text-light) !important;
  padding: 0.75rem !important;
  border-radius: 10px;
  transition: all var(--header-transition);
  position: relative;
  display: flex;
  align-items: center;
}

.header-bell-btn:hover {
  color: var(--header-primary) !important;
  background-color: var(--header-secondary);
}

.header-notif-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  border: 2px solid white;
  font-weight: 700;
}

/* Auth Buttons */
.header-auth-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-btn-employer {
  border: 2px solid var(--header-primary) !important;
  color: var(--header-primary) !important;
  font-weight: 600;
  border-radius: 4.8px;
  padding: 0.5rem 1.5rem !important;
  background: transparent;
  transition: all 0.3s ease;
}

.header-btn-employer:hover {
  background-color: var(--header-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.header-btn-candidate {
  background: var(--header-primary) !important;
  border: 2px solid var(--header-primary) !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 4.8px;
  padding: 0.5rem 1.5rem !important;
  transition: all 0.3s ease;
}

.header-btn-candidate:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .header-collapse {
    display: flex !important;
    align-items: center !important;
  }

  .header-navbar-right {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .header-search-form {
    min-width: 300px;
  }

  .header-mobile-nav {
    display: none;
  }
}

/* Mobile Header */
.header-mobile-nav {
  display: none;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .header-container {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    gap: 10px;
  }

  .header-brand {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .header-logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 110px;
  }

  .header-collapse {
    display: flex !important;
    flex-grow: 1;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-navbar-right {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 10px;
  }

  .header-search-form {
    flex-grow: 1;
    min-width: 0;
    margin: 0;
  }

  .header-search-input {
    height: 38px;
    font-size: 14px;
    padding: 0 15px;
    border-radius: 50px;
    width: 100%;
    text-align: left;
  }

  .header-search-input::placeholder {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-notif-wrapper {
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
  }

  .header-bell-btn {
    padding: 0 !important;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-bell-btn i {
    font-size: 1.3rem !important;
  }

  .header-notif-badge {
    top: 2px;
    right: 2px;
  }

  .navbar-toggler,
  .header-nav,
  .header-auth-btns {
    display: none !important;
  }

  /* Bottom Mobile Nav */
  .header-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1040;
    height: 65px;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
  }

  .header-mobile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--header-text-light);
    text-decoration: none;
    flex-grow: 1;
    padding: 0.25rem 0;
  }

  .header-mobile-link i {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .header-mobile-link span {
    font-weight: 500;
  }

  .header-mobile-link.active {
    color: var(--header-primary);
  }

  .header-navbar-right.logged-in-mobile .header-search-form {
    display: none !important;
  }

  .header-navbar-right.logged-in-mobile {
    justify-content: flex-end;
  }
}

/* Profile Dropdown & Notifications */
.header-profile-btn {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.header-profile-btn:hover,
.header-profile-btn:focus {
  background-color: #f8f9fa;
  color: var(--header-primary);
}

.header-profile-btn i {
  color: var(--header-primary);
}

.header-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 10px 20px;
}

.header-dropdown-menu .dropdown-item i {
  width: 20px;
  margin-right: 8px;

}

.header-dropdown-menu .dropdown-item.text-danger i {
  color: inherit;
}



/* =========================================
   Notification Sidebar (Naukri Style)
   ========================================= */

/* 1. Sidebar Width Adjustment */
.notification-sidebar {
  width: 380px !important;
  border-radius: 12px 0px 0px 12px
}

.notif-item-hover {
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.notif-item-hover:hover {
  background-color: #f1f7fa;
}

.header-notif-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  background-color: #ff0000;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

/* 4. Custom Scrollbar for Notification List */
.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
  background-color: #a8a8a8;


}







/* ================================================
   🔥 FINAL OVERRIDE: KILL BOOTSTRAP BLUE
   ================================================ */

/* 1. Dropdown Item Active/Focus State */
.dropdown-item:active,
.dropdown-item.active,
.dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus {
  background-color: #077c8c !important;
  /* Aapka Teal Color */
  color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 2. Agar button focus hone par blue border aa raha ho */
.btn:focus,
.btn:active,
.form-control:focus,
.form-check-input:focus {
  border: 1px solid #077c8c !important;
  /* Aapka Teal Color */
}

/* 3. Link Focus (Kabhi kabhi text blue ho jata hai) */
a:focus {
  color: #077c8c !important;
  outline: none !important;
}






/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 50px;
  background: linear-gradient(to bottom, rgba(223, 237, 241, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23077c8c' fill-opacity='0.03' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  color: var(--header-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
  line-height: 1.2;
  color: var(--header-primary) !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: heroFadeUp 1s ease forwards;
}

.hero-search-wrapper {
  margin-bottom: 40px;
}

.hero-search-box {
  background: white;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  max-width: 600px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-search-input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 1rem;
  outline: none;
  color: var(--header-text-dark);
  background: transparent;
}

.hero-search-btn {
  background: var(--header-primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-search-btn:hover {

  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 124, 140, 0.2);
}

.hero-tags-wrapper {
  margin-bottom: 30px;
}

.hero-tags-label {
  color: var(--header-text-dark);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.hero-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 650px;
}

.hero-tag {
  background: white;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--header-text-dark);
  border: 1px solid transparent;
}

.hero-tag i {
  margin-right: 8px;
  color: var(--header-primary);
}

.hero-tag:hover {
  background: var(--header-secondary);
  color: var(--header-primary);
  border-color: var(--header-primary);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  height: 100%;
}

.hero-main-image {
  width: 100%;
  max-width: 450px;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.animate-element {
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 0 !important;
    margin-top: -20px !important;
    min-height: 500px !important;
    padding-bottom: 40px;
    height: auto !important;
  }

  .hero-content {
    text-align: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--header-primary) !important;
  }

  .hero-search-box {
    flex-direction: column;
    padding: 10px;
    width: 100%;
    gap: 10px;
  }

  .hero-search-input {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .hero-search-btn {
    width: 100%;
  }

  .hero-tags-container {
    justify-content: center;
  }

  .hero-image-wrapper {
    justify-content: center;
    margin-bottom: 15px;
  }

  .hero-main-image {
    max-width: 300px;
    max-height: 350px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 0 !important;
    margin-top: -10px !important;
    min-height: 450px !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* =========================================
   5. BRAND SECTION
   ========================================= */
.brand-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(223, 237, 241, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-title-wrapper {
  margin-bottom: 50px;
}

.brand-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 15px;
}

.brand-subtext {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 600px;
  font-weight: 400;
}

.brand-underline {
  width: 80px;
  height: 4px;

  border-radius: 2px;
  opacity: 0.7;
}

.brand-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
}

.brand-carousel::before,
.brand-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}





.brand-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: brandScroll 30s linear infinite;
}

.brand-carousel:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: none !important;
  border: none !important;
  padding: 15px;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-3px);

}

.brand-logo img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
  opacity: 1;
}

@keyframes brandScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brand-heading {
    font-size: 1.8rem;
  }

  .brand-track {
    gap: 15px;
  }

  .brand-logo {
    width: 140px;
    height: 80px;
    padding: 10px;
  }

  .brand-logo img {
    max-height: 50px;
  }

  .brand-carousel::before,
  .brand-carousel::after {
    width: 40px;
  }
}





/* --- Section Styling --- */
.reel-section {
  padding: 60px 0;
  background: linear-gradient(to top, rgba(223, 237, 241, 0.5) 100%, rgba(255, 255, 255, 1) 0%);
  overflow: hidden;
}

/* --- Custom Slider Wrapper --- */
.custom-slider-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 40px; /* Dots ke liye jagah */
}

/* --- Slider Track (Scrollable Area) --- */
.slider-track {
  display: flex;
  gap: 20px; /* Cards ke beech ka gap */
  overflow-x: auto; /* Horizontal scroll enable */
  scroll-snap-type: x mandatory; /* Smooth snapping effect */
  scroll-behavior: smooth;
  padding: 20px 5px; /* Thoda padding taaki shadow na kate */
  
  /* Scrollbar hide karne ke liye */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Chrome/Safari/Opera ke liye scrollbar hide */
.slider-track::-webkit-scrollbar {
  display: none;
}

/* --- Slider Item (Responsive Width Logic) --- */
.slider-item {
  flex: 0 0 auto; /* Item shrink nahi hoga */
  scroll-snap-align: start; /* Scroll karne par start pe rukega */
  
  /* Mobile: 1 Card (100% width) */
  width: 100%;
}

/* Tablet (>= 640px): 2 Cards */
@media (min-width: 640px) {
  .slider-item {
    /* Formula: (100% - Gap) / 2 */
    width: calc((100% - 20px) / 2);
  }
}

/* Laptop (>= 768px): 3 Cards */
@media (min-width: 768px) {
  .slider-track { gap: 25px; } /* Gap increase */
  .slider-item {
    /* Formula: (100% - (2 * Gap)) / 3 */
    width: calc((100% - 50px) / 3);
  }
}

/* Desktop (>= 1024px): 4 Cards */
@media (min-width: 1024px) {
  .slider-track { gap: 30px; } /* Gap increase */
  .slider-item {
    /* Formula: (100% - (3 * Gap)) / 4 */
    width: calc((100% - 90px) / 4);
  }
}

/* --- Reel Card UI (Same as yours) --- */
.reel-card {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  box-shadow: white;
}

.reel-card:hover {
  transform: translateY(-8px);
  box-shadow:white;
  z-index: 2;
}

/* --- Video & Icon (Same as yours) --- */
.reel-video { width: 100%; height: 100%; object-fit: cover; }

.play-icon-wrapper {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); z-index: 5;
  transition: all 0.3s ease; pointer-events: none;
}
.play-icon-wrapper i { color: #fff; margin-left: 3px; font-size: 18px; }

.reel-card:hover .play-icon-wrapper { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }

.reel-content {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 2; text-align: left;
}
.reel-desc { color: rgba(255,255,255,0.9); }

/* --- Custom Pagination (Dots) --- */
.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 8px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 25px; /* Active dot width */
  border-radius: 10gitpx;
  background-color: var(--brand-primary); /* Brand Color */
}








/* =========================================
   6. HOW IT WORKS
   ========================================= */
.how-it-works-section {
  padding: 60px 0;
  background: linear-gradient(to top, rgba(223, 237, 241, 0.5) 100%, rgba(255, 255, 255, 1) 0%);
}

.section-heading {
  color: var(--how-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-underline {
  width: 60px;
  height: 4px;
  background-color: var(--how-primary);
  border-radius: 2px;
  opacity: 0.8;
}

.process-steps {
  padding-top: 20px;
}

.process-connector {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, var(--how-primary) 50%, transparent 50%);
  background-size: 20px 100%;
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 10px;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.6);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--how-secondary);
  color: var(--how-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background: var(--how-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(7, 124, 140, 0.3);
}

.step-number {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--how-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.step-title {
  font-weight: 600;
  color: var(--how-text-dark);
  margin-bottom: 10px;
}

.step-description {
  line-height: 1.5;
}

@media (max-width: 991px) {
  .process-connector {
    display: none;
  }

  .step-icon-wrapper {
    margin-bottom: 15px;
  }
}

/* =========================================
   7. CATEGORY SECTION
   ========================================= */
.cat-section {
  padding: 60px 0;
  background: linear-gradient(to top, rgba(223, 237, 241, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.cat-title-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.cat-main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cat-text-dark);
  line-height: 1.2;
}

.text-highlight {
  color: var(--cat-primary);
}

.cat-subtext {
  color: var(--cat-text-light);
  font-size: 1.1rem;
}

.cat-underline {
  width: 60px;
  height: 4px;
  background-color: var(--cat-primary);
  border-radius: 2px;
}

.cat-card {
  background-color: var(--cat-card-bg);
  border-radius: 12px;
  border: 1px solid var(--cat-secondary);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 200px;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(7, 124, 140, 0.15);
  background: white;
  border-color: var(--cat-primary);
}

.cat-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex: 1;
  z-index: 2;
}

.cat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cat-text-light);
  margin-bottom: 8px;
}

.cat-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cat-primary);
  margin-bottom: 20px;
}

.cat-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cat-text-dark);
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.cat-link i {
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.cat-card:hover .cat-link {
  color: var(--cat-primary);
}

.cat-card:hover .cat-link i {
  transform: translateX(5px);
}

.cat-img {
  width: 40%;
  max-width: 140px;
  height: auto;
  object-fit: cover;
  border-bottom-right-radius: 12px;
  margin-bottom: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  .cat-main-heading {
    font-size: 2rem;
  }

  .cat-card {
    min-height: 180px;
  }

  .cat-title {
    font-size: 1.25rem;
  }
}



/* =========================================
   9. FOOTER SECTION (UPDATED)
   ========================================= */
.footer {
  flex-shrink: 0;
  position: relative !important;
  width: 100%;
  z-index: 10;
  margin-top: auto !important;

  /* Design */
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer p {
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-heading:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  margin-bottom: 0.8rem;
  /* 1. Ye ensure karega ki beech me koi gap na ho */
  gap: 0;
  /* 2. Ye ensure karega ki input aur button ki height barabar ho */
  align-items: stretch;
}

.newsletter-input {
  flex-grow: 1;
  /* Ya flex: 1; */
  padding: 0.5rem 0.75rem;
  border: none;
  /* 3. Click karne par jo blue border aata hai wo hata diya */
  outline: none;
  /* 4. Browser ka default margin hatana zaruri hai */
  margin: 0;
  border-radius: 5px 0 0 5px;
}

.newsletter-btn {
  background-color: var(--primary-light);
  color: white;
  border: none;
  padding: 0 1rem;
  /* 5. Browser ka default margin hatana zaruri hai */
  margin: 0;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  /* Icon ko center karne ke liye */
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background-color: gray;
}


.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white !important; /* !important lagaya taaki bootstrap color change na kare */
  text-decoration: none;
  /* transition: 0.3s;  <-- Is line ko hata do, taaki koi animation na ho */
}

/* Explicitly Hover ko rokne ke liye */
.social-icon:hover, 
.social-icon:focus, 
.social-icon:active {
  color: white !important;       /* Color same rahega */
  background-color: transparent; /* Background change nahi hoga */
  transform: none;               /* Icon upar-niche nahi hilega */
  text-decoration: none;         /* Underline nahi aayega */
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.8rem;
  margin-top: 1rem;
  color: var(--secondary-color);
  font-size: 0.85rem;
}

/* =========================================
   🔥 MOBILE RESPONSIVE FIXES (Final Corrected)
   ========================================= */
@media (max-width: 768px) {

  .footer {
    text-align: center;
  }

  /* --- FIX START --- */


  .footer-heading {
    display: block !important;
    width: 100%;
    margin-bottom: 1.5rem;
  }


  .footer-links {
    display: inline-block;
    text-align: left;
  }

  /* --- FIX END --- */

  /* Underline ko center mein lane ke liye */
  .footer-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* =========================================
   🔥 FOOTER MOBILE FIX (Bottom Nav Gap)
   ========================================= */
@media (max-width: 991px) {
  .footer {
    margin-bottom: 0 !important;
    padding-bottom: 90px !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}


/* --- Custom Modal CSS --- */

/* Overlay (Background dhundhla) */
.custom-modal-overlay {
  display: none;
  /* Default hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

/* White Box */
.custom-modal-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease-out;
  position: relative;
}

/* Icons */
.modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: white;
  font-weight: bold;
}

.modal-icon.success {
  background-color: #4CAF50;
}

.modal-icon.success::after {
  content: '✓';
}

.modal-icon.error {
  background-color: #f44336;
}

.modal-icon.error::after {
  content: '!';
}

/* Button (Combined Versions) */
.custom-modal-box button {
  background: #008080;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 12px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.custom-modal-box button:hover {
  background: #006666;
}

/* Title */
.custom-modal-box h3 {
  color: #1a1a1a !important;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}

/* Message */
.custom-modal-box p {
  color: #4a4a4a !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* --- FIX SCROLLBAR & LAYOUT SHIFT --- */

/* Jab modal open ho, body ka scroll band karo (Standard Bootstrap) */
body.modal-open {
    overflow: hidden !important; 
    padding-right: 0 !important; /* Right side ka white gap hatayega */
}

/* Ensure navbar/footer don't shift */
.fixed-top, .fixed-bottom, .sticky-top, .navbar, footer {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* Scrollbar ko sundar banane ke liye (Optional - Global) */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}