/* Universal Box Sizing for better layout consistency */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Adjusting the base font size for overall scaling */
html {
    font-size: 15px;
    /* Reduced from browser default 16px to make everything slightly smaller */
}

:root {
    --page-background: #ffffff;
    --text-color-default: #212529;
    --text-color-muted: #6c757d;
    --text-color-light: #f8f9fa;
    /* For dark backgrounds like footer */

    --card-background: #ffffff;
    --card-text-color: #212529;

    --section-bg-light: #f8f9fa;
    /* Light grey for sections that were navy */

    --primary-accent-color: #ffc107;
    /* Brighter Yellow */
    --primary-accent-darker: #e0a800;
    --secondary-accent-color: #B29339;
    /* Gold/Brown */

    --border-color: #dee2e6;
    --radius: 0.5rem;
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

body {
    background-color: var(--page-background);
    color: var(--text-color-default);
    font-family: var(--font-family);
    overflow-x: hidden;
}

header {
    background: url('../images/pro-banner.jpg') no-repeat center center/cover;
    min-height: 50vh;
    width: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 0.5rem 0rem;
    width: 100%;
    z-index: 1030;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .logo img {
    padding-top: 5px;
    max-height: 70px;
}

.navbar .nav-right-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.navbar .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .menu li {
    margin: 0 1rem;
}

.navbar .menu li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: var(--primary-accent-color);
}

.navbar .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.navbar .hamburger span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: background-color 0.3s ease;
}

.contact-info {
    color: var(--primary-accent-color);
    text-decoration: none;
    font-size: 14px;
    padding-right: 1rem;
}

.contact-info img {
    vertical-align: middle;
}


@media (max-width: 991.98px) {
    .navbar .menu {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
    }

    .navbar .menu.active {
        display: flex;
    }

    .navbar .menu li {
        margin: 0.75rem 0;
        text-align: center;
    }

    .navbar .menu li a {
        color: white;
    }

    .navbar .menu li a:hover {
        color: var(--primary-accent-color);
    }

    .navbar .hamburger {
        display: flex;
    }

    .navbar .nav-right-container {
        align-items: flex-end;
    }

    .contact-info {
        font-size: 12px;
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.banner-content p.since-text img {
    height: 25px;
}


.banner-buttons {
    margin-top: 2rem;
}

.banner-buttons .btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
}

.btn-primary {
    background-color: var(--primary-accent-color);
    border: none;
    color: var(--text-color-default);
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-accent-darker);
    color: var(--text-color-default);
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .banner-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .banner-content {
        left: 5%;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

/* Product Page Specific Styles */
.product-page-section {
    padding: 3rem 0;
    background-color: var(--section-bg-light);
}

.product-category-description {
    margin-bottom: 3rem;
    text-align: center;
}

.product-category-description h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color-default);
    margin-bottom: 1.5rem;
}

.product-category-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* New styles for alternating layout */
.product-item-alt {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    /* Spacing between alternating items */
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    /* Ensures borders/shadows are contained */
}

.product-item-alt .product-image-col {
    flex: 1;
    padding: 1.5rem;
    /* Padding around the image inside its column */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-item-alt .product-image-col img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    /* Limit image height */
    object-fit: contain;
    /* Ensure full image is visible */
    border-radius: var(--radius);
    /* Apply border-radius to the image */
}

.product-item-alt .product-description-col {
    flex: 1;
    padding: 2.5rem;
    /* Padding for the text content */
}

.product-item-alt h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--card-text-color);
    margin-bottom: 1rem;
}

.product-item-alt p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color-muted);
    margin-bottom: 1.5rem;
}

.product-item-alt .btn {
    background-color: var(--secondary-accent-color);
    border-color: var(--secondary-accent-color);
    color: var(--text-color-light);
    padding: 0.7rem 2rem;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-item-alt .btn:hover {
    background-color: var(--primary-accent-color);
    border-color: var(--primary-accent-color);
    color: var(--text-color-default);
}

/* Reverse order for alternating items */
.product-item-alt:nth-child(even) {
    flex-direction: row-reverse;
    /* Image on right, description on left */
}

@media (max-width: 991.98px) {
    .product-item-alt {
        flex-direction: column;
        /* Stack image and text vertically on smaller screens */
        text-align: center;
    }

    .product-item-alt:nth-child(even) {
        flex-direction: column;
        /* Reset flex-direction for even items on smaller screens */
    }

    .product-item-alt .product-image-col {
        order: -1;
        /* Push image to the top on smaller screens */
        margin-bottom: 1rem;
    }

    .product-item-alt .product-description-col {
        padding: 1.5rem;
    }

    .product-item-alt h3 {
        font-size: 1.75rem;
    }

    .product-item-alt p {
        font-size: 0.95rem;
    }

    .product-item-alt .btn {
        width: 100%;
        /* Make button full width on small screens */
    }
}


/* Footer Section (Kept from previous enhancement) */
.footer-section {
    background-color: #2c3034;
    color: var(--text-color-light);
    padding: 3rem 0 1.5rem 0;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.company-desc {
    font-size: 0.95em;
    opacity: 0.8;
    margin-left: 0;
    line-height: 1.6;
}

.footer-heading {
    color: var(--primary-accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.4em;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--primary-accent-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95em;
    text-align: left;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-accent-color);
    font-size: 1.1em;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-color-light);
    padding: 0.75rem;
}

.newsletter-form input::placeholder {
    color: rgba(248, 249, 250, 0.6);
    font-size: 0.95em;
}

.newsletter-form .btn {
    background-color: var(--primary-accent-color);
    color: var(--text-color-default);
    border: none;
    padding: 0.75rem;
    width: 100%;
}

.newsletter-form .btn:hover {
    background-color: var(--primary-accent-darker);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-icon {
    color: var(--text-color-light);
    font-size: 1.35rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-legal {
    margin-top: 0.5rem;
}

.footer-legal a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-accent-color);
}

.separator {
    color: rgba(248, 249, 250, 0.4);
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .footer-heading,
    .footer-links,
    .footer-contact,
    .social-links {
        text-align: center;
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 1rem auto;
    }

    .company-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
    }
}

/* Fixed WhatsApp Button Styles */
.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-fixed-btn:hover {
    background-color: #1DA851;
    transform: scale(1.08);
}

@media (max-width: 576px) {
    .whatsapp-fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== MOBILE GRID FIX FOR PRODUCT GALLERY ===== */

/* Mobile devices */
@media (max-width: 576px) {
    #lightgallery>li {
        width: 33.33%;
        /* 3 items per row */
        float: left;
        padding: 5px;
    }
}

/* Small tablets */
@media (min-width: 577px) and (max-width: 768px) {
    #lightgallery>li {
        width: 25%;
        /* 4 items per row */
        float: left;
        padding: 8px;
    }
}

.container1 {
    position: relative;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.container1:hover .overlay {
    bottom: 0;
    height: 100%;
}

.text {
    color: white;
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.demo-gallery>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.demo-gallery>ul>li {
    display: inline-block;
    margin-bottom: 25px;
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #fff;
    color: #212529;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    background: #fff;
}

.imgwrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.caption {
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: #333;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
}

.lightbox-caption {
    color: #fff;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    gap: 16px;
}

/* Mobile */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

