.careers-page-bd section {
  padding: 100px 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.section-heading-bd {
  text-align: center;
  margin-bottom: 60px;
}
.section-heading-bd h2 {

  font-size: 48px;
  font-weight: 500;
  color: #CC002B;
  margin-bottom: 10px;
}
.section-heading-bd .heading-subtitle-bd {
  font-size: 18px;
  color: #666;
}
.bg-gray {
  background-color: #f8f9fa !important;
}
.bg-white {
  background-color: #fff !important;
}

/* ==================== Call-to-Action Buttons (Bootstrap Overrides) ==================== */
.btn-primary {
  background-color: #CC002B !important;
  border-color: #CC002B !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary:hover {
  background-color: #ff5562 !important;
  border-color: #ff5562 !important;
}
.btn-outline-secondary {
  background-color: transparent !important;
  border-color: #CC002B !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-outline-secondary:hover {
  background-color: #CC002B !important;
  color: #fff !important;
}
.breadcrumb-hero-bd .btn-outline-secondary {
    border-color: #fff !important;
    color: #fff !important;
}
.breadcrumb-hero-bd .btn-outline-secondary:hover {
    background-color: #fff !important;
    color: #CC002B !important;
}

/* ==================== Breadcrumb & Hero Section (Custom) ==================== */
.breadcrumb-hero-bd {
    position: relative;
    padding: 180px 0;
    background-size: cover;
    background-position: center;
}
.breadcrumb-hero-bd .hero-overlay-bd {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}
.breadcrumb-hero-bd .hero-content-bd {
    position: relative;
    z-index: 2;
    color: #fff;
}
.breadcrumb-hero-bd .breadcrumb-content-bd {
    margin-bottom: 40px;
}
.breadcrumb-hero-bd .breadcrumb-content-bd h1 {
    
    font-size: 72px;
    font-weight: 500;
}
.breadcrumb-hero-bd .breadcrumb-content-bd p {
    
    font-size: 22px;
    max-width: 700px;
    margin-bottom: 40px;
}
/* ==================== HERO SECTION - REDESIGNED ==================== */
.career-hero-bd-redesigned {
    padding: 80px 0;
}
.career-hero-bd-redesigned .row {
    align-items: center;
}
.career-hero-bd-redesigned .col-lg-6:first-child {
    padding-right: 40px; /* Adds spacing between text and image */
}
.career-hero-bd-redesigned h1 {

    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}
.career-hero-bd-redesigned p.lead {
    font-size: 1.25rem;
    color: #333333 !important;
    font-weight: 400;
}
.career-hero-bd-redesigned .btn {
    margin: 0.5rem 0.5rem 0.5rem 0; /* Adjusts button spacing */
}
.career-hero-bd-redesigned img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.career-hero-bd-redesigned img:hover {
    transform: scale(1.03);
}

/* ==================== Responsive adjustments ==================== */
@media (max-width: 991px) {
    .career-hero-bd-redesigned .text-left {
        text-align: center !important; /* Center aligns text on tablets */
    }
    .career-hero-bd-redesigned .col-lg-6:first-child {
        padding-right: 15px;
    }
    .career-hero-bd-redesigned h1 {
        font-size: 2.5rem;
    }
    .career-hero-bd-redesigned p.lead {
        font-size: 1.1rem;
    }
}
/* ==================== Intro & Culture Section ==================== */
.culture-intro-section-bd {
  padding: 80px 0;
}
.intro-cards-grid-bd .card {
  border-left: 5px solid #CC002B;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.intro-cards-grid-bd .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.culture-intro-section-bd .card-body h2 {

  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.culture-intro-section-bd .card-body p {
  color: #666;
}
.culture-intro-section-bd .card-body i {
  color: #CC002B;
}

/* ==================== Benefits Section ==================== */
.benefits-section-bd {
  background: #f8f9fa;
  color: #333;
}
.benefits-section-bd h2 {
  
  font-size: 48px;
  font-weight: 500;
  color: #CC002B;
}
.benefits-section-bd .lead {
  font-size: 18px;
  color: #666;
}
.benefits-section-bd .list-unstyled li {
  font-size: 16px;
  color: #555;
}
.benefits-section-bd .list-unstyled li i {
  color: #CC002B;
}
.benefits-section-bd .card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefits-section-bd .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.benefits-section-bd .card i {
  color: #CC002B;
  transition: transform 0.3s ease;
}
.benefits-section-bd .card:hover i {
  transform: scale(1.1);
}
.benefits-section-bd .card h4 {
  
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
.benefits-section-bd .card p {
  font-size: 14px;
  color: #777;
}

/* ==================== Open Roles Section ==================== */
.roles-accordion-list-bd {
  max-width: 900px;
  margin: 0 auto;
}
.role-accordion-item-bd .btn {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.role-accordion-item-bd .btn:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.role-accordion-toggle-bd[aria-expanded="true"] .accordion-icon-bd {
  transform: rotate(180deg);
}
.role-accordion-body-bd {
  animation: fadeIn 0.5s ease-in-out;
}
.accordion-icon-bd {
  color: #CC002B;
  transition: transform 0.3s ease;
}

/* ==================== Current Openings Section ==================== */
.current-openings-section-bd {
    padding: 80px 0;
}
.section-heading-bd {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading-bd h2 {
   
    font-size: 3rem;
    font-weight: 500;
    color: #CC002B;
    margin-bottom: 0.5rem;
}
.section-heading-bd .heading-subtitle-bd {
    font-size: 1.125rem;
    color: #666;
}

/* Filter Form Styles */
.filter-form-bd {
    margin-bottom: 40px;
}
.filter-select-bd {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}
.filter-select-bd:focus {
    border-color: #CC002B;
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 43, 0.25);
}

/* Job Cards Grid */
.jobs-grid-layout-bd .job-listing-card-bd {
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jobs-grid-layout-bd .job-listing-card-bd:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.job-listing-card-bd h4 {
   
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}
.job-listing-card-bd .job-details-bd {
    font-size: 0.875rem;
    color: #999;
}

/* Button Overrides */
.btn-primary {
    background-color: #CC002B;
    border-color: #CC002B;
    font-weight: 700;
}
.btn-outline-secondary {
    border-color: #CC002B;
    color: #CC002B;
}
.btn-outline-secondary:hover {
    background-color: #CC002B;
    color: #fff;
}

/* ==================== Hiring Process Section ==================== */
/* ==================== Numbered Card Grid ==================== */
.process-card-bd {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%; /* Ensures all cards in a row are same height */
}

.process-card-bd:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-number-bd {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 50px;
  font-weight: 700;
  color: rgba(204, 0, 43, 0.1); /* Faded theme color */
  z-index: 1;
}

.card-icon-bd {
  font-size: 40px;
  color: #CC002B;
  margin-bottom: 15px;
}

.process-card-bd h4 {
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.process-card-bd p {
  position: relative;
  z-index: 2;
}
/* ==================== Preparation Tips Section ==================== */

/* ==================== Preparation Tips Section ==================== */
.prep-tips-section-bd {
    padding: 100px 0;
}
.section-heading-bd {
    text-align: center;
    margin-bottom: 60px;
}
.section-heading-bd h2 {
    font-size: 42px;
    font-weight: 600;
    color: #CC002B;
    margin-bottom: 10px;
}
.section-heading-bd .heading-subtitle-bd {
    font-size: 18px;
    color: #666;
}
.bg-gray {
    background-color: #f8f9fa;
}
.tips-card-grid-bd .tip-card-item-bd {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tips-card-grid-bd .tip-card-item-bd:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.tips-card-grid-bd .tip-card-item-bd h4 {
   
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.tips-card-grid-bd .tip-card-item-bd p {
    color: #666;
    font-size: 16px;
}
.tip-card-item-bd .card-icon-small {
    color: #CC002B;
    transition: transform 0.3s ease;
}
.tip-card-item-bd:hover .card-icon-small {
    transform: scale(1.1);
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animated-fade-in-up {
    opacity: 0;
}
.in-view {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered animation for the tip cards */
.tips-card-grid-bd .col-lg-3 {
    opacity: 0;
    transform: translateY(30px);
}
.tips-card-grid-bd.in-view .col-lg-3:nth-child(1) {
    animation: fadeInUp 0.8s ease-out forwards;
}
.tips-card-grid-bd.in-view .col-lg-3:nth-child(2) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
.tips-card-grid-bd.in-view .col-lg-3:nth-child(3) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}
.tips-card-grid-bd.in-view .col-lg-3:nth-child(4) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
  .tips-card-grid-bd .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .tips-card-grid-bd .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  80% { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1); }
}
.animated-fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.animated-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animated-slide-in-left { animation: slideInLeft 0.8s ease-out forwards; opacity: 0; }
.animated-slide-in-right { animation: slideInRight 0.8s ease-out forwards; opacity: 0; }
.animated-pop-in { animation: popIn 0.6s ease-out forwards; opacity: 0; }
.animated-pop-in-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animated-fade-in-up-stagger > * { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animated-fade-in-up-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animated-fade-in-up-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.animated-fade-in-up-stagger > *:nth-child(4) { animation-delay: 0.6s; }
.animated-fade-in-up-stagger > *:nth-child(5) { animation-delay: 0.8s; }
.animated-fade-in-up-stagger > *:nth-child(6) { animation-delay: 1.0s; }

/* In-view class for IntersectionObserver to trigger animations */
.in-view {
  opacity: 1;
  transform: translateY(0);
}
.in-view.animated-slide-in-left { transform: translateX(0); }
.in-view.animated-slide-in-right { transform: translateX(0); }
.in-view.animated-pop-in { transform: scale(1); }

/* ==================== Responsive Design ==================== */
@media (max-width: 992px) {
  .intro-cards-grid-bd, .benefits-layout-bd, .contact-grid-layout-bd {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero-text-box-bd h1 {
    font-size: 50px;
  }
  .hero-text-box-bd .hero-subtitle-bd {
    font-size: 18px;
  }
  .hero-cta-buttons-bd {
    flex-direction: column;
    gap: 10px;
  }
  .cta-btn-bd {
    width: 100%;
  }
  .section-heading-bd h2 {
    font-size: 36px;
  }
  .process-steps-timeline-bd {
    flex-direction: column;
    gap: 30px;
  }
  .timeline-step-bd::after {
    display: none;
  }
  .timeline-step-bd:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    top: 90px;
    left: 50%;
    width: 2px;
    height: 30px;
    background-color: #CC002B;
    transform: none;
  }
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}