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

:root {
    --primary-color: #4CAF50; /* Green */
    --secondary-color: #FFC107; /* Amber */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --grey-color: #6c757d;
    --white-color: #fff;
    --body-font: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2.5rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--grey-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo svg {
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: var(--dark-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #3d8e40;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(76, 175, 80, 0.1);
     transform: translateY(-2px);
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    background-color: var(--white-color);
    gap: 2rem;
     min-height: calc(80vh - 60px); /* Adjust based on header height */
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.hero-image svg {
    max-width: 100%;
    height: auto;
}


/* Features Section */
.features {
    padding: 4rem 5%;
    background-color: var(--light-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.feature-item:hover {
     transform: translateY(-5px);
}

.feature-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}


/* Videos Section */
.videos {
    padding: 4rem 5%;
     background-color: var(--white-color);
}

.videos > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

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

.video-placeholder {
    aspect-ratio: 16 / 9;
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-placeholder i {
    color: var(--grey-color);
    font-size: 3rem; /* Adjusted size */
    transition: color 0.3s ease;
}
.video-placeholder p {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    position: absolute;
    bottom: 10px;
    background-color: rgba(255,255,255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
     margin-bottom: 0;
}


.video-placeholder:hover {
    background-color: #d0d0d0;
}

.video-placeholder:hover i {
    color: var(--primary-color);
}

.video-note {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--grey-color);
}


/* Pricing Section */
.pricing {
    padding: 4rem 5%;
    background-color: var(--light-color);
}
.pricing > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Makes cards equal height if content differs */
}

.plan-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* For badge */
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
}

.plan-card .badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.3rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg) translate(27%, -100%);
    transform-origin: bottom left;
     width: 150px; /* Adjust width as needed */
     text-align: center;

}

.plan-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-card .price span {
    font-size: 3rem;
    color: var(--primary-color);
}

.plan-card .save {
    display: block;
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}


.plan-card ul {
    margin: 1.5rem 0;
    flex-grow: 1; /* Allows ul to take available space */
}

.plan-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
     color: var(--grey-color);
}

.plan-card ul li i {
    color: var(--primary-color);
}

.plan-card .btn {
    margin-top: auto; /* Pushes button down */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


/* About Section */
.about {
    padding: 4rem 5%;
    background-color: var(--white-color);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 4rem 5%;
    background-color: var(--light-color);
}
.contact h2 {
     margin-bottom: 1.5rem;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.contact-info div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
     width: 30px; /* Fixed width for alignment */
     text-align: center;
}

.contact-info p {
    margin-bottom: 0;
    text-align: left;
}
.contact-info p strong {
    color: var(--dark-color);
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: underline;
}
.contact-info a:hover {
    color: #3d8e40;
}

.social-media {
    text-align: center;
    margin-top: 2rem;
}

.social-media a {
    color: var(--grey-color);
    font-size: 1.8rem;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 1.5rem 5%;
    margin-top: 2rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero { flex-direction: column; text-align: center; padding: 3rem 5%; }
    .hero-content { max-width: 100%; }
    .hero-image { max-width: 350px; margin-top: 2rem; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));}

}


@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links by default */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-item {
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
         width: 100%;
    }
     .nav-item:last-child {
        border-bottom: none;
    }

    .auth-buttons {
         /* Optionally hide on small screens or integrate into mobile menu */
        /* display: none; */
         margin-left: auto; /* Push to right if nav links are hidden */
    }
    .auth-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: 1rem; /* Space it from auth buttons if they remain */
    }

    .hero { padding: 2rem 5%; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
     .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
     .plan-card { padding: 1.5rem; }

     .contact-info div {
         flex-direction: column;
         text-align: center;
         gap: 0.5rem;
         align-items: center;
     }
      .contact-info p { text-align: center; }
      .contact-info i { margin-bottom: 0.5rem;}


     .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 0.8rem 5%; }
    .logo span { display: none; } /* Hide text logo on very small screens */
    .auth-buttons { gap: 0.3rem; }
     .auth-buttons .btn { padding: 0.4rem 0.8rem; }

    h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; }
    .btn-large { padding: 0.7rem 1.5rem; font-size: 1rem;}
    .plan-card .price span { font-size: 2.5rem; }
}

