/* ===================================== */
/* GLOBAL TYPOGRAPHY & COLORS */
/* ===================================== */
body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}
.logo {
  height: 50px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #d63642;
}
.highlight {
  color: #f44336;
}

/* ===================================== */
/* HERO SECTION WITH BRAND COLORS */
/* ===================================== */
.hero {
  background: url('images/hero4.jpg') no-repeat center center;
  background-size: cover;
  min-height: 80vh;
  background-color: #4ea27f;
  color: white;
}
.btn-cta {
  background-color: #f45100;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
}
.btn-cta:hover {
  background-color: #d63642;
  color: #fff;
}

/* ===================================== */
/* SERVICES SECTION */
/* ===================================== */
/* ===================================== */
/* CORE SERVICES CARD STYLING */
/* ===================================== */

.shadow-3d {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  border-radius: 12px;
}

.shadow-3d:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.service-img {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}


/* ===================================== */
/* ABOUT SECTION */
/* ===================================== */
.about-section {
  background-color: #54a483;
  padding: 60px 20px;
}

.section-title {
  color: #3b3b3b;
  text-align: left;
  margin-bottom: 20px;
  font-weight: 200;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fafafa;
  text-align: justify;
}

/* ===================================== */
/* FOOTER */
/* ===================================== */
.footer {
  background: #ffffff;
}
.footer-link, .footer-icon {
  color: #2a2a2a;
  text-decoration: none;
}
.footer-link:hover,
.footer-icon:hover {
  text-decoration: underline;
}

/* ===================================== */
/* SOCIAL SIDEBAR */
/* ===================================== */
.social-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50px;
  background-color: #e96b2a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
}
.social-sidebar a {
  color: #fff;
  font-size: 1.4rem;
  margin: 10px 0;
  transition: transform 0.2s;
}
.social-sidebar a:hover {
  transform: scale(1.2);
}

/* 🔹 Sidebar Hidden Initially */
.social-sidebar.hidden {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

/* 🔹 Sidebar Visible After Scroll */
.social-sidebar.show {
  opacity: 1;
  transform: translateX(0);
}


/* ======= SERVICES PAGE ======= */
/* Hero Section */
.hero-section {
    /* Replace with your background image */
    background: url('images/services.avif') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.services-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.services-list h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
}

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

.services-list li::before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

/* Live-in Care Section */
.live-in-care-section {
    background-color: #54a483;
    color: #3c3c3c;
    padding: 80px 0;
}

.live-in-care-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* 4. Main Content Sections */
.page-title {
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #333;
}

.course-section-wrapper {
    position: relative;
    padding: 10% 0 5rem 0;
    background-color: transparent;
}

/* -- UPDATED RULE -- */
.course-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Layer 1: Dark color overlay. Layer 2: Background image */
    background: 
        linear-gradient(var(--comfort-dark-grey-rgba), var(--comfort-dark-grey-rgba)),
        url('images/training3.avif') no-repeat center center;
    background-size: cover;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
}

@media (max-width: 992px) {
    .course-section-wrapper::before {
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
    }
    .course-section-wrapper {
        padding-top: 20%;
    }
}


/* 5. Course Cards & Lists */
.course-card {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.course-card .card-body {
    flex-grow: 1; 
}

.bg-dark-grey {
    /* Set background to transparent so the new section background shows through */
    background-color: transparent; 
}

.btn-get-started {
    background-color: #417585;
    color: #fff;
    border: 1px solid #417585;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.btn-get-started:hover {
    background-color: #355d6b;
    color: #fff;
    border-color: #355d6b;
}


.course-list li {
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
}

.course-list li::before {
    content: '•';
    color: var(--comfort-green-bullet);
    font-size: 1.5rem;
    line-height: 1;
    margin-right: 0.75rem;
    font-weight: bold;
}


/* Custom Styles for Contact Page */
.contact-section {
    background-color: #f0f0f0;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-title {
    font-weight: 900;
    font-size: 3rem;
    color: #333;
    letter-spacing: 0.1em;
}

.contact-social-icons a {
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
}

.form-wrapper {
    background-color: #ffffff;
    padding: 50px;
    max-width: 800px; /* Adjust as needed */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/*
 * Style for underlined form inputs
 */
.form-control, .form-select {
    border: none; /* Remove all borders */
    border-bottom: 1px solid #ced4da; /* Add a bottom border */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: none !important; /* Remove focus shadow */
    padding-left: 0; /* Align text to the left */
    background-color: transparent; /* Ensure background is transparent */
}

.form-control:focus, .form-select:focus {
    border-color: #333; /* Darker border on focus */
}

/* Adjust floating label position for our custom inputs */
.form-floating > .form-control-plaintext ~ label, 
.form-floating > .form-control:focus ~ label, 
.form-floating > .form-control:not(:placeholder-shown) ~ label, 
.form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating > label {
    padding-left: 0;
}

/* Style for the phone number input group */
.country-code-select {
    max-width: 120px; /* Give the dropdown a fixed width */
    flex-grow: 0 !important;
    border-right: 1px solid #ced4da; /* Add a separator line */
}

/* Style for the submit button */
.submit-btn {
    background-color: transparent;
    color: #555;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 40px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.submit-btn:hover {
    color: #000;
}


/*JOB OPENINGS PAGE STYLES */
.job-openings-section {
  background-color: #f2f2f2;
}

.job-card {
  border-radius: 6px;
}

.job-card h5 {
  font-weight: 500;
}

.btn-outline-danger {
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}


.job-detail h2 {
  font-size: 2rem;
}

.job-detail p {
  font-size: 1rem;
  line-height: 1.6;
}

.job-detail a.btn-danger {
  border-radius: 0;
  font-weight: 500;
}


.job-detail h2 {
  font-size: 2rem;
}

.job-detail h5 {
  font-size: 1.25rem;
}

.job-detail p {
  font-size: 1rem;
  line-height: 1.7;
}

.btn-danger {
  border-radius: 0;
  font-weight: 500;
}


/*Blog Page*/

.blog-card .card-title {
  font-size: 1.5rem;
}

.blog-card .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.blog-card .card-img-top {
  height: 300px;
  object-fit: cover;
}

/* Blog Post Page */
 .blog-feature-img {
      max-height: 450px;
      width: 100%;
      object-fit: cover;
      border-radius: 10px;
      margin: 2rem 0;
    }
    .blog-post-content h2 {
      margin-top: 2rem;
    }
    .blog-post-content ul {
      padding-left: 1.2rem;
    }
    .blog-post-content li {
      margin-bottom: 0.5rem;
    }
    .blog-meta {
      font-size: 0.9rem;
      color: #6c757d;
    }
    .back-link {
      display: inline-block;
      margin: 1rem 0 2rem;
      text-decoration: none;
      color: #198754;
    }
    .back-link:hover {
      text-decoration: underline;
    }


    /* faq.css */

body {
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
  color: #004d40;
}

.accordion-button {
  background-color: #e0f2f1;
  color: #004d40;
  font-weight: bold;
}

.accordion-body {
  background-color: #ffffff;
  color: #333;
}
