/* static/css/landing_page.css */

.landing-container {
    text-align: center;
    padding: 4rem 2rem;
    overflow-x: hidden;
    background-color: var(--white-color);
}

.landing-header {
    margin-bottom: 3rem;
}

.landing-header .logo {
    margin-bottom: 0rem;
}

.landing-header .logo .logo-img {
    width: 150px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
}

.landing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.landing-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #666;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.figure-carousel-container {
    width: 100%;
    padding: 2rem 0;
}

.figure-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 1600px;
    margin: 0 auto;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: 420px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.figure-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.figure-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.figure-info {
    position: relative;
    padding: 1.5rem;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.figure-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--card-bg-color);
}

.figure-info p {
    font-size: 1rem;
    opacity: 0.8;
    color: #eee;
}

.fa-check-circle {
    color: #4CAF50;
    font-size: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .landing-container {
        padding: 1.5rem 0.5rem; /* More aggressive padding reduction */
    }

    .landing-header .logo .logo-img {
        width: 70px; /* Slightly smaller logo */
    }

    .landing-header h1 {
        font-size: 1.8rem; /* Smaller font size for header */
    }

    .landing-header p {
        font-size: 0.9rem; /* Smaller font size for paragraph */
        margin: 0 auto 1rem auto; /* Reduced margin */
    }

    .cta-button {
        padding: 0.7rem 1.2rem; /* Smaller button padding */
        font-size: 0.9rem; /* Smaller button font size */
    }

    .figure-carousel-container {
        padding: 0.5rem 0; /* More aggressive padding reduction */
    }

    .figure-swiper {
        padding-top: 20px; /* Reduced padding */
        padding-bottom: 20px; /* Reduced padding */
        max-width: 100%;
    }

    .swiper-slide {
        width: 200px; /* More aggressive slide width reduction */
        height: 300px; /* More aggressive slide height reduction */
    }

    .figure-info {
        padding: 0.8rem; /* Reduced padding for info */
    }

    .figure-info h3 {
        font-size: 1rem; /* Smaller heading font size */
    }

    .figure-info p {
        font-size: 0.8rem; /* Smaller paragraph font size */
    }

    .fa-check-circle {
        font-size: 0.8rem; /* Smaller icon font size */
    }
}