/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e4d4b;
    /* Verde oscuro azulado */
    --secondary-color: #2d6a6a;
    /* Verde azulado medio */
    --accent-color: #3a8080;
    /* Verde azulado claro */
    --complementary: #4d4b1e;
    /* Amarillo verdoso (complementario) */
    --light-teal: #5fb3b3;
    /* Teal claro */
    --dark-teal: #0f3333;
    /* Teal muy oscuro */
    --sage-green: #7fb069;
    /* Verde salvia */
    --mint-green: #a8d5ba;
    /* Verde menta */
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --background-light: #f8fafa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Floating Design */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(30, 77, 75, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 12px 40px rgba(30, 77, 75, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(58, 128, 128, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    height: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.nav-logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 77, 75, 0.3);
    padding: 8px;
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-logo-icon:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 77, 75, 0.4);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-logo a {
    text-decoration: none;
}

.navbar.scrolled .nav-logo h2 {
    font-size: 1.4rem;
}

.nav-center {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 8px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 128, 128, 0.3);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 77, 75, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--sage-green), var(--complementary));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--complementary), var(--sage-green));
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.6);
}

.nav-cta:hover::before {
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.hamburger:hover span {
    background: white;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Mobile menu - Hidden by default */
.nav-menu-mobile {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('imgs/portada.jpg') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    line-height: 0.8;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.7),
        0 0 40px #000;
}




.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-weight: 400;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--sage-green);
    color: white;
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.4);
}

.btn-primary:hover {
    background: var(--complementary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 176, 105, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-green), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 50px 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text ul.why-invest-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .about-text ul.why-invest-list {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

.about-text ul.why-invest-list li {
    background: white;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.about-text ul.why-invest-list li:hover {
    transform: translateY(-5px);
}

.about-text ul.why-invest-list li::before {
    content: '\f00c';
    /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--sage-green);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 50px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 106, 106, 0.6), rgba(58, 128, 128, 0.6));
    z-index: 2;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
    opacity: 0.8;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.05);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

/* Optimización para imágenes cuadradas */
@media (max-width: 768px) {
    .project-image {
        height: 220px;
    }
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-content i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--complementary);
    transform: translateX(5px);
}

/* Services Section */
.services {
    padding: 50px 0;
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 2rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-green), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    padding: 50px 0;
    background: var(--background-light);
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 77, 75, 0.15);
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 77, 75, 0.3), rgba(58, 128, 128, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 4px;
    /* Adjust for visual centering */
}

.video-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.video-description h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-description p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background: var(--background-light);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    /* Asegura que ocupe el ancho disponible */
    max-width: 400px;
    /* Limita el ancho máximo para consistencia */
    justify-content: flex-start;
    /* Alinea el contenido al inicio */
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-light);
    font-size: 1rem;
    word-break: break-word;
    /* Permite que las palabras largas se rompan */
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 548px;
    max-width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(58, 128, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-teal);
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--mint-green);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-teal);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--light-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
    color: #95a5a6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
    }

    .nav-container {
        padding: 12px 20px;
    }

    .nav-center {
        display: none;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        border-radius: 25px;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .nav-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    /* Mobile menu overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 997;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu-mobile {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 40px);
        max-width: 400px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 20px;
        flex-direction: column;
        padding: 25px 20px;
        gap: 5px;
        box-shadow: 0 15px 50px rgba(30, 77, 75, 0.25);
        border: 1px solid rgba(58, 128, 128, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        list-style: none;
        margin: 0;
        padding: 25px 20px;
        display: flex;
    }

    .nav-menu-mobile.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu-mobile li {
        width: 100%;
    }

    .nav-menu-mobile .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-radius: 15px;
        font-size: 1rem;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--sage-green);
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Contact Section Mobile Fixes */
    .contact {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    .contact-icon i {
        font-size: 1.2rem;
    }

    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .contact-details p {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .contact-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    /* Footer Mobile Fixes */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Hero Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Video Section Mobile */
    .video-section {
        padding: 60px 0;
    }

    .video-container {
        margin: 0 auto 2rem;
        border-radius: 15px;
    }

    .video-wrapper iframe {
        border-radius: 15px;
    }

    .video-description h3 {
        font-size: 1.5rem;
    }

    .video-description p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }
}

/* Gallery Styles */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1001;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}