/* Basic Reset and Global Styles */
:root {
    --primary-color: #25D366; /* WhatsApp Green */
    --secondary-color: #128C7E; /* Darker WhatsApp Green */
    --dark-bg: #222;
    --light-bg: #f4f4f4;
    --text-color: #333;
    --light-text: #fff;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-text);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--light-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; 
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* Buttons */
.cta-button {
    background: var(--primary-color);
    color: var(--light-text) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-button-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-outline:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-background.jpg') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--heading-font);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section {
    padding: 4rem 0;
    text-align: center;
}

.problem-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--heading-font);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Solution Section */
.solution-section {
    padding: 4rem 0;
    background: var(--light-bg);
    text-align: center;
}

.solution-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--heading-font);
}

.solution-steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.step {
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--heading-font);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--heading-font);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--dark-bg);
    color: var(--light-text);
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.contact-section p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.large-cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 1.5rem 0;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* New Pages Styling */
.page-header {
    background: var(--secondary-color);
    color: var(--light-text);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-family: var(--heading-font);
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
    opacity: 0.9;
}

.text-content-section {
    padding: 4rem 0;
}

.text-content-section h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}
.text-content-section h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
}

.text-content-section p, .text-content-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.text-content-section ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.contact-form-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.contact-info p {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--body-font);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .menu-icon {
        display: block;
    }
    
    .problem-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }

    .solution-steps {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}