:root {
  --primary-color: #198754;
  --secondary-color: #007bff;
  --light-bg: #f9f9f9;
  --dark-bg: #000000;
  --text-color: #333;
  --footer-bg: #2E8B57; /* Changed from #254102 to Sea Green */
  --hover-color: #f7f7f7;
  --white-bg: #fff;
  --border-col: #ccc;
  --form-box-col: #888;
  --form-box-shadow: rgba(25, 135, 84, 0.5);
  --header-bg: #5ec86d;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--light-bg);
  color: var(--text-color);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h5, h6 {
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--dark-bg);
}

h1 { font-size: 3.8rem; }
h2 { font-size: 2.4rem; }
h3 { 
  font-size: 1.8rem;
  line-height: 2.0rem;
}
h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

/* Links */
a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

/* Navigation */
.navbar {
  background-color: var(--footer-bg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-toggler {
  border: 2px solid var(--white-bg) !important;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  margin: 0 auto;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--footer-bg);
    padding: 1rem;
    border-radius: 0.5rem;
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
    text-align: center;
  }

  .sidebar-link {
    padding: 0.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .sidebar-link img {
    margin: 0 0.5rem 0 0;
  }

  .sidebar-link div {
    font-size: 1.6rem;
  }
}

.nav-link {
  padding: 0.75rem;
  color: var(--dark-bg);
}

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

/* Hero Section - Merged */
.hero-section,
.job-hero-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(25, 135, 84, 0.9), rgba(25, 135, 84, 0.7));
    color: var(--white-bg);
    text-align: center;
    padding: 4rem 0;
}

.hero-section h1,
.job-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white-bg);
}

.hero-section p {
    font-size: 1.75rem;
}

/* Values Section */
.values-section {
  background-color: var(--light-bg);
}

.values-section p {
  font-size: 1.4rem;
}


/* Team Section */
.team-section img {
  border: 3px solid var(--primary-color);
}

/* FAQ */
.accordion-button {
  background-color: var(--light-bg);
  color: var(--dark-bg);
  font-size: 1.2rem;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
  font-size: large;
}

.values-section .card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


a {
  text-decoration: none;
  color: var(--dark-bg);
}

a:hover {
  text-decoration: none;
  font-size: 2.0rem;
  color: var (--dark-bg);
}

.firstSection {
  display: grid;
  background-color: var(--white-bg);
  padding: 3rem 1rem;
  align-content: last baseline;
  height: 200px;
  text-align: center;
}

.firstSection p {
  font-size: 1.5rem;
}

.cpContainer {
  display: grid;
  align-content: last baseline;
  padding-bottom: 30px;
  text-align: center;
  padding: 1rem;
}

/* Header Section */
.header-section {
  background-color: var(--secondary-color);
  color: var(--white-bg);
}

.header-section .logo {
  width: 130px;
  height: auto;
}

.header-section h1 {
  font-size: 2.5rem;
  color: var (--header-bg);
}

.header-section p {
  font-size: 1.75rem;
  color: var (--header-bg);
}

.header-section .btn {
  font-size: 1.5rem;
  background-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  color: var(--white-bg);
  transition: background-color 0.3s ease;
}

.header-section .btn:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Services Section */
#services-section h2,
.commitment-section h2,
.displayHeading h2,
.values-section h2,
.vision-section h2,
.contact-section h2,
.faq-section h2,
.firstSection h2,
.cpContainer h2,
.sidebarSubHeader h2,
.vacancies-section h2,
.no-vacancies-section h2,
.history-section h2,
.why-choose-us-section h2,
.partnerships-section h2,
#care-journey h2 {
  color: var(--primary-color)
}

.service-card {
  background-color: var(--white-bg);
  border: 1px solid var(--dark-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 15px;
  text-align: center;
}

.service-card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.service-card-content p {
  font-size: 0.9rem;
  color: var(--text-color);
}

.service-card-content .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}


/* Responsive Design */
@media (max-width: 768px) {
  .header-section h1 {
    font-size: 2rem;
  }

  .service-card-content h3 {
    font-size: 1rem;
  }

  .service-card-content p {
    font-size: 0.8rem;
  }
}

/* Body Styles */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white-bg);
  border-bottom: 1px solid var(--border-col);
}

.header-container {
  text-align: center;
  padding: 3rem;
  background-color: var(--hover-color);
}

.header-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.header-subtitle {
  font-size: 1.5rem;
  color: var(--dark-bg);
}

.about-header {
  text-align: center;
  padding: 2rem;
  background-color: var(--white-bg);
  align-content: last baseline;
  height: 200px;
  padding-bottom: 30px;
}

/* Header Styles */


/* Navigation Styles */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-brand button{
  background-color: var(--secondary-color);
  border: 1px solid #000000;
}

/* Main Content Styles */
main {
  padding-top: 10px;
  font-size: 12px;
  flex: 1;
}


/* Footer Styles */
footer {
  margin-top: 3rem;  /* Added margin top */
  background-color: var(--footer-bg);
  color: var(--hover-color);
  padding: 2rem 0;
}

footer a {
  text-decoration: none;
  color: var(--hover-color);
  font-size: 1.7rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white-bg);
  text-decoration: none;
}

.footer-links {
  border-right-color: rgba(255, 255, 255, 0.2) !important;
}

.footer-about {
  border-right-color: rgba(255, 255, 255, 0.2) !important;
  border-left-color: rgba(255, 255, 255, 0.2) !important;
}

.footer-contact {
  border-right-color: rgba(255, 255, 255, 0.2) !important;
}

.sitename {
  color: var(--white-bg);
  font-weight: 500;
}

@media (max-width: 992px) {

  .footer-about,
  .footer-links,
  .footer-contact .footer .sitename {
    margin: 20px auto;
    text-align: justify;
  }
}



@media (max-width: 768px) {

  .footer-about,
  .footer-links,
  .footer-contact .footer .sitename {
    margin: 20px auto;
    width: 100%;
    text-align: justify;
  }
}

@media (max-width: 768px) {

  .footer-contact p {
    margin: 10px auto;
    text-align: justify;
    width: 100%;
    align-content: space-around;
  }
}

/* Card Styles - Merged */
.content-card,
.application-card,
.service-card {
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.content-card h2,
.application-card h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.card:hover {
  border-radius: 10px;
  border-style: solid;
  background-color: var(--footer-bg);
  color: var(--hover-color);
  border-width: 1px;
  transition: all 0.8s ease-in-out;
}



/* Modal Styles */

html {

  font-size: 11px;
  font-family: 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;

}

p,
li {
  font-size: 1.5rem;
  line-height: 2;
}

.cqc-highlights ul {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-color);
  list-style: none;
  padding-left: 0;
}

.cqc-highlights span,
i {
  color: var(--primary-color);
  font-weight: bold;
}

.Commitment_section {
  background-color: var(--white-bg);
  align-content: space-evenly;

}

.Commitment_section_detail {
  background-color: var(--white-bg);
  text-align: center;
  align-content: center;
  margin: 0 auto;

}

.calls-to-action {
  margin: 8rem 0 16rem;
}

.calls-to-action h2 {
  margin-bottom: 2rem;
}

.calls-to-action .col {
  min-height: 32rem;
  margin-top: 2rem;
  text-align: center;
}

.calls-to-action .col p:nth-child(2) {
  flex-grow: 1;
}

.calls-to-action .col.most-popular {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: .8rem;
  margin-top: 4em;
  transform: scale(1.2);
}

.accordion-body {
  font-size: 1.5rem;
}

.button {
  background: var(--primary-color);
  border-radius: .8rem;
  color: var(--light-bg);
  display: block;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  width: 20rem;
}

.services-button {
  background: var(--primary-color);
  border-radius: .8rem;
  color: var(--light-bg);
  display: block;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  width: 20rem;
  align-items: start;
}


/* General Navigation Styling */
.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Distribute items evenly across the available space */
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  flex-grow: 1;
  /* Allow items to stretch equally */
  text-align: center;
  /* Center content within each item */
}

.sidebar-link {
  display: inline-block;
  text-decoration: none;
  color: var(--white-bg);
  padding: 10px;
  transition: color 0.3s ease-in-out;
}


.sidebar-link:hover {
  color: var(--secondary-color);
}


.sidebar-link div {
  font-size: 2rem;
}

.sidebar-link img {
  display: block;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

.sidebar {
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.sidebar-link img {
  height: 24px;
  margin-bottom: 4px;
}


#services-section {
  background-color: var(--hover-color);
  padding: 50px 0;
}

#services-section {
  background-color: var(--hover-color);
  padding: 50px 0;
}

.service-card {
  background-color: var(--white-bg);
  padding: 20px;
  border: 1px solid var(--border-col);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.service-card-image {
  width: 100%;
  height: 20vh;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 40dvh;
  object-fit: cover;
  transform: scale(1.1);
}

.service-card-content {
  padding: 20px;
}

.service-card-content h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.service-card-content button {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.service-card-content button:hover {
  background-color: var(--secondary-color);
}

.service-card:hover {
  background-color: var(--hover-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {

  /* Styles for tablets and above */
  #services-section {
    padding: 40px 0;
  }

  .service-card-content p {
    font-size: 16px;
  }

  .service-card-content .button {
    padding: 10px 20px;
    font-size: 16px;
  }
}

@media (min-width: 992px) {

  /* Styles for desktops and above */
  #services-section {
    padding: 50px 0;
  }

  .service-card-content h3 {
    font-size: 24px;
  }

  .service-card-content p {
    font-size: 16px;
  }

  .service-card-content .button {
    font-size: 16px;
  }
}


.hero-section {
  background-color: var(--hover-color);
  text-align: center;
  padding: 2rem 0;
}

.history-section {
  background-color: var(--white-bg);
  text-align: center;
  padding: 2rem 0;
}

.values-section {
  text-align: center;
  padding: 3rem 0;
  max-width: 100%;
}

.commitment-section,
.commitment-section img,
.culture-section,
.vision-section {
  padding: 3rem 0;
  max-width: 100%;
  background-color: var(--hover-color);
}

.commitment-section img {
  border-radius: 0.5rem;
}

.contact-section {
  padding: 3rem 0;
  max-width: 100%;
  background-color: var(--white-bg);
}

.why-choose-section {
  padding: 3rem 0;
  max-width: 100%;
  background-color: var(--white-bg);
}

.values-grid,
.team-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-evenly;
  flex-direction: row;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

.values-grid .value-item,
.team-grid .team-member {
  text-align: center;
  padding: 1rem;
  background-color: var(--hover-color);
  border: 1px solid var(--border-col);
  border-radius: 8px;
  max-width: 250px;
}

/* .contact-section */

/* General Styles */
.get-in-touch-section .header-container {
  background-color: var(--light-bg);
  text-align: center;
  padding: 2rem 0;
}

.about-us .map-responsive iframe {
  border: none;
}

.contact-details .gradient-column {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
}

/* Form Styling */
.contact-form {
  background-color: var(--white-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.contact-form .form-group label {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  /* width: 100%; */
  padding: 0.75rem;
  border: 1px solid var(--border-col);
  border-radius: 5px;
  background-color: var(--hover-color);
}

.contact-form textarea {
  height: 150px;
}

.contact-form button {
  margin-top: 1.5rem;
}

/* Social Media */
.social-media-section .gradient-column {
  font-size: 1.2rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .contact-details .gradient-column {
    flex: 1 1 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }
}


/* .contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: var(--hover-color);
  padding: 2rem;
  border-radius: 10px;
}
.contact-section input, .contact-section textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-col);
  border-radius: 5px;
  background-color: var(--white-bg);
}

.contact-section button {
  padding: 0.8rem 2rem;
  border: none;
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-radius: 5px;
  cursor: pointer;
}

.contact-section form-check {
  width: fit-content;
} */

.aboutForm {
  background-color: rgb(223, 217, 217);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: solid 1px var(--border-col);
}


/* Add spacing between columns */
.gradient-row {
  display: flex;
  gap: 15px;
  /* Adjust gap size as needed */
  margin: 0 -7.5px;
  /* Compensates for the gap when columns wrap */
  flex-wrap: wrap;
  /* Ensures columns wrap properly on smaller screens */
  margin-top: 60px;
}

.gradient-column {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  /* Adjust height as needed */
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-start), var(--bg-end));
  border: 1px solid var(--border-col);
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 calc(25% - 15px);
  /* Ensure columns maintain responsiveness */
}

.gradient-column p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
}

.gradient-column:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .gradient-column {
    flex: 1 1 calc(50% - 15px);
    /* Adjust columns for smaller screens */
  }
}

@media (max-width: 576px) {
  .gradient-column {
    flex: 1 1 100%;
    /* Full-width columns on very small screens */
  }
}

/*Form css*/

.form-control {
  font-size: 1.5rem;
  /* Larger font size for better visibility */
  padding: 10px;
  color: var(--text-color);
  background-color: var(--light-bg);
  border: 1px solid var(--border-col);
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control::placeholder {
  color: var(--form-box-col);
  /* Improve contrast of placeholders */
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--form-box-shadow);
  outline: none;
}

.form-group label {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
  display: block;
}

.btn-primary {
  font-size: 1.5rem;
  background-color: var(--primary-color);
  border: none;
  padding: 10px;
  border-radius: 5px;
  color: var(--light-bg);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
}

.oval-button {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 50px / 25px;
  /* oval shape */
  background-color: var(--primary-color);
  /* green background */
  color: var(--light-bg);
  /* white text */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.oval-button:hover {
  background-color: var(--footer-bg);
  /* darker green on hover */
  cursor: text;
  color: var(--light-bg);
}


/* Media Queries */
@media (max-width: 768px) {
  .gradient-row {
    flex-direction: column;
    gap: 10px;
  }

  .gradient-column {
    flex: 1 1 100%;
  }
}

.displayHeading {
  text-align: center;
  align-items: center;
  font-display: 5;
  align-content: center;
  background-color: var(--white-bg);
  border-radius: 5rem;
  padding: 1rem;

}


.carePkgs {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.2fr 2fr;
  grid-template-areas:
    "sidebarSubHeader"
    "package-wrapper ";
  gap: 0.5rem;
  border-radius: 5rem;
  padding: 1rem;
  padding-bottom: 5vh;
  background-color: var(--white-bg);
  align-content: space-evenly;
  align-items: stretch;
  justify-items: stretch;
  margin-bottom: 5rem;
  height: auto;
}

.homePackages {
  display: inline-block;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px 10px;
  grid-auto-flow: row;
  justify-content: space-evenly;
  align-content: space-evenly;
  justify-items: stretch;
  align-items: center;
}

.sidebarS {
  /* background-color: rgb(204, 81, 81); */
  grid-area: sidebarS;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.sidebarS img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding: 20px;
}

.sidebarSubHeader {
  /* background-color: rgb(209, 137, 137); */
  grid-area: sidebarSubHeader;
  text-align: center;
  padding: 10px;
}



/* # job cards # */

/* No Vacancies Section */
.section-header {
  margin: 3rem 0;
}

.no-vacancies-section {
  position: relative;
  text-align: center;
  padding: 3rem 0;
}

.no-vacancies-image img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.no-vacancies-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-width: 600px;
}

.no-vacancies-card .card-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.no-vacancies-card .card-body {
  font-size: 1rem;
  line-height: 1.5;
}

/* Vacancies Section */
.vacancies-section .section-image {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  margin-bottom: 20px;
}

.vacancies-section {
  font-size: 2rem;
  margin: 20px;
  text-align: center;
}

/* .jobs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
} */
.job-details,
.job-details2 h4 {
  font-weight: normal;
}

.job-details,
.job-details2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  border-radius: 2rem;
  padding: 1rem;
  background-color: var(--white-bg);
  justify-items: center;
  height: auto;
  text-align: justify;
  margin-top: 2rem;

}

.job-details2 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: baseline;
  margin-bottom: 0;
  margin-top: 0;
}

.job-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.job-card-header {
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 10px 15px;
  font-size: 1.25rem;
}

.job-card-body {
  padding: 15px;
}

.job-card-body p {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--text-color);
}

.job-card-body .btn {
  display: inline-block;
  padding: 10px 15px;
  background: var(--primary-color);
  color: var(--dark-bg);
  text-decoration: none;
  border-radius: 4px;
}

.job-card-body .btn:hover {
  background: var(--footer-bg);
  color: var(--white-bg);
}

.btn:focus,
a:focus,
.btn-primary:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--header-bg);
  color: var(--white-bg);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: none;
  /* Initially hidden */
  opacity: 0;
  /* Transition effect */
  transition: opacity 0.3s ease-in-out;
}

#back-to-top.show {
  display: block;
  opacity: 1;
}

/* Tabs Navigation */

.desc2 {
  background-color: var(--footer-bg);
  padding: 20px;
  height: min-content;
  color: var(--light-bg);
  border-radius: 10px;
}

.package-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Mobile-First Layout */
.package-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.package-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 5px;
}

.image-section {
  text-align: center;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

.package-image {
  width: 100%;
  height: 65vh;
  border-radius: 5px;
}

.text-section {
  text-align: center;
}

.text-section h2,
.features-section h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-content: space-around;
}

.feature {
  background-color: var(--feature-bg);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.tabs li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.tabs li.active {
  background-color: var(--primary-color);
  color: var(--hover-color);
}

.tabs li:hover {
  background-color: var(--primary-color);
  color: var(--hover-color);
}

.hidden {
  display: none;
}

.package-description {
  margin-top: 20px;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
  .package-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .package-content {
    flex: 1 1 calc(50% - 1rem);
  }

  .text-section {
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .package-content {
    flex: 1 1 calc(33.33% - 1rem);
  }
}

.banner {
  background-color: var(--hover-color);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.banner h2 {
  margin-top: 0;
  color: var(--text-color);
}

.banner p {
  margin-bottom: 0;
  color: var(--form-box-col);
}

/* Partners Gallery Section */
#partners-gallery {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
#partners-gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.masonry {
  column-count: 4; /* Number of masonry columns */
  column-gap: 1rem; /* Horizontal space between columns */
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
}
/* You can adjust column-count at media queries to be responsive */
@media (max-width: 992px) {
  .masonry {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

/*
 * Each masonry item is displayed inline-block so they can
 * flow into columns. By setting their width to 100% and
 * margin-bottom for spacing, we get the stacked effect.
 */
.masonry-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  text-align: center;
  /* optional border or box shadow */
}

/* Image styling within each masonry item */
.masonry-item img {
  display: block;
  /* Default thumbnail size */
  max-width: 150px;
  width: 100%; /* fallback if image is narrower than 150px */
  height: auto;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: box-shadow 0.3s;
}

/* Some optional hover effect on images */
.masonry-item img:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

/* ========== STARTING YOUR CARE JOURNEY SECTION ========== */

#care-journey {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

/* #care-journey h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003366; /
} */

#care-journey .intro-text {
  margin: 0 auto 2rem;
  max-width: 700px;
  color: var(--dark-bg);
  line-height: 1.6;
}

/* Step container for the 4 steps */
.care-journey-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center; /* Center the items if there’s extra space */
}

/* Each step is presented as a card/column */
.step {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  flex: 1 1 calc(25% - 1.5rem); /* Four columns on larger screens */
  min-width: 250px;
  max-width: 300px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left; /* Keep the text left-aligned inside card */
  transition: box-shadow 0.2s;
}
.step:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Step number styling */
.step-number {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--dark-bg);
}

.step p {
  line-height: 1.5;
  color: #444;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .step {
    flex: 1 1 calc(33% - 1.5rem); /* 3 columns for medium screens */
  }
}

@media (max-width: 768px) {
  .step {
    flex: 1 1 calc(50% - 1.5rem); /* 2 columns for smaller screens */
  }
}

@media (max-width: 480px) {
  .step {
    flex: 1 1 100%; /* 1 column for phones */
  }
}

/* Form Submission & Email Template Styles */
.centered-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}

.content-card {
  background-color: var(--white-bg);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.content-card h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.content-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.content-card blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
}

.content-card hr {
  margin: 2rem 0;
  border-top: 1px solid var(--border-col);
}

.content-card a {
  text-decoration: none;
}

.content-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .centered-card-section {
    padding: 1rem;
  }
  
  .content-card {
    padding: 1.5rem;
  }
}

.apply-section {
    background-color: var(--light-bg);
    padding: 2rem 0;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 3rem;  /* Added padding bottom */
    border-top: 1px solid var(--border-col);
}

.job-summary-card {
    max-width: 800px;
    margin: 0 auto;
}

.job-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.application-card {
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;  /* Increased margin bottom */
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-col);
}

.form-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-floating {
    position: relative;
}

.form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-control:focus {
    border-color: var (--primary-color);
    box-shadow: 0 0 0 0.2rem var(--form-box-shadow);
}

.custom-file-upload {
    position: relative;
    padding: 1rem;
    background-color: var(--hover-color);
    border: 2px dashed var(--border-col);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    border-color: var(--primary-color);
    background-color: var(--white-bg);
}

.submit-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .apply-section {
        padding: 1rem;
    }
    
    .application-card {
        padding: 1.5rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

.application-summary {
    margin: 20px 0;
}

.application-summary h3 {
    color: #198754;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.application-summary ul {
    list-style: none;
    padding-left: 0;
}

.application-summary li {
    margin: 10px 0;
    line-height: 1.5;
}

.document-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.cover-letter-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.action-section {
    margin-top: 30px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #198754;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    margin: 10px 0;
}

.next-steps {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.next-steps ol {
    padding-left: 20px;
}

.contact-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Job Detail Page Styles */
.job-hero-section {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.95), rgba(46, 139, 87, 0.9));
    color: var(--white-bg);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.job-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.job-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.job-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white-bg);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-reference {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-cta {
    margin-top: 2rem;
}

/* Overview Section */
.job-overview-section {
    background-color: var(--light-bg);
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.job-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.overview-card {
    background: var(--white-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--footer-bg));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.2);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.overview-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.overview-card:hover i {
    transform: scale(1.1);
}

.overview-card h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-card p {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Job Details Section */
.job-details-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white-bg) 100%);
}

.job-details-section .container {
    max-width: 1000px;
}

.content-card {
    background: var(--white-bg);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-block {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid rgba(25, 135, 84, 0.1);
    animation: fadeInUp 0.6s ease;
}

.detail-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.detail-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.detail-block h2 i {
    font-size: 1.8rem;
}

.detail-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
}

.detail-content p {
    margin-bottom: 1.2rem;
}

.detail-content ul {
    list-style: none;
    padding-left: 0;
}

.detail-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.detail-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Apply Section */
.apply-section {
    margin-top: 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), rgba(46, 139, 87, 0.05));
    border-radius: 15px;
}

.apply-card {
    background: var(--white-bg);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.1);
    border: 2px solid var(--primary-color);
    text-align: center;
}

.apply-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.apply-card p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.apply-btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--footer-bg));
    border: none;
    color: var(--white-bg);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.apply-btn:hover::before {
    left: 100%;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(25, 135, 84, 0.4);
    color: var(--white-bg);
}

.apply-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.apply-btn:hover i {
    transform: translateX(5px);
}

.closed-position-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    padding: 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(133, 100, 4, 0.1);
    border: 2px solid #ffc107;
}

.closed-position-notice i {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .job-hero-content h1 {
        font-size: 2.5rem;
    }

    .job-overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }

    .overview-card {
        padding: 1.5rem 1rem;
    }

    .content-card {
        padding: 2rem;
    }

    .detail-block h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .job-hero-section {
        padding: 3rem 0 2rem;
    }

    .job-hero-content h1 {
        font-size: 2rem;
    }

    .job-reference {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }

    .job-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .overview-card {
        padding: 1.5rem 1rem;
    }

    .overview-card i {
        font-size: 2rem;
    }

    .overview-card h4 {
        font-size: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .detail-block h2 {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    .detail-content {
        font-size: 1.05rem;
    }

    .apply-card {
        padding: 2rem 1.5rem;
    }

    .apply-card h3 {
        font-size: 1.5rem;
    }

    .apply-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .job-overview-grid {
        grid-template-columns: 1fr;
    }

    .detail-content ul li {
        padding-left: 1.5rem;
    }
}

/* Additional Enhancement: Info Banner */
.job-info-banner {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-info-banner i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.job-info-banner p {
    margin: 0;
    font-size: 1.1rem;
    color: #1565c0;
}

/* Job Detail Page - Modern Redesign */
.job-detail-page {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white-bg) 100%);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: transparent;
    padding: 2rem 0 1rem 0;
}

.breadcrumb {
    background: var(--white-bg);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    font-size: 1.4rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--primary-color);
    font-size: 1.8rem;
    padding: 0 0.8rem;
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.4rem;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
}

.breadcrumb-item i {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

/* Modern Hero Section */
.modern-job-hero {
    position: relative;
    background: linear-gradient(135deg, #198754 0%, #2E8B57 100%);
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

.modern-job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    color: var(--white-bg);
}

.hero-job-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-job-badge i {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.hero-job-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    color: var(--white-bg);
}

.hero-job-reference {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.meta-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.meta-pill i {
    font-size: 1.8rem;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--white-bg);
    color: var(--primary-color);
    padding: 1.4rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.6rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.btn-hero-primary i {
    font-size: 1.6rem;
}

.btn-hero-primary:hover {
    background: var(--white-bg);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white-bg);
    padding: 1.4rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.5rem;
    border: 2px solid var(--white-bg);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-hero-secondary i {
    font-size: 1.5rem;
}

.btn-hero-secondary:hover {
    background: var(--white-bg);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Quick Stats Bar */
.quick-stats-bar {
    background: var(--white-bg);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    margin-top: -4rem;
    position: relative;
    z-index: 3;
    border-radius: 20px;
    padding: 3rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--footer-bg));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white-bg);
    font-size: 2.2rem;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--form-box-col);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
}

/* Main Content Layout */
.job-content-wrapper {
    padding: 5rem 0;
}

.content-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Main Content Area */
.main-content-area {
    background: var(--white-bg);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Tab Navigation */
.job-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--light-bg);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
}

/* Custom scrollbar for webkit browsers */
.job-tabs::-webkit-scrollbar {
    height: 6px;
}

.job-tabs::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.job-tabs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.job-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--footer-bg);
}

.job-tab {
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.job-tab i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.job-tab:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.job-tab.active {
    color: var(--primary-color);
    background: transparent;
}

.job-tab.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
}

.tab-content-area {
    display: none;
}

.tab-content-area.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Content Sections */
.content-section {
    margin-bottom: 3.5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-header-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--light-bg);
}

.section-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--footer-bg));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-bg);
    font-size: 2rem;
    flex-shrink: 0;
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
}

.section-body {
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--text-color);
}

.section-body p {
    font-size: 1.6rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.section-body ul {
    list-style: none;
    padding-left: 0;
}

.section-body ul li {
    padding: 1.2rem 0;
    padding-left: 3rem;
    position: relative;
    border-bottom: 1px solid var(--light-bg);
    font-size: 1.6rem;
    line-height: 1.8;
}

.section-body ul li:last-child {
    border-bottom: none;
}

.section-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), rgba(46, 139, 87, 0.05));
    border-left: 5px solid var(--primary-color);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 2rem;
}

.highlight-box h4 i {
    font-size: 2rem;
}

.highlight-box p {
    font-size: 1.6rem;
    line-height: 1.8;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box ul li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    font-size: 1.6rem;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

.apply-card-sidebar {
    background: linear-gradient(135deg, var(--primary-color), var(--footer-bg));
    color: var(--white-bg);
    text-align: center;
}

.apply-card-sidebar .sidebar-card-title {
    color: var(--white-bg);
    font-size: 2.2rem;
}

.apply-card-sidebar p {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.apply-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

.btn-apply-sidebar {
    background: var(--white-bg);
    color: var(--primary-color);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.6rem;
    width: 100%;
    border: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn-apply-sidebar i {
    font-size: 1.6rem;
}

.btn-apply-sidebar:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

/* Share & Save Options */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border: 2px solid var(--border-col);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.action-btn:hover {
    background: var(--white-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.action-btn i {
    font-size: 1.8rem;
}

/* Company Info Card */
.company-info-list {
    list-style: none;
    padding: 0;
}

.company-info-list li {
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--light-bg);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.company-info-list li:last-child {
    border-bottom: none;
}

.company-info-list i {
    color: var(--primary-color);
    font-size: 1.8rem;
    width: 30px;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.company-info-list strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.3rem;
}

.company-info-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
}

.company-info-list a:hover {
    color: var(--primary-color);
}

/* Floating Action Button (Mobile) */
.fab-apply {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--footer-bg));
    color: var(--white-bg);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(25, 135, 84, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab-apply:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(25, 135, 84, 0.6);
    color: var(--white-bg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-sidebar-layout {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }
    
    .hero-job-title {
        font-size: 3.5rem;
    }
    
    .job-tab {
        padding: 1.2rem 1.8rem;
        font-size: 1.3rem;
    }
    
    .job-tab i {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
    }

    .hero-job-title {
        font-size: 3rem;
    }

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

    .fab-apply {
        display: flex;
    }
    
    .main-content-area {
        padding: 3rem 2rem;
    }
    
    .job-tab {
        padding: 1.2rem 1.5rem;
        font-size: 1.3rem;
    }
    
    .job-tab i {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero-job-title {
        font-size: 2.5rem;
    }
    
    .hero-job-badge {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero-job-reference {
        font-size: 1.4rem;
    }

    .hero-meta-pills {
        flex-direction: column;
    }
    
    .meta-pill {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        font-size: 1.5rem;
    }

    .main-content-area {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .job-tabs {
        gap: 0.3rem;
        margin-bottom: 2rem;
    }

    .job-tab {
        padding: 1rem 1.2rem;
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .job-tab i {
        font-size: 1.3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 2rem;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 1rem;
    }

    .section-title-modern {
        font-size: 2.2rem;
    }

    .section-header-modern {
        flex-direction: row;
        align-items: center;
    }
    
    .section-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .breadcrumb {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modern-job-hero {
        min-height: 50vh;
        padding: 3rem 0;
    }

    .quick-stats-bar {
        padding: 2rem 1.5rem;
        margin-top: -3rem;
        border-radius: 15px;
    }

    .hero-job-title {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .job-tab {
        padding: 0.9rem 1rem;
        font-size: 1.1rem;
        gap: 0.4rem;
    }
    
    .job-tab i {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .sticky-sidebar,
    .fab-apply,
    .breadcrumb-nav,
    .hero-cta-buttons,
    .action-buttons {
        display: none;
    }

    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .modern-job-hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
