:root {
    --primary-color: #70E1A6;
    --secondary-color: #ffffff;
    --dark-color: #1A1A1A;
    --error-color: #E74C3C;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--dark-color);
}

/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Reset margins for headers and paragraphs */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase; /* This makes the text appear in all caps */
}

h1 {
    font-family: var(--font-heading);
    text-transform: uppercase; /* This makes the text appear in all caps */
    font-size: clamp(65px, 15vw, 140px); /* Minimum size 40px, preferred size 10vw, maximum size 140px */
    line-height: 90%;
    font-weight: 800;
    text-wrap: balance;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 3rem; /* mb-12 */
    font-size: clamp(60px, 10vw, 100px);
    text-wrap: balance;
}

h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: clamp(50px, 8vw, 70px);
    text-wrap: balance;
}

h4 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 auto;
    margin-bottom: 1rem; /* mb-4 */
    text-wrap: balance;
}

p {
    font-family: var(--font-body);
    font-size: 24px;
    text-wrap: balance;
}

li {
    font-family: var(--font-body);
    font-size: 19px;
}

.display-big {
    display: block;
}

.display-small {
    display: none;
}

.display-big-inline {
    display: inline;
}

a {
    display: inline-block;
}


/* Responsive classes */
@media (max-width: 768px) {
    .display-big {
        display: none;
    }

    .display-small {
        display: block;
    }

    .display-big-inline {
        display: none;
    }
}

/* Hero section */
.hero {
    background-color: var(--primary-color);
    width: 100%;
}

.hero-page {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text horizontally */
    padding-top: 30px;
}

.hero-secondary {
    background-color: var(--secondary-color);
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text horizontally */
    padding-top: 30px;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0px;
    }

}


.hero-statement {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight:400;
}

.hero-statement a {
    color: var(--dark-color);
    font-weight: 600;
}

.big-statement .hero-statement {
    color: var(--secondary-color);
}

.big-statement .hero-statement a {
    color: var(--secondary-color);
}

.hero-page .hero-statement a {
    color: var(--secondary-color);
    font-weight: 600;
}

.container, 
.container-FAQ, 
.container-contact {
    margin: 0 auto;
    text-align: center;
    align-items: center;
    padding: 90px 0;
}

.container {
    width: 1200px;
    max-width: 90%;
}

.container-FAQ {
    width: 900px;
    max-width: 90%;
}

.container-contact {
    width: 600px;
    max-width: 90%;
}

/* Smaller screens (tablet & mobile) */
@media (max-width: 768px) {
    .container, 
    .container-FAQ, 
    .container-contact {
        padding: 70px 0; /* Reduce padding on all */
    }
}

section a {
    text-decoration: none;
}

button {
    padding: 18px 33px;
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 90%;
    font-weight: 800;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    margin: 0 auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* White Button */
button.white {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

button.white:hover {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

/* Green Button */
button.green {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

button.green:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Black Button */
button.black {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

button.black:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

button.full {
    width: 100%;
}

.cards-wrapper {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    background-color: var(--primary-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
}

.animate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.animate-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.circle {
    width: 106px;
    height: 106px;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    border-radius: 50%;
}

.circle img {
    max-height: 50px;
    max-width: 50px;
}

.card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    margin: 0 auto;
    line-height: 120%;
}

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

.big-statement-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    line-height: 1;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.section-green {
    background-color: var(--primary-color);
}

.section-green .card {
    background-color: var(--secondary-color);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-size: clamp(60px, 10vw, 100px);
}

.section-description {
    font-family: var(--font-body);
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 40px;
}

.section-description a {
    color: var(--dark-color);
    font-weight: 600;
}

.areas-image {
    width: 100%;
    height: auto;
}

.faq-item {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    cursor: pointer;  /* Add this to make the entire item clickable */
}

.faq-padding {
    padding: 28px;
}

.faq-content {
    font-family: var(--font-body);
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.faq-question {
    font-size: 24px;
    font-weight: 600;
    line-height: 120%;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* The two lines that make the "+" */
.faq-toggle .line {
    position: absolute;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Horizontal line (always visible) */
.faq-toggle .horizontal {
    width: 100%;
    height: 3px;
}

/* Vertical line (hides when open) */
.faq-toggle .vertical {
    width: 3px;
    height: 100%;
}

/* Open state - whole toggle rotates */
.faq-item.open .faq-toggle {
    transform: rotate(180deg);
}

/* When faq-item is open, hide vertical line */
.faq-item.open .faq-toggle .vertical {
    opacity: 0;
    transform: scaleY(0);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.2s;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    font-family: var(--font-body);
    text-align: left;
    padding: 0 14px;
    opacity: 0;
}

/* When open */
.faq-item.open .faq-answer {
    max-height: 500px;  /* Adjust for content */
    padding: 14px 14px 0px 14px;
    opacity: 1;
}

/* Optional: for closing (instant fade out if you want) */
.faq-item:not(.open) .faq-answer {
    transition: opacity 0.1s ease; /* Faster fade-out */
}

.contact-box {
    width: 100%;
    background-color: var(--secondary-color);  /* Assuming var(--secondary-color) is defined */
    border-radius: 24px;
    padding: 30px;
}

.contact-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-content input {
    padding: 15px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.contact-content input::placeholder {
    color: #888;
}

.error-message {
    color: #e74c3c;  /* Nice red color */
    font-size: 16px;
    margin-top: 5px;
    display: none;  /* Hide initially */
    text-align: left;
    font-family: var(--font-body);
}

.input-group {
    position: relative;
}

.input-group input {
    padding: 15px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.input-group input::placeholder {
    color: #888;
}

.input-group .error-message {
    display: block;  /* Will be shown when there's an error */
}

.confirmation-message {
    margin-top: 30px;
    padding: 15px;
    background-color: var(--dark-color);  /* Same as your primary button color */
    color: var(--secondary-color);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 20px;
    text-align: center;
    display: none;  /* Initially hidden */
}



  .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px; /* 60px gap between left and right side */
    text-align: left;
  }
  
  .left-side,
  .right-side {
    width: 50%; /* Both take up half the width */
  }

  
  .flex img {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }
  
  .flex p {
    margin-bottom: 20px;
  }

  .reversed-order .left-side { /* Add reversed-order class next to flex to reverse the order on small screens */
    order: 1;
  }
  
  .reversed-order .right-side {
    order: 2;
  }


.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pills li {
    list-style-type: none;
  }

.pill {
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pills.center {
    justify-content: center; /* Ensures pills are centered on mobile */
}

/* White Pill */
.pill.white {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.pill.white:hover {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

/* Green Pill */
.pill.green {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.pill.green:hover {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

/* Black Pill */
.pill.black {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

.pill.black:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.pill.gray {
    background-color: none;
    border: 2px solid var(--dark-color);
    color: var(--dark-color);
}

.text-link {
    color: var(--dark-color);
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.6;
}


/* Responsive styles for smaller screens */
@media screen and (max-width: 768px) {
.flex {
    flex-direction: column; /* Stack the items vertically */
    text-align: center;
}

.left-side,
.right-side {
    width: 100%; /* Take full width */
}

.reversed-order .left-side {
    order: 2;
    }
    
.reversed-order .right-side {
    order: 1;
}

.pills {
    justify-content: center; /* Ensures pills are centered on mobile */
}
    
}




.cities p {
    margin-bottom: 1.5em;
}


.pop-up-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: flex-end; /* Aligns at the bottom */
    position: fixed;
    bottom: -100px; /* Initially off-screen */
    left: 0; /* Ensure it starts at the left of the screen */
    z-index: 5;
    width: 100%; /* Full width of the screen */
    height: auto; /* Height will adjust based on content */
    transition: bottom 0.3s ease-in-out; 
}

.pop-up {
    background-color: var(--secondary-color);
    border-radius: 24px 24px 0px 0px;
    border: 1px solid #f4f4f4;
    margin: 0 auto; /* Centers the pop-up horizontally */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: auto; /* Makes width auto so it adapts to content */
    max-width: 100%; /* Prevents overflow on smaller screens */
    padding: 20px 40px; /* Adjust padding as needed */
}

.pop-up-content p {
    font-size: 20px;
}

.pop-up-content a {
    text-decoration: none;
    font-weight: 600;
    color: var(--dark-color);
}

.pop-up-button button {
    font-size: 20px;
    border-radius: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    bottom: 16px;
}

.pop-up-button a {
    text-decoration: none;
}

.pop-up-button-text {
    position: relative;
    bottom: 3px;
    margin-left: 8px;
}


/* Reviews Section */
.reviews {
    background-color: var(--dark-color);
}

.reviews img {
    width: 26px;
    margin-bottom: 16px;
}

.reviews h2 {
    color: var(--secondary-color);
}

.reviews-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center; /* Centers items horizontally */
    flex-wrap: wrap; /* Allows items to wrap when the screen is smaller */
}

.review-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    width: calc(33.33% - 20px); /* 3 items per row with some gap */
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease;
}

.review-card p {
    font-size: 20px;
}

/* Responsive: Stack reviews on smaller screens */
@media (max-width: 768px) {
    .review-card {
        width: 100%; /* 1 item per row on small screens */
    }
}