:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --secondary: #2196F3;
    --accent: #FF9800;
    --dark: #212121;
    --light: #FAFAFA;
    --gray: #757575;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Top Bar with Contact Info */
.top-bar {
    background-color: #001;
    /* Black top bar */
    color: white;
    padding: 5px 20px;
    text-align: right;
    font-size: 14px;
}

/* Header Section */
.header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

.logo img {
    height: 80px;
    /* Adjust as needed */
    max-width: 100%;
}

/* Navigation Bar */
.navbar {
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 5px;
    transition: 0.3s;
}

.nav-links a:hover {
    border-bottom: 2px solid gold;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .nav-links {
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 10px;
    }

    .logo img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        text-align: center;
    }

    .header {
        justify-content: center;
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 8px 0;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 5px 10px;
        font-size: 11px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-links {
        padding: 0;
    }
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to right, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #ffcb05;
    color: #000;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #e6b800;
}

/* Benefits Section */
.benefits {
    background: #f4fff4;
    padding: 60px 20px;
    text-align: center;
    color: #2f4f2f;
}

.benefits h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: bold;
    color: #2f4f2f;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Benefit Cards */
.benefit {
    background: #ffffff;
    color: #333;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 280px;
    transition: transform 0.3s ease-in-out;
}

.benefit:hover {
    transform: translateY(-6px);
}

.benefit img {
    width: 55px;
    margin-bottom: 15px;
    filter: brightness(0) saturate(100%) invert(28%) sepia(32%) saturate(725%) hue-rotate(67deg) brightness(90%) contrast(90%);
}

.benefit h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 1rem;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .benefit {
        width: 90%;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fdfdfd;
}

h1 {
    font-size: 2rem;
    color: #2f4f2f;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.tab {
    padding: 12px 20px;
    margin: 0 10px;
    background-color: #e6ffe6;
    border: 1px solid #2f4f2f;
    cursor: pointer;
    font-weight: bold;
    color: #2f4f2f;
    border-radius: 5px;
    transition: background 0.3s;
}

.tab:hover,
.tab.active {
    background-color: #2f4f2f;
    color: white;
}

.tab-content {
    display: none;
    padding: 40px 60px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: auto;
    border-radius: 12px;
    gap: 40px;
    align-items: center;
}

.tab-content.active {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    animation: fadeIn 0.6s ease forwards;
    gap: 40px;
}

.product-image {
    flex: 1 1 40%;
    max-width: 40%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

.product-info {
    flex: 1 1 55%;

}

.product-info h2 {

    margin-bottom: 10px;
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.urjoo-color {
    color: #FFE135;
}

.colapower-color {
    color: #B22222;
    /* Reddish */
}

.hydro-color {
    color: #00BFFF;
}

.product-info p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-info ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.product-info li {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #333;
}

.tagline {
    font-style: italic;
    font-size: 1.1rem;
    color: #4CAF50;
    margin-bottom: 10px;
}


/* Responsive for smaller screens */
@media (max-width: 768px) {
    .tab-content.active {
        flex-direction: column;
        padding: 20px;
    }

    .product-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: #17172d;
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: gold;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: gold;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: gold;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: gold;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Add to cart */
.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.quantity-input {
    width: 60px;
    padding: 6px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.btn:hover {
    background-color: #0056b3;
}

label {
    font-weight: 500;
}

@media (max-width: 480px) {
    .tab {
        padding: 10px;
        margin: 5px 0;
    }
}

.MGold-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 20px;
    background-color: #f4fff4;
    /* Matches other sections */
}

.intro-text {
    flex: 1 1 500px;
    color: var(--dark);
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    /* Deep green */
}

.intro-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}

.intro-image {
    flex: 1 1 400px;
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .MGold-intro {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        flex: 1 1 100%;
    }

    .intro-image {
        flex: 1 1 100%;
    }

    .intro-image img {
        max-width: 90%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .tab-content.active {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 20px;
    }

    .product-image,
    .product-info {
        max-width: 100%;
    }

    .product-image {
        margin-bottom: 20px;
    }
}

/* FAQS */
.faq {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    width: 100%;
    padding: 15px;
    text-align: left;
    background: #f2f2f2;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e0e0e0;
}

.faq-answer {
    display: none;
    padding: 15px;
    background: #fafafa;
    animation: fadeIn 0.4s ease-in;
}

.fade-in {
    animation: fadeInUp 1s ease-in;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.query-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.query-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.query-section form div {
    margin-bottom: 18px;
}

.query-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.query-section input[type="text"],
.query-section input[type="email"],
.query-section input[type="tel"],
.query-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.query-section input:focus,
.query-section textarea:focus {
    outline: none;
    border-color: #3bb78f;
    /* Optional: match with site’s theme */
    box-shadow: 0 0 0 2px rgba(59, 183, 143, 0.2);
}

.query-section textarea {
    resize: vertical;
}

.query-section small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 0.85rem;
}

.query-section button[type="submit"] {
    width: 100%;
    background-color: #3bb78f;
    color: white;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.query-section button[type="submit"]:hover {
    background-color: #30a37a;
}

@media (max-width: 500px) {
    .query-section {
        padding: 20px;
    }
}

/* Sticky Cart Icon */
.sticky-cart {
    position: sticky;
    top: 20px;
    right: 20px;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 1.6rem;
    background: white;
    padding: 10px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #000;
    z-index: 999;
}

/* Cart Count */
.sticky-cart .cart-count {
    background-color: red;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 6px;
}

/* Floating on Mobile */
@media (max-width: 768px) {
    .sticky-cart {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
        padding: 12px 16px;
        border-radius: 30px;
        background-color: #fff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}