@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Fredoka', sans-serif;
    background: url('../img/hero/background.png') no-repeat center center fixed;
    background-size: cover;
    /* background: linear-gradient(135deg, #f5f3f0 0%, #e8e5e0 100%); */
    overflow-x: hidden;
    
}

/* Header */
.navbar {
    background: transparent;
    padding: 20px 0;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, backdrop-filter 0.3s;
}

/* Style when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.logo-g {
    background: #4285f4;
}

.logo-o1 {
    background: #ea4335;
}

.logo-d {
    background: #fbbc04;
}

.logo-l {
    background: #34a853;
}

.logo-y {
    background: #4285f4;
}

.logo-s {
    background: #ea4335;
}

.logo-e1 {
    background: #34a853;
}

.logo-e2 {
    background: #fbbc04;
}

.logo-d2 {
    background: #ea4335;
}

.sign-in-btn {
    background: #8b5a3c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sign-in-btn:hover {
    background: #7a4d35;
    transform: translateY(-2px);
    border:none;
    box-shadow: 0 5px 15px rgba(139, 90, 60, 0.3);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
 
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6b5b4f;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Carousel */
.content-carousel {
    position: relative;
    margin: 50px 0;
    padding: 40px 0;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    gap: 15px;
    animation: scroll 25s linear infinite;
    align-items: center;
    height: 100%;
}

.content-item {
    min-width: 200px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.content-item:nth-child(1) {
    transform: rotate(-12deg) translateY(20px);
}

.content-item:nth-child(2) {
    transform: rotate(-8deg) translateY(10px);
}

.content-item:nth-child(3) {
    transform: rotate(-4deg) translateY(5px);
}

.content-item:nth-child(4) {
    transform: rotate(0deg) translateY(0px);
    z-index: 5;
}

.content-item:nth-child(5) {
    transform: rotate(4deg) translateY(5px);
}

.content-item:nth-child(6) {
    transform: rotate(8deg) translateY(10px);
}

.content-item:nth-child(7) {
    transform: rotate(12deg) translateY(20px);
}

.content-item:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pagination dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #8b5a3c;
}

.dot:hover {
    background: #999;
}

/* Get Started Button */
.get-started-btn {
    background: linear-gradient(135deg, #8b5a3c 0%, #a6633d 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 40px 0 80px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 90, 60, 0.3);
}

.get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 90, 60, 0.4);
    background: linear-gradient(135deg, #7a4d35 0%, #954f32 100%);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    /* background: white; */
    background: linear-gradient(135deg, #fff3e0, #fff);
    /* background: linear-gradient(135deg, #f8f6f3 0%, #ede9e4 100%); */
}


.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c1810;
    text-align: center;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Organic blob shape using border-radius */
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    border: 4px solid white;
    /* Alternative organic shape - you can experiment with different values */
    /* border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%; */
    /* border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; */
}

.feature-icon:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    /* Animate the blob shape on hover for extra fun */
    border-radius: 54% 46% 63% 37% / 48% 52% 45% 55%;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Apply the same organic shape to the image */
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transition: border-radius 0.3s ease;
}

.feature-icon:hover img {
    border-radius: 54% 46% 63% 37% / 48% 52% 45% 55%;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 15px;
}

.feature-description {
    color: #6b5b4f;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Optional: Add some background colors to match the playful theme */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #f2f2f2, #f2f2f2);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #fff3e0, #ffcc80);
}

/* Available Content Section */
.available-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f6f3 0%, #ede9e4 100%);

}

.available-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c1810;
    text-align: center;
    margin-bottom: 50px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    /* max-width: 800px; */
    margin: 0 auto;
}

.content-thumb {
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-thumb:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.content-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    /* background: white; */
    background: linear-gradient(135deg, #fff3e0, #fff);
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 30px;
}

.download-description {
    color: #6b5b4f;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #8b5a3c 0%, #a6633d 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 90, 60, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8b5a3c 0%, #6b4430 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #f8f6f3;
}

.footer-link {
    color: #d1c4b8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-facebook {
    background: #3b5998;
}

.social-twitter {
    background: #1da1f2;
}

.social-instagram {
    background: #e4405f;
}

.social-youtube {
    background: #ff0000;
}

.social-linkedin {
    background: #0077b5;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #d1c4b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .available-title {
        font-size: 1.8rem;
    }

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

    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}