:root {
    /* Color Palette */
    --primary-green: #74C365;
    /* Mantis Green */
    --primary-blue: #01416F;
    /* Darker Blue for Branding */
    --primary-dark: #5E9E52;
    /* Darker Mantis Hover */
    --secondary-bg: #F1F8E9;
    /* Light Mantis Tint */
    --bg-green: #FAFDFB;
    /* Ultra Light Mantis Base */
    --dark-text: #2C3E50;
    /* Midnight Blue - Text */
    --light-gray: #FAFDFB;
    /* Aliased to Base Green */
    --green-soft: #B6DCC0;
    /* Soft Border */
    --white: #FFFFFF;
    --shadow: 0 10px 25px rgba(116, 195, 101, 0.2);
    /* Mantis Shadow */
    --shadow-hover: 0 20px 40px rgba(116, 195, 101, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(72, 168, 96, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 168, 96, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(224, 251, 245, 0.95);
    /* Light Mint Glassy */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(116, 195, 101, 0.15);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-text);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: #000;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.9;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

/* Sticky Mobile CTA */
.mobile-cta-container {
    display: none;
    /* Hidden on Desktop by default if we want inline buttons */
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    background: var(--white);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.section-head p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Services Cards */
.services-section {
    background: var(--secondary-bg);
    /* Rich Light Green */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    /* Force White Card */
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--green-soft);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .icon-box {
    color: var(--white);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    transition: var(--transition);
}

/* Why Choose Us */
.why-us {
    background: var(--bg-green);
    /* Base Green */
}

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

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--green-soft);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    background: var(--secondary-bg);
    /* Rich Light Green */
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    margin: 10px;
    border: 1px solid var(--green-soft);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.stars {
    color: #F1C40F;
    margin-bottom: 15px;
}

/* Contact */
.contact-section {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px var(--secondary-bg);
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    border: none;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

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

    .mobile-toggle {
        display: block;
    }

    /* Mobile Menu Overlay */
    .nav-overlay {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: -1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: 20px;
        left: auto;
        width: auto;
        min-width: 250px;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        transform-origin: top right;
        transform: scale(0);
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
        gap: 20px;
        text-align: center;
        border-radius: 20px;
    }

    .nav-links.active {
        transform: scale(1);
        opacity: 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Mobile Bottom Sticky Buttons */
    .mobile-cta-container {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 999;
        gap: 15px;
    }

    .mobile-cta-btn {
        flex: 1;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        font-weight: 700;
        color: var(--dark-text);
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: var(--transition);
    }

    .cta-call {
        background: var(--primary-green);
        color: var(--white);
    }

    .cta-whatsapp {
        background: #25D366;
        color: var(--white);
    }
}

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-caption {
    font-size: 0.6rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 0px;
    line-height: 1;
}

/* Compact Buttons */
.compact-btn {
    padding: 10px 24px !important;
    /* Force override for compact look */
    font-size: 0.95rem !important;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    /* Slow Zoom Effect */
}


/* Background Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Neutral Gradient: Dark only */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    /* Content above slider */
}

/* Menu Animation Refinement */
.mobile-toggle i {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active i {
    transform: rotate(90deg);
}

/* Branding Colors */
.text-blue {
    color: var(--primary-blue);
    font-weight: 800;
    /* Extra Bold */
}

/* Telugu Hero Typography */
.hero-content {
    text-align: center;
    /* Ensure centering for the stack */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align children */
}

/* Override existing hero title styles if needed, or strict classes */
.hero-small-top {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeDown 1s ease forwards 0.5s;
}

.hero-main-telugu {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideUpTelugu 1s ease forwards 0.8s;
}

.hero-small-bottom {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

/* New Keyframes */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpTelugu {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Call Popup Styles */
.call-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    /* Ensure it is above everything including mobile nav */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.call-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.call-popup-content {
    background: var(--white);
    width: 90%;
    max-width: 320px;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-popup-overlay.active .call-popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popup-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.close-popup {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #333;
}

.call-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.call-option-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    background: var(--light-gray);
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.call-option-btn:hover {
    background: var(--secondary-bg);
    transform: translateX(5px);
}

.call-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.call-details {
    display: flex;
    flex-direction: column;
}

.call-name {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 1rem;
}

.call-number {
    font-size: 0.9rem;
    color: #666;
}

/* Mobile Bottom Sheet Animation */
@media (max-width: 768px) {
    .call-popup-overlay {
        align-items: flex-end;
        /* Bottom for Mobile */
    }

    .call-popup-content {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .call-popup-overlay.active .call-popup-content {
        transform: translateY(0);
    }
}

/* Pricing Table Section */
.pricing-section {
    background: var(--white);
    padding: 80px 0;
    scroll-margin-top: 100px;
    /* Prevent header overlap */
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure desktop look doesn't squash too much */
}

.pricing-table th,
.pricing-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: var(--primary-green);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.pricing-table tr:hover {
    background: var(--secondary-bg);
}

.pricing-table td {
    color: #555;
    font-weight: 500;
}

.text-sm {
    font-size: 0.8rem;
    color: #888;
    display: block;
    font-weight: 400;
    margin-top: 5px;
}

/* Pricing Table Section */
.pricing-section {
    background: linear-gradient(135deg, var(--secondary-bg), var(--bg-green));
    padding: 80px 0;
    scroll-margin-top: 100px;
    /* Prevent header overlap */
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure desktop look doesn't squash too much */
}

.pricing-table th,
.pricing-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid var(--secondary-bg);
}

.pricing-table th {
    background: var(--primary-green);
    /* Strong Green Header */
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.pricing-table tr:nth-child(even) {
    background: var(--bg-green);
    /* Zeta Striping */
}

.pricing-table tr:hover {
    background: var(--secondary-bg);
}

.pricing-table td {
    color: #555;
    font-weight: 500;
}

.text-sm {
    font-size: 0.8rem;
    color: #888;
    display: block;
    font-weight: 400;
    margin-top: 5px;
}

.price-highlight {
    color: var(--white);
    background: var(--primary-green);
    /* Solid Green Flag */
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 1rem;
    display: inline-block;
    /* Clean Table Style - No Shadow */
}

/* Mobile Pricing Card Layout */
@media (max-width: 768px) {
    .pricing-table {
        display: block;
        min-width: 100%;
        border: none;
    }

    .pricing-table thead {
        display: none;
        /* Hide header on mobile */
    }

    .pricing-table tbody {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-table tr {
        display: block;
        background: var(--white);
        border: 1px solid #eee;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        padding: 20px;
        transition: transform 0.3s ease;
    }

    .pricing-table tr:hover {
        transform: translateY(-5px);
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .pricing-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
        font-size: 0.95rem;
        text-align: right;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }

    .pricing-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #888;
        text-transform: uppercase;
        font-size: 0.8rem;
        text-align: left;
    }

    .text-sm {
        display: inline;
        margin-left: 5px;
    }
}

/* WhatsApp Icon Button */
.btn-whatsapp-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-decoration: none;
}

.btn-whatsapp-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #1ebc57;
}


@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .logo-wrapper {
        flex: 1;
    }

    /* Hero Typography Boost */
    .hero-main-telugu {
        font-size: 2.8rem;
        /* Larger on mobile */
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-small-top {
        font-size: 1.2rem;
        font-weight: 600;
    }
}

/* Products Selection Section */
.products-section {
    padding: 60px 0;
    background: var(--bg-green);
}

.product-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.p-btn {
    padding: 12px 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-green);
    background: transparent;
    border: 2px solid var(--primary-green);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.p-btn:hover,
.p-btn.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 195, 101, 0.3);
}

.product-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.product-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    opacity: 1;
    animation: fadeAction 0.5s ease forwards;
}

@keyframes fadeAction {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--secondary-bg);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.product-card .icon-box {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.product-card h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Global Bottom Navigation (Formerly Mobile-only) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    justify-content: center;
    /* Center-aligned for desktop */
    padding: 10px 0;
    padding-bottom: env(safe-area-inset-bottom, 10px);
    /* Mobile safe area support */
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    max-width: 120px;
    /* Constrain item width on desktop */
    flex: 1;
    transition: all 0.3s ease;
}


.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary-green);
    font-weight: 600;
}

body {
    padding-bottom: 75px;
    /* Global space for bottom nav */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        justify-content: space-around;
        /* Space out evenly on mobile */
    }
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

/* Compact Buttons (View & Warranty) */
.btn-xs {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border: 1px solid transparent;
}

.btn-view {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: transparent;
}

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

.btn-warranty {
    color: #e67e22;
    /* Orange for distinction */
    border-color: #e67e22;
    background: transparent;
}

.btn-warranty:hover {
    background: #e67e22;
    color: var(--white);
}

/* Specific Mobile Adjustment for Buttons in Table */
@media (max-width: 768px) {
    .action-buttons {
        width: 100%;
        margin-top: 10px;
        justify-content: space-between;
    }

    .btn-xs {
        padding: 8px 5px;
        font-size: 1rem;
        /* Larger text for readability */
    }
}


/* Package Details Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    max-height: 75vh;
    /* Reduced height for safety */
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
    background: var(--primary-green);
    padding: 15px 20px;
    /* Reduced vertical padding */
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    /* Don't shrink header */
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 0;
    /* Changed to 0 to allow sticky carousel to bleed to edges */
    overflow-y: auto;
    position: relative;
}

.package-section-title {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 20px;
}

.modal-list {
    list-style: none;
    padding: 0 20px 20px;
    /* Added side padding since modal-body is 0 */
    margin: 0;
}

/* Package Carousel Styles - Refined for Sticky behavior */
.package-carousel {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    overflow: hidden;
    margin-bottom: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.package-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
        /* Hide arrows on mobile, use swipe */
    }
}


.package-section-title:first-child {
    margin-top: 0;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-list li {
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #444;
}

.modal-list li i {
    color: var(--primary-green);
    margin-right: 10px;
    margin-top: 4px;
}

/* Mobile Product Buttons Fix */
@media (max-width: 768px) {
    .product-controls {
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .p-btn {
        flex: 1;
        min-width: auto;
        /* Override default min-width */
        padding: 10px 5px;
        /* Compact padding */
        font-size: 0.95rem;
    }

    /* Hide Details Label in Table */
    .pricing-table td[data-label="Details"]::before {
        content: none !important;
        display: none;
    }
}

/* Hero Email Button */
.btn-email-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(116, 195, 101, 0.3);
}

/* Button Touch Feedback */
.btn-view:active,
.btn-warranty:active,
.p-btn:active {
    transform: scale(0.95);
    background-color: #e8f5e9;
    /* Light green tint */
}

/* Premium Modal Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideDownMobile {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

/* Modal Open State */
.modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-overlay.active .modal-content {
    animation: fadeInScale 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Modal Closing State (Reverse Animations) */
.modal-overlay.closing {
    animation: fadeOut 0.3s ease-in forwards;
}

.modal-overlay.closing .modal-content {
    animation: fadeOutScale 0.25s ease-in forwards;
}

/* Mobile Specific Modal Styles (Bottom Sheet) */
@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-end;
        /* Align to bottom */
        padding: 0;
        z-index: 2000;
        /* Behind Nav */
    }

    .modal-content {
        border-radius: 20px 20px 0 0;
        /* Top corners only */
        width: 100%;
        max-width: 100%;
        max-height: 80vh;
        /* Leave space at top */
        margin: 0;
        margin-bottom: 70px;
        /* Space for Bottom Nav */
    }

    .modal-overlay.active .modal-content {
        animation: slideUpMobile 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .modal-overlay.closing .modal-content {
        animation: slideDownMobile 0.3s ease-in forwards;
    }

    /* Ensure Bottom Nav is ALWAYS on top */
    .mobile-bottom-nav {
        z-index: 2005 !important;
    }
}

/* Removing old simple fade if present to avoid conflict */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.btn-email-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(116, 195, 101, 0.4);
}

/* Trust Section Refresh */
.trust-section {
    background: var(--bg-green);
}

.location-container {
    max-width: 900px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-info h3 {
    margin-bottom: 20px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

/* --- REDESIGNED REVIEWS SECTION --- */
.reviews-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fbf9 0%, #ffffff 100%);
}

.reviews-slider-outer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider-container {
    flex: 1;
    position: relative;
    min-height: 480px;
    /* Increased to accommodate content without jumping */
    overflow: hidden;
}

.reviews-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95) translateY(20px);
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.review-card-full {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(116, 195, 101, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    /* Force minimum height for consistency */
}


.review-card-full::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 8rem;
    color: var(--primary-green);
    opacity: 0.05;
    font-family: serif;
    line-height: 1;
}

.review-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(116, 195, 101, 0.12);
    border-color: var(--primary-green);
}

.review-card-full:active {
    transform: scale(0.98);
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.reviewer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.review-card-full:hover .reviewer-avatar {
    transform: scale(1.1);
    border-color: var(--primary-green);
}

.reviewer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stars {
    color: #f1c40f;
    font-size: 1.1rem;
    margin-top: 5px;
}

.review-quote {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 30px;
    padding: 0 20px;
}

.source-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #777;
    background: #f0f7f0;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: background 0.3s;
}

.review-card-full:hover .source-tag {
    background: #e1f0e1;
}

.slider-arrow {
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(116, 195, 101, 0.3);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

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

.dot.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 10px;
    transform: scale(1.1);
}

/* --- REDESIGNED MODERN FOOTER --- */
.footer-modern {
    background: #ffffff;
    padding: 60px 0 40px;
    position: relative;
    color: var(--dark-text);
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
}

.shadow-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(116, 195, 101, 0.1), transparent);
    margin-bottom: 60px;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-brand-text {
    line-height: 1.7;
    color: #666;
    margin: 20px 0 25px;
    font-size: 0.95rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: #f8fcf8;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(116, 195, 101, 0.15);
}

.btn-whatsapp {
    background-color: var(--primary-green) !important;
    color: var(--white) !important;
}

.btn-whatsapp i {
    color: var(--white) !important;
}

.btn-whatsapp:hover {
    background-color: #58a04b !important;
    /* Slightly darker shade of primary green */
}



/* Removed bouncy hover effect */

.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 15px;
}

.footer-links-list a,
.footer-contact-list a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links-list a:hover {
    color: var(--primary-green);
    padding-left: 2px;
}

/* Removed translateX and arrow animation */

.footer-links-list a:hover::before {
    transform: translateX(3px);
}

.footer-contact-list a i {
    color: var(--primary-green);
    width: 20px;
}

.footer-contact-list a:hover {
    color: var(--primary-green);
}

.action-btns-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-weight: 600;
    border-radius: 12px;
}

.footer-bottom-modern {
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #888;
}

.footer-policy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5px;
}

.footer-policy-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-policy-links a:hover {
    color: var(--primary-green);
}

.footer-brand-text {
    margin-top: 10px;
}

.hero-discount-badge {
    display: inline-block;
    background: var(--secondary-bg);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-top: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-green);
    box-shadow: 0 4px 10px rgba(116, 195, 101, 0.2);
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-discount-badge i {
    margin-right: 5px;
    color: var(--primary-green);
}

.hero-btns {
    margin-top: 25px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1200px) {
    .footer-grid-modern {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 992px) {
    .footer-grid-modern {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .reviews-slider-outer {
        gap: 10px;
    }

    .slider-arrow {
        display: none;
        /* Swipe on mobile */
    }

    .review-card-full {
        padding: 35px 20px;
    }

    .review-quote {
        font-size: 1.1rem;
    }

    .footer-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .collapsible {
        border-bottom: 1px solid #f5f5f5;
    }

    .mobile-trigger {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        margin-bottom: 0;
    }

    .mobile-trigger::after {
        display: none;
    }

    .collapsible.active .mobile-trigger i {
        transform: rotate(180deg);
    }

    .collapsible-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    }

    .collapsible.active .collapsible-content {
        max-height: 500px;
        transition: max-height 0.4s ease-in;
        padding-bottom: 20px;
        padding-top: 10px;
    }

    .footer-actions {
        padding-top: 40px;
    }

    .footer-bottom-modern {
        padding: 20px 0;
        margin-bottom: 80px;
        /* Space for mobile nav */
        border-top: 1px solid #f0f0f0;
    }

    .footer-policy-links {
        order: -1;
        margin-bottom: 15px;
    }
}

.gst-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-left: 30px;
    /* Align with other icons */
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.developer-credit {
    font-size: 0.85rem;
    color: #999;
}

.dev-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: var(--primary-blue);
}

.dev-link:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .footer-copy {
        align-items: center;
        text-align: center;
    }

    .gst-text {
        padding-left: 0;
        margin-top: 5px;
    }
}

/* --- MOBILE MODAL REFINEMENT --- */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 340px;
        /* Compact width for mobile */
        max-height: 70vh;
        /* Ensure it fits in screen */
        border-radius: 12px;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .close-modal {
        font-size: 1.2rem;
    }

    .package-carousel {
        margin-bottom: 0;
    }

    .package-details-container {
        padding-top: 10px;
    }

    .package-section-title {
        font-size: 0.9rem;
        margin-top: 10px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 5px;
    }

    .modal-list {
        padding: 0 15px 15px;
    }

    .modal-list li {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .modal-list li i {
        width: 18px;
        /* Smaller icons */
    }

    .hero-discount-badge {
        font-size: 0.85rem;
        padding: 5px 12px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
}