:root {
    --primary-blue: #89CFF0;
    --secondary-blue: #C1C6FC;
    --soft-blue: #B0E0E6;
    --light-blue: #F0FFFF;
    --white: #FAFAFA;
    --happy: #FF3B30;
    --depressed: #FF9666;
    --lost: #45B6FE;
    --discouraged: #003B8E;
    --frustrated: #FF69B4;
    --doubtful: #808080;
    --hurt: #00C957;
    --lonely: #BA55D3;
    --disappointed: #000000;
    --greatful: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Enhanced Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5% 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    gap: 2rem;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--primary-blue) 0.5px, transparent 0.5px),
        linear-gradient(90deg, var(--primary-blue) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text-wrapper {
    position: relative;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Add max-width container for large screens */
@media screen and (min-width: 1200px) {
    #hero {
        max-width: 1400px;
        margin: 0 auto;
        justify-content: space-between;
        padding: 100px 2rem 0;
    }

    #hero::before {
        background-size: 25px 25px;
    }

    .hero-content {
        flex: 1;
        max-width: 45%;
    }

    .jar-container {
        flex: 1;
        max-width: 45%;
    }
}

/* Adjust layout for medium screens */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    #hero {
        padding: 90px 3rem 0;
        gap: 3rem;
    }

    #hero::before {
        background-size: 22px 22px;
    }

    .hero-content {
        max-width: 50%;
    }

    .jar-container {
        max-width: 45%;
    }
}

/* Keep existing mobile styles */
@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        align-items: center;
        margin-bottom: 2rem;
    }

    .jar-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.floating-verses {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
}

.verse-bubble {
    position: absolute;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: floatBubble 6s infinite ease-in-out;
    font-size: 1rem;
    color: var(--primary-blue);
    white-space: nowrap;
    border: 1px solid rgba(137, 207, 240, 0.3);
}

.verse-bubble:nth-child(1) { 
    top: 15%; 
    left: 10%; 
    animation-delay: 0s;
}
.verse-bubble:nth-child(2) { 
    top: 35%; 
    right: 15%; 
    animation-delay: -1.5s;
}
.verse-bubble:nth-child(3) { 
    top: 60%; 
    left: 20%; 
    animation-delay: -3s;
}
.verse-bubble:nth-child(4) { 
    top: 75%; 
    right: 25%; 
    animation-delay: -4.5s;
}

.jar-container {
    position: relative;
    width: 400px;
    height: 500px;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-blue) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    animation: glow 3s infinite alternate;
}

.jar-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(10px);
}

/* Jar Animation */
.jar {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto;
}

.jar-lid {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: var(--secondary-blue);
    border-radius: 10px 10px 0 0;
}

.jar-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border: 8px solid var(--happy);
    border-radius: 20px 20px 70px 70px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
    padding: 8px;
}

.mosaic-piece {
    background: var(--white);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.verse-papers {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: repeating-linear-gradient(
        45deg,
        var(--happy) 0px,
        var(--depressed) 10px,
        var(--lost) 20px,
        var(--discouraged) 30px
    );
    animation: paperFloat 3s ease-in-out infinite;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Mood Colors Section */
#mood-colors {
    text-align: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

#mood-colors h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mood-circles-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    position: relative;
}

.mood-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    margin: 0 auto;
    padding: 0 40px;
}

.mood-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: -15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
}

.mood-circle:first-child {
    margin-left: 0;
}

.mood-circle:hover {
    transform: scale(1.2) translateY(-5px);
    z-index: 10 !important;
}

.mood-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: max-content;
    max-width: 200px;
    pointer-events: none;
    z-index: 100;
}

.mood-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.mood-circle:hover .mood-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.mood-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.mood-description {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.mood-description-text {
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .mood-circles {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .mood-circle {
        margin-left: -10px;
    }

    .mood-tooltip {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .mood-circles {
        padding: 0 20px;
    }

    .mood-circle {
        width: 40px;
        height: 40px;
    }
}

/* Color Cards Section */
#mood-colors {
    padding: 4rem 5%;
    background: var(--white);
}

.color-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.color-card {
    text-align: center;
}

.color-sample {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-card:hover .color-sample {
    transform: scale(1.1);
}

/* CTA Section */
#cta {
    background-image: url('../images/JARBG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 120px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2em;
    color: var(--disappointed);
}

.cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button a {
    text-decoration: none;
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(137, 207, 240, 0.4);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }

    #hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .jar-container {
        width: 300px;
        height: 400px;
        margin-top: 2rem;
    }

    .verse-bubble {
        display: none;
    }

    .circle-1, .circle-2, .circle-3 {
        transform: scale(0.7);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .logo-image {
        height: 32px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 60px;
    }
}

@media screen and (min-width: 768px) {
    .logo-image {
        height: 80px;
    }
}

/* Modern About Section */
#about {
    padding: 6rem 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.emotion-card {
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.emotion-content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.emotion-card:hover .emotion-content {
    transform: rotateY(180deg);
}

.emotion-front, .emotion-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.emotion-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(137, 207, 240, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.emotion-back {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    transform: rotateY(180deg);
}

.emotion-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.emotion-front h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.emotion-back p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.emotion-back .verse {
    font-size: 0.9rem;
    opacity: 0.9;
}

.emotion-hint {
    color: var(--primary-blue);
    opacity: 0.8;
    font-style: italic;
    margin-top: 10px;
    display: block;
    font-size: 0.9em;
}

.experience-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.1), rgba(193, 198, 252, 0.1));
    border-radius: 20px;
    margin-top: 4rem;
}

.experience-item {
    text-align: center;
}

.exp-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.exp-text {
    color: #666;
    font-size: 1rem;
}

@media (max-width: 768px) {
    #about {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .experience-strip {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .emotion-card {
        height: 250px;
    }
}

.cta-link {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease !important;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.3);
}

.cta-link::after {
    display: none !important;
}

@media (max-width: 1200px) {
    .floating-verses {
        max-width: 90%;
    }

    .verse-bubble {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .verse-bubble {
        display: none;
    }

    .cta-link {
        margin-top: 1rem;
    }
}

/* Testimonials Section */
#testimonials {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.08), rgba(193, 198, 252, 0.08));
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-wrapper {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    overflow-x: auto;
    padding: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 300px;
    scroll-snap-align: start;
}

.testimonial-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.05),
        0 5px 15px -5px rgba(137, 207, 240, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(137, 207, 240, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 35px -10px rgba(0, 0, 0, 0.08),
        0 10px 20px -5px rgba(137, 207, 240, 0.15);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--primary-blue);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .testimonials-wrapper {
        gap: 1rem;
        padding: 0.5rem;
    }
}

/* Glitter Effect */
#glitter-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.glitter {
    position: absolute;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(137, 207, 240, 0.4) 50%,
        transparent 100%
    );
    border-radius: 50%;
    pointer-events: none;
    animation: glitter-fade 1s ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes glitter-fade {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

/* Modern Scrollbar Styles */
/* For Webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background: linear-gradient(to bottom, rgba(137, 207, 240, 0.05), rgba(193, 198, 252, 0.05));
}

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, rgba(137, 207, 240, 0.05), rgba(193, 198, 252, 0.05));
    border-radius: 10px;
    margin: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
    border: 2px solid transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) rgba(137, 207, 240, 0.05);
}

/* Custom scrollbar for testimonials section */
.testimonials-wrapper::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.testimonials-wrapper::-webkit-scrollbar-track {
    background: linear-gradient(to right, rgba(137, 207, 240, 0.05), rgba(193, 198, 252, 0.05));
    border-radius: 4px;
    margin: 0 5px;
}

.testimonials-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.testimonials-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
    border: 1px solid transparent;
}

/* Hide scrollbar for testimonials on mobile */
@media (max-width: 768px) {
    .testimonials-wrapper::-webkit-scrollbar {
        display: none;
    }
    .testimonials-wrapper {
        scrollbar-width: none;
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatBubble {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    25% { 
        transform: translate(10px, -15px) scale(1.02); 
    }
    50% { 
        transform: translate(-5px, -25px) scale(1.05); 
    }
    75% { 
        transform: translate(-15px, -15px) scale(1.02); 
    }
}

@keyframes glow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

/* Animations */
@keyframes paperFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
}

.slide-up-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards 0.3s;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.waitlist-form {
    margin: 2.5rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

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

.launch-soon {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.email-signup {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 768px) {
    .email-signup {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .waitlist-form {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .launch-soon {
        font-size: 1.2rem;
    }
}

.email-signup input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
}

.email-signup input[type="email"]:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-blue-rgb), 0.1);
    transform: translateY(-2px);
}

.email-signup input[type="email"]::placeholder {
    color: #8894a8;
}

.email-signup .cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border: none;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    min-width: 150px;
}

.email-signup .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    filter: brightness(110%);
}

.email-signup .cta-button:active {
    transform: translateY(1px);
}

.email-signup .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.waitlist-note {
    font-size: 0.95rem;
    color: #8894a8;
    margin-top: 1rem;
    font-style: italic;
}

.success-message,
.error-message {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.success-message {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.success-message[style*="block"],
.error-message[style*="block"] {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Animation for the form */
@keyframes formAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waitlist-form {
    animation: formAppear 0.6s ease-out forwards;
}

/* Pulse animation for the button */
@keyframes gentlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-blue-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-blue-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-blue-rgb), 0);
    }
}

.email-signup .cta-button.pulse {
    animation: gentlePulse 2s infinite;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
