:root {
    --primary-darkest: #0f4d0f;
    --primary-dark: #1a5d1a;
    --primary: #2e8b57;
    --primary-light: #3cb371;
    --primary-lightest: #8fbc8f;
    --secondary: #ffa500;
    --secondary-light: #ffd700;
    --accent: #ff6b6b;
    --light: #f8fff8;
    --light-100: #eefbee;
    --light-200: #dff7df;
    --dark: #1a2e1a;
    --dark-100: #2c422c;
    --dark-200: #3a523a;
    --dark-300: #485e48;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-rounded: 50px;
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --box-shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-100);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-icon {
    font-size: 3rem;
    color: var(--primary);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 15px;
    color: var(--primary);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Navbar */
.navbar {
    padding: 25px 0;
    transition: all 0.5s ease;
    z-index: 100;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 800;
    font-size: 28px;
    color: var(--light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.leaf-logo {
    transition: var(--transition-medium);
}

.navbar-brand:hover .leaf-logo {
    transform: rotate(25deg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 12px;
    position: relative;
    transition: all 0.3s;
    padding: 8px 0;
}

.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.nav-link:hover {
    color: var(--secondary-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-light);
    transition: all 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 2px solid var(--light);
    transition: all 300ms linear;
}

.navbar.scrolled .navbar-toggler-icon {
    border-bottom: 2px solid var(--primary);
}

.navbar-toggler-icon:after, 
.navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--light);
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar.scrolled .navbar-toggler-icon:after, 
.navbar.scrolled .navbar-toggler-icon:before {
    background-color: var(--primary);
}

.navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

    /* Hero Section */
        .hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(26, 46, 26, 0.7), rgba(26, 93, 26, 0.8));
            z-index: 1;
        }

        /* Correcciones para el carrusel */
        #heroCarousel {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0; /* Asegura que esté detrás del contenido */
        }

        .carousel-inner, .carousel-item {
            height: 100vh; /* Altura completa de la ventana */
        }

        .carousel-item {
            background-position: center;
            background-size: cover;
            transition: opacity 1.5s ease-in-out;
        }

        .carousel-item:nth-child(1) {
            background-image: url('../assets/imagen/carr001.webp');
        }

        .carousel-item:nth-child(2) {
            background-image: url('../assets/imagen/carr002.webp');
        }

        .carousel-item:nth-child(3) {
            background-image: url('../assets/imagen/carr003.webp');
        }

        .hero-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 2;
            width: 90%;
            max-width: 900px;
        }

        .hero-title {
            font-size: 4.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 20px;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: white;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .accent-text {
            color: var(--secondary-light);
        }

        .btn {
            padding: 12px 30px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: var(--border-radius-rounded);
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-primary {
            background-color: var(--primary);
            border: none;
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
            box-shadow: var(--box-shadow-lg);
        }

        .hero-btn {
            padding: 15px 40px;
            font-size: 1.2rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .hero-btn i {
            transition: var(--transition-fast);
        }

        .hero-btn:hover i {
            transform: translateX(5px);
        }

        /* Scroll down animation */
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            color: white;
            text-align: center;
            cursor: pointer;
        }

        .mouse {
            width: 30px;
            height: 50px;
            border: 2px solid white;
            border-radius: 20px;
            display: flex;
            margin: 0 auto 10px;
            position: relative;
        }

        .wheel {
            width: 6px;
            height: 6px;
            background-color: white;
            border-radius: 50%;
            margin: auto;
            animation: scroll-wheel 1.5s infinite;
        }

        @keyframes scroll-wheel {
            0% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                opacity: 0;
                transform: translateY(16px);
            }
        }

        .scroll-text {
            display: block;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .arrow {
            display: block;
            width: 10px;
            height: 10px;
            border-right: 2px solid white;
            border-bottom: 2px solid white;
            transform: rotate(45deg);
            margin: 0 auto;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 3.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .hero-btn {
                padding: 12px 30px;
                font-size: 1rem;
            }
        }

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.scroll-down:hover {
    transform: translateX(-50%) translateY(-5px);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

@keyframes wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes arrow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-light);
    border-radius: 2px;
}

.section-title p {
    color: var(--dark);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    padding: 40px 20px;
    z-index: 1;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.1);
    animation: pulse-ring 2s infinite;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.5s;
}

.service-card:hover .service-icon {
    color: white;
    transform: scale(1.2);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
    transition: all 0.5s;
}

.service-card:hover h3 {
    color: white;
}

.service-card p {
    transition: all 0.5s;
    margin-bottom: 25px;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: white;
}

.service-link:hover i {
    transform: translateX(5px);
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    70% { transform: scale(1); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

/* Counter Section */
.counter-section {
    padding: 80px 0;
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 93, 26, 0.9), rgba(46, 139, 87, 0.8));
}

.parallax-bg {
    background-image: url('https://images.unsplash.com/photo-1611245667294-342fe6a0929a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
}

.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter-icon {
    font-size: 2.5rem;
    color: var(--secondary-light);
    margin-bottom: 15px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.counter-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-300);
    border-radius: var(--border-radius-rounded);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
}

.project-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    height: 350px;
}

.project-img {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.8s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 93, 26, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-light);
    color: var(--dark);
    border-radius: var(--border-radius-rounded);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-content h3 {
    color: white;
    margin-bottom: 10px;
}

.project-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: var(--primary);
    border-radius: var(--border-radius-rounded);
    font-weight: 500;
    transition: var(--transition-fast);
}

.project-link:hover {
    background: var(--secondary-light);
    color: var(--dark);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-content {
    transform: translateY(0);
}

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

/* About Section */
.about-img-container {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.about-img-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    left: -20px;
    top: 40px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
}

.about-feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.about-feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.about-feature-item p {
    margin-bottom: 0;
}

/* Testimonial Section */
.testimonial-slider {
    padding: 20px 10px;
    overflow: hidden;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3rem;
    color: var(--primary-lightest);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 20px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.rating {
    color: var(--secondary-light);
}

/* Contact Section */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.form-control, .form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

.form-floating label {
    padding: 12px 15px;
}

.contact-info {
    height: 100%;
    padding: 0 0 0 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-details h5 {
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--gray-700);
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
}

.form-response {
    display: none;
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.form-response.success {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary);
    display: block;
}

.form-response.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    display: block;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-leaves div {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.footer-leaf-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/188/188333.png');
    transform: rotate(45deg);
}

.footer-leaf-2 {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/188/188333.png');
    transform: rotate(-30deg);
}

.footer-leaf-3 {
    bottom: 15%;
    left: 15%;
    width: 120px;
    height: 120px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/188/188333.png');
    transform: rotate(15deg);
}

.footer-brand {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary-light);
    color: var(--dark);
    transform: translateY(-5px);
}

.footer-links {
    position: relative;
    z-index: 1;
}

.footer-links h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-light);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--secondary-light);
    transform: translateX(5px);
}

.footer-links ul li a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.newsletter-form .input-group {
    position: relative;
}

.newsletter-form .form-control {
    padding-right: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    z-index: 9;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}