/*
Theme Name: astra-child
Theme URI: https://wpastra.com/
Description: My custom child theme based on generatepress.
Author: imsnHance
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Template: astra
Version: 1.0
*/

/* Custom styles go below this line */

.elementor-kit-5 button, .elementor-kit-5 input[type="button"], .elementor-kit-5 input[type="submit"], .elementor-kit-5 .elementor-button {
    padding: 15px 66px;
    background: white;
    color: black;
    font-family: 'Orkney';
    font-size: 14px;
    font-weight:400;}


#ofcarer_type{
font-family: 'Orkney', sans-serif !important;
font-size:14px;
color: black;
font-weight:400;
}


.searchandfilter ul{
	
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.searchandfilter li{
font-family: 'Open Sans', sans-serif !important;
width:95%;
color: #001F3D;
}

.elementor-kit-5 button, .elementor-kit-5 input[type="button"], .elementor-kit-5 input[type="submit"], .elementor-kit-5 .elementor-button{
padding: 10px 66px;
background: white;
 color: black;
}

input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select, textarea {
border-radius: 50px;

}

button, .ast-button, .button, input[type="button"], input[type="reset"], input[type="submit"], a:where(.wp-block-button__link){
border-radius: 50px;
}




/*services section home page  */
.job-section .job-item {
    display: none; /* Hide all jobs initially */
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 25%;
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 80px;
    border-radius: 20px;
    color: white;
    text-align: left;
    margin-bottom: 20px;
}

.job-section .job-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 20px;
}

.job-section .job-item h2 {
    position: relative;
    font-size: 40px;
    font-family: 'Orkney';
    font-weight: 600;
    line-height: 1.3em;
    color: #ffffff;
    z-index: 9;
}

.job-section .job-item p {
    position: relative;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Open Sans';
    line-height: 1.2em;
    z-index: 9;
}

.job-section .job-item img {
    position: relative;
    width: 35px;
    border-radius: 10px;
    margin-bottom: 10px;
    z-index: 99;
}

.job-section .know-more-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 40px;
    background-color: #ffffff;
    border-radius: 50px;
    color: #001F3D;
    text-decoration: none !important;
    font-weight: 400;
    position: relative;
    z-index: 999;
}

.job-section button.job-filter.active,
.job-section button.job-filter:hover {
    background-color: #001F3D;
    color: white;
}

.job-section .job-listings {
    margin-top: 20px;
}

.job-section button.job-filter {
    margin: 5px;
    padding: 15px 15px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    background-color: #fff;
    color: #001F3D;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 1px 1px 3px 0 #ccc;
}

.job-section .job-titles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .job-section .job-item {
        padding-left: 80px;
        padding-right: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 430px) {
    .job-section button.job-filter {
        margin: 8px;
    }
    .job-section .job-item {
        padding-top: 80%;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 50px;
    }
}




/* Wrap each testimonial as a card */
.single-testimonial-item {
  background: #fff; /* white background */
  border-radius: 12px; /* rounded corners */
  padding: 30px 20px; /* spacing inside the box */
  text-align: center; /* center align content */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 260px; /* keeps cards equal height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hover effect */
.single-testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Icon styling */
.single-testimonial-item img {
  max-width: 60px;
  margin: 0 auto 15px;
}

/* Title */
.single-testimonial-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

/* Description text */
.single-testimonial-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}












/* Position dots under the carousel */
.owl-dots {
  text-align: center;
  margin-top: 20px;
}

/* Default dot style */
.owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 6px;
  background: #ccc;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Active dot style */
.owl-dots .owl-dot.active span {
  background: #182E51; /* gold-like highlight */
  transform: scale(1.2);
}

/* Remove background and shadow from Owl dots */
.owl-dots .owl-dot {
  box-shadow: none !important;
  background: none !important;
  border: none !important;
  outline: none !important;
}

.owl-nav{
display: none;
}


/* Target the carousel container */
.elementor-element-ba8df5f {
  display: flex;
  justify-content: center; /* Centers content horizontally */
  align-items: center;     /* Optional: centers vertically */
}

/* Keep the carousel at a nice width */
.elementor-element-ba8df5f .owl-carousel {
  max-width: 1140px; /* adjust as needed */
  margin: 0 auto;
}




#wpforms-331{
font-family: 'Orkney', sans-serif;
font-weight: 400;
font-size: 14px;
}

div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-classic select {
color: rgb(99 99 99 / 70%);
}

.wpforms-field-label-inline{
font-size: 12px !important;
}

.wpforms-submit{
font-size:18px !important;
font-weight: 400 !important;
}

/* Target only this form */
#wpforms-331 .wpforms-submit-container {
  display: flex !important;
  justify-content: center !important;
}

#wpforms-331 .wpforms-submit {
  width: auto !important;
  margin: 0 auto !important;
  display: inline-block !important;
  padding: 10px 40px !important; /* increase button size */
  font-size: 16px; /* optional – keep text readable */
  border-radius: 30px; /* optional – smooth edges */
}








.single-testimonial-item {
  background-size: cover;
  background-position: center-center;
  background-repeat: no-repeat;

  color: white; /* Optional: ensures text is readable */
  border-radius: 10px; /* Optional: adds rounded corners */
}

/* Example for each card */
.single-testimonial-item.compassionate {
  background-image: url('https://transition24.co.uk/wp-content/uploads/2025/10/Background-1.png');
}

.single-testimonial-item.honesty {
  background-image: url('https://transition24.co.uk/wp-content/uploads/2025/10/Background-2.png');

}


.single-testimonial-item {
  text-align: left;
}
single-testimonial-item improvement{
text-decoration: underline;
}

/* Make text inside the dark blue testimonial card white */
.single-testimonial-item h3,
.single-testimonial-item p {
    color: #ffffff !important;
}




/* Make service filter boxes equal size only on mobile */
@media (max-width: 768px) {
  .page-filter.job-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;              /* Full width for uniform alignment */
    min-height: 50px;         /* Ensures consistent height */
    margin-bottom: 10px;
    border-radius: 30px;
    box-sizing: border-box;
    white-space: normal;      /* Allow wrapping */
    word-wrap: break-word;
  }
}


@media (max-width: 767px) {
  .service-listings.job-listings {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* Optional: if it's inside a flex container or Elementor column */
  .elementor-widget-shortcode,
  .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .job-section .job-item{
  padding-top: 40px;
}
.job-section button.job-filter{
font-size: 14px;
}



input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select, textarea{
width:77%;
}


}




/*Popup*/
/* Hide the default close image */
.pum-container .pum-close img {
  display: none !important;
}

/* Add your own white cross using CSS */
.pum-container .pum-close::before {
  content: "\00d7"; /* Unicode for × symbol */
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 400;
  position: relative;
  top: -2px;
}



#popmake-1064{
border-radius: 12px;
}

.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field{
padding: 5px 0px !important;
}










/* Remove default page header spacing that hides the banner */
.job-listing-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove white header box used by the theme */
.page-header, .entry-header, .site-content .page-header {
    display: none !important;
}

/* Ensure banner is visible */
.jobs-banner {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jobs-banner-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}


summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

summary i {
    transition: transform 0.2s ease;
}

details[open] summary i {
    transform: rotate(180deg) !important;
}

.filter-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.filter-actions .btn-apply,
.filter-actions .btn-clear {
    flex: 1;                       /* makes both same width */
    text-align: center;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
}

/* Apply button color */
.btn-apply {
    background: #ffffff;
    color: #001f3d;
	text-transform: none;
	font-size: 16px;
}

/* Clear button alternate color */
.btn-clear {
    background: #001f3d;
    color: #fff !important;
    text-decoration: none !important;         /* remove link underline */
	font-size: 16px;
}

/* Hover effects */
.btn-apply:hover {
    background: #001f3d !important;
	border: none;
	color: #fff !important;
}

.btn-clear:hover {
    background: #fff;
	color: #001f3d!important;
}


/* Remove dropdown background completely */
aside.job-filters details .filter-options {
    background: transparent !important;
	border: none;
}

/* Keep the rounded corners ONLY on the summary bar */
aside.job-filters details summary {
    border-radius: 50px !important;
    background: #fff; /* keep summary white */
	font-size: 16px;
	margin-bottom: 17px;
}


/* Main job card styling */
article.job-card {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    margin-bottom: 40px;
}

/* Job title */
article.job-card h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600 !important;
}

/* Remove underline from job title and links */
article.job-card h3 a,
article.job-card a {
    text-decoration: none !important;
    color: #0b2e4f; /* your theme navy */
}

/* Job excerpt */
article.job-card .job-excerpt {
    margin: 0 0 12px 0;
    font-size: 17px;
    line-height: 1.5;
    color: #444;
}

/* "View Details" link */
article.job-card .job-card-footer a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    color: #003366; /* navy */
}

/* Hover effect (optional but looks great) */
article.job-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    transition: 0.2s ease;
}


/* Style the View Details link as a navy pill button */
article.job-card .job-card-footer a {
    background-color: #002a55; /* same as Clear button */
    color: #ffffff !important;
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
    font-size: 14px;
}

/* Hover effect (optional) */
article.job-card .job-card-footer a:hover {
    background-color: #001a3a; /* slightly darker */
}


/*----------------job details -----------------*/
.single-job-page .site-content .ast-container {
    display: flex !important;
    flex-direction: column !important;
}


.ast-container-big
 {
    display: flex !important;
    flex-direction: column !important;
}

.single-jobs .site-content .ast-container,
.single-job .site-content .ast-container {
    display: block !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

