/* Reset and Base Styles */
:root {
    --primary-color: #F28C39;
    --primary-hover: #226ED9;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --background-light: #f9f9f9;
    --background-dark: #333;
    --border-light: #ddd;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-size: 1.125rem; /* 18px */
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    background-color: var(--text-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.topbar {
    background-color: var(--background-light);
    padding: 0.75rem 0;
    font-size: 1rem; /* 16px */
}

.topbar .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.contact-info {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-info-item i {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    color: var(--text-light);
    font-size: 1rem;
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-container .logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: var(--text-dark);
}

.logo img {
    margin-right: 0.75rem;
    height: 3rem;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-item {
    position: relative;
}

.nav-button {
    background: none;
    border: none;
    font-size: 1rem; /* 16px */
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    transition: color var(--transition);
}

.nav-button:hover {
    color: var(--primary-color);
}

.icon-container {
    margin-left: 0.375rem;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--text-white);
    box-shadow: var(--shadow-md);
    display: none;
    min-width: 12rem;
    z-index: 1000;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown-content {
    padding: 0.75rem 0;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 1rem; /* 16px */
    color: var(--text-dark);
    transition: background-color var(--transition);
}

.dropdown-item:hover {
    background-color: var(--background-light);
}

.nav-link {
    font-size: 1rem; /* 16px */
    color: var(--text-dark);
    padding: 0.75rem;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.quote-button {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition);
    will-change: background-color;
}

.quote-button:hover {
    background-color: var(--primary-hover);
}

.mobile-menu-button-container {
    display: none;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background-color: var(--text-white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.nav-mobile:not(.hidden) {
    display: flex;
}

.hidden {
    display: none !important;
}

.nav-mobile-link {
    padding: 0.75rem 0;
    font-size: 1rem; /* 16px */
    color: var(--text-dark);
    transition: color var(--transition);
}

.nav-mobile-link:hover {
    color: var(--primary-color);
}

.nav-mobile-quote {
    margin-top: 1.25rem;
}

.quote-button-mobile {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    display: inline-block;
    transition: background-color var(--transition);
}

.quote-button-mobile:hover {
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 32rem;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
}

.hero-content {
    max-width: 48rem;
    padding: 1.25rem;
}

.hero-title {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1.75rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.hero-button-services, .hero-button-contact {
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition), color var(--transition);
    will-change: background-color, color;
}

.hero-button-services {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.hero-button-services:hover {
    background-color: var(--primary-hover);
}

.hero-button-contact {
    background-color: var(--primary-hover);
    
    color: var(--text-white);
}

.hero-button-contact:hover {
    background-color: var(--text-white);
    color: var(--text-dark);
}

/* Services Section */
.services-section {
    padding: 3rem 0;
}

.services-header, .projects-header, .news-header, .video-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition);
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-0.25rem);
}

.service-icon {
    margin-bottom: 1.25rem;
}

.service-icon-inner {
    background-color: var(--primary-color);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-white);
}

.service-title {
    font-size: 1.75rem; /* 28px */
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.service-link {
   
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* space between text and icon */
    text-decoration: none;
    
}
.service-link:hover {
    background-color: var(--primary-hover);
}

.icon-container {
    display: flex;
    align-items: center;
}

.whatsapp-buy {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: #25D366;
    color: var(--text-white);
    padding: 0.75rem 1rem;
    border-radius: 9999px; /* Pill shape */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: background-color var(--transition), color var(--transition);
}

.whatsapp-buy:hover {
    background-color: #1DA851;
    color: var(--text-white);
}

.whatsapp-buy i {
    font-size: 1.25rem;
}


/* Projects Section */
.projects-section {
    padding: 3rem 0;
    background-color: var(--background-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: var(--text-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-image-container {
    position: relative;
}

.project-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-button {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition);
}

.project-overlay-button:hover {
    background-color: var(--primary-hover);
}

.project-content {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-client {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.project-description {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
}

.project-tags {
    display: flex;
    gap: 0.75rem;
}

.project-tag {
    background-color: var(--background-light);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem; /* 14px */
    color: var(--text-light);
}

.projects-view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all-button {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition);
}

.view-all-button:hover {
    background-color: var(--primary-hover);
}

/* Video Section */
.video-section {
    padding: 3rem 0;
}

.video-container {
    max-width: 48rem;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

/* Sustainability Section */
.sustainability-section {
    padding: 3rem 0;
}

.sustainability-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.sustainability-text {
    flex: 1;
}

.sustainability-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.stat-card {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    color: var(--primary-color);
}

.stat-description {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
}

.sustainability-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: background-color var(--transition);
}

.sustainability-button:hover {
    background-color: var(--primary-hover);
}

.sustainability-image {
    flex: 1;
}

.sustainability-img {
    width: 100%;
    border-radius: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 1rem;
    background-color: var(--background-light);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonials-header .section-description {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 40rem;
    margin: 0 auto;
    margin-top: 0.75rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--text-white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-light);
}


/* News Section */
.news-section {
    padding: 3rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
}

.news-card {
    background-color: var(--text-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.news-content {
    padding: 1.25rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.news-date, .news-tag {
    font-size: 0.875rem; /* 14px */
    color: var(--text-light);
}

.news-divider {
    color: var(--text-light);
}

.news-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.news-description {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1rem; /* 16px */
    font-weight: 500;
    transition: color var(--transition);
}

.news-link:hover {
    color: var(--primary-hover);
}

/* Quote Section */
.quote-section {
    padding: 3rem 0;
    background-color: var(--background-light);
}

.quote-container {
    max-width: 48rem;
    margin: 0 auto;
}

.quote-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    transition: border-color var(--transition);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.custom-checkbox-input {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 0.375rem;
    cursor: pointer;
    appearance: none;
    transition: background-color var(--transition), border-color var(--transition);
}

.custom-checkbox-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox-input:checked::after {
    content: '\2713';
    display: block;
    text-align: center;
    color: var(--text-white);
    font-size: 1rem;
    line-height: 1.5rem;
}

.checkbox-label {
    font-size: 1rem; /* 16px */
    cursor: pointer;
}

.form-help {
    font-size: 0.875rem; /* 14px */
    color: var(--text-light);
    margin-top: 0.375rem;
    display: block;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.terms-link {
    color: var(--primary-color);
    font-size: 1rem; /* 16px */
    transition: color var(--transition);
}

.terms-link:hover {
    color: var(--primary-hover);
}

.form-submit {
    text-align: center;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    cursor: pointer;
    transition: background-color var(--transition);
    will-change: background-color;
}

.submit-button:hover {
    background-color: var(--primary-hover);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: flex;
    gap: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-info-card {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.contact-info-title {
    font-size: 1.75rem; /* 28px */
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-icon {
    margin-top: 0.375rem;
}

.contact-info-subtitle {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.contact-info-text {
    font-size: 1rem; /* 16px */
    color: var(--text-light);
    white-space: normal;
    overflow: visible;
}

.contact-social {
    margin-top: 1.5rem;
}

.contact-social-title {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form-map {
    flex: 1;
}

.contact-form-card {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    
}

.contact-form-title {
    font-size: 1.75rem; /* 28px */
    font-weight: 700;
    margin-bottom: 1.25rem;
}



.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-map iframe {
    width: 100%;
    height: 18rem;
    border-radius: 0.5rem;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-white);
    padding: 3rem 0 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-logo img {
    margin-right: 0.75rem;
    height: 3rem;
}

.footer-description {
    font-size: 1rem; /* 16px */
    color: #ccc;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.footer-social-link {
    font-size: 1.25rem;
    color: #ccc;
    transition: color var(--transition);
}

.footer-social-link:hover {
    color: var(--primary-color);
}

.footer-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 1rem; /* 16px */
    color: #ccc;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-newsletter-text {
    font-size: 1rem; /* 16px */
    color: #ccc;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input-container {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #555;
    border-radius: 0.375rem;
    font-size: 1rem; /* 16px */
    background-color: #444;
    color: var(--text-white);
    transition: border-color var(--transition);
    max-width: 100%;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.newsletter-button {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color var(--transition);
    font-size: 1rem; /* 16px */
    max-width: 100%;
    margin-top: 0.5rem;
}

.newsletter-button:hover {
    background-color: var(--primary-hover);
}

.footer-certifications {
    margin-top: 1.5rem;
}

.certifications-title {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    margin-bottom: 1rem;
}

.certifications-grid {
    display: flex;
    gap: 1rem;
}

.certification-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-divider {
    border: none;
    border-top: 1px solid #555;
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 1rem; /* 16px */
    color: #ccc;
}

.footer-legal-links {
    display: flex;
    gap: 1.25rem;
}

.footer-legal-link {
    font-size: 1rem; /* 16px */
    color: #ccc;
    transition: color var(--transition);
}

.footer-legal-link:hover {
    color: var(--primary-color);
}

/* Message Button */
.message-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--primary-color);
    color: var(--text-white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background-color var(--transition), transform var(--transition);
    box-shadow: var(--shadow-md);
}

.message-button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

.message-tooltip {
    visibility: hidden;
    position: absolute;
    left: 4rem;
    bottom: 1rem;
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: visibility var(--transition);
}

.message-button:hover .message-tooltip {
    visibility: visible;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Reuse form styles */
.form-group label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--text-light);
    border-radius: 0.25rem;
    width: 100%;
}

.form-submit {
    
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color var(--transition);
}


.form-feedback {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.form-feedback.error {
    color: #e74c3c;
}

.form-feedback.success {
    color: #2ecc71;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 48rem) {
    .message-button {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 3rem;
        height: 3rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 36rem) {
    .message-button {
        bottom: 1rem;
        left: 1rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: #25D366;
    color: var(--text-white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: background-color var(--transition);
}

.whatsapp-button:hover {
    background-color: #20b356;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 4rem;
    right: 0.5rem;
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem; /* 14px */
    white-space: nowrap;
    max-width: calc(100vw - 1.5rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Legal Section */
.legal-section {
    padding: 3rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-toc {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.toc-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-link {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.toc-link:hover {
    color: var(--primary-hover);
}

.legal-content {
    max-width: 48rem;
    margin: 0 auto;
}

.policy-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.policy-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-list li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Mobile Media Queries */
@media (max-width: 48rem) {
    .legal-section {
        padding: 2rem 0;
    }

    .legal-toc {
        padding: 1rem;
    }

    .toc-title {
        font-size: 1.25rem;
    }

    .toc-link {
        font-size: 0.875rem;
    }

    .policy-title {
        font-size: 1.5rem;
    }

    .policy-subtitle {
        font-size: 1.125rem;
    }

    .policy-text, .policy-list li {
        font-size: 0.875rem;
    }
}

@media (max-width: 36rem) {
    .legal-section {
        padding: 1.5rem 0;
    }

    .legal-toc {
        padding: 0.75rem;
    }

    .toc-title {
        font-size: 1.125rem;
    }

    .toc-link {
        font-size: 0.75rem;
    }

    .policy-title {
        font-size: 1.25rem;
    }

    .policy-subtitle {
        font-size: 1rem;
    }

    .policy-text, .policy-list li {
        font-size: 0.75rem;
    }
}


/* Mobile Media Queries */
@media (max-width: 48rem) {
    .container {
        padding: 0 1rem;
    }

    .nav-desktop, .quote-button-container {
        display: none;
    }

    .mobile-menu-button-container {
        display: block;
    }

    .topbar {
        font-size: 0.875rem; /* 14px */
    }

    .topbar .container {
        gap: 0.5rem;
    }

    .contact-info {
        gap: 0.75rem;
    }

    .contact-info-item {
        font-size: 0.875rem; /* 14px */
        max-width: 48rem;
        flex-direction: row;
        flex: 1;
        word-break: break-word;
    }

    .nav-mobile-group {
    margin-bottom: 1rem;
}

.nav-mobile-toggle {
    width: 100%;
    background: none;
    border: none;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    color: #222;
}

.nav-mobile-toggle::after {
    content: '▸';
    float: right;
    transition: transform 0.3s ease;
}

.nav-mobile-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.nav-mobile-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 1rem;
}

.nav-mobile-collapse a {
    display: block;
    padding: 0.5rem 0;
}

.nav-mobile-toggle[aria-expanded="true"] + .nav-mobile-collapse {
    max-height: 500px;
    opacity: 1;
}


    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        font-size: 0.875rem; /* 14px */
    }

    .hero-section {
        height: 28rem;
    }

    .hero-content {
        max-width: 48rem;
        padding: 1.25rem;
    }


    .hero-title {
        font-size: 2.5rem; /* 40px */
    }

    .hero-description {
        font-size: 1rem; /* 16px */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem; /* 28px */
    }

    .sustainability-content {
        flex-direction: column;
    }

    .sustainability-stats {
        grid-template-columns: 1fr;
    }

    .quote-form-grid, .service-checkboxes, .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-info-card, .contact-info-item {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* stack items vertically */
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }

    .newsletter-input-container {
        padding: 0 0.75rem;
    }

    .newsletter-input {
        font-size: 0.875rem; /* 14px */
        padding: 0.5rem;
    }

    .newsletter-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem; /* 14px */
        margin-top: 0.5rem;
    }

    .whatsapp-button {
        width: 3rem;
        height: 3rem;
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-tooltip {
        font-size: 0.75rem; /* 12px */
        padding: 0.375rem 0.5rem;
        bottom: 3.5rem;
        right: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 36rem) {
    .container {
        padding: 0 0.75rem;
    }

    .topbar .container {
        flex-direction: row;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 48rem;
        padding: 1.25rem;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .contact-info-item {
        font-size: 0.75rem; /* 12px */
        max-width: 48rem;
        
    }

    .nav-mobile-group {
    margin-bottom: 1rem;
}

.nav-mobile-toggle {
    width: 100%;
    background: none;
    border: none;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    color: #222;
}

.nav-mobile-toggle::after {
    content: '▸';
    float: right;
    transition: transform 0.3s ease;
}

.nav-mobile-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.nav-mobile-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 1rem;
}

.nav-mobile-collapse a {
    display: block;
    padding: 0.5rem 0;
}

.nav-mobile-toggle[aria-expanded="true"] + .nav-mobile-collapse {
    max-height: 500px;
    opacity: 1;
}


    .social-links {
        justify-content: flex-start;
    }

    .social-link {
        font-size: 0.75rem; /* 12px */
    }

    .section-title {
        font-size: 1.5rem; /* 24px */
    }

    .hero-section {
        height: 24rem;
    }

    .hero-title {
        font-size: 2rem; /* 32px */
    }

    .hero-description {
        font-size: 0.875rem; /* 14px */
    }

    .newsletter-input-container {
        padding: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* stack items vertically */
    }

    .newsletter-input {
        font-size: 0.75rem; /* 12px */
    }

    .newsletter-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem; /* 12px */
    }
    .footer-grid{
        padding: 0 0.5rem;
    }

    .footer-links{
        padding: 0 0.5rem;
    }

    
}