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

body {
    font-family: 'Poppins', sans-serif !important;
    /* background: linear-gradient(135deg, #1565C0 0%, #4A6B2A 30%, #6B4423 70%, #8B4513 100%); */
    background-image: url('../background.png');
    background-size: auto;
    background-repeat: repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(245, 222, 179, 0.2);
    border-radius: 50%;
    animation: floatParticles 8s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 60%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    width: 5px;
    height: 5px;
    top: 10%;
    left: 70%;
    animation-delay: 1s;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    animation: slideDown 1s ease-out;
}

.nav-container {
    background: #42A5F5;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(19, 95, 139, 0.3);
    border: 1px solid rgba(218, 165, 32, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.nav-container:hover {
    transform: translateY(-2px);
}

.logo {
    font-weight: 700;
    font-size: 18px;
    color: #fffaf3;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #8B2635;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #8B2635;
    transition: all 0.3s ease;
}

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

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.search-btn {
    background: #0D47A1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: rotate 4s linear infinite;
    color: #fffaf3;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.5);
}

.login-btn {
    background: #0D47A1;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #fffaf3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: #0D47A1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #1565C0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 222, 179, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.4);
    border: 1px solid rgba(218, 165, 32, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

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

.mobile-nav-links a {
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(139, 38, 53, 0.1);
    color: #8B2635;
    transform: translateX(10px);
}

.mobile-auth-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

/* Main Content */
.main-content {
    padding: 30px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 5;
    background: #64B5F6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 1s ease-out both;
    margin-bottom: 30px;
}

.content-left {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.content-right {
    animation: slideInRight 1s ease-out 0.6s both;
}

.content-left h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #000000;
    animation: glow 2s ease-in-out infinite alternate;
}

.description {
    color: #161615e6;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.primary-btn {
    background: #0D47A1;
    color: #fffaf3;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 222, 179, 0.4), transparent);
    transition: left 0.5s;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
}

.secondary-btn {
    background: rgba(245, 222, 179, 0.2);
    backdrop-filter: blur(10px);
    color: #000000;
    padding: 15px 30px;
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(245, 222, 179, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.play-icon {
    width: 20px;
    height: 20px;
    background: #DAA520;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffaf3;
    animation: pulse 2s infinite;
}

/* Hero Image */
.hero-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-placeholder:hover {
    transform: scale(1.02);
}

/* Decorative Elements */
.star-1, .star-2 {
    position: absolute;
    color: #000000;
    font-size: 2rem;
    z-index: 3;
}

.star-1 {
    top: 100px;
    left: 50px;
    animation: float 3s ease-in-out infinite;
}

.star-2 {
    top: 200px;
    right: 100px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.pencil-icon {
    position: absolute;
    top: 150px;
    right: 50px;
    color: #161615e6;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 3;
}

.book-icon {
    position: absolute;
    bottom: 300px;
    right: 100px;
    color: #161615e6;
    font-size: 2rem;
    animation: spin 8s linear infinite;
    z-index: 3;
}

/* Improved Footer */
.footer {
    background: rgb(198 222 254);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(163, 122, 18, 0.3);
    padding: 30px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #161615e6;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #000000;
}

.footer-links {
    list-style: none;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 38, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.social-link:hover {
    background: #DAA520;
    color: #fffaf3;
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(218, 165, 32, 0.3);
    color: #161615e6;
    font-size: 0.9rem;
}

/* Cloud Background */
.clouds {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,120 C100,60 200,60 300,90 C400,120 500,60 600,90 C700,120 800,60 900,90 C1000,120 1100,60 1200,90 L1200,120 Z" fill="%23F5DEB3" fill-opacity="0.9"/></svg>') repeat-x;
    background-size: 100% 100%;
    z-index: 1;
    animation: wave 10s ease-in-out infinite;
}

/* Animations */
@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

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



@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-50px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .content-left h1 {
        font-size: 3rem;
    }

    .star-1, .star-2 {
        font-size: 1.5rem;
    }

    .pencil-icon, .book-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        border-radius: 25px;
        padding: 15px 25px;
    }

    .main-content {
        padding: 40px 20px 100px;
    }

    .content-left h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
    }

    .nav-container {
        padding: 12px 20px;
        border-radius: 20px;
    }

    .logo {
        font-size: 16px;
    }

    .main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 30px 15px 100px;
    }

    .content-left h1 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-placeholder {
        height: 300px;
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .social-links {
        justify-content: center;
    }

    /* Hide decorative elements on mobile */
    .star-1, .star-2, .pencil-icon, .book-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        margin: 0 10px;
        padding: 10px 15px;
    }

    .auth-buttons {
        gap: 10px;
    }

    .search-btn,
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }

    .login-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .content-left h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .description {
        font-size: 0.95rem;
    }

    .primary-btn,
    .secondary-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-placeholder {
        height: 250px;
        font-size: 14px;
    }

    .footer {
        padding: 25px 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }
}
