/* Modal image swipe-to-slide effect */
#modalImage {
    will-change: transform;
    position: relative;
    transition: transform 0.3s;
}

:root {
    --off-white: #FAFAFA;
    --secondary: #f3f3f3;
    --theme: #215520;
    --text-color: #252525;
    --secondary-text: #646464;
    --cta: #b80000;
    --cta2: #ff0e0e;
    --cta-gradient: linear-gradient(90deg, var(--cta) 0%, var(--cta2) 100%);
    --theme-font: 'Host Grotesk', sans-serif;
    --copy-font: 'Inter', sans-serif;
    --size1: 0.5rem;
    --size2: 1rem;
    --size3: 2rem;
    --size4: 3rem;
    --size5: 4rem;
    --size6: 5rem;
    --size7: 6rem;
}

/* GLOBAL CLASSES */

.cta {
    display: flex;
    color: var(--off-white);
    background: var(--cta-gradient);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta:hover::before {
    left: 100%;
}

.cta:hover {
    box-shadow: 0 4px 15px rgba(148, 0, 0, 0.315);
}

a.cta {
    text-decoration: none;
}

.ghost-btn {
    padding: 0.5rem 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
} 

.ghost-btn.white {
    border: 2px solid var(--off-white);
    border-radius: 4px;
    color: var(--off-white);
}

.ghost-btn.white:hover {
    background: var(--off-white);
    color: var(--text-color);
}

.ghost-btn.theme {
    border: 2px solid var(--cta2);
    border-radius: 4px;
    color: var(--cta2);
}

.ghost-btn.theme:hover {
    background: var(--cta2);
    color: var(--off-white);
}

.selected {
    font-weight: 800;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.img-wrapper {
    display: block;
    overflow: hidden;
}

.img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    user-select: none;
}


/* PAGE CONTENT */


* {
    box-sizing: border-box;
    font-family: var(--copy-font);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: var(--off-white);
}

body.no-scroll {
    overflow: hidden;
}

.header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 4;
}

.header-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 100%;
    width: 350px;
    margin: auto;
}

.header-right, nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    padding-right: 0.5rem;
}

.link {
    text-decoration: none;
    color: var(--off-white);
    cursor: pointer;
    margin: 0 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block; /* allow transform to run reliably */
}
.link:hover {
    transform: translateY(-2px);
}

/* Wrapper around SERVICES */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Submenu hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #444;
    display: none;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #555;
}

/* Show submenu on hover */
.dropdown:hover .dropdown-menu {
     display: flex;
}

/* Optional arrow indicator */
.dropdown > a::after {
    position: relative;
    top: -2px;
    content: " ▶";
    font-family: var(--copy-font);
    font-size: 0.7rem;
    margin-left: 4px;
    display: inline-block;  
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.dropdown:hover > a::after {
    transform: rotate(90deg);
    color: var(--cta2);
}

.contact {
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    margin-right: 1rem;
    z-index: 105;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--off-white);
    margin: 3px 0;
    transition: 0.3s;
    z-index: 105;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--cta2);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--cta2);
}

/* Mobile Menu Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    min-width: 250px;
    height: 100svh;
    background-color: var(--off-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav .dropdown > a {
    color: var(--cta2);
    width: 100%;
}

.mobile-nav.active {
    transform: translateX(0%);
}

.mobile-nav .nav-links {
    display: flex;
    flex-direction: column;
    padding: 4rem 1rem 1rem;
}

.mobile-exit {
    cursor: pointer;
    color: var(--cta);
}

.mobile-service {
    text-decoration: none;
    color: var(--off-white);
    cursor: pointer;
    margin: 0 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block; /* allow transform to run reliably */
}


.mobile-nav .link, .mobile-nav .mobile-service {
    padding: 1rem;
    margin: 0;
    text-align: center;
    color: var(--cta2);
}

.mobile-nav .contact {
    margin: 1rem;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

/* Non-index headers */

.header2 {
    position: relative;
    background-color: var(--cta);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 3px 15px 0 #68686846;
}

.contact2 {
    display: flex;
    color: var(--off-white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 800;
    border: 2px solid var(--off-white);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact2:hover {
    background-color: var(--off-white);
    color: var(--cta)
}

/* PAGE CONTENT START */

.hero-img {
    min-height: 400px;
    height: 768px;
    position: relative;
}

.hero-img img {
    transform: scaleX(102%);
}

.title-holder {
    position: relative;
    bottom: 75%;
    left: 25px;
}

.title p {
    color: var(--off-white);
}

.title-social-proof {
    position: absolute;
    top: -1.25rem;
}

.title h1 {
    font-family: var(--theme-font);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -5px; 
    max-width: 75rem;
    font-size: clamp(var(--size5), 5vw, var(--size7));
    color: var(--off-white);
    margin-bottom: 0.05em;
}

.title-desc {
    max-width: 850px;
}

.title-buttons {
    position: absolute;
    display: flex;
    gap: 1rem;
}

.title-buttons a {
    display: flex;
    height: 37px;
    color: var(--off-white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.gallery-link {
    border: solid 2px var(--off-white);
}

.gallery-link:hover {
    background: white;
    color: var(--cta);
}

.service-header {
    --height: 250px;
    height: var(--height);
    width: 100%;
    background: linear-gradient(90deg, #ff0000be 0%, #be00004f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--off-white);
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.service-link {
    margin: 0 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-icon {
    height: clamp(60px, 5vw, 100px);
}

.service-icon img {
    height: 100%;
    width: auto;
    display: block;
}

.service-name {
    font-weight: 700;
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2vw, var(--size3))
}

.vertical-divider {
    height: 175px;
    border-left: solid 1px var(--off-white);
}


/* -------------------- */

.key-info {
    margin: 5rem 0;
}

.key-info h2, .key-info h3 {
    font-family: var(--theme-font);
    color: var(--text-color)
}

.key-info h2 {
    font-size: clamp(var(--size4), 5vw, var(--size6));
    letter-spacing: -3px;
    line-height: 0.9;
}

.key-info h3 {
    font-size: clamp(1.10rem, 2vw, var(--size4));
    letter-spacing: -1px;
    
}

.about-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
    min-height: 300px;
}

.about-us-text {
    min-width: 400px;
    padding: 0 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    transition: all 0.3s ease;
}

.about-us-text p {
    margin: 1rem 0;
}

.about-us-picture {
    max-height: 350px;
    box-shadow: 0 3px 10px #63636349;
    transition: all 0.3s ease;
}

.about-us-container:nth-child(2n) {
    direction: rtl;
}

.about-us-container:nth-child(2n + 1) .about-us-picture {
    border-radius: 50px 0 0 50px;
    transform: translateX(80%);
}
.about-us-container:nth-child(2n) .about-us-picture {
    border-radius: 0 50px 50px 0;
    transform: translateX(-80%);
}

.about-us-container:nth-child(2n + 1) .about-us-picture > img {
    object-position: bottom left;
}
.about-us-container:nth-child(2n) .about-us-picture > img {
    object-position: bottom right;
}

.about-us-container:nth-child(2n + 1) .about-us-text { transform: translateX(-80%); }
.about-us-container:nth-child(2n) .about-us-text { transform: translateX(80%); }

.about-us-container.active .about-us-text,
.about-us-container.active .about-us-picture {
    transform: translateX(0);
}

/* -------------------- */

.service-grid-container {
    background-color: var(--secondary);
    padding: 2rem;
}

.service-grid-container h2 {
    color: var(--text-color);
    font-size: clamp(var(--size4), 5vw, var(--size6));
    text-align: center;
    font-weight: 300;
    font-family: var(--theme-font);
    letter-spacing: -2px;
}

.red-header {
    color: var(--cta2);
    font-size: clamp(var(--size4), 5vw, var(--size6));
    text-align: center;
    font-family: var(--theme-font);
    letter-spacing: -2px;
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    max-width: 1200px;
    margin: auto;
    gap: 0.5rem;
    padding: 1rem;
    place-items: center;
}

.index-service-card {
    min-height: 250px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
    justify-content: space-evenly;
    text-align: center;
    transition: transform 0.3s ease;
}

.index-service-card:nth-child(2n) {
    border: solid 1px var(--cta2);
}
.index-service-card:nth-child(2n + 1) {
    border: solid 1px var(--text-color);
}

.index-service-card:hover {
    transform: translateY(-4px);
}

.index-service-card:hover .logo-container > img {
    transform: scale(1.05, 1.05) translateY(-2px);
}

.index-service-card h3 {
    font-family: var(--theme-font);
}

.index-service-card p {
    font-size: var(--size2);
    color: var(--secondary-text);
    font-size: 14px;
}

.logo-container {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    border: 1px solid var(--cta2);
    padding: 0.25rem;
}

.logo-container img {
    height: 35px;
    width: 35px;
    transition: all 0.2s ease;
}


/* -------------------- */

.view-gallery-container {
    display: flex;
    flex-direction: row-reverse;
    padding-top: 3rem;
    justify-content: center;
    gap: 3rem;
    background-image: url('../img/electric-bg1.webp');
    background-color: rgba(255, 255, 255, 0.85);
    background-blend-mode: overlay;
}

.man-container {
    height: 500px;
}

.view-gallery {
    position: relative;
    background-color: #2b2b2bd5;
    box-shadow: 3px 7px 10px #7979792c;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    max-height: 200px;
    min-height: 150px;
    align-self: center;
    gap: 1rem;
    align-items: center;
    color: var(--off-white);
    border: double 1px #fff;
}

.view-gallery::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    right: 5px;
    border: 1px solid rgb(189, 189, 189);
    pointer-events: none;
}

/* -------------------- */

.reviews {
    background: linear-gradient(135deg, #ff2424 0%, #ff4a4a 100%);
    z-index: 3;
    position: relative;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--off-white);
    margin-bottom: 2rem;
}

.reviews-header h2 {
    margin-top: 1rem;
    margin-bottom: -0.75em;
    letter-spacing: -1px;
    font-size: 0.8rem;
    font-family: var(--theme-font);
    font-weight: 300;
}

.reviews-header h3 {
    margin: 0;
    font-size: 2rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 60px;
    margin: auto;
    width: 60%;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    padding: 32px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-reviews {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
}

.review-container {
  position: relative;
  overflow: hidden;
  height: 350px;
  width: 60%;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  border-radius: 5px;
  padding: 20px;
  margin: 2rem auto 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.review-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.review-card.exit-left {
  transform: translateX(-100%) !important;
  opacity: 0;
}

.review-card.exit-right {
  transform: translateX(100%) !important;
  opacity: 0;
}

.review-card.enter {
    opacity: 0;
}

.review-card.enter-left {
  transform: translateX(-1000%) !important;
  opacity: 0;
}

.review-card.enter-right {
  transform: translateX(1000%) !important;
  opacity: 0;
}

.stars {
  color: #fbbc04;
  margin-top: 5px;
}

.google-reviews button {
  border: none;
  background-color: #ffffff00;
  color: white;
  font-size: 30px;
  margin: 0 5px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  height: 47px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -------------------- */

.final-cta {
    position: relative;
    display: flex;
    padding-bottom: 1rem;
}

.final-cta::after {
    position: absolute;
    content: '';
    border-bottom: solid 2px #dadada;
    width: 80%;
    left: 50%;
    bottom: 0%;
    transform: translateX(-50%);
}

.final-cta-left, .final-cta-right {
    width: 50%;
}

.google-map {
    width: 100%;
    height: 100%;
}

.contact-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-form {
    width: 95%;
    margin: 3em auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.email-form h2 {
    color: var(--cta2);
    font-weight: 500;
    font-size: clamp(var(--size3), 4vw, var(--size5));
    line-height: 0.95;
    letter-spacing: -3px;
    font-family: var(--theme-font);
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;   
    align-items: center;      
    width: 80%;              
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 1280px;
}

.form-row input {
    width: 100%;
    height: 3em;
    margin: 0 0 1rem;
    border: none;
    border-radius: 3px;
    padding: 0 0 0 1rem;
    border: 2px solid var(--text-color);
}

.file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-row p {
    font-size: 0.75rem;
    text-wrap: nowrap;
}

.file-upload {
    border: none;
    width: 100%;
    margin: 0.5rem 0;
}

.email-body {
    width: 100%;
    max-width: 1280px;
}

.email-body textarea {
    width: 100%;
    border: none;
    border-radius: 3px;
    padding: 1rem 0 0 1rem;
    border: 2px solid var(--text-color);
}

.email-form input:focus,
.email-form textarea:focus {
    border: 3px solid var(--cta2);
    outline: none;
}

.submit-btn {
    outline: none;
    border: none;
    margin: auto;
    width: 250px;
    font-size: 16px;
    font-weight: 700;
}

/* -------------------- */

.footer-holder {
    min-height: 500px;
    background-color: var(--off-white);
    color: var(--text-color);
    z-index: 5;
}

.footer-contact-button {
    height: 5rem;
    width: 90%;
    margin: -4rem auto 0;
    background-color: #fff;
    border-radius: 5px;
    z-index: 5;
    display: flex;
    box-shadow: 0px 5px 15px #9e9e9e6c;
}

.footer-link {
    width: 20%;
    margin: auto;
    align-self: center;
    justify-self: center;
    text-align: center;
    font-weight: 700;
    color: var(--off-white) !important;
}

.footer-holder ul {
    list-style: none;
    padding: 0;

}

.footer-holder ul li {
    margin: 0.5rem 0 0.5rem 0;

}

.footer-holder a {
    color: var(--text-color);
}

.footer-top-grid {
    padding: 3rem;
    display: grid;
    grid-template-columns: 300px auto auto auto;
    max-width: 1650px;
    margin: auto;
    
}

.footer-logo {
    width: 300px;
    height: auto;
    align-self: center;
}

.footer-info {
    display: block;
}

.footer-info-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 70%;
    margin: 0.5rem auto;
}

.footer-book {
    padding: 0.25rem 0.5rem;
    color: var(--text-color);
    background-color: var(--off-white);
    border: 2px solid var(--cta);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-book:hover {
    background-color: var(--cta);
    color: var(--off-white);
}


.footer-divider {
    border-top: solid 2px #dadada;
    width: 80%;
    margin: auto;
    padding-bottom: 1rem;
}

.footer-divider.top-one {
    border-top: solid 2px #dadada00;
}

.footer-divider p {
    margin-bottom: 0;
}

.info-pic {
    height: 22px;
    width: 22px;
    margin-right: 0.1rem;
}

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


.about-container-top {
    background-image: url('../img/about-pg-bg.webp');
    height: 400px;
    
}
.content-holder2 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.about-text-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
    height: 100%;
}

.about-text-container {
    padding: 3rem;
    text-align: center;
    height: 100%;
}

.about-text-container p {
    margin: 1rem 0;
}

.larger {
    max-width: 700px !important;
}

.about-text-container2 h1 {
    font-family: var(--theme-font);
    color: var(--off-white);
    font-size: clamp(var(--size6), 5vw, var(--size7));
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -3px;
    line-height: 0.95;
}

.about-img-1, .about-img-2 {
    height: 400px;
    border-radius: 15px;
}

/* ------ SERVICES PAGE ------- */

.services-page h1 {
    font-family: var(--theme-font);
    text-align: center;
    font-size: 70px;
    color: var(--cta);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    margin: 2rem 0 0;
}

.services-page h2 {
    font-size: 20px;
    margin: 0 auto 1rem;
    text-align: center;
    color: var(--text-color);
}

.services-container {
    padding: 1rem 2rem;
    display: grid;
    max-width: 1500px;
    width: 85%;
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-rows: repeat(auto-fit);
    gap: 2rem;
}

.services-page-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.5rem;
    border-radius: 5px;
    height: 100%;
    margin: auto;
    border: solid 1px #8d8d8d;
}

.service-card-right {
    width: 40%;
    display: flex;
    align-items: center;
}

.services-page-card h3 {
    font-family: var(--theme-font);
    font-weight: 700;
    letter-spacing: -1px;
    font-size: var(--size3);
    color: var(--cta2);
    margin-bottom: 0;
}

.service-card-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.service-card-left h4 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: left;
}

.service-card-img {
    min-width: 150px;
}

.service-card-btn {
    width: 250px;
    text-align: center;
}

.service-card-links {
    display: flex;
}

.service-see-more {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    color: white;
    text-decoration: none;
    padding: 0 1rem;
    margin: 0 1rem;
}


/* ------ INDIVIDUAL SERVICE PAGES ------ */
.container-top {
    background-color:#ececec;
}

.content-holder {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.indser-text-container {
    padding: 3rem;
    text-align: center;
}

.larger {
    max-width: 700px !important;
}

.indser-text-container h1 {
    font-family: var(--theme-font);
    color: var(--cta2);
    font-size: clamp(var(--size5), 5vw, var(--size7));
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -2px;
    line-height: 0.95;
}

.indser-text-container p {
    color: #3b3b3b;
    font-weight: 300;
    margin: 0.5rem auto;
    max-width: 550px;
}

.indser-text-container ul {
    width: 50%;
    margin: 2rem auto;
    text-align: left;
    list-style-type: square;
}

.indser-text-container ul > li {
    font-weight: 600;
}

.indser-text-container ul > li::marker {
    color: var(--cta2);
}

.indser-img-1, .indser-img-2 {
    height: 400px;
    border-radius: 15px;
}

.content-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-item img {
    height: 100px;
    width: 100px
}

/* ------ GALLERY PAGE ------ */
.gallery-page h1 {
    font-size: 60px;
    color: var(--cta);
    font-family: var(--theme-font);
    font-weight: 800;
    letter-spacing: -3px;
    width: 70%;
    margin: 0 auto;
}

.collage {
    display: grid;
    display: none; /*REMOVE WHEN THEY GIVE YOU PICTURES*/
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
    width: 70%;
    max-width:1400px;
    margin:0 auto;
    margin-bottom:10px;
}
.collage img {
    max-width:100%;
    height:100%;
    object-fit:cover;
    cursor: pointer;
}
.collage img:nth-of-type(6n+1) {
    grid-row: span 2;
    grid-column: span 2;
}
.collage img:nth-of-type(6n+5) {
    grid-column: span 2;
    grid-row: span 2;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem;
    color: white;
    z-index: 1005;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-description {
    opacity: 0.8;
    line-height: 1.4;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(231, 73, 0, 0.5);;
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1005;
}

.close-btn:hover {
    background: rgba(231, 73, 0, 0.7);
    transform: scale(1.1);
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(231, 73, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1005;
}

.modal-nav-btn:hover {
    background: rgba(231, 73, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev-btn {
    left: 1rem;
}

.modal-next-btn {
    right: 1rem;
}

.modal-counter {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    z-index: 1005;
}


@keyframes rotate {
    to {
        transform: translateX(-50%)
    }
}

@supports (-webkit-touch-callout: none) {
    .dropdown > a::after {
        content: "";
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(-45deg);
        margin-left: 4px;
        transition: all 0.3s ease;
    }

    .dropdown:hover > a::after {
        transform: rotate(45deg);
        color: var(--cta2);
    }
}

@media screen and (max-width: 1080px) {
    .header-center .img-wrapper {
        display: none;
    }

    .comp-name {
        display: none;
    }

    .header-center {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-left: 1rem;
    }

    .footer-top-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 50%;
        padding: 1rem 0;
    }

    .page-title-holder {
        flex-direction: column-reverse;
    }

    .page-title {
        width: 80%;
    }

    .service-carousel-holder {
        padding: 0 3rem;
    }

    .gallery, .gallery-bg {
        height: 350px;
    }

    .gallery-content {
        top: 25%;
        transform: translate(-50%, 25%);
    }

    .footer-logo {
        height: 100px;
        width: auto;
        align-self: first baseline;
    }

    .footer-logo img {
        object-fit: scale-down;
    }
}

@media screen and (max-width: 900px) {
    .view-gallery-container {
        padding-top: 1rem;
    }

    .view-gallery {
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }

    .man-container {
        height: 250px;
    }
}

@media screen and (max-width: 850px) {
    .header {
        padding: 0;
        height: 100px;
    }
    
    .header-left {
        height: 100px;
    }

    .logo {
        width: 450px;
    }
    
    .header-right .link {
        margin: 0 0.25rem;
    }

    .header-right .large {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .title-img {
        min-width: 200px;
    }

    .footer-info {
        padding-top: 0;
    }

    .footer-holder {
        width: 100%;
        font-size: 12px;
    }

    .footer-top-grid {
        padding: 1rem;
        width: 80%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-info-line {
        margin: 0.75rem 0;
    }

    .email-form {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .service-name {
        font-size: clamp(0.4rem, 3.5vw, 1rem)
    }

    .service-description {
        display: none;
    }

    .cta-container-inner h2 {
        font-size: 30px;
    }

    .cta-container-inner h3 {
        font-size: 16px;
        margin-top: 0;
    }

    .key-info {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .about-us-container {
        display: flex;
        flex-direction: column;
        margin-top: 0.5rem;
    }

    .about-us-text {
        min-width: 200px;
        padding: 0 0.5rem;
    }

    .about-us-text > a {
        margin-bottom: 0.5rem;
    }

    .about-us-container:nth-child(2n) {
        direction: unset;
    }

    .about-us-container:nth-child(2n + 1) {
        margin-bottom: 2rem;
    }

    .about-us-container.active:nth-child(2n + 1) .about-us-picture {
        transform: translateX(10%);
    }

    .about-us-container.active:nth-child(2n) .about-us-picture {
        transform: translateX(-10%);
    }

    .about-us-container.active:nth-child(2n) .about-us-text {
        text-align: left;
    }

    .final-cta {
        flex-direction: column-reverse;
    }

    .final-cta-left, .final-cta-right {
        width: 100%;
    }

    .final-cta-left {
        height: 300px;
    }

    .services-container {
        width: 95%;
        padding: 0;
    }

    .services-page-card {
        padding: 0.5rem;
    }

    .service-card-left h2{
        margin: 0;
        text-align: center;
    }

    .service-card-left h5 {
        font-size: 16px;
        font-weight: 300;
        margin-bottom: 2rem;
        text-align: center;
    }

    .email-form h1 {
        margin-top: 0;
        font-size: 40px;
    }

    .form-row {
        display: block;
    }

    .form-group {
        width: 95%;
    }

    .service-card-links {
        justify-content: space-evenly;
    }

    .service-see-more {
        margin: 0 0.25rem;
        text-wrap: nowrap;
    }
}

@media screen and (max-width: 700px) {
    .content-holder {
        flex-direction: column;
        justify-content: center;
        padding: 0.5rem;
    }

    .content-holder2 {
        flex-direction: column-reverse;
    }

    .container-bottom > .content-holder:nth-child(1) {
        flex-direction: column-reverse;
    }

    .about-us-container {
        margin-bottom: 2rem;
    }

    .about-text-container {
        padding: 0 1rem 1rem;
    }

    .about-us-text p {
        margin: 0.5rem 0;
        font-size: 0.8rem;
    }

    .about-us-text h2 {
    font-size: clamp(var(--size3), 5vw, var(--size4));
    }

    .key-info h3 {
        font-size: clamp(1rem, 2vw, var(--size2));
        letter-spacing: -1px; 
    }

    .about-us-picture {
        max-height: unset;
    }

    .about-us-picture img {
        scale: 1.05
    }

    .key-info {
        margin-bottom: 0;
    }

    .service-header {
        height: 200px;
    }

    .service-icon {
        height: clamp(35px, 10vw, 50px);
    }

    .vertical-divider {
        height: 80%;
    }

    .service-link {
        margin: 0 0.25rem;
        width: 100px;
    }

    .indser-text-container {
        padding: 0 0 2rem;
    }

    .indser-text-container h1 {
        font-size: clamp(var(--size4), 5vw, var(--size5));
    }

    .content-item img {
        height: 70px;
        width: 70px;
    }

    .content-item {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 550px) {
    .view-gallery-container {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .view-gallery {
        padding: 1rem;
    }

    .man-container {
        width: 250px;
        height: auto;
        align-self: center;
        margin-bottom: -1rem;
    }

    .about-container-top {
        height: auto;
    }

    .about-text-container {
        padding: 0 0 1rem;
    }

    .about-text-container2 {
        height: auto;
        padding: 2rem 1.25rem;
    }

    .about-text-container2 h1 {
        font-size: 4rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }

    .services-page-card {
        gap: 0.5rem;
    }

    .service-card-img {
        width: 75px;
        height: 75px;
    }

    .service-card-img img {
        width: 75px;
        height: 75px;
    }

    .service-card-right {
        height: 30%;
        max-width: 100px;
    }

    .service-card-left {
        overflow:visible;
        width: 200px;
    }

    .service-card-left p {
        font-size: 0.75rem;
        min-width: 300px;
        max-width: 90vw;
    }

    .service-card-btn {
        justify-self: center;
    }

    .indser-text-container ul {
        width: 80%;
    }

    .content-holder {
        padding: 0.75rem;
    }

    .service-grid-container {
        padding: 1rem;
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .service-grid {
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .header-center {
        width: 150px;
        padding-left: 1.5rem;
    }

    .contact-label, .contact-value {
        font-size: 10px !important;
    }
    
    .logo {
        width: 250px;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        display: flex;
    }

    .hamburger {
        margin-right: 0;
    }

    .hero-img {
        height: 500px;
    }

    .hero-img img {
        object-position: 75%;
    }

    .title-holder {
        left: 10px;
    }

    .title {
        width: 90%;
    } 

    .title h1 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .title-desc {
        font-size: 0.8rem;
    }

    .title-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .title-buttons a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        width: 150px
    }

    .service-header {
        height: 100px;
    }

    .page-title-holder {
        padding-top: 0;
    }
    
    .page-title {
        flex-direction: column;
        gap: 1rem;
        width: 95%;
    }

    .page-title h2 {
        line-height: 1.2;
        margin-top: 0.1rem;
        font-size: 32px;
    }

    .carousel-header h2 {
        line-height: 1.2;
        margin-top: 0.75rem;
        font-size: 32px;
    }

    .nav-buttons {
        align-self:last baseline;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }

    .service-carousel-holder {
        padding: 0 1rem;
    }

    .reviews-container {
        justify-content: center;
        width: 100%;
    }

    .review-card {
        padding: 2rem 0.5rem;
        min-width: unset;
        font-size: 12px;
    }

    .review-info p {
        font-size: 12px;
    }

    .gallery, .gallery-bg {
        height: 250px;
    }

    .gallery-content h2 {
        font-size: 50px;
    }

    .reviews {
        padding: 0;
    }

    .reviews-header {
        padding: 0 1rem;
        text-align: center;
    }

    .reviews-header h3 {
        line-height: 1.2;
        margin-top: 1rem;
        font-size: 32px;
    }

    .stats-section {
        width: 85%;
    }

    .review-container {
        width: 85%;
        height: 275px;
    }

    .review-card p {
        margin: 0;
    }

    .cta-container-inner {
        padding: 0 1rem;
    }

    .footer-link {
        width: 35%;
    }
}