:root {
    --primary-color: #7C4DFF;
    --white: #fff;
    --text-dark: #333;
    --text-medium: #666;
    --transition: 0.3s ease;
}


.relative-container {
    position: relative;
    width: 100%;
    padding-bottom: 200px;
    background-color: var(--primary-color);

}

.centered-image {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: 800px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 85px;
}

.card-section-adjusted {
    padding-top: 350px;
    background-color: #F6F4FF;
}

.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
}

.navbar-brand {
    color: var(--white) !important;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 10px;
    font-size: 16px;
    transition: var(--transition);
}

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

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.auth-buttons .btn {
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    transition: var(--transition);
}

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

.btn-sign-in {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-sign-in:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.generate-btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

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

.generate-btn::after {
    content: "→";
    margin-left: 8px;
}

/* Header styles */
.header {
    text-align: center;
    padding-top: 90px;
}

.second-header {
    text-align: center;
    padding-top: 40px;
}

.label {
    background-color: #F3F0FF;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 15px;
}

.main-heading {
    font-size: 36px;
    color: var(--text-dark);
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

/* Card styles */
.cards-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    width: calc(33.333% - 20px);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.cards-icon {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cards-icon-highlight {
    background-color: #ffffff;
}

.cards-icon img {
    width: 30px;
    height: 30px;
}

.card .title {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card .description {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.5;
}

.active-card {
    background-color: var(--primary-color);
}

.active-card .title,
.active-card .description {
    color: var(--white);
}

.active-card .icon {
    background-color: var(--white);
}

.images-section {
    padding: 60px 0;
    /* background-color: #F6F4FF; */
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.image-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}
.footer {
background-color: #706FED;
padding: 80px 0 40px;
color: white;
}

.footer-logo {
margin-bottom: 20px;
}

.footer-description {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 25px;
max-width: 400px;
}

.social-links {
display: flex;
gap: 15px;
margin-bottom: 30px;
}

.social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s;
}

.social-link:hover {
background-color: rgba(255, 255, 255, 0.2);
}

.footer h4 {
color: white;
font-size: 20px;
font-weight: 600;
margin-bottom: 25px;
}

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

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

.footer-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: color 0.3s;
}

.footer-links a:hover {
color: white;
}

.footer-contact {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}

.footer-contact .icon {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}

.footer-contact a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
}

.footer-contact a:hover {
color: white;
}

.copyright {
text-align: center;
padding-top: 40px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }

    .centered-image {
        width: 90%;
        max-width: 90%;
    }

    .card-section-adjusted {
        padding-top: 150px;
    }

    .features-grid,
    .images-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-col {
        margin-bottom: 40px;
    }
}