/* Home page styles */

/* Banner section */
.banner {
    position: relative;
    height: 110vh;
    overflow: hidden;
    margin-top: -4.5rem;
}

.banner-bg {
    position: absolute;
    inset: 0;
    height: 110vh;
}

.banner-bg img {
    width: 100%;
    height: 110vh;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.05)
    );
    height: 110vh;
}

.banner-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    margin-top: -2rem;
    color: var(--white);
}

.banner-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.8rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.banner-content p {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.banner-buttons {
    display: flex;
    gap: 1.5rem;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    cursor: pointer;
    z-index: 10;
}

.scroll-hint svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: bounce 2s infinite;
}

.banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(
        to top,
        rgba(255,255,255,1) 20%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0) 100%
    );
}

/* Services section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Partners section */
.partners {
    padding: 80px 0;
    background-color: #fff;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.partners .section-desc {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 220px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.partner-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

/* About section */
.about {
    background-color: var(--white);
    text-align: center;
}

.about-desc {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 100vh;
    }

    .banner-bg,
    .banner-bg img,
    .banner-overlay {
        height: 100vh;
    }

    .banner-content {
        margin-top: -1rem;
    }

    .banner-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .banner-content p {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }

    .banner-gradient {
        height: 3rem;
    }

    .scroll-hint {
        bottom: 2rem;
    }

    .scroll-hint svg {
        width: 1.8rem;
        height: 1.8rem;
    }

    .banner-buttons {
        flex-direction: column;
    }

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

    .partners {
        padding: 60px 0;
    }

    .partners h2 {
        font-size: 2rem;
    }

    .partners .section-desc {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .partner-item {
        padding: 20px;
    }

    .partner-item img {
        max-width: 180px;
        max-height: 100px;
    }

    .partner-description {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-item {
        padding: 15px;
    }

    .partner-item img {
        max-width: 150px;
        max-height: 80px;
    }
} 