@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600');

/* Dark Mode Stylish */
:root {
    --bg-color-light: #ffffff;
    --text-color-light: #000000;
    --bg-color-dark: #2c2c2c;
    --text-color-dark: #f1f1f1;
}

body {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
    transition: background-color 0.5s, color 0.5s;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

body.dark-mode .navbar-default .navbar-brand .brand-text {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
}

/* Dark mode styles for header, section, about, team, news, appointment, footer, navbar, and other elements */
.header, .section, #about, #team, #news, #appointment, footer, .navbar-default, .about-info, .team-thumb, .footer-thumb, .news-thumb, .news-info {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
    transition: background-color 0.5s, color 0.5s;
}

body.dark-mode .header, body.dark-mode .form-box label /*ApplyNow DM*/, body.dark-mode .dropdown-menu /*Dropdown Menu DM*/, body.dark-mode .section, body.dark-mode #about, body.dark-mode #team, body.dark-mode #news, body.dark-mode #appointment, body.dark-mode footer, body.dark-mode .navbar-default, body.dark-mode .about-info, body.dark-mode .team-thumb, body.dark-mode .profile, body.dark-mode .footer-thumb, body.dark-mode .news-thumb, body.dark-mode .news-info {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
}

/* Specific styles for elements within sections */
.header p, .header span, .header a,  .team-thumb h3, .about-info p, .profile p, .team-thumb p, .news-info span, .news-info h3, .news-info p, .footer-thumb h4, .footer-thumb p, .footer-thumb .contact-info p, .footer-thumb .stories-info h5, .footer-thumb .stories-info span {
    color: #423f3f;
}

body.dark-mode .header p, body.dark-mode .header span, body.dark-mode .header a, body.dark-mode .about-info p, body.dark-mode .about-info h2, body.dark-mode .team-thumb h3, body.dark-mode .team-thumb p, body.dark-mode .news-info span, body.dark-mode .news-info h3, body.dark-mode .news-info p, body.dark-mode .footer-thumb h4, body.dark-mode .footer-thumb p, body.dark-mode .footer-thumb .contact-info p, body.dark-mode .footer-thumb .stories-info h5, body.dark-mode .footer-thumb .stories-info span {
    color: var(--text-color-dark);
}

.section-title h3, .news-info a {
  color: white;
}

.section-title h3, .news-info a {
  color: var(--text-color-light);
}

body.dark-mode .section-title h3{
  color: var(--text-color-dark);
}

body.dark-mode .news-info a {
  color: var(--text-color-dark);
}

/* Navbar and other elements */
.navbar-default .navbar-nav li a {
    color: #555555;
    font-size: 12.5px;
    font-weight: 500;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
}

body.dark-mode .navbar-default .navbar-nav li a {
    color: var(--text-color-dark);
}

.navbar-default .navbar-brand {
    color: #393939;
}

body.dark-mode .navbar-default .navbar-brand {
    color: var(--text-color-dark);
}

/* Dark mode styles for icons and specific elements */
.profile img, .team-thumb img, .news-thumb img, .footer-thumb img {
    transition: filter 0.5s;
}

body.dark-mode .profile img, body.dark-mode .team-thumb img, body.dark-mode .news-thumb img, body.dark-mode .footer-thumb img {
    filter: brightness(0.7);
}

#darkModeToggle {
    position: fixed;
    top: 0; /* Adjust the position here */
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px; /* Increase the size of the icon */
    transition: transform 0.3s, font-size 0.3s;
}

#darkModeToggle:hover {
    transform: scale(1.2);
}

#darkModeToggle:active {
    transform: scale(0.9);
}

#darkModeToggle:focus {
    outline: none;
}

#darkModeIcon {
    transition: color 0.3s;
}

body.dark-mode #darkModeIcon {
    color: #f1f1f1; /* Adjust icon color in dark mode if needed */
}

/* Dark mode styles for form labels and input elements */
body.dark-mode label, 
body.dark-mode input, 
body.dark-mode textarea, 
body.dark-mode select {
    color: var(--text-color-dark); /* Set text color for form elements in dark mode */
}

body.dark-mode input::placeholder, 
body.dark-mode textarea::placeholder {
    color: var(--text-color-dark); /* Set placeholder text color in dark mode */
    color: #b3b3b3; /* Adjust this color to improve visibility in dark mode */ 
    opacity: 1; /* Ensure the opacity is set to 1 for full visibility */
}

/* Ensure form elements background colors are appropriate */
body.dark-mode input, 
body.dark-mode textarea, 
body.dark-mode select {
    background-color: var(--bg-color-dark); /* Set background color for form elements in dark mode */
    border-color: var(--text-color-dark); /* Set border color in dark mode */
}

/* Ensure form elements text and background colors revert in light mode */
label, input, textarea, select {
    color: var(--text-color-light);
    background-color: var(--bg-color-light);
    border-color: var(--text-color-light);
}

input::placeholder, 
textarea::placeholder {
    color: var(--text-color-light);
    opacity: 1; /* Ensure full visibility in light mode as well */
}

/*--------------------
ABOUT US DARK MODE PAGE
---------------------*/
/* Default light mode styles */
/* Default light mode styles */

#news-detail {
  background-color: white; /* Original background color */
  color: black; /* Original text color */
}

#news-detail .news-detail-thumb h3,
#news-detail .news-detail-thumb p {
  color: black; /* Original text color for h3 and p */
}

#news-detail .news-sidebar h4,
#news-detail .news-sidebar p {
  color: black; /* Original text color for h4 and p */
  background-color: white; /* Original background color for button */
}

/* Default light mode styles for side privacy is central devine get started */
.sidebar-ads {
  background-color: white; /* Original background color */
}

/* Dark mode styles */
body.dark-mode .sidebar-ads {
  background-color: #444; /* Dark mode background color */
}

#what-we-believe {
  background-color: white; /* Original background color */
  color: black; /* Original text color */
}

#what-we-believe .devine-belive h2 {
  color: black; /* Original text color for h2 in What We Believe */
}

body.dark-mode #what-we-believe .devine-believe h2 {
  color: white; /* Dark mode text color for h2 and p */
}

.devine-wwh-card h2 {
  color: black; /* Original text color for other h2 elements with icons */
}

/* Dark mode styles */
body.dark-mode #news-detail {
  background-color: #333; /* Dark mode background color */
  color: white; /* Dark mode text color */
}

body.dark-mode #news-detail .news-detail-thumb h3,
body.dark-mode #news-detail .news-detail-thumb p {
  color: white; /* Dark mode text color for h3 and p */
}

body.dark-mode #news-detail .news-sidebar h4,
body.dark-mode #news-detail .news-sidebar p,
body.dark-mode #news-detail .about-btn {
  color: white; /* Dark mode text color for h4 and p */
  background-color: #444; /* Dark mode background color for button */
}

body.dark-mode #news-detail .about-btn:hover {
  background: #4267b2;
}

body.dark-mode #what-we-believe {
  background-color: #333; /* Dark mode background color */
  color: white; /* Dark mode text color */
}

body.dark-mode .devine-wwh-card h2 {
  color: white; /* Dark mode text color for other h2 elements with icons */
}

/*END Dark Mode Stylish END */

  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
    line-height: inherit;
  }

  h1,h2,h3,h4 {
    letter-spacing: -1px;
  }

  h5 {
    font-weight: 500;
  }

  h1 {
    color: #252525;
    font-size: 5em;
  }

  h2 {
    color: #272727;
    font-size: 3em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.8em;
    line-height: 1.2em;
    margin-bottom: 0;
  }

  h4 {
    color: #454545;
    font-size: 1.8em;
    padding-bottom: 2px;
  }

  h6 {
    letter-spacing: 0;
    font-weight: normal;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }


  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a:hover, a:active, a:focus {
    color: #a5c422;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }


/*--------------------------------------------------------------
  RESPONSIVE STYLES &  DROP DOWN MENU RESPONSIVE STYLE ADJUSTMENT       
  -------------------------------------------------------------*/
  @media only screen and (max-width: 1200px) {
    h1 {
      font-size: 4em;
    }
    h2 {
      font-size: 2.5em;
    }
    h3 {
      font-size: 1.5em;
    }

    header {
      height: inherit;
    }
    header span.date-icon {
      border: 0;
      padding-right: 0;
      padding-left: 0;
    }
    header span.email-icon {
      padding-top: 0;
    }

    .navbar-default .navbar-nav li a {
      padding-right: 15px;
      padding-left: 15px;
    }
    .navbar-default .navbar-nav li a { 
      padding-right: 15px; 
      padding-left: 15px; }
  }

  @media only screen and (max-width: 992px) {
    .slider .item {
      background-position: center;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form { 
      border-color: transparent; 
    }

    header {
      padding-bottom: 10px;
    }
    header .text-align-right {
      text-align: left;
    }
    header span {
      padding-top: 0;
      padding-left: 0;
      padding-bottom: 0;
    }
  }

  @media only screen and (max-width: 767px) {
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
      border-color: transparent;
    }

    .navbar-default .navbar-nav li a {
       display: inline-block; 
       padding-top: 8px; 
       padding-bottom: 8px; 
      }

    .navbar-default .navbar-nav li.appointment-btn {
      margin-left: 15px;
    }

    .navbar-default .navbar-nav li a {
      display: inline-block;
      padding-top: 8px;
      padding-bottom: 8px;
    }

    .news-sidebar {
      margin-top: 2em;
    }

    #appointment-form {
      padding-top: 4em;
      padding-bottom: 4em;
    }

    footer {
      padding-top: 60px;
      padding-bottom: 0;
    }
    .footer-thumb {
      padding-bottom: 10px;
    }

    .border-top {
      text-align: center;
    }

    .copyright-text {
      margin-top: 10px;
    }

    .angle-up-btn {
      bottom: 10em;
    }
  }

  @media only screen and (max-width: 639px) {
    h1 {
      font-size: 3em;
      line-height: 1.2em;
    }
    h2 {
      font-size: 2.1em;
    }
    h4 {
      font-size: 1.4em;
    }

    #home h3 {
      font-size: 11px;
      letter-spacing: 1px;
    }

    .navbar-default .navbar-nav .dropdown-menu { 
      position: static; 
      float: none; 
      width: auto; 
      margin-top: 0; 
      box-shadow: none; 
    } 

    .navbar-default .navbar-nav .dropdown-menu > li > a { 
      padding: 10px 20px; 
    }
  }
/* underline section 2 our story */
  .underline {
    text-decoration: underline;
    color: black;
    text-decoration-thickness: 5px; /* Adjust the thickness as needed */
}

/* for fadeInUp animation in Smart Phone or any Mobile Devices or Devices */
@media (max-width: 767px) {
  .wow.fadeInUp {
      visibility: visible !important; /* Ensure visibility on mobile */
      animation-name: fadeInUp; /* Apply animation */
  }
}

  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -22.5px;
    margin-left: -22.5px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }

    /*Responsiveness of Pre Loader Spinner to Smart Phone*/
    @media (max-width: 768px) {
      .spinner::before {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
        margin-left: -17.5px;
      }
    }
  
    @media (max-width: 480px) {
      .spinner:before {
        width: 25px;
        height: 25px;
        margin-top: -12.5px;
        margin-left: -12.5px;
      }
    }

  /*---------------------------------------
      MENU HEADER             
  -----------------------------------------*/

  header {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    height: 45px;
  }

  header .col-md-8 {
    padding-right: 0;
  }

  header p,
  header span {
    font-size: 14px;
    line-height: 24px;
    padding-top: 12px;
  }

  header a,
  header span {
    color: #747474;
  }

  header span {
    font-weight: 500;
    display: inline-block;
    padding: 11px 15px;
  }

  header span.date-icon {
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    padding-right: 19px;
    padding-left: 19px;
  }

  header span i {
    color: #a5c422;
    margin-right: 5px;
  }

  
  /*---------------------------------------
      MENU              
  -----------------------------------------*/

    /* Menu Links Hover Effects */

  /* Add underline effect with ::before */
  .navbar-default .navbar-nav li a::before {
    content: ''; /* Empty content for pseudo-element */
    position: absolute; /* Positioned relative to the link */
    bottom: 0; /* Place underline at the bottom */
    left: 0;
    width: 0; /* Initially no width */
    height: 2px; /* Thickness of the underline */
    background: red; /* Underline color */
    transition: width 0.3s ease-in-out; /* Smooth underline animation */
  }

  /* Expand underline on hover */
  .navbar-default .navbar-nav li a:hover::before {
    width: 100%; /* Full width on hover */
  }

  .navbar-default {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,.075);
    border: none;
    margin-bottom: 0;
    padding: 16px;
  }

  .navbar-default .navbar-brand { /* Logo of careaccess247 customize here*/
    color: #393939;
    font-weight: 500;
    display: flex;
    align-items: center; /* Center-align logo and text vertically */
    padding: 0;
    /* font-size: 20px; */
  }

  .navbar-default .navbar-brand .brand-text {
    margin-left: 10px; /* Add space between logo and text */
    font-size: 18px;
    color: #393939;
    font-weight: 500;
  }

  .navbar-default .navbar-brand .logo {
    max-width: 120px; /* Set the maximum width */ 
    max-height: 120px; /* Set the maximum height */ 
    width: auto; /* Ensure the logo scales proportionally */ 
    height: auto; /* Maintain aspect ratio */
    margin-top: 35px;
    border-radius: 5px;
  }

  /* Heartbeat Animation */
  @keyframes heartbeat {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

  .heartbeat {
    animation: heartbeat 1s infinite;
    animation-delay: 2s; /* Adjust based in my preference preloader duration */
  }

  .heartbeat:hover {
    box-shadow: 0 0 10px red, 0 0 20px #a5c422;
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for the shadow */
  }

  .navbar-default .navbar-nav li.appointment-btn {
    margin: 3px 0 0 20px;
  }

  .about-btn { /* increase and decrease and adjustment cutomization of button sidebar-ads of your privacy is central */
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    font-size: 1.5rem;
    font-weight: bolder;
    box-shadow: 0 1px 8px #ddd;
    transition: background-color 0.3s ease;
    background:  #a5c422;
  }

  .about-btn a {
    color: #ffffff;
  }

  .about-btn:hover {
    background-color: #4267b2;
  }

  .navbar-default .navbar-nav li.appointment-btn a {
    background: #a5c422;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 600;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-default .navbar-nav li.appointment-btn a:hover {
    background: #4267b2;
    color: #ffffff !important;
  }

  

  .navbar-default .navbar-nav li a {
    color: #555555;
    font-size: 13.5px;
    font-weight: 500;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
  }

  .navbar-default .navbar-nav > li a:hover {
    color: #4267b2 !important;
  }

  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a:focus {
    color: #555555;
    background-color: transparent;
  }

  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    color: #393939;
    background-color: transparent;
  }

  .navbar-default .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background: #393939;
    border-color: transparent;
  }

  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus { 
    background-color: transparent;
  }

  /* DROPDOWN MENU */
  .navbar-default .dropdown-menu { 
    background-color: #fff; /* Dropdown background color */ 
    border: 1px solid #ddd; 
    box-shadow: 0 2px 8px rgba(0,0,0,.075); 
  } 
  
  .navbar-default .dropdown-menu > li > a { 
    color: #555; 
    padding: 10px 20px; 
    white-space: nowrap; 
    font-size: 15.5px; 
    font-weight: 500; 
  } 
  
  .navbar-default .dropdown-menu > li > a:hover { 
    background-color: #f5f5f5; 
    color: #4267b2 !important; 
  } 
  
  .navbar-default .navbar-nav > .dropdown > a .caret { 
    margin-left: 5px; 
  } 
  
  .navbar-nav .dropdown:hover .dropdown-menu { 
    display: block;
    animation: fadeIn 1s; 
  } 
    
    @keyframes fadeIn { 
      from { opacity: 0; } 
      to { opacity: 1; } 
    }

  /* Responsive adjustments for the logo of careaccess247 */
@media (max-width: 768px) {
  .navbar-default .navbar-brand .logo {
    max-width: 80px; /* Adjust the maximum width for smaller screens */
    max-height: 80px; /* Adjust the maximum height for smaller screens */
    margin-top: 10px; /* Adjust the top margin for better alignment */
  }

  .navbar-default .navbar-brand .brand-text {
    font-size: 16px; /* Adjust the font size for smaller screens */
    margin-left: 5px; /* Adjust the space between logo and text */
  }
}


 /* END DROPDOWN MENU END */
  
  /*---------------------------------------
      HOME              
  -----------------------------------------*/

  #home h1 {
    color: #ffffff;
    padding-bottom: 10px;
    margin-top: 0;
  }

  #home h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    line-height: inherit;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
  }

  .slider .container {
    width: 100%;
  }

  .slider .owl-dots {
      position: absolute;
      top: 575px;
      width: 100%;
      justify-content: center;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px 7px;
    border: 2px solid #d9d9d9;
    background: transparent;
    display: block;
    backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
  }

  .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background-color: #ffffff;
    border-color: transparent;
  }

  .slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
  }

  .slider .item {
    background-position: inherit;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
  }

  .slider .item-first {
    background-image: url(../images/careaccess247-slider1.webp);
  }

  .slider .item-second {
    background-image: url(../images/careaccess247-slider2.webp);
  }

  .slider .item-third {
    background-image: url(../images/careaccess247-slider3.webp);
  }


  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  #about {
    position: relative;
    background: linear-gradient(to right, rgba(53, 34, 34, 0.9), rgba(95, 89, 102, 0.5)),
    url('/images/team-careaccess247.webp') no-repeat center/cover;
    background-attachment: fixed; /* This line adds the parallax effect */
    color: #fff;
    padding: 70px 30px;
    overflow: hidden;
    position: relative;
  }

  .styled-box { 
    background: rgba(255, 255, 255, 0.6); /* White background with opacity */ 
    box-shadow: 0 4px 8px #a5c422; /* Blue box shadow */ 
    padding: 20px; /* Padding inside the box */ border-radius: 10px; /* Rounded corners */ 
    transition: all 0.3s ease; /* Smooth transition for hover effect */ 
  } 

  .styled-box:hover { 
    box-shadow: 0 6px 12px rgba(235, 71, 71, 0.923); /* Slightly larger shadow on hover */ 
  }

  .profile img,
  .profile figcaption {
    display: inline-block;
    vertical-align: top;
    margin-top: 1em;
  }
  .profile img {
    border-radius: 100%;
    width: 65px;
    height: 65px;
    margin-right: 1em;
  }
  .profile figcaption h3 {
    margin-top: 0;
  }

  #about h6 {
    color: #858585;
    margin: 0;
  }



  /*---------------------------------------
      TEAM MEMBERS              
  -----------------------------------------*/

  .team-thumb {
    background-color: #f9f9f9;
    border-radius: 10px 10px 10px 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .team-info {
    padding: 20px 30px 0 30px;
  }

  .team-contact-info {
    border-top: 1px solid #e9e9e9;
    padding-top: 1.2em;
    margin-top: 1.5em;
  }

  .team-contact-info .fa {
    margin-right: 5px;
    display: inline-block;
  }

  .team-contact-info p {
    margin-bottom: 2px;
  }

  .team-contact-info a {
    color: #757575;
  }

  .team-thumb .social-icon li {
    font-weight: 500;
  }

  .team-thumb .social-icon li a {
    background: #ffffff;
    border-radius: 100%;
    font-size: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 2px 0 2px;
  }

  .team-thumb .social-icon {
    opacity: 0;
    transform: translateY(100%);
    transition: 0.5s 0.2s;
    text-align: center;
    position: relative;
    top: 0;
  }

  .team-thumb:hover .social-icon {
    opacity: 1;
    transition-delay: 0.3s;
    transform: translateY(0px);
    top: -22em;
  }

/*------------------
Cookies-Banner style 
-------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column; /* Change to column direction */
  align-items: flex-start; /* Align items to the start (left) */
  z-index: 1000;
}
.cookie-banner .content {
  margin-bottom: 10px; /* Add some space below the text */
}
.cookie-banner button {
  background-color: #a5c422;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}
.cookie-banner .btn-secondary {
  background-color: #6c757d; /* Style for secondary button */
}

/* Section title for Latest news start 
/*---------------------------------------------------------- 
Care Access Services h3 and Appointment h3 Make an appointment  
----------------------------------------------------------*/
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

  .section-title {
    padding-bottom: 20px;
  }

  .section-title h2 {
    margin-top: 0;
  }
  /* Section title for Latest news end */

  .section-btn {
    background: #a5c422;
    border: 0;
    border-radius: 3px;
    color: #ffffff;
    font-size: inherit;
    font-weight: 500;
    padding: 14px 20px;
    transition: transform 0.1s ease-in;
    transform: translateX(0);
  }

  .section-btn:hover {
    transform: translateY(-5px);
  }

  .text-align-right {
    text-align: right;
  }

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

  .border-top {
    border-top: 1px solid #f2f2f2;
    margin-top: 4em;
    padding-top: 2.5em;
  }

  .btn-gray {
    background: #393939;
  }

  .btn-blue {
    background: #4267b2;
  }

  /* news-thumb in Care Access Services 24/7 start */

  /* Care Access Services Download Brochure Start */
  /* Care Access Services Download Brochure Start */
.download-section {
  position: relative;
  text-align: center;
  background: linear-gradient(to right, rgba(255, 78, 80, 0.5), rgba(139, 85, 217, 0.2)),
    url('/images/personal-care-bg.webp') no-repeat center/cover;
  background-attachment: fixed; /* This line adds the parallax effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 70px 20px;
  overflow: hidden;
}
  
  .brochure-content {
    background: rgba(255, 255, 255, 0.8);
    color: #001f3f;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #005f77;
  }
  
  .brochure-content h1 {
    font-size: 3.9rem;
    margin-bottom: 15px;
  }
  
  .brochure-content p {
    font-size: 1.7rem;
    margin: 0;
  }
  
  .download-brochure-button {
    display: inline-block;
    background: white;
    color: #ff4e50;
    text-decoration: none;
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .download-brochure-button:hover {
    background: #ff4e50;
    color: white;
  }
  
  .download-section:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to right, rgba(255, 78, 80, 0.5), rgba(139, 85, 217, 0.2)),
    url('/images/personal-care-bg.jpg') no-repeat center/cover repeat-x;
    background-size: cover;
  }
  /* Care Access Services Download Brochure end */

  .news-thumb { 
    background: #ffffff; 
    border-radius: 10px; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
  } 
  
  .news-thumb img { 
    border-radius: 10px 10px 0 0; 
    transition: transform 0.3s; 
  } 
  
  .news-thumb img:hover { 
    transform: scale(1.1); 
  } 

  .news-info { 
    padding: 30px; 
    text-align: left; 
    flex-grow: 1; 
  } 
  
  .news-info span { 
    display: block; 
    letter-spacing: 0.5px; 
  } 
  
  .news-info h3 { 
    margin-top: 10px; 
    margin-bottom: 10px; 
  } 
  
  .news-info p { 
    margin-bottom: 20px; 
    font-size: 16px; 
  } 
  
  .read-more-btn { 
    display: inline-block; 
    margin-top: 10px; 
    padding: 10px 15px; 
    background: #ff6600; 
    color: white; 
    text-transform: uppercase;
    border-radius: 5px; 
    text-decoration: none; 
    transition: background 0.3s ease; 
  } 
  
  .read-more-btn:hover { 
    background: #ff4500; 
  } 
  
  .author { 
    border-top: 1px solid #f0f0f0; 
    padding-top: 1.5em; 
    margin-top: 2em; 
  } 
  
  .author img, 
  .author .author-info { 
    display: inline-block; 
    vertical-align: top; 
  } 
  .author-info h5 { 
    margin-bottom: 0; 
  } 
  
  .author img { 
    border-radius: 100%; 
    width: 50px; 
    height: 50px; 
    margin-right: 10px; 
  }
  /* End news-thumb */

  /* Equal height for all news-thumb elements for care access services 24/7 */ 
  .care-services-rw { 
    display: flex; 
    flex-wrap: wrap; 
  } 
  
  .care-access-col { 
    display: 
    flex; 
    flex: 1 0 33%;
    margin-top: 20px; 
  } 
  /*------------------------------------------------------------------------ 
  END Equal height for all news-thumb elements for care access services 24/7 END 
  --------------------------------------------------------------------------*/
   
  /*-------------------------------------
  Care Access Services 24/7 per page files
  ---------------------------------------*/

/* Holiday Care Services Start */
.holiday-care-section {
  font-family: 'Arial, sans-serif';
  background-color: #0aa26a;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.holiday-care-hero {
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.holiday-care-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  opacity: 0.8;
}

/* Request a visit button */
.excellent .visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60%;
  background-color: #004d40;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #004d40;
  transition: background-color 0.3s, color 0.3s;
}

.visit-btn:hover {
  background-color: white;
  color: #004d40;
}

/* h1 Holiday Care title */
.holiday-care-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30%;
  color: #ffffff;
}

/* Main Body Section Styles */
.holiday-care-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.holiday-care-intro {
  background-color: #e0f7fa;
  padding: 50px 0;
  text-align: center;
}

.holiday-care-heading {
  font-size: 2.2em;
  margin: 0 0 20px;
}

/* Holiday Care Text Head sizing */
.holiday-care-text-head {
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.4em;
  margin: 20px;
}

/* Service Details Styles */
.holiday-care-details {
  background-color: #ffffff;
  padding: 50px 0;
}

.holiday-care-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.holiday-care-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #004d40; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.holiday-care-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.holiday-care-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.holiday-care-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

/* Holiday Care Button Styles */
.holiday-care-button {
  display: inline-block;
  background-color: #004d40;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #004d40;
  transition: background-color 0.3s, color 0.3s;
  margin-top: -200px;
  margin-right: 125px;
}

.holiday-care-button:hover {
  background-color: white;
  color: #004d40;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .holiday-care-title {
      font-size: 2em;
      top: 30%;
  }

  .excellent .visit-btn {
      top: 60%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .holiday-care-container {
      width: 90%;
  }

  .holiday-care-content {
      flex-direction: column;
      align-items: center;
  }

  .holiday-care-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .holiday-care-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .holiday-care-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }
}
/* END Holiday Care Services END */


/* Hospital To Home Services Start */
.hospital-to-home-section {
  font-family: 'Arial, sans-serif';
  background-color: #d55911;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.hospital-home-hero {
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.hospital-home-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  opacity: 0.8;
}

/* Request a Hospital visit-btn */
.hospital-excellent .hospital-visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60%;
  background-color: #d55911;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
}

.hospital-visit-btn:hover {
  background-color: white;
  color: #d55911;
}

/* h1 Hospital title */
.hospital-home-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30%;
  color: #ffffff;
}

/* Main Body Section Styles */
.hth-home-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.hospital-home-intro {
  background-color: #e0f7fa;
  padding: 40px 0;
  text-align: center;
}

/* Service Details Styles */
.hospital-home-details {
  background-color: #ffffff;
  padding: 40px 0;
}

.hospital-hth-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.hth-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #d55911; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.hth-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.hth-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.hospital-home-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

/* Hospital Home Button Styles */
.hospital-home-button {
  display: inline-block;
  background-color: #d55911;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #d55911;
  transition: background-color 0.3s, color 0.3s;
}

.hospital-home-button:hover {
  background-color: white;
  color: #004d40;
}

/* Second section: Hospital to Home */
.hospital-to-home-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
}

.hth-row {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.hth-content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.hth-content p {
  color: #333;
}

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

.hth-right {
  text-align: left;
}

.hth-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.hth-button:hover {
  background-color: #005fa1;
}

.hth-vertical-line {
  width: 2px;
  background-color: #cccccc;
  height: 50vh;
  align-self: stretch;
}

.hth-right ul {
  list-style: none;
  padding: 0;
}

.hth-checkmark {
  position: relative;
  padding-left: 30px;
}

.hth-checkmark::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: green;
  font-size: 20px;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .hospital-home-title {
      font-size: 2em;
      top: 27%;
  }

  .hospital-excellent .hospital-visit-btn {
      top: 59%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .hth-home-container {
      width: 90%;
  }

  .hospital-hth-content {
      flex-direction: column;
      align-items: center;
  }

  .hth-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .hth-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .hospital-home-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }

  .hospital-to-home-container {
      padding: 20px; /* Adjust padding for smaller screens */
  }

  .hth-row {
      flex-direction: column;
      align-items: center;
  }

  .hth-vertical-line {
      display: none; /* Hide vertical line on smaller screens */
  }

  .hth-button {
      width: 100%;
      text-align: center;
  }
}
/* END Hospital To Home Services END */


/* Live in Care Services Start */
.live-in-care-section {
  font-family: 'Arial, sans-serif';
  background-color: #4267b2;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.live-in-care-hero {
  padding: 10px 0;
  position: relative;
  text-align: center;
}

.live-in-care-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  opacity: 0.8;
}

/* Request a visit button */
.live-in-excellent .live-in-visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 59%;
  background-color: #4267b2;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
}

.live-in-visit-btn:hover {
  background-color: white;
  color: #4267b2;
}

/* h1 Live in Care title */
.live-in-care-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 32%;
  color: #ffffff;
}

/* Main Body Section Styles */
.live-in-care-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.live-in-care-intro {
  background-color: #e0f7fa;
  padding: 50px 0;
  text-align: center;
}

.live-in-care-heading {
  font-size: 2em;
  margin: 0 0 20px;
}

/* Live in Care Text Head sizing */
.live-in-care-text-head {
  line-height: 1.6; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  font-style: italic;
  margin: 20px;
}

/* Service Details Styles */
.live-in-care-details {
  background-color: #ffffff;
  padding: 50px 0;
}

.live-in-care-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.live-in-care-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #4267b2; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.live-in-care-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.live-in-care-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.live-in-care-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

/* Live in Care Button Styles */
.live-in-care-button {
  display: inline-block;
  background-color: #4267b2;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #4267b2;
  transition: background-color 0.3s, color 0.3s;
  
  margin-top: -360px;
  margin-right: 125px;
}

.live-in-care-button:hover {
  background-color: white;
  color: #004d40;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .live-in-care-title {
      font-size: 2em;
      top: 36%;
  }

  .live-in-excellent .live-in-visit-btn {
      top: 52%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .live-in-care-container {
      width: 90%;
  }

  .live-in-care-content {
      flex-direction: column;
      align-items: center;
  }

  .live-in-care-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .live-in-care-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .live-in-care-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }
}
/* END Live in Care Services END */


/* Night Care Services Start */
.night-care-section {
  font-family: 'Arial, sans-serif';
  background-color: #004d40;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.night-care-hero {
  padding: 35px 0;
  position: relative;
  text-align: center;
}

.night-care-image {
  width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: cover;
  opacity: 0.8;
}

/* Request a Night Care visit button */
.night-care-excellent .night-care-visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 59%;
  background-color: #004d40;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #004d40;
  transition: background-color 0.3s, color 0.3s;
}

.night-care-visit-btn:hover {
  background-color: white;
  color: #004d40;
}

/* h1 Night Care title */
.night-care-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30%;
  color: #ffffff;
}

/* Main Body Section Styles */
.nc-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

/* Service Details Styles */
.night-care-details {
  background-color: #ffffff;
  padding: 40px 0;
}

.night-care-nc-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

.nc-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.night-care-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

/* Size and Design of side image */
.nc-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #004d40; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
  margin-top: 35px;
}

.nc-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.night-care-nc-button {
  display: inline-block;
  background-color: #004d40;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #004d40;
  transition: background-color 0.3s, color 0.3s;
}

.night-care-nc-button:hover {
  background-color: white;
  color: #004d40;
}

/* Second section: Night Care */
.nc-night-care-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
}

.nc-row {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.nc-content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.nc-content p {
  color: #333;
}

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

.nc-right {
  text-align: left;
}

.nc-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nc-button:hover {
  background-color: #005fa1;
}

.nc-vertical-line {
  width: 2px;
  background-color: #cccccc;
  height: 50vh;
  align-self: stretch;
}

.nc-right ul {
  list-style: none;
  padding: 0;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .night-care-title {
      font-size: 2em;
      top: 36%;
  }

  .night-care-excellent .night-care-visit-btn {
      top: 58%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .nc-container {
      width: 90%;
  }

  .night-care-nc-content {
      flex-direction: column;
      align-items: center;
  }

  .nc-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .nc-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .night-care-nc-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }

  .nc-night-care-container {
      padding: 20px; /* Adjust padding for smaller screens */
  }

  .nc-row {
      flex-direction: column;
      align-items: center;
  }

  .nc-vertical-line {
      display: none; /* Hide vertical line on smaller screens */
  }

  .nc-button {
      width: 100%;
      text-align: center;
  }
}
/* END Night Care Services END */


/* Personal Care Services Start */
.personal-care-section {
  font-family: 'Arial, sans-serif';
  background-color: #d55911;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.personal-care-hero {
  padding: 35px 0;
  position: relative;
  text-align: center;
}

.personal-care-image {
  width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: cover;
  opacity: 0.8;
}

/* Request a Personal visit button */
.personal-care-excellent .personal-care-visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 59%;
  background-color: #d55911;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
}

.personal-care-visit-btn:hover {
  background-color: white;
  color: #d55911;
}

/* h1 Personal title */
.personal-care-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30%;
  color: #ffffff;
}

/* Main Body Section Styles */
.pc-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

/* Service Details Styles */
.personal-care-details {
  background-color: #ffffff;
  padding: 40px 0;
}

.personal-care-pc-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

.pc-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.personal-care-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

/* Size and Design of side image */
.pc-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #d55911; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
  margin-top: 30px;
}

.pc-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

/* Second section: Personal Care */
.pc-personal-care-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
}

.pc-row {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.pc-content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.pc-content p {
  color: #333;
}

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

.pc-right {
  text-align: left;
}

.pc-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d55911;
  color: white;
  border: 2px solid #d55911; 
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.pc-button:hover {
  background-color: white;
  color: #d55911;
}

.pc-vertical-line {
  width: 2px;
  background-color: #cccccc;
  height: 50vh;
  align-self: stretch;
}

.pc-right ul {
  list-style: none;
  padding: 0;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .personal-care-title {
      font-size: 2em;
      top: 30%;
  }

  .personal-care-excellent .personal-care-visit-btn {
      top: 58%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .pc-container {
      width: 90%;
  }

  .personal-care-pc-content {
      flex-direction: column;
      align-items: center;
  }

  .pc-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .pc-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .personal-care-pc-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }

  .pc-personal-care-container {
      padding: 20px; /* Adjust padding for smaller screens */
  }

  .pc-row {
      flex-direction: column;
      align-items: center;
  }

  .pc-vertical-line {
      display: none; /* Hide vertical line on smaller screens */
  }

  .pc-button {
      width: 100%;
      text-align: center;
  }
}
/* END Personal Care Services END */


/* Respite Care Services Start */
.respite-care-section {
    font-family: 'Arial, sans-serif';
    background-color: #4267b2;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.respite-care-hero {
    padding: 10px 0;
    position: relative;
    text-align: center;
}

.respite-care-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    opacity: 0.8;
}

/* Request a visit button */
.respite-excellent .respite-visit-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 57%;
    background-color: #4267b2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
}

.respite-visit-btn:hover {
    background-color: white;
    color: #4267b2;
}

/* h1 Respite Care title */
.respite-care-title {
    font-size: 2.5em;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30%;
    color: #ffffff;
}

/* Main Body Section Styles */
.respite-care-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Service Details Styles */
.respite-care-details {
    background-color: #ffffff;
    padding: 50px 0;
}

.respite-care-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.respite-care-side-image {
    max-width: 450px;
    margin-left: 20px;
    border-radius: 10px; /* Add rounded corners */
    border: 3px solid #4267b2; /* Add a border with the same color as the header */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.respite-care-side-image:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.respite-care-text-container {
    flex: 1;
}

/* Paragraph body img side sizing */
.respite-care-text {
    line-height: 1.5; /* Increase line height for better readability */
    letter-spacing: 0.5px; /* Add a bit of space between letters */
    color: #333; /* Ensure the text color is easy to read */
    font-size: 1.3em;
    margin: 0 0 20px;
    text-align: justify;
}

.respite-care-button {
    display: inline-block;
    background-color: #4267b2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #4267b2;
    transition: background-color 0.3s, color 0.3s;
    margin-top: -70px;
    margin-right: 125px;
}

.respite-care-button:hover {
    background-color: white;
    color: #4267b2;
}

/* Second Section of Respite Care */
.sec-respite-care-details {
    background-color: #ffffff;
    padding: 50px 0;
}

.sec-respite-care-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

.sec-respite-care-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.sec-respite-care-side-image {
    max-width: 450px;
    margin-left: 2px;
    margin-top: 25px;
    border-radius: 10px; /* Add rounded corners */
    border: 3px solid #004d40; /* Add a border with the same color as the header */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.sec-respite-care-side-image:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.sec-respite-care-text-container {
    flex: 1;
    margin: 0 40px;
}

/* Paragraph body img side sizing */
.sec-respite-care-text {
    line-height: 1.5; /* Increase line height for better readability */
    letter-spacing: 0.5px; /* Add a bit of space between letters */
    color: #333; /* Ensure the text color is easy to read */
    font-size: 1.3em;
    margin: 0 0 20px;
    text-align: justify;
}

/* Third Section of Respite Care */
.rc-respite-care-details {
    background-color: #ffffff;
    padding: 50px 0;
}

.rc-respite-care-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

.rc-respite-care-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.rc-respite-care-side-image {
    max-width: 450px;
    margin-left: 20px;
    border-radius: 10px; /* Add rounded corners */
    border: 3px solid #004d40; /* Add a border with the same color as the header */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.rc-respite-care-side-image:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.rc-respite-care-text-container {
    flex: 1;
}

/* Paragraph body img side sizing */
.rc-respite-care-text {
    line-height: 1.5; /* Increase line height for better readability */
    letter-spacing: 0.5px; /* Add a bit of space between letters */
    color: #333; /* Ensure the text color is easy to read */
    font-size: 1.3em;
    margin: 0 0 20px;
    text-align: justify;
}

.rc-respite-care-button {
    display: inline-block;
    background-color: #004d40;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #004d40;
    transition: background-color 0.3s, color 0.3s;
}

.rc-respite-care-button:hover {
    background-color: white;
    color: #004d40;
}

.rc-checkmark {
    position: relative;
    padding-left: 30px;
}

.rc-checkmark::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: green;
    font-size: 20px;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .respite-care-title {
        font-size: 2em;
        top: 35%;
    }

    .respite-excellent .respite-visit-btn {
        top: 50%;
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .respite-care-container, .sec-respite-care-container, .rc-respite-care-container {
        width: 90%;
    }

    .respite-care-content, .sec-respite-care-content, .rc-respite-care-content {
        flex-direction: column;
        align-items: center;
    }

    .respite-care-side-image, .sec-respite-care-side-image, .rc-respite-care-side-image {
        max-width: 100%; /* Ensure the image scales down on smaller screens */
        margin: 20px 0;
    }
  }

/* END Respite Care Services END */


/* Specialist Care Services Start */
.specialist-care-section {
  font-family: 'Arial, sans-serif';
  background-color: #d55911;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.specialist-care-hero {
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.specialist-care-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  opacity: 0.8;
}

/* h1 specialist title */
.specialist-care-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 40%;
  color: #ffffff;
}

/* Request a specialist visit button */
.specialist-excellent .specialist-visit-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  background-color: #d55911;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #f9f9f9;
  transition: background-color 0.3s, color 0.3s;
}

.specialist-visit-btn:hover {
  background-color: white;
  color: #d55911;
}

/* Main Body Section Styles */
.specialist-care-intro {
  background-color: #e0f7fa;
  padding: 40px 0;
  text-align: center;
}

.specialist-care-container {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

/* Specialist Service Details Styles */
.specialist-care-details {
  background-color: #ffffff;
  padding: 40px 0;
}

.specialist-care-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap; /* Add this to make content wrap on smaller screens */
}

/* Size and Design of side image */
.specialist-care-side-image {
  max-width: 450px;
  margin-left: 20px;
  border-radius: 10px; /* Add rounded corners */
  border: 3px solid #d55911; /* Add a border with the same color as the header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.specialist-care-side-image:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance the shadow on hover */
}

.specialist-care-text-container {
  flex: 1;
}

/* Paragraph body img side sizing */
.specialist-care-text {
  line-height: 1.5; /* Increase line height for better readability */
  letter-spacing: 0.5px; /* Add a bit of space between letters */
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.3em;
  margin: 0 0 20px;
  text-align: justify;
}

.specialist-care-button {
  display: inline-block;
  background-color: #d55911;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #d55911;
  transition: background-color 0.3s, color 0.3s;
}

.specialist-care-button:hover {
  background-color: white;
  color: #d55911;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .specialist-care-title {
      font-size: 2em;
      top: 50%;
  }

  .specialist-excellent .specialist-visit-btn {
      top: 55%;
      padding: 8px 16px;
      font-size: 0.9em;
  }

  .specialist-care-container {
      width: 90%;
  }

  .specialist-care-content {
      flex-direction: column;
      align-items: center;
  }

  .specialist-care-side-image {
      max-width: 100%; /* Ensure the image scales down on smaller screens */
      margin: 20px 0;
  }

  .specialist-care-text-container {
      margin: 20px 0; /* Add margin to separate from image */
  }

  .specialist-care-button {
      width: 100%;
      text-align: center;
      margin: 10px 0;
      float: none;
  }
}

/* For we will help connected to about us second section */
/* END Specialist Care Services END */


/* Social Companionship Services Start */
.social-companionship-section {
  font-family: 'Arial, sans-serif';
  background-color: #4267b2;
  color: white;
  padding: 30px 0;
  text-align: center;
  overflow-x: hidden;
}

.social-companionshiph-hero {
  padding: 10px 0;
  position: relative;
  text-align: center;
}

.social-companionship-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  opacity: 0.8;
}

/*h1 Holiday Care title */
.social-companionship-title {
  font-size: 2.5em;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 42%;
  color: #ffffff;
}

/*Request a visit-btn */
.social-companionship-excellent .social-companionship-visit-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 53%;
    background-color: #4267b2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
}

.social-companionship-visit-btn:hover {
  background-color: white;
  color: #4267b2;
}

.social-companionship-container {
  max-width: 1450px;
  margin: 20px auto;
  padding: 90px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow-x: hidden;
}

.social-comp-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.social-comp-text {
  flex: 1;
  min-width: 700px;
  
}

.social-comp-text p {
  text-align: justify;
  line-height: 1.5; /* Increase line height for better readability */ 
  letter-spacing: 0.5px; /* Add a bit of space between letters */ 
  color: #333; /* Ensure the text color is easy to read */
  font-size: 1.4em;
  margin: 0 0 20px; /* margin-bottom: 20px; */
}

.social-comp-vertical-line {
  width: 2px;
  background-color: #4a90e2;
  margin-left: 20px;
  margin-right: 20px;
  
}
.social-comp-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 1;
  min-width: 300px;
}
.social-comp-image-wrapper img {
  max-width: 100%;
  width: 900px;
  height: 300px;
  border-radius: 16px;
  border: 4px solid #4a90e2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Add a smooth transition */
}

.social-comp-image-wrapper img:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
  box-shadow: 0 8px 16px rgba(198, 28, 28, 0.4); /* Enhance the shadow on hover */
}

.social-comp-italic-text {
  font-style: italic;
  margin-top: 10px;
  word-wrap: break-word;
  font-size: 1.2em;
  text-align: justify;
  line-height: 1.6; /* Increase line height for better readability */ 
  letter-spacing: 0.5px; /* Add a bit of space between letters */ 
  color: #333; /* Ensure the text color is easy to read */
  margin: 10px 0 20px; /* margin-bottom: 20px; */
}
.social-comp-button {
  display: inline-block;
  padding: 12px 25px;
  color: #fff;
  background-color: #4a90e2;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: 500;
  text-align: right;
  margin-right: auto;
}
.social-comp-button:hover {
  background-color: #357ab7;
}
@media (max-width: 768px) {
  .social-companionship-title {
    font-size: 2em;
    top: 38%;
  }

  .social-companionship-container {
      margin: 10px;
      padding: 20px;
  }
  .social-comp-content {
      flex-direction: column;
  }
  .social-comp-image-wrapper {
      align-items: center;
  }
  .social-comp-image-wrapper img {
      width: 100%;
      height: auto;
  }
  .social-comp-italic-text, .social-comp-button {
      text-align: center;
  }
  .social-comp-vertical-line {
      display: none; /* Hide the vertical line on small screens */
  }
}

/* END Social Companionship Services END */

  /*-----------------------------------------------------
  END of All Care Access Services 24/7 per page files END
  ------------------------------------------------------*/

 /*----------------------------------------------
  Find Your Home Care and Request a Visit Section
  ----------------------------------------------*/
#find-your-home-section {
  /*background: url('your-image-url.jpg') no-repeat center center fixed;*/
  background-color: #000fff;
  background-size: cover;
  padding: 100px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

#find-your-home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.fyh-div {
  position: relative;
  z-index: 2;
}

.fyh-div h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #ffffff;
}

.fyh-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.find-y-home {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px;
  margin: 15px;
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.find-y-home i {
  font-size: 2em;
  margin-bottom: 10px;
  color: blue;
}

.find-y-home p {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .fyh-cards {
    flex-direction: column;
  }
}


  /*GOOGLE MAP */
  #google-map {
    line-height: 0;
    margin: 0;
    padding: 0;
  }

  /*---------------------------------------
     SERVICE              
  -----------------------------------------*/

  #service {
    background: #a5c422;
  }

  #service h2,
  #service h4 {
    color: #ffffff;
  }

  #service p {
    color: #d9d9d9;
  }

  #service .service-thumb {
    padding: 0 22px;
  }

  #service .fa {
    font-size: 50px;
    margin-bottom: 10px;
    background: #ffffff;
    color: #a5c422;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 100%;
  }


  /*---------------------------------------
      NEWS             
  -----------------------------------------*/
  #about, #team, #news,
  #news-detail {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow-x: hidden;
  }

  #news, #service {
    text-align: center;
  }

  #news, #news-detail {
    background: #f9f9f9;
  }

  #news-detail blockquote {
    margin: 30px 0;
    font-size: 1.3em;
    text-align: justify;
  }
/* start here jester */
  .news-detail-thumb .news-image img {
    border-radius: 10px;
  }

  .about-img-side {
    margin-top: 120px;
    max-width: fit-content;
    max-height: 650px;
    height: auto;
    width: auto;
    border-radius: 9px;
  }

  .news-detail-thumb h3 { /* Our ethos h3 increase or decrease change */
    margin-bottom: 8px;
    font-size: 35px;
  }

  .news-detail-thumb p { /* Our ethos paragraph increase or decrease change */
    font-size: 1.5em;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-align: justify;
  }

  .news-image {
    margin-bottom: 30px;
    position: relative;
  }

  .news-image img {
    width: 100%;
  }

  .news-detail-thumb ul {
    margin: 32px 12px 22px 0px;
  }

  .news-detail-thumb ul li {
    list-style: circle;
    font-weight: normal;
    padding: 6px 12px 6px 0px;
  }

  .news-sidebar {
    margin-top: 16px;
  }

  .news-social-share {
    text-align: center;
    padding-top: 22px;
  }

  .news-social-share .btn {
    border-radius: 100px;
    border: none;
    font-size: 10px;
    font-weight: 600;
    margin: 2px 6px;
    padding: 8px 14px;
  }

  .news-social-share .btn-primary {
    background: #1877F2;
  }
  .news-social-share .btn-primary:hover {
    background: #30609e;
  }

  .news-social-share .btn-success {
    background: linear-gradient(#f9ce34, #ee2a7b, #6228d7);
  }
  .news-social-share .btn-success:hover {
    background: linear-gradient(#d0bc74, #ba517d, #7f50de);
  }

  .news-social-share .btn-danger {
    background: #0A66C2;
  }
  .news-social-share .btn-danger:hover {
    background: #4092e3;
  }

  .news-social-share a .fa {
    padding-right: 4px;
  }

  .recent-post {
    padding-top: 2px;
    padding-bottom: 18px;
  }

  .recent-post .media img {
    border-radius: 100%;
    width: 80px;
    height: 80px;
    margin-right: 5px;
  }

  .recent-post .media-heading {
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
    margin-top: 5px;
  }

  .news-categories {
    margin-top: 8px;
  }

  .news-categories li a {
    color: #2b2b2b;
  }

  .news-ads {
    background: #ffffff;
    border-right: 4px solid #2b2b2b;
    padding: 42px;
    text-align: center;
    margin: 26px -80px 26px 0; /* width of your privacy is central -80px of the container transparent white box adjustment default 0 */
  }

  .news-ads.sidebar-ads {
    border-left: 4px solid #2b2b2b;
    border-right: 0px;
  }

  .news-ads h4 { /* increase and decrease and justify for h4 of your privacy is central */
    font-size: 45px;
    text-align: center;
  }

  .sidebar-ads p { /* increase and decrease and justify for paragraph of your privacy is central */
    font-size: 20px; 
    line-height: 1.5;
    letter-spacing: 0.4px;
    text-align: justify;
  }

  .news-tags h4 {
    padding-bottom: 6px;
  }

  .news-categories li,
  .news-tags li {
    list-style: none;
    display: inline-block;
    margin: 4px;
  }

  .news-tags li a {
    background: #393939;
    border-radius: 50px;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    min-width: 30px;
    padding: 6px 12px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
  }

  .news-tags li a:hover {
    background: #4267b2;
  }



  /*---------------------------------------
      APPOINTMENT             
  -----------------------------------------*/
  #appointment {
    padding-top: 100px;
  }

  #appointment label {
    color: #393939;
    font-weight: 500;
    font-size: 16px; /* form label text change increase or decrease */
  }

  #appointment .form-control {
    background: #f9f9f9;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    font-size: 14px; /* form placeholder text change increase or decrease */
    font-weight: normal;
    margin-bottom: 15px;
    transition: all ease-in-out 0.4s;
  }

  #appointment input,
  #appointment select {
    height: 45px;
  }

  /*For Checkbox Consent Make an Appointment */
  .map-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .map-form-control {
    vertical-align: middle; /* Ensures the checkbox is aligned with the label text */
}

.map-form-control-label {
    font-size: 14px; /* Adjust text size as needed */
    color: #393939; /* Ensure it matches your form's design */
    margin-left: 12px;
    margin-bottom: 0; /* Ensure no extra space below the label */
    vertical-align: middle; /* Ensures the label text is aligned with the checkbox */
    display: inline-block; /* Ensures the label text stays inline with the checkbox */
}

  #appointment button#cf-submit {
    background: #a5c422;
    color: #ffffff;
    font-weight: 600;
    height: 55px;
  }

  #appointment button#cf-submit:hover {
    background: #393939;
    color: #ffffff;
  }

  /*FYHC BUTTON FORM PART */
  #appointment button#fyhc-submit {
    background: #4267b2;
    color: #ffffff;
    font-weight: 600;
    height: 55px;
    border: 1px solid #4267b2;
  }

  #appointment button#fyhc-submit:hover {
    background: #f9f9f9;
    color: #4257b2;
  }

  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  footer h4 {
    padding-bottom: 5px;
  }

  footer a {
    color: #757575;
  }

  footer a:hover {
    color: #4267b2;
  }

  .contact-info {
    padding-top: 10px;
  }
  
  .footer-thumb p { /* for contact-info p, opening-hours p, to increase decrease paragraph font-size */
    font-size: 15px;
  }

  .contact-info .fa {
    background: #393939;
    border-radius: 100%;
    color: #ffffff;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 2px;
  }

  .contact-info .fa:hover {
    background: red;
  }

  .latest-stories {
    margin-bottom: 20px;
  }

  .stories-image,
  .stories-info {
    display: inline-block;
    vertical-align: top;
  }

  .stories-image img {
    border-radius: 100%;
    width: 65px;
    height: 65px;
    transition: transform 0.3s;
  }

  .stories-image img:hover {
    transform: scale(1.1);
  }

  .stories-info {
    margin-left: 15px;
  }

  .stories-info h5 {
    margin-bottom: 2px;
  }

  .stories-info span {
    color: #858585;
    font-size: 12px;
  }

  .opening-hours p { 
    line-height: 18px;
  }

  .opening-hours span {
    font-weight: 500;
    display: inline-block;
    padding-left: 10px;
  }

  .copyright-text p,
  .footer-link a {
    line-height: 2.5;
  }

  .copyright-text p {
    font-size: 15px; 
  }

  .footer-link a {
    color: #858585;
    font-size: 14px;
    display: inline-block;
    padding: 0 10px;
    margin-top: 4px;
    font-weight: 500;
  }

  .angle-up-btn {
    position: relative;
    bottom: 4em;
    display: block;
  }

  .angle-up-btn a {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 3px;
    font-size: 20px;
    color: #393939;
    display: inline-block;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 38px;
    transition: transform 0.1s ease-in;
    transform: translateX(0);
  }

  .angle-up-btn a:hover {
    background: #4267b2;
    color: #ffffff;
    transform: translateY(-5px);
  }


  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #464646;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
  }

  .social-icon li a:hover {
    background: #4267b2;
    color: #ffffff;
  }


  
/*-----------------------------------------------
  What we Believe Section Devine Mercy Section id               
-------------------------------------------------*/
#what-we-believe {
  padding: 100px 50px;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Devine-Mercy 3rd Section Start */ 
.devine-mercy-3rd-section { 
  text-align: center; 
  padding: 60px 20px; 
  background-color: #f9f9f9; } 
  
  .devine-believe { 
    margin-bottom: 40px; 
  } 
  
  .devine-believe h2 { 
    font-size: 3.5rem; 
    margin-bottom: 10px; 
    color: #333; 
  } 
  
  .devine-believe p { 
    font-size: 1.9rem; 
    line-height: 1.5;
    letter-spacing: 0.4px; 
    text-align: justify;
    color: #555; 
  } 
  
  .devine-wwh-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
  } 
  
  .devine-wwh-card { 
    background: #fff; 
    border: 1.8px solid #ff4e50; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px #0078d4;
    padding: 20px; flex: 1 1 300px; 
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  } 
  
  .devine-wwh-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(56, 173, 32, 1); 
  } 
  
  .devine-wwh-icon { 
    font-size: 3.5rem; color: #005f77; 
    margin-bottom: 15px; 
  } 
  
  .devine-wwh-card h2 { 
    font-size: 2.4rem; 
    margin-bottom: 10px; 
    color: #333; 
  } 
  
  .devine-wwh-card p { 
    font-size: 1.9rem; 
    line-height: 1.5; 
    letter-spacing: 0.5px; 
    color: #555; 
  } 
  
  @media (max-width: 768px) { 
    .devine-wwh-card { 
      flex: 1 1 45%; 
    } 
    
    .devine-wwh-icon { 
      font-size: 2.5rem; 
    } 
    
    .devine-wwh-card h2 { 
      font-size: 1.8rem; 
    } 
    
    .devine-wwh-card p { 
      font-size: 1.6rem; 
      line-height: 1.4; 
    } 
  } 
  
  @media (max-width: 480px) { 
    .devine-wwh-card { 
      flex: 1 1 100%; 
      margin-bottom: 20px; 
    } 
    
    .devine-wwh-icon { 
      font-size: 2rem; 
    } 
    
    .devine-wwh-card h2 { 
      font-size: 1.6rem; 
    } 
    .devine-wwh-card p { 
      font-size: 1.4rem; 
      line-height: 1.3; 
    } 
  } 
  /* Devine-Mercy 3rd Section End */


/*---------------------------------------
      Why Choose Us               
-----------------------------------------*/

#why-choose-us {
  padding: 100px 50px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

#why-choose-us h2 {
  text-align: center;
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 10px;
}

#why-choose-us p {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Row and column styling */
#why-choose-us .content-container {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin-left: 20px; /* Adjust this value as needed */
}

#why-choose-us .image-container {
  flex: 0 0 auto;
  margin-right: 20px;
  margin-left: 20px; /* Add margin-left if needed for spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
}

#why-choose-us .image-container img {
  height: 638px; /* Adjust height as needed */
  width: 420px; /* Maintain aspect ratio */
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1.5px solid red; /* Red border */  
  box-shadow: 0px 4px 8px rgba(83, 161, 41, 0.8); /* Optional: Add some shadow for a modern look */
}

#why-choose-us .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex: 1;
}

#why-choose-us .column {
  flex: 1 1 48%; /* Adjust column width */ 
  margin: 0 10px; 
  display: flex; 
  flex-direction: column;
}

/* Card styling */
#why-choose-us .card {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1; /* Makes all cards in a column take equal space */ 
  display: flex; 
  flex-direction: column;
}

#why-choose-us .card h3 {
  color: #cc0000;
  font-size: 1.6em;
  margin-bottom: 10px;
  letter-spacing: 0.9px;
  text-align: justify;
}

#why-choose-us .card p {
  letter-spacing: 0.9px;
  color: #333;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1; /* Ensures the paragraph takes the available space */
  font-size: 1.4em;
}

#why-choose-us .card:last-child { 
  margin-bottom: 0; /* Removes the margin from the last card */ 
}

/* Vertical line styling */ 
.vertical-line { 
  width: 2px; 
  background-color: #ccc; 
  height: auto;  
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  #why-choose-us .content-container {
    margin-left: 10px; /* Adjust as needed */
  }
}

@media (max-width: 768px) {
  #why-choose-us {
    padding: 50px 20px;
  }

  #why-choose-us .content-container {
    flex-direction: column;
    align-items: center;
  }

  #why-choose-us .image-container {
    margin: 0 0 20px 0;
  }

  #why-choose-us .row {
    flex-direction: column;
  }

  #why-choose-us .column {
    flex: 1 1 100%;
    margin: 0;
  }

  .vertical-line { 
    display: none; 
  }

}

@media (max-width: 480px) {
  #why-choose-us h2 {
    font-size: 1.8em;
  }

  #why-choose-us p {
    font-size: 1em;
  }

  #why-choose-us .image-container img {
    height: 200px;
    width: 100px;
  }
}

/*---------------------------------------
      Ready to Get Started styles              
-----------------------------------------*/

@keyframes gradientAnimation {
  0% {
    background: linear-gradient(45deg, #ff4e50, #8b55d9);
  }
  25% {
    background: linear-gradient(45deg, #8b55d9, #42a5f5);
  }
  50% {
    background: linear-gradient(45deg, #42a5f5, #66bb6a);
  }
  75% {
    background: linear-gradient(45deg, #66bb6a, #ffca28);
  }
  100% {
    background: linear-gradient(45deg, #ffca28, #ff4e50);
  }
}

.ready-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(45deg, #ff4e50, #8b55d9);
  color: white;
  border-radius: 0 0 50% 50% / 5%;
  padding: 50px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  animation: gradientAnimation 10s ease infinite;
  overflow-x: hidden;
}

.ready-section .ready-seo-h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: black;
}

.ready-section .started h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.ready-section .started p {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.ready-section .button {
  display: inline-block;
  background: white;
  color: #ff4e50;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.ready-section .button:hover {
  background: #ff4e50;
  color: white;
}

/* ---------------
Care Team Section 
-----------------*/
.care-team-section {
  position: relative;
  text-align: center;
  background: linear-gradient(to right, rgba(255, 78, 80, 0.9), rgba(139, 85, 217, 0.5)),
    url('/images/social-companionship.webp') no-repeat center/cover;
  color: #fff;
  padding: 200px 20px;
  overflow: hidden;
}

.care-team-content {
  background: rgba(255, 255, 255, 0.8);
  color: #001f3f;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #005f77;
}

.care-team-content h2 {
  font-size: 4rem; /*font-size: 2.5rem; default*/
  margin-bottom: 15px;
}

.care-team-content p {
  font-size: 2rem; /*font-size: 1.2rem; default*/
  margin: 0;
}

.care-team-section:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url('wave-shape.svg') repeat-x;
  background-size: cover;
}

/* ---------------
Care Team Section-end 
-----------------*/

/*----------------- 
How we work section 
------------------*/
.howwework-section {
  position: relative;
  text-align: center;
  background: linear-gradient(to right, rgba(255, 78, 80, 0.9), rgba(139, 85, 217, 0.5)),
    url('/images/respite-care-bg.webp') no-repeat center/cover;
  color: #fff;
  padding: 190px 20px;
  overflow: hidden;
  overflow-x: hidden;
}

.howwework-content {
  background: rgba(255, 255, 255, 0.8);
  color: #001f3f;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #005f77;
}

.howwework-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.howwework-content p {
  font-size: 1.2rem;
  margin: 0;
}

.howwework-section:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url('wave-shape.svg') repeat-x;
  background-size: cover;
}

/* hww 2nd-section-box-hww-container-start */
.hww-section {
  text-align: center;
  padding: 60px 20px; /* Increased spacing between sections */
  background-color: #fff;
  overflow-x: hidden;
}

.hww-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Ensure proper spacing between cards */
}

.hww-card {
  background: #fff;
  border: 1.8px solid #ff4e50;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0078d4;
  padding: 20px;
  width: 300px; /* Fixed width for small cards */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hww-card-large {
  width: calc(100% - 40px); /* Large cards span most of the container width */
  max-width: 600px; /* Keep a reasonable max-width for large screens */
}

.hww-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(56, 173, 32, 1); 
}

/*.hww-icon {
  font-size: 1rem;
  color: #005f77;
  margin-bottom: 15px;
} */

.hww-card h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.hww-card p {
  font-size: 1.8rem;
  color: #555;
  text-align: justify;
}
/*END hww-2nd-section-box-hww-container END */

/* HWW 3RD SECTION START */
.hww-3rd-section {
  text-align: center;
  padding: 50px 50px;
  background-color: #f9f9f9;
  background: url('../images/pom-sec-div-bg.webp') no-repeat top center;
  background-size: cover;
  overflow-x: hidden;
}

.hww-about-info {
  padding: 20px; 
  margin-bottom: 40px;
}

.hww-about-info h2 {
  font-size: 35px; 
  font-weight: bold; 
  margin-bottom: 10px; 
  color: #333;
}

.hww-about-info p {
  font-size: 20px; 
  letter-spacing: 0.5px; 
  line-height: 1.6; 
  color: #333; 
  margin: 0 auto; 
  max-width: 850px; 
  text-align: center;
}

.hww-wwh-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hww-wwh-card {
  background: #fff;
  border: 1.8px solid #ff4e50;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0078d4;
  padding: 20px;
  flex: 1 1 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hww-wwh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(56, 173, 32, 1); 
}

.hww-wwh-icon {
  font-size: 3.5rem;
  color: #005f77;
  margin-bottom: 15px;
}

.hww-wwh-card h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #333;
}

.hww-wwh-card p {
  font-size: 1.9rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #555;
}

@media (max-width: 768px) {
  .howwework-section {
    padding: 100px 10px;
    overflow-x: hidden;
  }

  .howwework-content {
    padding: 20px 10px;
    max-width: 90%;
  }

  .howwework-content h1 {
    font-size: 2.5rem;
  }

  .howwework-content p {
    font-size: 1rem;
  }
  
  .hww-wwh-card {
    flex: 1 1 45%;
  }

  .hww-wwh-icon {
    font-size: 2.5rem;
  }

  .hww-wwh-card h2 {
    font-size: 1.8rem;
  }

  .hww-wwh-card p {
    font-size: 1.6rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .howwework-section {
    padding: 80px 5px;
    overflow-x: hidden;
  }

  .howwework-content {
    padding: 15px 5px;
    max-width: 100%;
  }

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

  .howwework-content p {
    font-size: 0.9rem;
  }

  .hww-wwh-card {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .hww-wwh-icon {
    font-size: 2rem;
  }

  .hww-wwh-card h2 {
    font-size: 1.6rem;
  }

  .hww-wwh-card p {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}
/* HWW 3RD SECTION END */
/* How we work section End */

/*------------------------- 
AVAILABLE JOBS SECTION START 
--------------------------*/
.work-section {
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  font-family: 'Poppins', sans-serif;
  /*end body paste*/
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 1200px;
}

.work-section h1 {
  font-size: 4.5rem;
  color: #0d47a1;
}

.work-section p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #555;
}

.apply-btn {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 35px;
  background-color: #0d47a1;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.apply-btn:hover {
  background-color: #1565c0;
}

.search-form {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-form input, .search-form button, .search-form label {
  font-size: 1rem;
}

.search-form input[type="text"] {
  font-size: 15px;
  padding: 12px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-form input[type="checkbox"] {
  margin-right: 10px;
}

.search-form label {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.search-form button {
  font-size: 14px;
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  background-color: #0d47a1;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #1565c0;
}

.result-message {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #555;
  display: none;
}

/*------------------------- 
END AVAILABLE JOBS SECTION END 
--------------------------*/


/*-------------------- 
APPLY NOW SECTION START 
---------------------*/
.form-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
padding: 20px;
}

/* Form Styling */
.form-box {
background: rgba(255, 255, 255, 0.9);
border: 1px solid #e0e0e0;
border-radius: 12px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 500px;
padding: 20px;
}

/* Form Header */
.form-box h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}

/* Input and Select Styling */
.form-box .form-field {
margin-bottom: 20px;
}

.form-box label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}

.form-box input,
.form-box select,
.form-box textarea {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 8px;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-box input:focus,
.form-box select:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Hidden Field for "Other" Job Role */
.form-box .other-role-field {
display: none;
}

/* File Input Styling */
.form-box input[type="file"] {
padding: 5px;
 }

 /*checkbox for apply consent*/ 
 .apply-checkbox { 
  display: flex; 
  align-items: center; 
  margin-bottom: 20px; 
} 

.checkbox-apply { 
  margin-right: 8px; /* Adjust spacing between checkbox and label */
  transform: translateX(-60px);
} 

.checkbox-apply-label { 
  font-size: 14px; 
  color: #393939; 
  margin: 0; /* Remove any extra margin */ 
  display: inline-block; /* Ensures the label text stays inline with the checkbox */ 
  transform: translateX(-110px); 
  text-align: justify;
}

/* For better responsive checkbox & label in smart phone devices */
@media (max-width: 768px) {
  .checkbox-apply {
    transform: translateX(0);
  }

  .checkbox-apply-label {
    transform: translateX(0);
    font-size: 12px;
  }
}

      /* Error Message this is for resume upload in html attribute class
.error-message {
 color: red;
font-size: 14px;
margin-top: -15px;
margin-bottom: 10px;
} */

/* Submit Button */
.form-box button {
width: 100%;
padding: 12px;
font-size: 18px;
color: #fff;
background: #007bff;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}

.form-box button:hover {
background: #0056b3;
}

/*-----------------------
END APPLY NOW SECTION END 
------------------------*/

/*------------------------- 
CONTACT US SECTION START -L-R-H-box 
--------------------------*/
.contact-us-h-box {
  position: relative;
  text-align: center;
  background: linear-gradient(to right, rgba(255, 78, 80, 0.9), rgba(139, 85, 217, 0.5)),
    url('/images/specialist-care-bg.webp') no-repeat center/cover;
  color: #fff;
  padding: 205px 20px;
  overflow: hidden;
}

.contact-us-h-content {
  background: rgba(255, 255, 255, 0.8);
  color: #001f3f;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #005f77;
}

.contact-us-h-content h1 {
  font-size: 5rem;
  margin-bottom: 15px;
}

.contact-us-h-content p {
  font-size: 1.2rem;
  margin: 0;
}

.contact-us-h-box:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url('wave-shape.svg') repeat-x;
  background-size: cover;
}

/* contact-section-styling */

.contact-section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  /* CENTRALIZED END CSS */
  padding: 90px 20px; /* Top and bottom padding for spacing */
  background-color: #f4f7f8; /* Light gray background */
  color: #333; /* Dark gray text */
  line-height: 1.6; /* Improves text spacing */
}

.contact-container {
  display: flex; /* Align left and right boxes side by side */
  justify-content: space-between; /* Add space between boxes */
  gap: 20px; /* Small gap between containers */
  max-width: 1200px; /* Maximum container width */
  margin: 0 auto; /* Center container */
  align-items: stretch; /* Ensures both sides match height */
}

/* Left Section: Message Us Info */
.contact-us-info {
  flex: 0.4; /* Makes the left container smaller */
  background: #fff; /* White background */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 8px 15px rgba(0, 128, 0, 0.3); /* Initial green shadow */
  border: 1px solid green; /* Solid red border on the right side */
  padding: 20px 30px; /* Padding inside the box */
  display: flex;
  flex-direction: column; /* Stack text vertically */
  justify-content: flex-start; /* Align content to top */
  transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

.contact-us-info:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5); /* Red shadow on hover */
}

/* Contact Form Box (Right Side): Hover Effect */
/* Contact Form Box (Right Side): Dual Color Box Shadow */
.contact-form {
flex: 0.6;
background: #fff;
border-radius: 10px;
border: 1px solid red; /* Solid red border on the right side */
transition: border-color 0.3s ease-in-out; /* Smooth transition for border color */
padding: 40px;
}

.contact-form:hover {
  box-shadow: 0 8px 15px rgba(0, 128, 0, 0.3); /* Initial green shadow */
}

/* Message Us Heading */
.contact-us-info h2 {
  margin-bottom: 1px; /* Space below heading */
  font-size: 24px; /* Larger heading text */
  color: #2c3e50; /* Dark blue color */
}

/* Text Paragraphs */
.contact-us-info p {
  font-size: 20px; /* Standard paragraph size */
  margin-bottom: 9px; /* Space between paragraphs */
  text-align: justify; /* Justifies text */
  line-height: 1.2; /* Adds space between lines */
}

/* Contact and Location Headings */
.contact-us-info h3 {
  margin-bottom: 9px;
  margin-top: 22px; /* Space above headings */
  font-size: 22px; /* Slightly smaller heading */
  color: #2c3e50; /* Dark blue color */
}

/* Right Section: Contact Form */
.contact-form {
  flex: 0.6; /* Makes the form container larger */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  padding: 40px; /* Inside padding */
}

/* Contact Form Heading */
.contact-form h2 {
  margin-bottom: 20px; /* Space below heading */
  font-size: 26px; /* Large heading size */
  color: #2c3e50; /* Dark blue */
  text-align: center;
}

/* Form Rows: Input and Textarea */
.form-group {
  display: flex; /* Align fields side by side */
  gap: 20px; /* Space between fields */
  margin-bottom: 20px; /* Space between rows */
}

/* Textarea: Message Field */
.form-group textarea {
  resize: none; /* Disable resizing */
}

.form-group input,
.form-group textarea {
  flex: 1; /* Make inputs stretch evenly */
  padding: 15px; /* Inside padding for fields */
  font-size: 16px; /* Field text size */
  border: 1px solid #ccc; /* Light border */
  border-radius: 8px; /* Rounded edges */
}

/*CheckBox Contact with us */
.contact-with-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-with-control {
  vertical-align: middle; /* Ensures the checkbox is aligned with the label text */
}

.contact-with-control-label {
  font-size: 14px; /* Adjust text size as needed */
  color: #393939; /* Ensure it matches your form's design */
  margin-left: 12px;
  margin-bottom: 0; /* Ensure no extra space below the label */
  vertical-align: middle; /* Ensures the label text is aligned with the checkbox */
  display: inline-block; /* Ensures the label text stays inline with the checkbox */
}

/* Submit Button */
.form-contact-btn {
  width: 100%; /* Full width button */
  background-color: #3498db; /* Primary blue color */
  color: #fff; /* White text */
  border: none;
  padding: 15px; /* Vertical padding */
  border-radius: 8px;
  font-size: 18px; /* Button text size */
  cursor: pointer;
  transition: background 0.3s ease; /* Hover animation */
  margin-top: 80px;
}

.form-contact-btn:hover {
  background-color: #2c3e50; /* Dark blue on hover */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column; /* Stack containers vertically */
  }

  .contact-us-info, .contact-form {
    flex: 1; /* Full width for smaller screens */
  }

  .form-group {
    flex-direction: column; /* Stack input fields vertically */
    gap: 10px; /* Smaller gap */
  }
}



/*---------------------------- 
Contact-us-section-L-R-H-box-end 
------------------------------*/

/*-------------------
Carer Believe Section
---------------------*/
.believe-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.section-title-believe {
  font-size: 3.4rem; /* font-size: 2.5rem; default */
  margin-bottom: 40px;
  color: #333;
}

.believe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Ensure proper spacing between cards */
}

.believe-card {
  background: #fff;
  border: 1px solid #ff4e50;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 394px; /* Fixed width for small cards */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.believe-card-large {
  width: calc(100% - 40px); /* Large cards span most of the container width */
  max-width: 600px; /* Keep a reasonable max-width for large screens */
}

.believe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 3.5rem;
  color: #005f77;
  margin-bottom: 15px;
}

.believe-card h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #333;
}

.believe-card p {
  font-size: 1.8rem;
  color: #555;
}
/* Carer Believe Section end */


/*-------- ------------------
Peace of Mind Section */
/* General Section Styling 
----------------------------*/
.pom-sec {
  padding: 60px 20px; /* Increased spacing between sections */
  background-color: #f9f9f9;
  background: url('../images/pom-sec-div-bg.png') no-repeat top center;
  background-size: cover;
}

/* Layout for Each Row */
.peace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px; /* Increased spacing between rows */
  gap: 40px; /* Increased gap between image and text */
}

.peace.of {
  flex-direction: row-reverse; /* Reverse the layout for alternating sections */
}

/* Text Styling */
.peace .mind {
  flex: 1 1 50%;
  padding: 20px;
}

.peace .mind h2 {
  font-size: 2.7rem; /* Increased font size for headings */
  margin-bottom: 25px;
  color: #333;
}

.peace .mind p {
  font-size: 1.8rem; /* Slightly larger font for paragraph text */
  margin-bottom: 20px;
  line-height: 1.8; /* Increased line height for readability */
  color: #555;
}

/* Checklist Container */
.pom-container {
  display: flex;         /* Use flexbox to arrange items horizontally */
  flex-wrap: wrap;       /* Allow items to wrap if needed */
  gap: 0;             /* Adjust this to control horizontal and vertical spacing */
}

.pom-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.pom-container ul li {
  margin: 15px 0; /* Increased spacing between list items */
  padding-left: 30px; /* Adjusted padding for spacing from checkmarks */
  font-size: 1.7rem; /* Increased font size for list items */
  position: relative;
  color: #333;
}

.pom-container ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff; /* Blue checkmark for visual emphasis */
  font-size: 1.3rem; /* Larger checkmark icon */
}

/* Image Styling */
.peace .image {
  flex: 1 1 50%;
}

.peace .image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border: 1.5px solid red;
}

/* Responsive Design */
@media (max-width: 768px) {
  .peace {
    flex-direction: column; /* Stack columns vertically */
  }

  .peace.of {
    flex-direction: column; /* Keep alternate sections stacked vertically */
  }

  .pom-container {
    flex-direction: column; /* Stack checklist columns on smaller screens */
    gap: 20px; /* Reduced gap for smaller devices */
  }

  .peace .mind h2 {
    font-size: 2rem; /* Adjust heading size for smaller screens */
  }

  .peace .mind p {
    font-size: 1.3rem; /* Adjust paragraph size for smaller screens */
  }
}

/*--------------
Privacy Policy 
---------------*/
.policy-container { 
  max-width: 800px; 
  margin: auto; 
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif; 
  line-height: 1.6; 
} 
.policy-container h2 { 
  text-align: center; 
  margin-bottom: 20px; 
} 
.policy-container h3 { 
  margin-top: 20px; 
} 
.policy-container p { 
  margin: 10px 0; 
  font-size: 1.3em;
  line-height: 1.6; /* Increase line height for better readability */ 
  letter-spacing: 0.3px; /* Add a bit of space between letters */ 
  text-align: justify;
}

.policy-container li {
  font-size: 1.2em;
  font-weight: bold;
}

/*------------------
Terms and Conditions 
-------------------*/
.terms-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.terms-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.terms-container p {
  margin: 10px 0;
  font-size: 1.3em;
  letter-spacing: 0.4px;
  line-height: 1.6;
  text-align: justify;
}

.terms-container li {
  margin-bottom: 10px;
  font-size: 1.2em;
  letter-spacing: 0.4px;
  line-height: 1.6;
}

.terms-container .li {
  font-weight: bold;
  font-size: 1.4em;
}

.terms-container .p {
  margin-top: 2px;
  text-align: justify;
}

/*--------------------
Request Personal Data
---------------------*/
/* Container */
.rpd-container { 
  max-width: 750px; 
  margin: 50px auto; 
  padding: 70px; 
  background-color: #f9f9f9; 
  border-radius: 10px; 
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); 
}

/* Form Heading */
.rpd-container h2 { 
  font-family: 'Roboto', sans-serif; 
  color: #333; 
  margin-bottom: 20px; 
}

/* Form Text */
.rpd-form-text { 
  font-size: 1.4rem; 
  color: gray; 
  margin-bottom: 4px;
}

/* Email Input */
#rpd-email { 
  border-radius: 5px; 
  border: 1px solid #ddd; 
  padding: 10px; 
  font-size: 1.5rem; 
  margin-bottom: 4px;
}

/* Consent Checkbox */
.form-check { 
  display: flex; 
  align-items: center; 
  margin-bottom: 20px; 
} 
.form-check-input { 
  width: 20px; 
  height: 20px; 
  margin-right: 10px; 
} 
.form-check-label { 
  margin-bottom: -25px;
  padding: 0 5px; 
}

.form-check-label a { 
  color: #007bff; 
  text-decoration: underline; 
}

.form-check-label a:hover { 
  color: red;  
}

.form-check-input:checked ~ .form-check-label { 
  color: #28a745; 
}

.form-check-input:focus { 
  border-color: #28a745; 
}

/* CAPTCHA */
.rpd-captcha { 
  margin-top: 30px; 
  display: flex; 
  justify-content: center; 
}

/* Submit Button */
.rpd-btn { 
  background-color: #a5c422; 
  border: none; 
  padding: 10px 20px; 
  font-size: 1.4rem; 
  border-radius: 5px; 
  transition: background-color 0.3s ease; 
  font-weight: bold;
  margin-top: 15px;
  color: #f9f9f9;
}

.rpd-btn:hover { 
  background-color: #007bff;
  color: #a5c422; 
}

.rpd-btn:focus { 
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .rpd-container { 
    padding: 15px; 
    margin: 30px auto; 
  }

  .rpd-btn { 
    padding: 12px 18px; 
  }
}

/*--------------- 
Complaints Policy 
----------------*/ 
.complaints-container { 
  background-color: #f9f9f9; 
  padding: 30px; 
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  margin-bottom: 30px; 
  font-family: 'Arial', sans-serif; 
}

.complaints-container h2 { 
  color: #0056b3; 
  font-size: 2em; 
  margin-bottom: 20px; 
} 

.complaints-container h3 { 
  margin-bottom: 8px; 
} 

.complaints-container p { 
  line-height: 1.6; 
  color: #333; 
  margin-bottom: 20px;
  font-size: 1.3em;
  letter-spacing: 0.5px; /* Add a bit of space between letters */  
} 

.complaints-container ul { 
  list-style-type: disc; 
  margin-left: 20px; 
  margin-bottom: 20px; 
} 

.complaints-container li { 
  margin-bottom: 10px; 
  font-size: 1.2em;
} 

.complaints-container strong { 
  font-weight: bold;
} 

.complaints-container a { 
  color: #0056b3; 
  text-decoration: none; 
  
} 

.complaints-container a:hover { 
  text-decoration: none; 
}

.complaints-container ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.5;
}

/* DOWNLOADS */
#dl-section {
  position: relative;
    text-align: center;
    background: url('../images/team-careaccess247.webp') no-repeat center/cover;
    background-attachment: fixed; /* This line adds the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

#dl-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.dl-div {
  position: relative;
  z-index: 2;
}

.dl-div h2 {
  font-size: 3.8em;
  margin-bottom: 40px;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-style: italic;
}

.dl-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-y-home {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 40px;
  margin: 15px;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dl-y-home i {
  font-size: 2.1em;
  margin-bottom: 15px;
  color: blue;
}

.dl-y-home p {
  font-size: 1.7em;
  font-weight: bold;
  font-style: italic;
}

.dl-btn {
  display: inline-block;
  background: white;
  color: #ff4350;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  font-style: italic;
}

.dl-btn .button:hover{
  background: #ff4e50;
  color: #fff;
}

@media (max-width: 768px) {
  .dl-cards {
    flex-direction: column;
  }
}
/* End of DL DOWNLOADS FOOTER LINK */

.screenshot-protect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  pointer-events: none;
  z-index: 999999;
  display: none;
}
