.home-slider {
    position: relative;
}

.home-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.home-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 42, 4, 0.5);
}

.home-slide-content {
    position: relative;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.home-slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.home-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.home-slider-prev,
.home-slider-next {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 20px;
    transition: var(--transition);
}

.home-slider-prev:hover,
.home-slider-next:hover {
    background: var(--main-a-color);
}

.home-countdown {
    background: linear-gradient(135deg, var(--main-maroon-color) 0%, var(--main-a-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-countdown:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
}

.home-countdown h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.home-countdown-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.home-countdown-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px 15px;
    min-width: 140px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.home-countdown-box:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.home-countdown-box:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-countdown-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.home-countdown-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.countdown-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
}

.home-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--main-maroon-color) 0%, var(--main-a-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.home-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
}

.home-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.home-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.home-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    background-color: var(--main-oliva-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    min-width: 200px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover:after {
    left: 100%;
}

.btn:hover {
    background-color: var(--main-a-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--main-a-color);
}

.home-about {
    padding: 100px 0;
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C20,40 50,0 100,20 L100,100 L0,100 Z" fill="rgba(143, 166, 43, 0.05)"/></svg>'), var(--white);
    background-size: 100% 100%;
}

.home-about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    max-width: 1300px;
}

.home-about-content {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.home-about h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--main-maroon-color);
}

.home-about p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.home-about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.home-about-image:before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: var(--main-oliva-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.home-about-image:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background: var(--main-a-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.home-about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.home-about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.home-about-image:hover img {
    transform: scale(1.05);
}

.home-opportunities {
    margin: 40px 0;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.home-opportunities:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(62, 105, 60, 0.05), transparent);
    transform: skewX(-20deg);
}

.home-opportunities h3 {
    margin-bottom: 20px;
    color: var(--main-maroon-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.home-opportunities h3 i {
    margin-right: 10px;
    color: var(--main-oliva-color);
}

.home-opportunities ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.home-opportunities li {
    margin-bottom: 10px;
    padding-left: 35px;
    position: relative;
    transition: var(--transition);
}

.home-opportunities li:hover {
    transform: translateX(5px);
}

.home-opportunities li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--main-a-color);
    font-weight: bold;
    width: 25px;
    height: 25px;
    background: rgba(62, 105, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-foz {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.home-foz:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C50,50 50,50 100,0 L100,100 L0,100 Z" fill="rgba(143, 166, 43, 0.05)"/></svg>');
    background-size: 100% 100%;
}

.home-foz .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    position: relative;
    max-width: 1300px;
}

.home-foz-image {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.home-foz-image:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    background: var(--main-oliva-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.home-foz-image:after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: var(--main-a-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.home-foz-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.home-foz-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.home-foz-image:hover img {
    transform: scale(1.05);
}

.home-foz-content {
    flex: 1;
    min-width: 300px;
}

.home-foz h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--main-maroon-color);
}

.home-foz p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.home-foz-highlights {
    margin-top: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.home-foz-highlights:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(143, 166, 43, 0.05), transparent);
    transform: skewX(-20deg);
}

.home-foz-highlights h3 {
    margin-bottom: 20px;
    color: var(--main-maroon-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.home-foz-highlights h3 i {
    margin-right: 10px;
    color: var(--main-oliva-color);
}

.home-foz-highlights ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.home-foz-highlights li {
    margin-bottom: 10px;
    padding-left: 35px;
    position: relative;
    transition: var(--transition);
}

.home-foz-highlights li:hover {
    transform: translateX(5px);
}

.home-foz-highlights li:before {
    content: '🏞️';
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-map {
    padding: 80px 0;
    background-color: var(--main-background);
}

.home-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--main-maroon-color);
    position: relative;
}

.home-map h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--main-oliva-color);
    border-radius: 2px;
}

.home-map-container {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.home-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .home-slider {
        margin-top: -24px;
    }

    .home-slide {
        height: 450px;
    }

    .home-slide-content h2 {
        font-size: 2rem;
    }

    .home-countdown-box {
        min-width: 100px;
        margin-bottom: 15px;
    }

    .home-countdown-number {
        font-size: 2.5rem;
    }

    .header-top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .header-social {
        margin-top: 5px;
    }

    .home-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .home-about-image,
    .home-foz-image {
        transform: none;
    }

    .home-opportunities ul,
    .home-foz-highlights ul {
        grid-template-columns: 1fr;
    }

    .home-about-image:before,
    .home-about-image:after,
    .home-foz-image:before,
    .home-foz-image:after {
        display: none;
    }

    .countdown-dots {
        display: none;
    }
}
