/* Base Styles */
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --off-white: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Styles */
.nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--white);
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto; /* Ensure height adjusts to content */
}

.logo {
    height: 100px;
    width: auto; /* Set a width if needed */
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.demo-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.demo-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header/Hero Section */
/* Hero Section */
   
.header {
    background-color: #0A9056;
    color: white;
    text-align: left;
    padding: 200px 20px 200px; /* Added padding at bottom for wave */
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 10; /* Higher z-index to ensure content stays above wave */
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.header p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.header .buttons a {
    background-color: white;
    color: black;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header .buttons a:hover {
    background-color: #343a40;
    color: white;
    transform: translateY(-2px);
}

.header .buttons a i {
    margin-right: 10px;
}


/* Stats Section */
.stats {
    background: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
}

/* Features Section */
/* Features Section */
.features {
    padding: 80px 0;
    background: var(--off-white);
    text-align: center;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Feature Cards Grid */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.feature-card {
    text-align: left;
    max-width: 350px;
    width: 100%;
}

/* Feature Icon */
.feature-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Feature Content */
.feature-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--primary);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

/* Feature Link */
.feature-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.feature-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--white);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: var(--off-white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tab-btn i {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.tab-btn.active i {
    color: var(--white);
}

.screenshot-content {
    display: none;
}

.screenshot-content.active {
    display: block;
}

.screenshot-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits Section */
.kerala-benefits {
    padding: 80px 0;
    background: var(--off-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card ul {
    list-style: none;
}

.benefit-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.benefit-card ul li i {
    color: var(--primary);
    margin-right: 0.75rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary);
}

.cta-btn.secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .header h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header {
        text-align: center;
        padding: 160px 20px 100px;
    }

    .header .buttons {
        flex-direction: column;
        align-items: center;
    }

    .header .buttons a {
        width: 100%;
        justify-content: center;
    }

    .stats-grid,
    .feature-cards,
    .benefits-grid,
    .testimonials-slider,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .tab-btn {
        width: 100%;
    }

    .modal-content {
        padding: 1.5rem;
    }
    
    .badge {
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.animate-in {
    animation: fadeIn 0.6s ease forwards;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}


/* Footer Styles */
/* Basic Footer Styles */
.footer {
    background-color: #15803d;  /* Dark green background */
    color: white;
    padding: 60px 0 20px;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Column Styles */
.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #22c55e;  /* Light green line */
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Footer Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.footer-col ul li a:hover {
    padding-left: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #22c55e;
}

/* Contact Info Icons */
.footer-col p i {
    margin-right: 10px;
    width: 20px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* WhatsApp Chat Button */
/* WhatsApp Chat Button */
#whatsappChatButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* WhatsApp Icon Styling */
#whatsappChatButton img {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for WhatsApp Icon */
#whatsappChatButton img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Chat Bubble Popup */
#whatsappPopup {
    display: none;
    position: absolute;
    bottom: 80px; /* Adjust for proper placement above the button */
    right: 0;
    background-color: #ffffff;
    color: #333333;
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

/* Arrow for Chat Bubble */
#whatsappPopup::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Position to attach to the bubble */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Effect: Show Popup */
#whatsappChatButton:hover #whatsappPopup {
    display: block;
}

/* Animation for Popup Appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


