* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 17px;
    font-weight: 400;
    color: #666;
    background:url(logo.png) center left/50px no-repeat;
    height:65px;
    width:160px;
    display:flex;
    justify-content:flex-end;
    align-items:center
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

a, nav a:hover {
    color: #ff6f61;
}

.cta-button {
    background: #ff6f61;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e55a50;
}
.cta-white{
    background:#fff;
    color:#e55;
    &:hover{
      background:#f2d1d7
    }
}
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6f61, #40c4ff);
    color: white;
    text-align: left;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    display:flex;
    justify-content:flex-end
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(1.jpg) center/cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width:700px
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .cta-button {
    margin: 10px;
}
.intro{
    columns:2;
    color:#4b2a28;
    ul{
        max-width:350px;
        text-align:left;
        margin:1em 2em
    }
    h2, h3{
        margin:1em 0
    }
}
/* Skin Analysis Widget */
.skin-analysis {
    padding: 60px 20px;
    background: #fff url(2.jpg) center/cover no-repeat;
    text-align: center;
    opacity: 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ff6f61;
}

.widget-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f966;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 15px #fff inset;
    backdrop-filter:blur(5px)
}

.widget-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 16px;
}

.widget-form input,
.widget-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.widget-form input[type="range"] {
    margin: 10px 0;
}

.widget-form .slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.widget-form button {
    background: #ff6f61;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.widget-form button:hover {
    background: #e55a50;
}

#skin-result {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

/* Benefits Section */
section {
    padding: 60px 20px;
    background: #f0f4f8;
    text-align: center;
    opacity: 0;
}

.benefits h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ff6f61;
}

.benefit-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.benefit-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.benefit-card i {
    font-size: 40px;
  background: linear-gradient(80deg, #ff8787 0%, #fbeda9 100%);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
    margin-bottom: 25px;
    display:inline-block
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
    opacity: 0;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ff6f61;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius:20px
}

.testimonial {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition:opacity 0.4s ease-in;
    opacity:0;
    border-radius: 20px;
    transition-behavior: allow-discrete;
 @starting-style { 
          opacity: 0;
    }

    img{
        border-radius:50%;
        width:64px;
        height:64px;
    }
}

.testimonial.active {
    display: block;
    opacity:1
}

.testimonial p {
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 16px;
    color: #ff6f61;
}

/* FAQ Section */
.faq {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
    opacity: 0;
}

.faq h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ff6f61;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 15px;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    &:hover{
        background:#fee
    }
}

.faq-question {
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff6f61;
}

.faq-answer {
    padding: 0 15px;
    font-size: 16px;
    display: none;
    background: #fff;
}

.faq-answer.active {
    padding: 15px;
    display: block;
}

/* Journal Download Section */
.journal {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ff6f61, #40c4ff);
    color: white;
    text-align: left;
    opacity: 0;
    display:flex;
    align-content:center;
    gap:2em;
    .col{
         display:flex;
        flex-direction:column;
    align-items:flex-start;
        justify-content:center;
        width:50%;
    }
    img{
        width:40vw
    }
}

.journal h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow:0 0 6px #fdd2d2aa
}

.journal p {
    font-size: 18px;
    margin-bottom: 30px;
}

.journal-form {
    max-width: 400px;
    margin: 0 auto;
}

.journal-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}

.journal-form button {
    background: white;
    color: #ff6f61;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.journal-form button:hover {
    background: #f0f0f0;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 20px;
    background: #f0f4f8;
    text-align: center;
    opacity: 0;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ff6f61;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.newsletter-form button {
    background: #ff6f61;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #e55a50;
}

/* Footer */
footer {
    padding: 30px 20px;
    background: #333;
    color: white;
    text-align: center;
}

footer a {
    color: #ff6f61;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    font-size: 24px;
    margin: 0 10px;
    color: #ff6f61;
}

/* Slide-Up Animation */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
        text-align: center;
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .hamburger {  display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .benefit-cards {
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 100%;
        max-width: 300px;
    }
}