/* .container-fluid {
 background-color: #e9f7fd; 

} */


.careers-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.careers-card-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.8;
}

.careers-card-wrapper::before {
  background: #17a2b8; /* yellow */
}

.dropdown-menu {
  background-color: #ffffff; /* Background color for dropdown */
  border: none; /* Remove border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.dropdown-item {
  font-weight: bold; /* Make text bold */
  font-size: 1.1rem; /* Slightly larger font size */
  color: #333333; /* Text color */
  padding: 10px 20px; /* Increased padding for a better click area */
  transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}

.dropdown-item:hover {
  background-color: #17a2b8; /* Change background on hover */
  color: #ffffff; /* Change text color on hover */
}

.submenu {
  padding-left: 20px; /* Indent submenu */
}

a.text-white.mb-2 {
  display: block; /* Ensure each menu item appears on a new line */
}

.email-link {
  text-decoration: none;
  color:#fff;
}
.email-link:hover {
  text-decoration: underline;
  color: #fff;
}

.background-title {
  min-height: clamp(300px, 40vh, 400px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
ul {
  padding-left: 0px;
}

@media (max-width: 1024px) {

  .background-title {
    min-height: clamp(250px, 35vh, 350px); /* Adjust height for medium screens */
  }
}

.app-link, .mail-admission {
  color: #17a2b8;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}


/* Smaller screens (max-width: 768px) */
@media (max-width: 768px) {
  .background-title {
    min-height: clamp(200px, 30vh, 300px);
  }
  .app-link {
    color: #17a2b8;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
  .approach {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
}

/* Very small screens (max-width: 480px) */
@media (max-width: 480px) {
  .background-title {
    min-height: clamp(150px, 25vh, 250px); 
  }
  /* .app-link {
    font-size: 0.9rem;
  }
  .approach {
    font-size: 0.9rem;
  } */
}
.card-title {
  font-size: 1.25rem;
  font-weight: bold; 
  line-height: 1.4;
  white-space: nowrap;
  width: 100%;
}

.card-text ul {
  list-style-type: none;
  padding: 0;
}
.card-text ul li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}
.card-text ul li:before {
  content: "\2022";
  color: #007bff;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.success-message {
  display: none;
  color: green;
}
.error-message {
  display: none;
  color: red;
}

.card-footer strong,
.card-footer .col-6 {
  /* font-family: "Calibri", cursive; */
}
.card-footer .row {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-footer .row:hover {
  background-color: #f0f8ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-footer strong i {
  color: #0056b3;
  font-size: 20px;
  margin-right: 10px;
}

.back-to-top i {
  color: #ffffff; /* White color */
  margin-right: 0; /* Remove any margin if needed */
}

ul {
  list-style-type: none;
  padding-left: 0;
  /* font-family: "Calibri", cursive; */
}

li {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

li:hover {
  background-color: #f0f8ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-left {
  text-align: left;
}

.mt-4 {
  margin-top: 1.5rem;
}

body.loading {
  overflow: hidden; /* Prevent scrolling while loading */
}

.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner-wrapper {
  position: relative;
}

.spinner-image {
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

@media (max-width: 768px) {
  .spinner-image {
    width: 15vw;
    height: 15vw;
  }
}

@media (max-width: 480px) {
  .spinner-image {
    width: 20vw;
    height: 20vw;
  }
}


.loading-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 5px solid #ccc;
  border-radius: 50%;
  border-top: 5px solid #3498db;
  animation: rotate 5s linear infinite;
  transform: translate(-50%, -50%);
}

.d-none {
  display: none;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.fade-out {
  opacity: 0;
}
/* Card responsiveness */
/* General card styles */
.job-card {
  flex: 1 1 calc(30% - 1rem); /* Default: 3 cards per row */
  margin: 0.5rem;
  border: none;
  background-color: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.icon-padding {
  margin-bottom: 15px;
}

.icon-animation {
  transition: transform 0.3s ease-in-out;
}

.icon-animation:hover {
  transform: scale(1.2);
}

.psychomotor {
  color: #007bff;
}

.abatherapist {
  color: #28a745;
}

.programdirector {
  color: #ff5722
}

.manager {
  color: #6f42c1
}

.nurse {
  color: #17a2b8
}

.supervisor {
  color: #dc3545
}

.speechtherapist {
  color: #f39c12;
}

.default {
  color: #6c757d;
}

@media (max-width: 576px) {
  .icon-padding {
    margin-bottom: 10px;
  }

  .icon-animation {
    font-size: 2.5rem;
  }

  .col-md-4 h4 {
    font-size: 1.2rem;
  }

  .col-md-4 p {
    font-size: 0.9rem;
  }
}

.col-md-4:hover {
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.icon-animation:hover {
  color: #2980b9;
}

.feature-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #e6f7ff, #ffffff);
}

.feature-card:hover h4, .feature-card:hover p {
  color: #007bff;
}

.icon-animation:hover {
  color: #0056b3;
}
/* Default (for larger screens) */
.feature-card h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
 
}

.feature-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #555;
}

.no-jobs-container {
  padding: 50px 15px;
  background-color: #f9f9f9; /* Light gray background */
  border: 1px solid #e0e0e0; /* Subtle border */
  border-radius: 10px; /* Rounded corners */
  margin: 20px auto;
  max-width: 600px; /* Centered container with limited width */
}

.no-jobs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.no-jobs-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.no-jobs-message {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.btn.btn-secondary {
  background-color: #17a2b8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn.btn-secondary:hover {
  background-color: #0056b3; /* Darker blue for hover */
  color: #fff;
}


/* Medium screens (Tablets, up to 768px) */
@media (max-width: 768px) {
  .feature-card h4 {
    font-size: 1.3rem; /* Slightly smaller heading */
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 0.9rem; /* Smaller paragraph text */
  }
}

/* Small screens (Phones, up to 576px) */
@media (max-width: 576px) {
  .feature-card h4 {
    font-size: 1.2rem; /* Further reduce heading size */
    margin-top: 8px;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: 0.85rem; /* Further reduce paragraph text */
  }
}

/* @media (max-width: 320px) {
  .feature-card h4 {
    font-size: 1rem; 
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .feature-card p {
    font-size: 0.75rem; 
  }
} */


/* Ensure the icon is responsive */
@media (max-width: 1200px) {
  .icon-animation {
    font-size: 2.2rem; /* Slightly smaller for medium screens */
  }
}

@media (max-width: 992px) {
  .icon-animation {
    font-size: 2rem; /* Adjust size for tablets */
  }
}

@media (max-width: 768px) {
  .icon-animation {
    font-size: 1.8rem; /* Smaller size for smaller tablets */
  }
}

@media (max-width: 576px) {
  .icon-animation {
    font-size: 1.6rem; /* Even smaller for mobile phones */
  }
}

/* @media (max-width: 320px) {
  .icon-animation {
    font-size: 1.4rem; 
  }
} */

.card-body {
  text-align: center;
}

.card-title {
  font-size: 1.2rem;
  white-space: normal;
  word-wrap: break-word;
  word-break: keep-all;
  overflow: visible;
  line-height: 1.4;
  min-height: 2.5em;
}

/* Button */
.read-more-btn {
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
}

.card-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem); /* Default font size for large screens */
  line-height: 1.8; /* Adds more space between lines for readability */
  letter-spacing: 0.5px; /* Subtle letter spacing for cleaner look */
  color: #fff; /* A darker shade for better contrast */
  font-weight: 400; /* Standard weight */
  text-align: justify;
}

@media (max-width: 768px) {
  .card-text {
    font-size: 1rem; /* Slightly smaller font size for tablets */
    line-height: 1.8; /* Adjust line spacing */
    letter-spacing: 0.5px; /* Maintain consistency */
  }
}

@media (max-width: 480px) {
  .card-text {
    font-size: 0.875rem; /* Smaller font size for mobile */
    line-height: 1.8; /* Reduce line spacing for mobile */
    letter-spacing: 0.5px; /* Adjust for mobile readability */
  }
}

@media (max-width: 992px) {
  .job-card {
    flex: 1 1 calc(45% - 1rem); /* 2 cards per row */
  }

  .card-title {
    font-size: 1.1rem;
  }

  .read-more-btn {
    font-size: 0.95rem;
  }
}

/* Responsive design for mobile */
@media (max-width: 576px) {
  .job-card {
    flex: 1 1 100%; /* 1 card per row */
  }

  .card-title {
    font-size: 1rem;
  }

  .read-more-btn {
    font-size: 0.9rem;
  }
}

/* Special handling for very small screens (min-width: 320px) */
/* @media (max-width: 320px) {
  .card-title {
    font-size: 0.85rem;
    word-wrap: break-word;
    word-break: keep-all;
  }

  .read-more-btn {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
} */
.card {
  transition: all 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #17a2b8;
}

/* General Button Styling */

.btn.btn-secondary, .submit-btn {
  padding: 10px 20px; /* Default padding */
  font-size: 1rem; /* Default font size */
  border-radius: 5px; /* Rounded corners */
  text-align: center;
  transition: all 0.3s ease; /* Smooth transition for responsiveness */
}

/* Responsive Adjustments */

/* Medium Screens (Tablets, Up to 768px) */
@media (max-width: 768px) {
  .btn.btn-secondary,
  .submit-btn {
    padding: 8px 16px; /* Decrease padding for smaller size */
    font-size: 0.9rem; /* Slightly smaller text */
  }
}

/* Small Screens (Phones, Up to 576px) */
@media (max-width: 576px) {
  .btn.btn-secondary,
  .submit-btn {
    padding: 6px 12px; /* Further reduce padding */
    font-size: 0.85rem; /* Smaller text size */
  }
}

/* Very Small Screens (e.g., iPhone 5, Up to 320px) */
/* @media (max-width: 320px) {
  .btn.btn-secondary,
  .submit-btn {
    padding: 5px 10px; 
    font-size: 0.8rem; 
    border-radius: 3px;
  }
} */
html[lang="ar"] .back-to-top {
  right: auto;
  left: 20px;  /* Place on the left for RTL languages */
}
.dots::after {
  content: '';
  display: inline-block;
  animation: dot-blink 1.5s infinite;
}

@keyframes dot-blink {
  0% {
    content: '.';  /* Show one dot */
}
33% {
    content: '..'; /* Show two dots */
}
67% {
    content: '...'; /* Show three dots */
}
100% {
    content: '.';  /* Return to one dot */
}
}

.footer-whatsapp {
  display: flex; /* Center the image */
  justify-content: center; /* Center the content */
  align-items: center; /* Align items vertically */
  background-color: #25D366; /* WhatsApp green background */
  border-radius: 50%; /* Circular button */
  width: 60px; /* Fixed width */
  height: 60px; /* Fixed height */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
 
}

/* Image styling */
.footer-whatsapp img {
  width: 30px; /* Set image width */
  height: auto; /* Maintain aspect ratio */
}

/* Hover effect */
.footer-whatsapp:hover {
  background-color: #128C7E; /* Darker green on hover */
}

/* Footer styling */
footer {
  display: flex;
  justify-content: center; /* Center the content */
  align-items: center; /* Align items vertically */
  background-color: #f1f1f1; /* Light gray footer background */
  padding: 20px; /* Padding for the footer */
}

@media (max-width: 768px) { /* Tablets and below */
  .card-title-inclusive {
      font-size: 1.6rem; /* Adjust font size for tablets */
  }
}

@media (max-width: 576px) { /* Mobile phones */
  .card-title-inclusive {
      font-size: 1.4rem; /* Further adjust font size for mobile */
  }
}

@media (max-width: 480px) { /* Mobile phones */
  .card-title-inclusive {
      font-size: 1.2rem; /* Further adjust font size for mobile */
  }
}

@media (max-width: 320px) { 
  .card-title-inclusive {
      font-size: 1rem; 
  }
}

/* Style for the section title */
.section-title {
  font-size: 1rem;
  white-space: nowrap; /* Prevent text breaking in an unnatural way */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Allow wrapping if needed in small screens */
@media (max-width: 768px) {
  .section-title {
    font-size: 1rem; /* Adjust font size for smaller screens */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words if necessary */
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1rem; /* Further reduce font size */
    padding: 0 10px; /* Add some padding for smaller devices */
  }
}

/* .card-text {
   font-size: clamp(0.9rem, 3vw + 0.3rem, 1.1rem); 
  line-height: 1.5;
  font-display: swap;
  
} */

h3.card-title-inclusive {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}



/* Full-screen overlay */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner base */
.spinner-image {
  position: relative;
  width: 7rem;
  height: 7rem;
  border-top: 3px solid #17a2b8;
  border-radius: 50%;
  animation: rotate 2s linear infinite;
}

/* Inner circles */
.spinner-image::before,
.spinner-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border-top: 3px solid transparent;
}

.spinner-image::before {
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-top-color: #6fc3d5;
  animation: rotate 2s linear infinite;
}

.spinner-image::after {
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-top-color: #0f6c85;
  animation: rotate 1s linear infinite;
}

/* Rotation animation */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive spinner sizes */
@media (max-width: 768px) {
  .spinner-image {
    width: 5rem;
    height: 5rem;
  }

  .spinner-image::before {
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
  }

  .spinner-image::after {
    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;
  }
}

@media (max-width: 480px) {
  .spinner-image {
    width: 4rem;
    height: 4rem;
  }

  .spinner-image::before {
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
  }

  .spinner-image::after {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
  }
}

.approach,
.list {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #333333;
  text-align: justify;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .approach {
    font-size: clamp(1rem, 2.2vw, 1.3rem); /* Adjust size for tablets and smaller laptops */
  }
  .app-link, .mail-admission {
    color: #17a2b8;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  .background-title {
    min-height: clamp(250px, 35vh, 350px); /* Adjust height for medium screens */
  }
}
/* Smaller screens (max-width: 768px) */
@media (max-width: 768px) {
  .background-title {
    min-height: clamp(200px, 30vh, 300px);
  }
  .app-link, .mail-admission {
    color: #17a2b8;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  .approach {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
}

.strong-black {
  color: black;
  font-weight: bold;
}

.hidden-input {
  display: none;
}