/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* html, body {
  max-width: 100%;
} */


@font-face {
    font-family:'Geist Black';
    src: url('fonts/Geist Black.woff2') format('woff2'),
		url('fonts/Geist Black.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist Bold';
    src: url('fonts/Geist Bold.woff2') format('woff2'),
		url('fonts/Geist Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist Light';
    src: url('fonts/Geist Light.woff2') format('woff2'),
		url('fonts/Geist Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist Medium';
    src: url('fonts/Geist Medium.woff2') format('woff2'),
		url('fonts/Geist Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist';
    src: url('fonts/Geist Regular.woff2') format('woff2'),
		url('fonts/Geist Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist SemiBold';
    src: url('fonts/Geist SemiBold.woff2') format('woff2'),
		url('fonts/Geist SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist Thin';
    src: url('fonts/Geist Thin.woff2') format('woff2'),
		url('fonts/Geist Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist UltraBlack';
    src: url('fonts/Geist UltraBlack.woff2') format('woff2'),
		url('fonts/Geist UltraBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist UltraLight';
    src: url('fonts/Geist UltraLight.woff2') format('woff2'),
		url('fonts/Geist UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Geist Variable';
    src: url('fonts/Geist Variable Regular.woff2') format('woff2'),
		url('fonts/Geist Variable Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-2084;
}

@font-face {
    font-family:'ITC Souvenir Std Bold';
    src: url('fonts/SouvenirStd-Bold.woff2') format('woff2'),
		url('fonts/SouvenirStd-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'ITC Souvenir Std Demi';
    src: url('fonts/SouvenirStd-Demi.woff2') format('woff2'),
		url('fonts/SouvenirStd-Demi.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'ITC Souvenir Std Medium';
    src: url('fonts/SouvenirStd-Medium.woff2') format('woff2'),
		url('fonts/SouvenirStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}


@font-face {
    font-family:'ITC Souvenir Std Light';
    src: url('fonts/SouvenirStd-Light.woff2') format('woff2'),
    url('fonts/SouvenirStd-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'d';
    src: url('fonts/d Script.woff2') format('woff2'),
		url('fonts/d Script.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}


.font-itc-souvenir-light .elementor-heading-title,
.font-itc-souvenir-light p,
.font-itc-souvenir-light .e-n-accordion summary.e-n-accordion-item-title {
    font-family: 'ITC Souvenir Std Light' !important;
}

.font-geist-regular p {
	font-family:'Geist' !important;
}

.font-geist-semiBold .elementor-heading-title {
    font-family: 'Geist SemiBold' !important;
}

.font-d p,
.font-d .elementor-heading-title {
    font-family: 'd' !important;
}

/* Navigation Menu CSS */

.font-geist-medium nav ul.hfe-nav-menu li a.hfe-menu-item,
.font-geist-medium a.elementor-button-link,
.font-geist-medium ul li a {
    font-family: 'Geist Medium' !important;
}

.menu-list nav ul.hfe-nav-menu > li a.hfe-menu-item::before {
    border: none !important;
}



.menu-list nav ul.hfe-nav-menu > li,
.mob-menu-list nav ul.hfe-nav-menu > li {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 60px;
}

.mob-menu-list nav ul.hfe-nav-menu > li {
/* 	min-width: 88px;
	max-width: 110px; */
	width: 100%;
}

.menu-list nav ul.hfe-nav-menu > li.current-menu-item,
.mob-menu-list nav ul.hfe-nav-menu > li.current-menu-item {
  border-color: rgba(0, 0, 0, 1);
}

.menu-list nav ul.hfe-nav-menu > li:hover,
.mob-menu-list nav ul.hfe-nav-menu > li:hover {
	border-color: rgba(0, 0, 0, 1);
	transition: border-color 0.3s ease;
}

/* Animation CSS */

@keyframes slide-in {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(8px);
    }
}

.hire-btn:hover .elementor-button-icon svg {
    animation: slide-in 0.6s ease-in-out infinite alternate;
}

.site-logo {
    transition: 
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.site-logo img {
    transition: transform 0.35s ease;
}

/* Hover ON */
.site-logo:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	border-radius: 100px;
}

.site-logo:hover img {
    transform: scale(1.06);
}

/* Hover OFF handled automatically by transition */


/* Btn hover */

a.elementor-button {
    box-shadow: 0 4px 0 0 transparent;
    transition: box-shadow 0.3s ease;
}

.view-btn a.elementor-button:hover {
    box-shadow: 0 4px 0 0 #000;
}

.lrn-more-btn a.elementor-button {
    box-shadow: 0 4px 0 0 transparent;
    transition: box-shadow 0.3s ease;
}

.lrn-more-btn a.elementor-button:hover {
    box-shadow: 0 4px 0 0 #000;
    background-color: #FECF02 !important;
    transition: box-shadow 0.3s ease;
}






.services-wrapper,
.sticky-section-wrapper {
    position: relative;
}


/* Fix Elementor flex stretch */
.services-wrapper .service-card {
  position: -webkit-sticky;
  position: sticky;
}

.sticky-section-wrapper .sticky-section-panel {
	position: -webkit-sticky;
    position: sticky;
	top: 0;
	min-height: 100vh;
/* 	overflow: hidden; */
}

.services-section,
.services-section .e-con,
.services-section .e-con-inner {
  overflow: visible !important;
}

/* stacking order */
.services-wrapper .service-card.card-1 { top: 50px; }
.services-wrapper .service-card.card-2 { top: 100px; }
.services-wrapper .service-card.card-3 { top: 150px; }
.services-wrapper .service-card.card-4 { top: 200px; }
.services-wrapper .service-card.card-5 { top: 250px; }
.services-wrapper .service-card.card-6 { top: 300px; }



















.hero-section {
  position: relative;
}

/* Top-left gradient */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 465px;
  height: 300px;

  background: url("https://thepencilhaus.com/wp-content/uploads/2026/02/gradient-top.webp")
              no-repeat top left / contain;

  z-index: 1;
  pointer-events: none;
}

/* Top-right vector */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 465px;
  height: 300px;

  background: url("https://thepencilhaus.com/wp-content/uploads/2026/02/Vector-6.webp")
              no-repeat top right / contain;

  z-index: 1;
  pointer-events: none;
}

.hero-bottom-img {
  transform: translate(-50%, 50%);
  z-index: 1;
  pointer-events: none;
}




.learn-btn-hover a:hover {
	background-color: #FECF02;
	border-style: solid;             /* Must have */
	border-width: 1px 1px 5px 1px;  /* Top Right Bottom Left */
	border-color: #000000;
}

.inline-icon img {
  width: 104px;        /* adjust as needed */
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  margin: 0 6px;
}

/* ------Contact Us form layout----- */

/* Container */
.contact .form-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact .form-field-group h2.form-label {
    font-family: 'Geist' !important;
    font-weight: 400;
    font-size: 22px;
    line-height: 36px;
    color: #000000;
	margin: 0;
}

/* Each field full width */
.contact .form-field {
  flex: 1 1 100%; /* full width for all fields */
}

/* Textarea always full width */
.contact .form-field.form-textarea,
.contact .form-field.form-file-upload {
  flex: 1 1 100%;
}

/* Inputs & Textarea Styling */
.contact .form-field-group .form-field p span input.wpcf7-form-control,
.contact .form-field-group .form-field p span select.wpcf7-form-control {
  background-color: transparent;
	border: 0;
  border-bottom: 1px solid #D9D9D9;
  border-radius: 0;
  padding: 0 0 7px 0;
  color: rgba(0, 0, 0, 1);
  width: 100%; /* ensure full width */
  box-sizing: border-box;
}

.contact .form-field-group .form-field p span textarea.wpcf7-form-control {
	border: 1px solid #D9D9D9;
	padding: 15px 0 7px 25px;
	
}

.contact .form-field-group .form-field p {
  margin: 0;
}

/* Change Chrome autofill background */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
}


/* Input typing text */
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea {
    font-size: 22px;
    font-family:'Geist' !important;
}


/* Placeholder */
.contact input::placeholder,
.contact textarea::placeholder {
  font-family:'Geist' !important;
  font-weight: 400;
  font-size: 22px;
  line-height: 36px;
  color: #A6A6A6;
}

/* Placeholder color (first option) */
.contact .form-field-group .form-field p span select.wpcf7-form-control option:first-child {
  color: #1D2D44;
}

.contact select {
    -webkit-appearance: none; /* Chrome/Safari */
    -moz-appearance: none;    /* Firefox */
    appearance: none;         /* modern browsers */
    padding-right: 21px;      /* space for custom arrow */
    background: url('https://thepencilhaus.com/wp-content/uploads/2025/10/svgviewer-output.svg') no-repeat right 10px center;
    background-size: 16px 16px; /* adjust size */
	cursor: pointer;
}

.contact .form-field.form-validate span {
    margin: 0;
}

.contact .form-field.form-validate span.wpcf7-list-item-label {
    margin-left: 7px;
}

.contact .form-field-group.group-1 {
    margin-bottom: 45px;
}

.contact .form-field-group.group-2 {
    margin-bottom: 38px;
	gap: 16px;
}

.contact .form-field-group.group-3 {
    margin-bottom: 73px;
	gap: 22px;
}

.contact .form-field-group.group-4 {
    margin-bottom: 97px;
	gap: 37px;
}

.contact .form-field-group.group-5 {
	gap: 0;
}



/* Project Timeline */

/* Stack radio items */
.project-option 
.project-timeline 
.wpcf7-list-item {
    display: block;
    margin: 0 0 22px 0;
}

/* Label text */
.project-timeline 
.wpcf7-list-item-label {
    font-family: 'Geist' !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 100%;
    color: #000000;
    margin-left: 12px;
}

/* Hide default radio */
.project-timeline 
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #D6D6D6;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

/* Hover */
.project-timeline 
input[type="radio"]:hover {
    border-color: #000;
}

/* Checked state */
.project-timeline 
input[type="radio"]:checked {
    border-color: #000;
    background-color: #000;
}

/* ✔ Check icon */
.project-timeline 
input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 2px;
    left: 6.5px;
}

/* Align input + text */
.project-timeline 
label {
    display: flex;
    align-items: center;
    cursor: pointer;
}


/* Select Profile */
.profile-option 
.select-profile 
.wpcf7-list-item {
    display: block;
    margin: 0 0 14px 0;
}

.select-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Hide native checkbox */
.profile-option 
.select-profile 
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Selectable border box */
.profile-option 
.select-profile 
label {
    display: flex;
    align-items: center;
    padding: 20px 27px 21px 26px;
    border: 1px solid #D6D6D6;
    border-radius: 100px;
    cursor: pointer;
    transition: 
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Label text */
.profile-option 
.select-profile 
.wpcf7-list-item-label {
    font-family: 'Geist' !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 100%;
    color: #000000;
    margin: 0;
}

/* Hover */
.profile-option 
.select-profile 
label:hover {
    border-color: #000000;
}

/* Selected state */
.profile-option 
.select-profile 
label:has(input[type="checkbox"]:checked) {
    border: 3px solid #000000;
    background-color: #F6F6F6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Optional: focus accessibility */
.profile-option 
.select-profile 
label:focus-within {
    border-color: #000000;
}

.contact input.wpcf7-form-control:focus-visible {
	outline: none !important;
}

/* Submit Button Container */
.contact .contact-form-submit {
  display: flex;
  width: 100%;
}

.contact .contact-form-submit p {
    margin: 0;
	width: 100%;
}

/* Submit Button Styling */
.contact input.wpcf7-form-control.contact-form-submit {
	font-family:'Geist' !important;
	background-color: #ffffff;
    font-size: 22px;
	line-height: 100%;
    font-weight: 400;
	color: #000000;
    border: 1px solid #000000;
    border-radius: 60px 60px 60px 60px;
    padding: 41px 0 42px;
	width: 100%;
    cursor: pointer;
	box-shadow: 0 4px 0 0 transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.contact input.wpcf7-form-control.contact-form-submit:hover {
  box-shadow: 0 4px 0 0 #000;
  background-color: #FECF02;
  transition: border-bottom-color 0.3s ease, transform 0.3s ease;
}

/* Focus Outline */
.contact input.wpcf7-form-control:focus-visible,
.contact textarea.wpcf7-form-control:focus-visible {
  outline: 0 0 1px 0;
  outline-style: solid;
  outline-color: #D9D9D9;
}


/* Review Swiper */
.review-section {
	position: relative;	
}

.review-section .swiper-button-prev,
.review-section .swiper-button-next {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 80px;
  background-color: #414141;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  border-radius: 100px;
  cursor: pointer;
  z-index: 9;
}

/* Prev – left inside */
.review-section .swiper-button-prev {
  left: 18px;
  align-items: center;
  justify-content: center;
  rotate: 180deg;
}

/* Next – right inside */
.review-section .swiper-button-next {
  right: 20%;
  align-items: center;
  justify-content: center;
}


/* Replace these URLs with your uploaded icons */
.review-section .swiper-btn-prev {
  left: -60px;
}

.review-section .swiper-button-prev svg,
.review-section .swiper-button-next svg {
    display: none;
}

/* Add custom icon */
.swiper-button-prev::before,
.swiper-button-next::before {
    content: '';
    width: 36px;
    height: 36px;
    background-image: url(https://thepencilhaus.com/wp-content/uploads/2026/02/arrow_forward.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
	position: absolute;
    top: 0;
    left: 50%;
	transform: translate(-50%, 65%);
}

.review-section .swiper-button-prev::before {
  transform: translateX(-50%, 65%) rotate(180deg);
}

.review-section .swiper-button-prev {
    left: auto;   
    right: 28%;
    align-items: center;
    justify-content: center;
  }


.review-section .review-cards .swiper-button-prev svg,
.review-section .review-cards .swiper-button-next svg {
    width: 36px;
    height: 36px;
}

.review-section .review-cards .swiper-button-prev svg path,
.review-section .review-cards .swiper-button-next svg path {
    fill: #ffffff;
}

.review-section .swiper-btn-next {
  right: -60px;
}

/* Hover effect */
.review-ban .swiper-button-prev:hover,
.review-ban .swiper-button-next:hover {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.1);
}

.review-section .review-cards .swiper-slide {
    flex-shrink: 0;
}

.service-hidden p {
    opacity: 0;
}

.accordion summary.e-n-accordion-item-title {
    position: relative;
}

.accordion details#item-1 
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 404px;
    height: 295px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/Group-5.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-2
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 404px;
    height: 280px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/Group-4.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-3
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 302px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/Group-7.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-4
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 501px;
    height: 358px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/Swag-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-5 
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 404px;
    height: 265px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/EDF_Website_The_Pencil_Haus-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-6 
> summary.e-n-accordion-item-title::before {
    content: "";
    position: absolute;
    width: 341px;
    height: 320px;
    background-image: url('https://thepencilhaus.com/wp-content/uploads/2026/02/Group-8.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion details#item-1 
> summary.e-n-accordion-item-title:hover::before,
.accordion details#item-2 
> summary.e-n-accordion-item-title:hover::before,
.accordion details#item-3
> summary.e-n-accordion-item-title:hover::before,
.accordion details#item-4
> summary.e-n-accordion-item-title:hover::before,
.accordion details#item-5 
> summary.e-n-accordion-item-title:hover::before,
.accordion details#item-6
> summary.e-n-accordion-item-title:hover::before {
    opacity: 1;
}

.accordion .e-n-accordion-item-title-header p {
    font-size: 20px;
    line-height: 30px;
    font-family: 'Geist' !important;
}

.accordion 
summary.e-n-accordion-item-title 
.e-n-accordion-item-title-header h1 p {
/*     opacity: 0; */
	display: none;
    transition: opacity 0.3s ease;
}

.accordion 
summary.e-n-accordion-item-title:hover 
.e-n-accordion-item-title-header h1 p {
/*     opacity: 1; */
	display: block;
}

.accordion .e-n-accordion-item[open] 
> summary.e-n-accordion-item-title 
.e-n-accordion-item-title-header h1 p {
/*     opacity: 1; */
	display: block;
}

.accordion .e-n-accordion-item[open] 
> summary.e-n-accordion-item-title {
    background-color: #ffffff;
    border-width: 0 !important;
}

.service-hero {
	height: 50vw;
}

.staff-member {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 90%;
    max-width: 1183px;
    max-height: 100vh; /* prevents vertical overflow */
    overflow-y: auto; /* adds scroll if content is tall */
    padding-top: 20px;
    box-sizing: border-box;
    display: none;
	
}

/* Overlay stays same */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99998;
    display: none;
	border-radius: 30px;
	
}

@media (max-width: 1728px) and (min-width: 1441px) {
	
}



@media (max-width: 1440px) {
  .review-section .swiper-button-prev {
    right: 35%;
  }
}

@media (max-width: 1366px) {
	.service-hero {
    height: 70vw;
   }
}

@media (max-width: 1200px) {
	.service-hero {
    height: 85vw;
   }
}



@media (max-width: 1024px) {
	.service-hero {
    	height: 110vw;
    }
	
	.contact .form-field-group.group-1 {
    	margin-bottom: 25px;
	}

	.contact .form-field-group.group-2 {
		margin-bottom: 18px;
		gap: 16px;
	}

	.contact .form-field-group.group-3 {
		margin-bottom: 53px;
		gap: 22px;
	}

	.contact .form-field-group.group-4 {
		margin-bottom: 77px;
		gap: 37px;
	}
	.accordion details#item-1 
	> summary.e-n-accordion-item-title::before {
		width: 200px;

	}

	.accordion details#item-2
	> summary.e-n-accordion-item-title::before {
		width: 200px;

	}

	.accordion details#item-3
	> summary.e-n-accordion-item-title::before {
		width: 170px;

	}

	.accordion details#item-4
	> summary.e-n-accordion-item-title::before {
		width: 250px;

	}

	.accordion details#item-5 
	> summary.e-n-accordion-item-title::before {
		width: 200px;

	}

	.accordion details#item-6 
	> summary.e-n-accordion-item-title::before { 
		width: 170px;

	}
}

@media (max-width: 768px) {
	 .service-hero {
        height: 130vw;
    }
	
  .review-section .swiper-button-prev, 
  .review-section .swiper-button-next {
    width: 60px;
    height: 60px;
  }
  .swiper-button-prev::before, 
  .swiper-button-next::before {
	transform: translate(-50%, 35%); 
  }
	
	.review-section .swiper-button-next {
	  right: 0;
	}
	.review-section .swiper-button-prev {
     left: 0;
     right: 0; 
  }
	.contact .form-field-group h2.form-label {
		font-size: 20px;
		line-height: 32px;
	}
	.contact input::placeholder,
	.contact textarea::placeholder {
		font-size: 20px;
		line-height: 32px;
	}
	
	.profile-option .select-profile .wpcf7-list-item-label {
		font-size: 20px;
	}
	
	.project-timeline .wpcf7-list-item-label {
		font-size: 20px;
	}
	
	.contact input.wpcf7-form-control.contact-form-submit {
		font-size: 20px;
	}
	
	.contact input.wpcf7-form-control.contact-form-submit {
		padding: 31px 0 32px;
	}
	
	.contact .form-field-group.group-3 {
		margin-bottom: 33px;
	}

	.contact .form-field-group.group-4 {
		margin-bottom: 57px;
		gap: 17px;
	}
	
	.accordion .e-n-accordion-item-title-header p {
		font-size: 17px;
		line-height: 26px;
	}
	
}

@media (max-width: 576px) {
	.service-hero {
		height: 220vw;
    }
}

@media (max-width: 575px) {
	.accordion .e-n-accordion-item-title-header p {
		font-size: 17px;
		line-height: 26px;
    }
	
	.contact .form-field-group h2.form-label {
		font-size: 17px;
		line-height: 28px;
	}
	
	.contact input::placeholder,
	.contact textarea::placeholder{
		font-size: 17px;
		line-height: 28px;
	}
	
	.contact .form-field-group.group-3 {
		margin-bottom: 13px;
	}

	.contact .form-field-group.group-4 {
		margin-bottom: 37px;
	}
	
	.profile-option .select-profile .wpcf7-list-item-label {
		font-size: 17px;
	}
	
	.project-timeline .wpcf7-list-item-label {
		font-size: 17px;
	}
	
	.contact input.wpcf7-form-control.contact-form-submit {
		font-size: 17px;
	}
	
	.contact input.wpcf7-form-control.contact-form-submit {
		padding: 21px 0 22px;
	}
	
	.accordion details#item-1 
	> summary.e-n-accordion-item-title::before {
		width: 125px;
	}

	.accordion details#item-2
	> summary.e-n-accordion-item-title::before {
		width: 125px;
	}

	.accordion details#item-3
	> summary.e-n-accordion-item-title::before {
		width: 85px;
	}

	.accordion details#item-4
	> summary.e-n-accordion-item-title::before {
		width: 125px;
	}

	.accordion details#item-5 
	> summary.e-n-accordion-item-title::before {
		width: 125px;

	}

	.accordion details#item-6 
	> summary.e-n-accordion-item-title::before { 
		width: 85px;
	}
	
	.accordion details#item-1 
		> summary.e-n-accordion-item-title:hover::before,
		.accordion details#item-2 
		> summary.e-n-accordion-item-title:hover::before,
		.accordion details#item-3
		> summary.e-n-accordion-item-title:hover::before,
		.accordion details#item-4
		> summary.e-n-accordion-item-title:hover::before,
		.accordion details#item-5 
		> summary.e-n-accordion-item-title:hover::before,
		.accordion details#item-6
		> summary.e-n-accordion-item-title:hover::before {
			opacity: 0;
	}
	
	.hero-section::before,
	.hero-section::after {
		width: 100%;

	}
}




body {
    zoom: 0.7;
}

/* Fix: staff-member popup needs to account for zoom */
.staff-member {
    zoom: calc(1 / 0.7);
}



















/* ===== Accordion Hover Images — Repositioned & Fanned ===== */

/* Move all images further right */
.accordion details#item-1 > summary.e-n-accordion-item-title::before,
.accordion details#item-2 > summary.e-n-accordion-item-title::before,
.accordion details#item-3 > summary.e-n-accordion-item-title::before,
.accordion details#item-4 > summary.e-n-accordion-item-title::before,
.accordion details#item-5 > summary.e-n-accordion-item-title::before,
.accordion details#item-6 > summary.e-n-accordion-item-title::before {
    left: 65%;
}

/* Fan each image with unique rotation + slight vertical offset */
.accordion details#item-1 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(-8deg);
}

.accordion details#item-2 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(-3deg);
}

.accordion details#item-3 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(2deg);
}

.accordion details#item-4 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(5deg);
}

.accordion details#item-5 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(-5deg);
}

.accordion details#item-6 > summary.e-n-accordion-item-title::before {
    transform: translate(0, -50%) rotate(8deg);
}

/* Force hover images above open accordion content */
.accordion details#item-1 > summary.e-n-accordion-item-title::before,
.accordion details#item-2 > summary.e-n-accordion-item-title::before,
.accordion details#item-3 > summary.e-n-accordion-item-title::before,
.accordion details#item-4 > summary.e-n-accordion-item-title::before,
.accordion details#item-5 > summary.e-n-accordion-item-title::before,
.accordion details#item-6 > summary.e-n-accordion-item-title::before {
    z-index: 999;
}

/* Ensure the summary itself can show content above siblings */
.accordion summary.e-n-accordion-item-title {
    z-index: 999;
}

/* Prevent accordion content from creating a higher stacking context */
.accordion .e-n-accordion-item {
    overflow: visible !important;
}

.accordion .e-con {
    overflow: visible !important;
}
