/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B4226; /* Main brown color */
    --secondary-color: #A67C52; /* Lighter brown */
    --accent-color: #D4B996; /* Very light brown/beige */
    --text-light: #F9F3EE;
    --text-dark: #3A2512;
    --whatsapp-color: #25D366; /* WhatsApp brand color */
    --form-bg: #f9f5f0;
    --form-border: #e8e0d5;
    --input-bg: #ffffff;
    --input-border: #d9cfc2;
    --input-focus: #c4a783;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-section {
    padding: 40px 0 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--form-border);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    background-color: var(--input-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(196, 167, 131, 0.2);
}

.submit-button {
    grid-column: span 2;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive styles for Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .submit-button {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 80px;
    display: flex;
    align-items: center;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', sans-serif;
    border: 2px solid white;
    animation: bounce 2s infinite;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background-color: #1da851;
}

.whatsapp-button:hover::before {
    left: 100%;
}

.whatsapp-button:active {
    transform: scale(0.96);
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 24px;
    animation: pulse 1.5s infinite;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Mobile styles for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-button {
        right: 15px;
        bottom: 70px;
        padding: 10px 18px;
    }
    
    .whatsapp-icon {
        font-size: 20px;
    }
    
    .whatsapp-text {
        font-size: 15px;
    }
}

/* Welcome Popup Styles */
.welcome-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.welcome-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 85%;
    max-width: 600px;
    animation: fadeIn 0.6s;
    border: 4px solid var(--accent-color);
    background: linear-gradient(to bottom, #ffffff, #f9f5f0);
}

.welcome-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 18px;
}

.welcome-header i {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.welcome-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.welcome-body {
    text-align: center;
    padding: 10px 5px;
}

.welcome-body p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.welcome-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.welcome-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.close-welcome {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s;
    background: #f9f5f0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color);
}

.close-welcome:hover {
    color: var(--primary-color);
    background: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .welcome-content {
        width: 90%;
        margin: 15% auto;
        padding: 20px 15px;
    }
    
    .welcome-header {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-header i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .welcome-header h2 {
        font-size: 1.6rem;
    }
    
    .welcome-body p {
        font-size: 1rem;
    }
    
    .welcome-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .welcome-content {
        margin: 10% auto;
        padding: 15px 10px;
    }
    
    .welcome-header h2 {
        font-size: 1.4rem;
    }
    
    .welcome-body p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

.close-welcome {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close-welcome:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-image: url('../images/download (33).jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    max-width: 100vw; /* Ensure body doesn't exceed viewport width */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.container {
    width: 98%; /* Increased from 95% to use almost the entire screen width */
    max-width: 1600px; /* Increased from 1400px for even wider content area */
    margin: 0 auto;
    padding: 0 10px; /* Reduced padding */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(58, 37, 18, 0.3);
    transition: all 0.4s ease;
}

header.loaded {
    animation: headerLoad 0.5s ease-out forwards;
}

@keyframes headerLoad {
    0% { transform: translateY(-5px); opacity: 0.8; }
    100% { transform: translateY(0); opacity: 1; }
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), transparent, var(--accent-color));
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    opacity: 0.6;
    border-radius: 50%;
    right: -10px;
    top: -10px;
    z-index: -1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.6; }
}

.logo img {
    height: 45px;
    max-height: 45px;
    transition: all 0.4s ease;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.logo img:hover {
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

header .tagline {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-left: 1.2rem;
    position: relative;
    padding-left: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: none;
}

header .tagline::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Show tagline on tablets and up */
@media (min-width: 768px) {
    header .tagline {
        display: inline;
    }
}

@media (min-width: 992px) {
    header .tagline {
        font-size: 1rem;
    }
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.nav-menu a:hover::before,
.nav-menu .active a::before {
    width: 150%;
    height: 200%;
    opacity: 1;
}

.nav-menu a:hover,
.nav-menu .active a {
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu .active a {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
    width: 40px;
    height: 32px;
    position: relative;
    margin-right: 5px;
    z-index: 2;
}

.menu-toggle .hamburger-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.menu-toggle .hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.menu-toggle .hamburger-icon span:nth-child(1) {
    top: 4px;
    width: 70%;
    right: 0;
    left: auto;
}

.menu-toggle .hamburger-icon span:nth-child(2), 
.menu-toggle .hamburger-icon span:nth-child(3) {
    top: 14px;
}

.menu-toggle .hamburger-icon span:nth-child(4) {
    top: 24px;
    width: 70%;
    right: 0;
    left: auto;
}

.menu-toggle.open .hamburger-icon span:nth-child(1) {
    top: 14px;
    width: 0%;
    right: 50%;
}

.menu-toggle.open .hamburger-icon span:nth-child(2) {
    transform: rotate(45deg);
    background: var(--accent-color);
}

.menu-toggle.open .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    background: var(--accent-color);
}

.menu-toggle.open .hamburger-icon span:nth-child(4) {
    top: 14px;
    width: 0%;
    right: 50%;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content Styles */
main {
    min-height: calc(100vh - 130px);
    padding: 2rem 0;
    margin-top: 80px; /* Add margin-top to account for the fixed header */
}

section {
    margin-bottom: 2rem;
}

h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Footer Styles */
footer {
    background-color: #F5F0DC; /* Cream background */
    color: var(--text-dark);
    padding: 1.5rem 0; /* Reduced padding from 2.5rem to 1.5rem */
    border-top: 5px solid var(--accent-color);
    margin-top: 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem; /* Reduced from 2rem */
    max-width: 1100px; /* Added max-width to prevent stretching too much */
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 220px; /* Reduced from 250px */
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem; /* Slightly smaller font */
    margin-bottom: 1rem; /* Reduced from 1.2rem */
    position: relative;
    padding-bottom: 0.6rem; /* Reduced from 0.8rem */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Company Info Section */
.company-info p {
    margin-top: 0.8rem; /* Reduced from 1rem */
    font-size: 0.9rem;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
    font-size: 1rem; /* Reduced from 1.1rem */
}

.contact-item i {
    margin-right: 8px; /* Reduced from 10px */
    color: var(--primary-color);
    font-size: 1.2rem; /* Reduced from 1.3rem */
}

.contact-item.whatsapp i {
    color: #25D366;
}

.contact-item.phone i {
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-item.phone a {
    font-weight: 600;
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item.phone a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(107, 66, 38, 0.3);
}

.contact-item.whatsapp a {
    color: #25D366;
    font-weight: 600;
    padding: 4px 8px; /* Reduced padding */
    border-radius: 12px; /* Slightly reduced border radius */
    transition: all 0.3s ease;
    font-size: 0.95rem; /* Slightly smaller font */
}

.contact-item.whatsapp a:hover {
    color: white;
    background-color: #25D366;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
}

/* Social Section */
.social-icons {
    display: flex;
    gap: 0.8rem; /* Reduced from 1rem */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* Reduced from 40px */
    height: 36px; /* Reduced from 40px */
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 0.9rem; /* Added smaller icon size */
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-icon.facebook {
    background-color: #3b5998;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 280px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #5d3922 100%);
        flex-direction: column;
        padding: 90px 0 30px;
        text-align: left;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        z-index: 1;
        overflow-y: auto;
    }
    
    /* Footer responsive styles */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Continue with existing styles */
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--accent-color), transparent);
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, rgba(107, 66, 38, 0.8), transparent);
        pointer-events: none;
    }
    
    .nav-menu.show {
        right: 0;
    }
    
    .nav-menu li {
        margin: 8px 15px;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        position: relative;
    }
    
    .nav-menu.show li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.show li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.show li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.show li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.show li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.show li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-menu li::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: var(--accent-color);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.show li:hover::before,
    .nav-menu.show .active::before {
        opacity: 1;
        transform: translateY(-50%) scale(1.5);
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        text-align: left;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border-left: 3px solid transparent;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    
    .nav-menu a:hover,
    .nav-menu .active a {
        background-color: rgba(212, 185, 150, 0.15);
        transform: translateY(0) translateX(5px);
        border-left: 3px solid var(--accent-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        letter-spacing: 1px;
    }
    
    .nav-menu .active a {
        background-color: rgba(212, 185, 150, 0.25);
        font-weight: 700;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 0;
        animation: fadeIn 0.4s ease forwards;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/* Hero Section Styles */
.hero {
    padding: 0;
}

/* Product Showcase Section */
.product-showcase {
    padding: 0.8rem 0 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.product-title-container {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0.8rem 2rem;
    display: inline-block;
    background-color: #FFD700; /* Golden yellow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0% 15%, 15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
    z-index: 1;
    border: none;
}

.product-title:before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 2px dashed #000;
    clip-path: polygon(0% 15%, 15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
    z-index: -1;
}

.product-title:after {
    content: '★';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 1.5rem;
    color: #000;
    background-color: #FFD700;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #000;
}

/* Text shadow for better readability */
.product-title span {
    position: relative;
    display: inline-block;
    transform: skew(-5deg);
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

/* Responsive styles for the product title */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.6rem;
        padding: 0.7rem 1.5rem;
    }
    
    .product-showcase {
        padding: 0.6rem 0 4rem;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
        padding: 0.6rem 1.2rem;
    }
    
    .product-showcase {
        padding: 0.5rem 0 3rem;
    }
}

/* Product Grid and Items */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 products horizontally on laptops/desktops */
    gap: 0.6rem; /* Further reduced gap to allow more space for boxes */
    margin-top: 2rem;
    padding: 0 0.3rem; /* Reduced padding to allow boxes to be wider */
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 420px; /* Maintained height */
    border: 1px solid #efefef;
    max-width: 100%; /* Ensure boxes take full width of their grid cell */
    width: 100%; /* Force full width */
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #FFD700, var(--primary-color));
}

.product-image {
    position: relative;
    height: 55%;
    overflow: hidden;
    background-color: #f8f8f8; /* Light background color for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

/* See Video Button */
.see-video-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #F5F0DC; /* Cream background */
    color: #000000; /* Black text */
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 5;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.see-video-btn i {
    color: #FF0000; /* Keep the play icon red */
    font-size: 1.1rem;
}

.see-video-btn:hover {
    background-color: #EAE3C9; /* Slightly darker cream on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.see-video-btn.clicked {
    animation: videoBtnClick 0.5s ease;
}

@keyframes videoBtnClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.product-info {
    padding: 0.8rem 0.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.buy-now-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem; /* Even larger padding */
    border-radius: 10px; /* Increased border radius */
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem; /* Increased font size */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Deeper shadow */
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.buy-now-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), #8B5A2B, var(--primary-color));
    opacity: 0;
    z-index: -2;
    transition: opacity 0.4s ease;
}

.buy-now-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

.buy-now-btn:hover::before {
    left: 100%;
    animation: shimmer 2s infinite;
}

.buy-now-btn:hover::after {
    opacity: 1;
}

.buy-now-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.buy-now-btn.clicked {
    animation: clickPulse 0.5s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); }
    25% { transform: scale(0.95); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.15); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4); }
    75% { transform: scale(0.97); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3); }
    100% { transform: scale(1); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Additional button animations */
@keyframes glow {
    0% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 7px 25px rgba(212, 185, 150, 0.8); }
    100% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.buy-now-btn:hover {
    animation: glow 1.5s infinite, bounce 1s infinite;
    background-color: #8B5A2B; /* Darker brown on hover */
    transform: translateY(-5px) scale(1.05);
}

/* Pulsing effect for button on page load */
@keyframes initialPulse {
    0% { transform: scale(1); opacity: 0.9; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.08); opacity: 1; box-shadow: 0 8px 20px rgba(107, 66, 38, 0.4); }
    100% { transform: scale(1); opacity: 0.9; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
}

/* Apply animation to all product buttons with different delays */
.product-item .buy-now-btn {
    animation: initialPulse 2s ease-in-out infinite;
    background: linear-gradient(145deg, var(--primary-color), #8B5A2B);
}

/* First row (1-5) */
.product-item:nth-child(1) .buy-now-btn { animation-delay: 0.1s; }
.product-item:nth-child(2) .buy-now-btn { animation-delay: 0.2s; }
.product-item:nth-child(3) .buy-now-btn { animation-delay: 0.3s; }
.product-item:nth-child(4) .buy-now-btn { animation-delay: 0.4s; }
.product-item:nth-child(5) .buy-now-btn { animation-delay: 0.5s; }

/* Second row (6-10) */
.product-item:nth-child(6) .buy-now-btn { animation-delay: 0.6s; }
.product-item:nth-child(7) .buy-now-btn { animation-delay: 0.7s; }
.product-item:nth-child(8) .buy-now-btn { animation-delay: 0.8s; }
.product-item:nth-child(9) .buy-now-btn { animation-delay: 0.9s; }
.product-item:nth-child(10) .buy-now-btn { animation-delay: 1.0s; }

/* Third row (11-15) */
.product-item:nth-child(11) .buy-now-btn { animation-delay: 1.1s; }
.product-item:nth-child(12) .buy-now-btn { animation-delay: 1.2s; }
.product-item:nth-child(13) .buy-now-btn { animation-delay: 1.3s; }
.product-item:nth-child(14) .buy-now-btn { animation-delay: 1.4s; }
.product-item:nth-child(15) .buy-now-btn { animation-delay: 1.5s; }

/* Fourth row (16-20) */
.product-item:nth-child(16) .buy-now-btn { animation-delay: 1.6s; }
.product-item:nth-child(17) .buy-now-btn { animation-delay: 1.7s; }
.product-item:nth-child(18) .buy-now-btn { animation-delay: 1.8s; }
.product-item:nth-child(19) .buy-now-btn { animation-delay: 1.9s; }
.product-item:nth-child(20) .buy-now-btn { animation-delay: 2.0s; }

/* Ripple effect for button clicks */
.buy-now-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Modal pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating icon animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Product Label */
.product-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #FFD700;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem; /* Even smaller gap on smaller screens */
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .container {
        width: 100%;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    .product-item {
        height: 400px;
    }
    
    .container {
        padding: 0 5px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 products horizontally on phones */
        gap: 0.5rem;
        width: 100%;
    }
    
    .product-item {
        height: 380px;
    }
    
    .product-info {
        padding: 0.7rem;
    }
    
    .container {
        width: 100%;
        padding: 0 5px;
    }
    
    /* Improved Buy Now button for small screens */
    .buy-now-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
        white-space: nowrap;
        letter-spacing: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 44px; /* Improve touch target size on mobile */
        touch-action: manipulation; /* Optimize for touch */
    }
    
    /* Video modal buy now button */
    .video-buy-now-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    /* Make sure the emoji stays visible */
    .buy-now-btn::before {
        display: none;
    }
    
    /* Reduce shadow for cleaner look on small screens */
    .buy-now-btn {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
}

/* About Section Styles */
.about-section {
    padding: 3rem 0;
}

/* Contact Section Styles */
.contact-section {
    padding: 3rem 0;
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    margin: 15% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.9);
    overflow: hidden;
    border: 1px solid rgba(107, 66, 38, 0.2);
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Video Modal Styles */
.video-modal .modal-content {
    max-width: 800px;
    width: 90%;
    margin: 10% auto;
}

.video-modal-header {
    background-color: #8B4513; /* Darker brown for video modal */
}

.video-modal-body {
    padding: 20px;
    text-align: left;
}

.video-container {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.product-gallery {
    margin: 20px 0;
}

.product-gallery h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--accent-color);
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-product-details {
    margin-top: 20px;
    background-color: #f9f5f0;
    padding: 15px;
    border-radius: 8px;
}

.video-product-details h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

#videoProductDescription {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.close-modal:hover {
    background-color: #8B4513;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.close-modal::before,
.close-modal::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.close-modal::before {
    transform: rotate(45deg);
}

.close-modal::after {
    transform: rotate(-45deg);
}

.modal-header {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header i {
    font-size: 1.8rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
}

.modal-body .small-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
}

.contact-option {
    margin: 1.5rem 0;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Video Modal Buy Now Button */
.video-modal-actions {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.video-buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), #8B4513);
    color: white;
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 66, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.video-buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 66, 38, 0.4);
}

.video-buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.video-buy-now-btn:hover::before {
    left: 100%;
}

.video-buy-now-btn i {
    font-size: 1.2rem;
}

/* Solar Locks Guarantee */
.solar-locks-guarantee {
    margin-top: 25px;
    padding: 15px;
    background-color: #f7f3eb;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.guarantee-icon {
    color: #FFD700;
    font-size: 2rem;
    padding-top: 5px;
}

.guarantee-text h5 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.guarantee-text p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 30% auto;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    
    /* Tablet-specific footer adjustments */
    footer {
        padding: 1.2rem 0; /* Reduced padding for tablets */
    }
    
    .footer-content {
        gap: 1.5rem; /* Reduced gap */
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
}

/* Additional responsive styles for smaller mobile devices */
@media screen and (max-width: 480px) {
    footer {
        padding: 1rem 0; /* Even more reduced padding for mobile */
    }
    
    .footer-content {
        padding: 0 0.5rem;
        gap: 1rem; /* Reduced gap between footer sections */
    }
    
    .footer-section {
        margin-bottom: 0.8rem; /* Reduced margin */
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem; /* Reduced margin */
        padding-bottom: 0.5rem; /* Reduced padding */
    }
    

/* Extra small devices - very small phones */
@media screen and (max-width: 360px) {
    /* Further optimizations for very small screens */
    .buy-now-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
        border-radius: 6px;
        width: 100%;
    }
    
    /* Video modal buy button on very small screens */
    .video-buy-now-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Simplify button appearance on very small screens */
    .buy-now-btn::before,
    .buy-now-btn::after,
    .video-buy-now-btn::before,
    .video-buy-now-btn::after {
        display: none;
    }
    
    /* Make text more readable */
    .product-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}
    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 0.5rem; /* Reduced margin */
    }
    
    .contact-item.phone a,
    .contact-item.whatsapp a {
        padding: 3px 6px;
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .footer-section h3::after {
        height: 2px; /* Thinner line */
        width: 40px; /* Shorter line */
    }
}
