/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e5eaf5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #511d86;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 1.5rem 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

header .group-name {
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: rgb(231, 233, 218);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #f0f4f7;
    color: #333;
}

/* Hero section */
.hero {
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: #023459;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.paragraph{
    color: #0b0601;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.hero .cta-btn {
    background-color: #511d86;
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero .cta-btn:hover {
    background-color: #f0f4f7;
    color: #333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Features section */
.features {
    padding: 4.5rem 5%;
    background-color: #1d5155;
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.feature {
    background-color: #f9fbfc;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.feature img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature h3 {
    margin-top: 1.5rem;
    font-size: 1.7rem;
}

/* Try-on section */
.main-content {
    padding: 4.5rem 5%;
    background-color: #b67a92;
    text-align: center;
}

.main-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.upload-container {
    display: flex;
    justify-content: space-around;
    margin-top: 2.5rem;
}

.upload-box {
    width: 45%;
    background-color: white;
    padding: 1.7rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.upload-box label {
    display: block;
    margin-bottom: 1.3rem;
    font-weight: bold;
    font-size: 1.1rem;
}

#tryon-button {
    background-color: #511d86;
    color: white;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 8px;
    margin-top: 2.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#tryon-button:hover {
    background-color: #4f82a9;
    color: #fff;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 75%;
    margin: 2.5rem auto;
    text-align: center;
}

.slides {
    display: none;
}

.slides img {
    width: 50%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.slides img:hover {
    transform: scale(1.05);
}
.how-it-works {
    text-align: center;
}

.caption {
    background-color: rgba(0, 0, 0, 0.6);
    color: #eeeaf1;
    padding: 1.2rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 1rem;
}

/* Video section */
.video-section {
    padding: 4.5rem 5%;
    text-align: center;
    background-color: #c2a9ac;

}

.video-section video {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 4.5rem 5%;
    background-color: #123c69;
    color: rgb(22, 12, 12);
    text-align: center;
}


.testimonial-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.testimonial {
    background-color: #edc7b7;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial h4 {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    color: #333;
}

/* FAQ section */
.FAQ {
    text-align: center;
    color: #1d5155  ;
}
.faq{
    text-align: center;
}


/*newsletter section */
.newsletter{
     text-align: center;
     background-color: #4a746a;
     
}

.gift{
    width: "10";
    height: "20";
}



/*Contributors Section*/

.contributors{
    text-align: center;
    background-color: #c2a9ac;
    
}



/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.2rem;
}

footer p {
    margin: 0.7rem 0;
}

footer a {
    color: #f0f4f7;
    margin: 0 12px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e8eff5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid, .testimonial-grid, .upload-container {
        flex-direction: column;
    }

    .upload-box {
        width: 100%;
    }

    header {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

