/*
Theme Name: Blocksy Child
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A child theme for the Blocksy theme.
Template: blocksy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
*/

/*------------------------------------------
  Body
--------------------------------------------*/
body {
    font-family: 'Lato', sans-serif !important;
}

/* -------------------- Headings Font -------------------- */
h1, h3, h4, h5 {
    font-family: 'Lato', sans-serif !important;
}
/*------------------------------------------
  Hero Section
--------------------------------------------*/
.hero-title, h1 {
    font-size: 48px;
    font-weight: 900;
    color: white;
}

.hero-info,
.location-title {
    color: #C5C5C5;
}

h1.hero-title,
p.hero-info,
h2.sub-heading,
h4.cards-title,
p.location-title {
    margin: 0px;
}

.hero-container {
	text-align: center;
}
/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    display: inline-block;
    align-items: center;
}

.breadcrumb a {
    color: #30bb8b;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.separator {
    font-size: 12px; 
    color: #ffffff;
    opacity: 0.7;
    padding: 0px 10px;
}
/*------------------------------------------
 	Home Page
--------------------------------------------*/
/* -------------------- Headings -------------------- */

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

.line-seperator {
	width: 70px;
    border-top: 3px solid;
    color: #0c7a54;
    opacity: 1;
    margin: 0 auto;
	padding-bottom: 15px;
}
/* -------------------- Hero Section -------------------- */

.hero-text-widget {
    position: relative;
    text-align: center;
    color: white;
    background-size: cover;
    padding: 50px;
    
}

.hero-text-widget h1 {
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 65px;
}

.main-heading {
    font-size: 70px;
    position: relative;
    font-weight: 900;
    -webkit-text-stroke: 1px white;
    color: transparent;
    opacity: .8;
}

.bold-text {
    font-size: 80px;
    font-weight: 900;
    color: white;
}

.sub-heading {
    font-size: 15px;
    margin-top: 10px;
}

.line-vr-divider {
    position: relative;
    margin: -35px auto;
    border: 0;
    border-left: 3px solid;
    border-color: #0c7a54;
    width: 3px;
    height: 50px;
    z-index: 10;
    opacity: 1;
}

/* -------------------- About Section -------------------- */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}
.about-content {
    width: 60%;
}
.section-subtitle {
    color: #0c7a54;
    font-family: "Architects Daughter", Sans-serif;
    margin: 0;
}
.section-title {
    color: black;
    font-weight: 800;
    font-size: 40px;
	margin: 0 !important;
}
.section-text {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}
.about-image {
    width: 35%;
}
.about-image img {
    width: 100%;
    border-radius: 20px !important;
}

/* -------------------- Services -------------------- */
/* --- Cards --- */
.cards-container {
	display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
}
.card {
    position: relative;
    width: 220px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}
.card .content {
    position: relative;
    z-index: 2;
}
.icon {
    display: block;
    font-size: 30px;
    margin-bottom: 8px;
}
.card:nth-child(1)::before { background-image: url('https://erhmain1479.live-website.com/wp-content/uploads/2025/04/traffic-phone.webp'); }
.card:nth-child(2)::before { background-image: url('https://erhmain1479.live-website.com/wp-content/uploads/2025/03/traffic-signal.webp'); }
.card:nth-child(3)::before { background-image: url('https://erhmain1479.live-website.com/wp-content/uploads/2025/03/shutterstock_1653839683.webp'); }
.card:nth-child(4)::before { background-image: url('https://erhmain1479.live-website.com/wp-content/uploads/2025/03/electric-car-power-charging.webp'); }

/* -------------------- Social Network -------------------- */
.social-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.social-icons {
  display: flex;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0 0.5rem;
  border-radius: 20%;
  cursor: pointer;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.15s ease;
  color: #fff;
}
.social-icon--linkedin { background: #006599; }
.social-icon--twitter { background: #2b97f1; }
.social-icon--facebook { background: #3b5a9b; }
.social-icon--instagram { background: purple; }
.social-icon--youtube { background: red; }

.social-icon:hover {
  color: #fff;
}
.social-icon:active {
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5) inset;
}
.tooltip {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.5rem;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -100%);
  transition: all 0.3s ease;
  background: #000;
  color: #fff;
}

.social-icon:hover .tooltip {
    opacity: 1;
}

/* -------------------- Career -------------------- */
.career-card {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto;
}

.career-subtitle {
    color: #2d6a4f;
    font-style: italic;
    font-size: 16px;
}

.career-title {
    font-weight: bold;
    font-size: 28px;
    color: #111;
    margin: 10px 0;
}

.divider {
    width: 50px;
    height: 3px;
    background: #2d6a4f;
    margin: 10px auto;
}

.career-description {
    color: #444;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.career-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #0c7a54;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

.career-button:hover {
    background: #1b4d34;
    color: white;
}

/* -------------------- Testimonials -------------------- */
 .testimonials-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
        padding-top: 30px;
}

.testimonial {
    background: #f2f2f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: left;
}

.quote-icon {
    font-size: 100px;
    color: #0c7a54;
    font-family: "Georgia", Sans-serif;
    margin: -40px 0px -80px 0px; 
 
}

.testimonial p {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
}

.testimonial hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #ccc;
}

.testimonial h4 {
    font-size: 16px;
    color: #0c7a54;
    margin-top: 10px;
}

/* -------------------- Sustainability -------------------- */
.sustain-title{
	color: white;
    padding: 10px;
}
    
.play-container {
	display: flex;
    justify-content: center;
}
.play-button {
	width: 80px;
    height: 80px;
    background-color: transparent;
    border-radius: 50%;
    border: 8px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: border-color 0.3s ease;
}
.play-button::before {
	content: "";
	width: 0;
    height: 0;
    border-left: 24px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    transition: border-left-color 0.3s ease;
}
.play-button:hover {
	border-color: #0c7a54;
}
.play-button:hover::before {
	border-left-color: #0c7a54;
}

/* -------------------- Partners Section -------------------- */
.partners-label {
  background-color: blue;
  color: white;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

.logos {
	display: flex;
  	justify-content: center;
  	gap: 100px;
	align-items: center;
}

.logos img {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logos img:hover {
  filter: grayscale(0%);
}

/* -------------------- Contact Section -------------------- */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.btn {
    display: flex;
    align-items: center;
    padding: 10px 50px;
    border-radius: 47px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}
.call-btn {
    background-color: #1b7f5f;
    color: white;
}
.enquiry-btn {
    background-color: #1b7f5f;
    color: white;
}
.btn i {
    margin-right: 10px;
}
.btn:hover {
    background-color: white;
    color: #1b7f5f;
}

/*------------------------------------------
  Our Story Section
--------------------------------------------*/
.office-container {
    display: flex;
    gap: 15px;
    flex: 1;
    min-width: 500px;
    flex-wrap: nowrap;
    margin-left: 30px;
}

.office-card {
  background-color: transparent;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
	height: 300px;
}

.head-office {
  flex: 2; 
}

.branch-office {
  flex: 1;
}

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

.office-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  z-index: -1;
}

.office-info {
  padding: 200px 10px 15px;
  position: relative;
  z-index: 1;
	background-image: linear-gradient(180deg, #00000000 50%, #000000bf 86%);
}

.office-info h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: white;
}

.office-info p {
  margin: 0;
  color: white;
}
/* -------------------- Our Vision -------------------- */
  .vision-mission-section {
  color: #2c2c2c;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 20px;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

.box {
  flex: 1 1 45%;
  min-width: 280px;
}

.image-box {
  display: flex;
  justify-content: center;
}

.styled-image {
  width: 100%;
  border-radius: 20px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* -------------------- Meet the team -------------------- */
  .responsive-container-block, .meet-team-card-wrapper {
    display: flex;
    justify-content: center;
}

.inner-container {
    max-width: 1320px;
    text-align: center;
    margin: 20px auto;
}

.meet-team-card-container {
    width: 212px;
    margin: 15px;
}

.meet-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
	background-color: #f0f0f3;
    padding: 19px;
}

.meet-team-img {
    width: 80% !important;
    height: 100%;
    border-radius: 50%;
	padding-bottom: 10px;
}

.name, .position {
    font-weight: 700;
}

.position {
	font-size: 12px;
    color: #0087B1;
    margin-bottom: 20px;
}

.name {
	font-size: 15px;
	margin: 0;
}

/* -------------------- Our Values -------------------- */
.core-values {
	display: grid;
 	grid-template-columns: repeat(3, 1fr);
  	gap: 40px;
  	padding: 20px 20px;
	text-align: center;
}

.value-box {
  	padding: 20px;
  	border-radius: 12px;
}

.value-icon {
  	font-size: 40px;
  	margin-bottom: 15px;
  	color: #111;
}

.value-box h3 {
  	margin: 10px 0;
  	font-size: 22px;
  	color: #111;
}

.value-box p {
  	font-size: 15px;
  	color: #444;
  	line-height: 1.6;
}

/*------------------------------------------
  Social Values Section
--------------------------------------------*/

/* -------------------- Sustainability Section -------------------- */

.sustainability-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 40px;
  background: #f5f5f8;
  flex-wrap: wrap;
}

.sustainability-box {
  background-color: #eeeeef;
  text-align: center;
  padding: 30px 20px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sustainability-box .icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #444;
}

.sustainability-box h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.sustainability-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.projects-social a {
	color:white;
    margin-right: 10px;
}

/* -------------------- Support Section -------------------- */
.support-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  padding-top: 1rem;
}

.image-pair {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  z-index: 1;
}

.image-pair:first-of-type .support-image {
  margin-right: auto;
}

.image-pair:last-of-type .support-image {
  margin-left: auto;
}

.accent-image {
  width: 170px;
  height: auto;
  position: absolute;
  z-index: 0;
  opacity: 0.9;
  border-radius: 4px;
}

.image-pair:first-of-type .below {
  top: 100%;
  left: 90px;
  margin-top: 10px;
}

.image-pair:last-of-type .above {
  bottom: 100%;
  right: 90px;
  margin-bottom: 10px;
}

/* -------------------- Values Video -------------------- */
.values-description {
    color: #333;
}
.urbansitter-modern-container {
  font-family: 'Inter', sans-serif;
  
  padding: 40px 20px;
  color: #ffffff;
  border-radius: 16px;
  max-width: 960px;
  margin: 40px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.urbansitter-modern-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.urbansitter-modern-text {
  flex: 1 1 100%;
  padding: 20px;
  text-align: center;
}

.urbansitter-modern-text h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 0;
  font-weight: 600;
}

.urbansitter-modern-video {
  flex: 1 1 100%;
  padding: 20px 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 49%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}
/*------------------------------------------
 	Case Studies Page
--------------------------------------------*/
/* -------------------- Pagination -------------------- */
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination-container .page-num {
    padding: 5px 10px;
    margin: 0 5px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.pagination-container a {
    text-decoration: none;
    color: #333;
}

.pagination-container .current {
    background-color: #0073aa;
    color: white;
}

.pagination-container a:hover {
    background-color: #ddd;
}

.pagination-container .prev, .pagination-container .next {
    font-weight: bold;
}

.pagination-container .prev {
    margin-right: 15px;
}

.pagination-container .next {
    margin-left: 15px;
}

/* -------------------- Back Button Case/Blog -------------------- */
.back-to-button {
  display: inline-flex;
  align-items: center;
  color: #0c7a54;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-to-button .arrow {
  margin-right: 8px;
  font-size: 20px;
}

.back-to-button:hover {
  color: #30b06f;
}

/*------------------------------------------
 	Service Page
--------------------------------------------*/
/* -------------------- Service Options section -------------------- */

.options {
	display: flex;
    align-items: stretch;
    overflow: hidden;
    min-width: 600px;
    height: 400px;
}
.option {
    position: relative;
    overflow: hidden;
    min-width: 60px;
    margin: 10px;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    flex-grow: 1;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
}
.option .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.option .heading {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    transition: opacity 0.1s ease-out;;
}

.details-heading {
	font-size: 18px;
	color: white;
}

.option .details {
    position: absolute;
    bottom: 100px;
    left: 50px;
    color: white;
    font-size: 1rem;
    display: none;
    width: 90%;
}
.option .icon {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.option.active .icon {
    left: auto;
    right: 18px;
    transform: none;
}

.option.active {
    flex-grow: 10;
    border-radius: 40px;
}
.option.active .heading {
    opacity: 0;
}
.option.active .details {
    display: block;
}
.intro-options {
	font-size: 26px;
	font-weight: 600;
	color: black;
}

.info-options {
	font-size: 15px;
	color: black;
}

.subheading-options {
	color: #5d5d5d;
}

.serivces-heading {
	font-size: 30px;
	color: #0c7a54;
}

/* -------------------- Custom Gallery Layout -------------------- */
.custom-gallery {
    display: grid ;
    grid-template-columns: 1.5fr 1fr ;
    grid-template-rows: repeat(2, 150px) ;
    gap: 10px ;
	width: auto;
    height: auto;
}

.custom-gallery img {
    width: 100% ;
    height: 100% !important;
    object-fit: cover ;
    border-radius: 8px !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.custom-gallery img:hover {
    transform: scale(1.05);
}

/* -------------------- Assigning grid positions manually -------------------- */
.custom-gallery img:nth-child(1) { 
    grid-column: 1 / 2; 
    grid-row: 1 / 3; 
    height: 310px !important;
}


.custom-gallery img:nth-child(4),
.custom-gallery img:nth-child(5) { 
    height: 203px !important; 
}

/* -------------------- Custom Lightbox Styles -------------------- */
.custom-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.custom-lightbox.show {
    display: flex;
    opacity: 1;
}

/* -------------------- Enlarged Image -------------------- */
.custom-lightbox img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease-in-out;
}

.custom-lightbox.show img {
    transform: scale(1);
}

/* -------------------- Close Button -------------------- */
.custom-lightbox .custom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* -------------------- Team Managers -------------------- */
  .team-section {
    text-align: center;
    margin: 20px 0px;
}

.team-section h2 {
    font-size: 30px;
    color: #0c7a54;
    margin-bottom: 15px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.team-card {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    width: 220px;
}

.team-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.team-card p {
    margin: 5px 0 10px;
    font-size: 14px;
    color: #666;
}

.icons {
    display: flex;
    gap: 10px;
}

.icons a {
    text-decoration: none;
    color: #666;
    font-size: 18px;
}

.icons a:hover {
    color: #0c7a54;
}

/* -------------------- Case Studies -------------------- */
.case-studies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-study-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 220px;
  width: 200px;
  cursor: pointer;
}

.case-study-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

.case-study-item .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.case-study-item:hover .wp-post-image {
  filter: grayscale(0%);
}

.case-study-item .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
}

.case-study-item:hover .image-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.case-study-item h4 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  z-index: 2;
}

.case-study-item .image-overlay .arrow {
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out 0.2s, transform 0.5s ease-in-out 0.2s;
}

.case-study-item:hover .image-overlay .arrow {
  opacity: 1;
  transform: translateY(0);
}

/*------------------------------------------
  Careers Page
--------------------------------------------*/
/* -------------------- About -------------------- */
.custom-office-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.custom-office-card {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

/* First card: taller, light border */
.custom-office-card.card-one {
  width: 260px;
  height: 360px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Second card: shorter, teal border and custom shadow */
.custom-office-card.card-two {
  width: 240px;
  height: 320px;
  box-shadow: 0 6px 14px rgba(0, 128, 128, 0.3);
}
/* -------------------- Career Sectors -------------------- */
 .training-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
}

.training-column {
  flex: 1 1 30%;
  text-align: center;
}

.training-column h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.training-column p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.training-video iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}
/* -------------------- Next Gen -------------------- */
.network75-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    background-color: #f4f7fb;
  }

  .network75-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .network75-header p {
    font-size: 1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
  }

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

  .info-card h3 {
    margin-bottom: 15px;
    font-size: 1.25em;
  }

  .info-card p {
    font-size: 0.95em;
    color: #444;
    line-height: 1.5;
  }
/* -------------------- Perks and Benefits -------------------- */
.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.benefit-box {
  flex: 1 1 180px;
  max-width: 220px;
  background-color: #f5f5f5;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  color: #444;
  margin-bottom: 0.5rem;
}

.benefit-box h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #222;
}

.benefit-box p {
  font-size: 0.95rem;
  color: #555;
}
/*------------------------------------------
 	Sustainability Page
--------------------------------------------*/
.ev-charging-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.ev-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.ev-images {
  display: flex;
  flex: 1;
  min-width: 300px;
  gap: 10px;
}

.ev-images .img-left {
  flex: 1;
}

.ev-images .img-right {
  flex: 2;
}

.ev-images img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px !important;
}

.ev-text {
  flex: 1.5;
  min-width: 300px;
}

.ev-text h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.ev-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ev-illustration-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.ev-illustration {
  max-width: 100%;
  width: 490px;
  height: auto;
}


.ev-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.ev-divider hr {
  flex-grow: 1;
  border: none;
  border-top: 1px solid #54595F;
  margin: 0 10px;
}

.ev-divider i.fa-leaf {
  color: #54595F;
  font-size: 20px;
}

/* --- Carbon Table --- */
.carbon-section {
  padding: 40px 20px;
  background-color: #fff;
}

.carbon-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.carbon-text {
  flex: 1 1 45%;
}

.carbon-text h2 {
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 20px;
}

.carbon-text p {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #333;
}

.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0c7a54;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #005d32;
}

.carbon-table-wrapper {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carbon-table {
  background-color: #0c7a54;
  border-collapse: collapse;
  width: 95%;
  border: 8px solid white;
  color: white;
  font-size: 16px;
  text-align: left;
}

.carbon-table th,
.carbon-table td {
  padding: 12px 16px;
  border: 1px solid #fff;
}

.carbon-table th {
  background-color: #0c7a54;
  font-weight: bold;
}

.carbon-table tfoot td {
  font-size: 1.1em;
  font-weight: bold;
  text-align: right;
  background-color: #0c7a54;
}
/* --- Recycling --- */
.waste-recycling-banner {
  background-color: #0c7a54;
  color: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 1150px;
  margin: 20px auto;
}

.waste-recycling-banner h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.waste-recycling-banner p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.white-subtitle {
  color: white !important;
}

/*------------------------------------------
 	Blog Page
--------------------------------------------*/
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-post-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 280px;
	width: 239px;
  cursor: pointer;
}

.blog-post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

.blog-post-item .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.blog-post-item:hover .wp-post-image {
  filter: grayscale(0%);
}

.blog-post-item .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
	transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
}

.blog-post-item:hover .image-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.blog-post-item h4 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  z-index: 2;
}

.blog-post-item .image-overlay .arrow {
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out 0.2s, transform 0.5s ease-in-out 0.2s;
}

.blog-post-item:hover .image-overlay .arrow {
  opacity: 1;
  transform: translateY(0);
}

/*------------------------------------------
 	Contact Page
--------------------------------------------*/
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

.contact-title, .hours-title {
  color: #007849;
  font-weight: 400;
}

.contact-title {
      font-weight: 400;
      font-size: 32px;
}

.contact-section {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.contact-icon {
  background-color: #007849;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 16px;
}

.contact-icon i {
  font-size: 16px;
}

.hours-list {
  list-style-type: disc;
  padding-left: 20px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
}

/* --- Maps --- */
.map-wrapper {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	height: 400px;
}

/*------------------------------------------
 	Case Studies
--------------------------------------------*/
/* --- Hero --- */
.case-study-wrapper {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.case-study-image-box {
  position: relative;
  width: 100%;
  height: 589px;
  overflow: hidden;
  border-radius: 6px;
  
}

.case-study-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000009E; /* black overlay */
  z-index: 1;
  pointer-events: none;
}

.case-study-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 575px;
  height: 307px;
  background: #0c7a5475;
  color: white;
  padding: 30px;
  border-top-right-radius: 100px;
  box-sizing: border-box;
  z-index: 2; /* sits above the black overlay */
}

.case-study-box h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3em;
  color: white;
}

.case-study-box h3 span {
  font-weight: normal;
}

.case-study-box h2 {
  margin-top: 10px;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.4em;
  color: white;
}

.case-study-box p {
  margin-top: 15px;
  font-size: 0.95em;
  line-height: 1.6em;
}

/* --- Background --- */
.custom-header-box {
  background-color: #b3d7f5;
  padding: 20px 10px;
  text-align: center;
}

.custom-header {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-size: 1.5em;
  font-weight: bold;
  color: #1a144b;
}

.social-share {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-share a {
  width: 40px;
  height: 40px;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

.social-share .facebook { background: #3b5998; }
.social-share .twitter { background: #1DA1F2; }
.social-share .linkedin { background: #0077B5; }

.challenge-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
    background-color: #fff;
  }

  .challenge-text {
    flex: 1.5;
  }

  .challenge-text h1 {
    color: #2e2e72;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .challenge-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .challenge-text strong {
    font-weight: 700;
  }

  .challenge-media {
    flex: 1;
  }

  .challenge-media video.main {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    object-fit: cover;
  }

  .challenge-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .challenge-thumbnail-grid img {
    width: 100% !important;
    height: 100px !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: transform 0.2s;
	object-fit: cover;
	object-position: center;
  }

  .challenge-thumbnail-grid img:hover {
    transform: scale(1.05);
  }

  .challenge-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.challenge-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.challenge-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-lightbox img.visible {
  opacity: 1;
}

  .challenge-lightbox .arrow,
  .challenge-lightbox .close {
    position: absolute;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
  }

  .challenge-lightbox .arrow.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .challenge-lightbox .arrow.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .challenge-lightbox .close {
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
  }

.blog-main-image {
        margin-bottom: 10px
    }
/*------------------------------------------
 	Blog Templates
--------------------------------------------*/
.blog-banner {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .blog-banner-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
  }

.blog-testimonial-box {
  background-color: #f9f9fb;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.blog-testimonial-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.blog-testimonial-author img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: #00796b; /* Teal color */
}

.author-role {
  font-size: 0.9rem;
  color: #888;
}

  @media (max-width: 768px) {
    .blog-banner-text {
      font-size: 18px;
    }
  }
/*------------------------------------------
  Certificates & policies
--------------------------------------------*/
.updated 
{
	font-size: 15px;
	font-weight: 500;
}
    
.date-mod 
{
        padding-top: 20px;
}

.dropdown-content {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.dropdown-content.show {
  display: block;
}

.doc-label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.download-link {
  display: block;
  color: #231f62;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.download-link:hover {
  color: #30bb8b;
  border-bottom: 1px solid #30bb8b;
}

.dropdown-toggle {
  	cursor: pointer;
 	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	font-size: 1.8rem;
  	color: #231f62;
	border-bottom: 1px solid #ddd;
  	padding-bottom: 10px;
  	margin: 10px 0 0 0 !important;
}

.dropdown-toggle .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.dropdown-toggle.active .arrow {
  transform: rotate(180deg);
}
/*------------------------------------------
 	Footer
--------------------------------------------*/
.footer-about h2,
.footer-about p,
.footer-about h3,
.footer-links h3,
.footer-subscribe h3,
.footer-subscribe p,
.footer-box a {
  color: white;
}
.dot {
  color: #008000;
}

.footer-cta .row {
  display: flex;
  gap: 225px;
}
.single-cta {
  display: flex;
  align-items: center;
}
.single-cta i {
  color: #0c7a54;
  font-size: 30px;
}
.cta-text {
  padding-left: 15px;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
.footer-box {
  flex: 1;
  max-width: 30%;
}
.footer-box h3 {
  color: white;
}
.footer-box p {
  font-size: 14px;
}
.footer-box i {
  color: #ff5e14;
  font-size: 30px;
}
.footer-divider {
  border: 1px solid #ddd;
  margin: 20px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
}
.footer-about, .footer-links, .footer-subscribe {
  flex: 1;
}
.media-icons a {
  font-size: 18px;
  color: white;
  margin-right: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.media-icons a:hover {
  color: #30bb8b;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  text-decoration: none;
  color: white;
}
.footer-links ul li a:hover {
  color: #30bb8b;
}
.footer-links .line-seperator,
.footer-subscribe .line-seperator {
  margin: 0;
}
.footer-subscribe form {
  display: flex;
  align-items: center;
}
.footer-subscribe button {
  padding: 10px;
  background: orange;
  border: none;
  color: #fff;
  border-radius: 5px;
  margin-left: 5px;
  cursor: pointer;
}
.footer-subscribe button:hover {
  background: #0c7a54;
}
.footer-subscribe input {
  background: grey !important;
  padding: 14px 28px !important;
  width: 100% !important;
  color: white !important;
  border: 1px solid grey !important;
}

.footer-about p {
	margin-right: -160px;
}

.footer-bottom {
	gap: 305px;
	margin-left: 140px;
}

.footer-cta.pt-5.pb-5 {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.footer-links h3,
.footer-subscribe h3 {
	font-size: 15px;
}

/*------------------------------------------
  Media Queries
--------------------------------------------*/

/* -------------------- Tablets and smaller (max-width: 1024px) -------------------- */
@media (max-width: 1024px) {
  
  /* General Layout Tweaks */
  .hero-title, h1 {
    font-size: 36px;
  }

  .hero-container {
    text-align: center;
    padding: 20px;
  }

  .breadcrumb {
    font-size: 14px;
  }

  /* Gallery Grid Adjustments */
  .custom-gallery {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    gap: 5px !important;
  }

  .custom-gallery img {
    height: auto !important;
  }

  /* Team Section */
  .team-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .team-card {
    width: 45%;
    max-width: 250px;
  }

  /* Options Section */
  .options {
    flex-direction: column;
    min-width: auto;
    height: auto;
  }

  .option {
    width: 98%;
    height: 50px;
    min-width: unset;
  }

  .option.active {
    height: 300px;
  }

  .option .heading {
    writing-mode: horizontal-tb;
  }

  /* Hide Icons in Options */
  .option .icon {
    display: none;
  }
}

/* -------------------- Smaller Tablets (max-width: 768px) -------------------- */
@media (max-width: 768px) {
  
  /* Office Layout */
  .office-container {
    flex-direction: column;
  }

  /* Core Values Grid */
  .core-values {
    grid-template-columns: 1fr;
  }

  /* Options Section Adjustments */
  .options {
    flex-direction: column;
    height: auto;
    min-width: unset;
  }

  .option {
    width: 97%;
    height: 50px;
  }

  .option.active {
    height: 250px;
  }

  .option .heading {
    font-size: 1rem;
  }

  .option .details {
    font-size: 0.9rem;
    bottom: 50px;
  }

  /* Icon (Still hidden but keep size safe if ever used) */
  .option .icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* Other Text Tweaks */
  .intro-options {
    font-size: 20px;
  }

  .info-options {
    font-size: 14px;
  }

  .serivces-heading {
    font-size: 24px;
  }
	
	.urbansitter-modern-text h2 {
    	font-size: 28px;
  	}
}

/* -------------------- Mobile Devices (max-width: 767px) -------------------- */
@media (max-width: 767px) {
  
  .hero-title, h1 {
    font-size: 28px;
  }

  .hero-info {
    font-size: 14px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  /* Gallery Grid Adjustments */
  .custom-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    gap: 5px !important;
  }

  .custom-gallery img {
    height: auto !important;
  }

  /* Team Section */
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 90%;
    max-width: 300px;
  }
}
