:root {
    --primary: #f4b400; /* This will be dynamically overridden by PHP */
    --primary-rgb: 244, 180, 0; /* ADD THIS LINE if not present, for rgba usage */
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body { background: var(--white); color: var(--dark); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      transition: all 0.4s ease-in-out;
    padding: 25px 0; /* Big padding initially */
}

.nav-container {
   max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    transition: all 0.4s ease-in-out;
}



.logo { font-size: 20px; font-weight: 800; text-decoration: none; color: var(--dark); text-transform: uppercase; }

.nav-links a { text-decoration: none; color: var(--dark); margin-left: 25px; font-weight: 500; transition: 0.3s; }

.nav-links a:hover { color: var(--primary); }

.nav-cta { background: var(--primary); padding: 8px 20px; border-radius: 5px; color: var(--dark) !important; }

/* Style for active navigation link */
.nav-links a.active {
    color: var(--primary);
    font-weight: 700;
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 140px; /* Increased from 80px to accommodate bigger navbar */
    min-height: 80vh;
    display: flex; 
    align-items: center;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.2)),
                url('../images/hero-bg.jpeg') center/cover no-repeat;
}

.hero-content { max-width: 650px; padding: 0 8%; }

.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin-bottom: 20px; }

.hero p { font-size: 20px; margin-bottom: 30px; color: #444; }

.cta {
    display: inline-block; padding: 16px 35px;
    background: var(--primary); color: #000;
    text-decoration: none; font-weight: 700;
    border-radius: 50px; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(244, 180, 0, 0.3);
}

.cta:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(244, 180, 0, 0.4); }

/* ---------- HERO - Small Variant for internal pages ---------- */
.hero-small {
    min-height: 40vh; /* Shorter height for internal pages */
    padding-top: 100px; /* Adjust padding if needed */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    text-align: center;
}

.hero-small .hero-content {
    max-width: 800px;
    padding: 0 5%;
}

.hero-small h1 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 15px;
}

.hero-small p {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 0;
    color: #333;
}


/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; }

h2 { font-size: 36px; text-align: center; margin-bottom: 50px; position: relative; }

h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 15px auto; }

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 60px auto;
    font-size: 18px;
    color: var(--gray);
}


/* ---------- CATEGORIES ---------- */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category {
    background: var(--light-gray); padding: 30px 20px;
    text-align: center; border-radius: 15px;
    transition: 0.3s; cursor: default;
}

.category:hover { background: var(--primary); transform: translateY(-5px); }

.cat-icon { font-size: 30px; margin-bottom: 10px; }

/* ---------- PRODUCTS ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product {
    background: #fff; border-radius: 20px;
    padding: 20px; border: 1px solid #eee;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.product:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.img-container {
    height: 220px; display: flex; align-items: center;
    justify-content: center; overflow: hidden; margin-bottom: 20px;
    flex-shrink: 0;
}

.product img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product h3 { margin-bottom: 10px; }

.product p { font-size: 14px; margin-bottom: 15px; flex-grow: 1; }

.product a { text-decoration: none; color: var(--primary); font-weight: 700; display: block; margin-top: auto; }

/* ---------- BRANDS ---------- */
.brands { overflow: hidden; padding: 20px 0; }

.brands-track {
    display: flex; width: max-content;
    animation: scroll 30s linear infinite;
}

.brand { width: 200px; padding: 0 40px; display: flex; align-items: center; }

.brand img { width: 100%; filter: grayscale(1); opacity: 0.6; transition: 0.3s; }

.brand:hover img { filter: grayscale(0); opacity: 1; }

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- CONTACT SECTION ---------- */
.contact-wrap {
    background-color: var(--light-gray);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    line-height: 1;
    color: var(--primary); /* Added color to icons */
}

.contact-item h4 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--dark);
}

.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-input-group select {
    flex-shrink: 0;
    width: 120px; /* Fixed width for country code dropdown */
}

.phone-input-group input[type="text"] {
    flex-grow: 1;
}

.query-type-group .radio-options {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 5px;
}

.query-type-group .radio-options label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.query-type-group .radio-options input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: var(--primary); /* Styles the radio button itself */
}

.contact-form .form-submit-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

.contact-map {
    margin-top: 60px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-map h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark);
}

.contact-map iframe {
    border-radius: 10px;
    width: 100%; /* Ensure iframe is responsive */
}

/* ---------- ABOUT US PAGE SPECIFIC STYLES ---------- */
.about-main-wrap {
    background: var(--white);
    padding-bottom: 50px; /* Less padding if owner section follows */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark);
    text-align: center; /* Center the text for a cleaner look */
}
.about-content p {
    margin-bottom: 1em; /* Space out paragraphs */
}

.owner-section {
    background-color: var(--light-gray);
    padding-top: 80px;
}

.owner-card {
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 50px auto 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.owner-img-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary);
    box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0.2);
}

.owner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-info {
    text-align: center;
    flex-grow: 1;
}

.owner-info h3 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 5px;
}

.owner-info .owner-role {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.owner-info p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.mission-vision-section {
    background-color: var(--white);
    padding-top: 80px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mv-item {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: background 0.3s ease, transform 0.3s ease;
}

.mv-item:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
.mv-item:hover h3, .mv-item:hover p, .mv-item:hover .mv-icon {
    color: var(--dark); /* Ensure text/icon stays readable on hover */
}


.mv-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
    color: var(--primary);
    transition: color 0.3s ease;
}

.mv-item h3 {
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.mv-item p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    transition: color 0.3s ease;
}


/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: #fff; padding: 80px 0 30px; }

.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px;
}

.footer h3, .footer h4 { margin-bottom: 20px; color: var(--primary); }

.footer-links a { display: block; color: #ccc; text-decoration: none; margin-bottom: 10px; }

.footer-bottom { text-align: center; padding-top: 30px; color: #777; font-size: 14px; }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    padding: 12px 25px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999; transition: 0.3s;
}

.whatsapp-float img { width: 24px; }

.whatsapp-float:hover { transform: scale(1.05); }

/* ---------- ANIMATIONS ---------- */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-up.show { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (min-width: 769px) {
    .owner-card {
        flex-direction: row; /* Row layout for larger screens */
        text-align: left;
    }
    .owner-info {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-container { justify-content: center; } /* Center logo when links are hidden */
    .hero { text-align: center; padding: 80px 0 0; }
    .hero-content { padding: 0 5%; }
    .hero h1 { font-size: clamp(28px, 8vw, 48px); }
    .hero p { font-size: 18px; }
    h2 { font-size: 30px; margin-bottom: 40px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info, .footer-links { margin-bottom: 30px; }
    .footer-links a { margin-bottom: 5px; }
    .whatsapp-float { bottom: 20px; right: 20px; padding: 10px 20px; }
    .whatsapp-float span { display: none; } /* Hide text on small screens */
    .whatsapp-float img { width: 28px; } /* Make icon slightly larger */

    /* Contact page responsive */
    .section-intro { margin: -20px auto 40px auto; font-size: 16px; }
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    .contact-item {
        padding: 25px;
    }
    .contact-item h4 {
        font-size: 20px;
    }
    .contact-form-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    .contact-form-section h3 {
        font-size: 24px;
    }
    .contact-map {
        margin-top: 40px;
        padding: 20px;
    }
    .contact-map h3 {
        font-size: 24px;
    }

    /* About page responsive */
    .about-content {
        font-size: 16px;
    }
    .owner-card {
        flex-direction: column; /* Stack vertically */
        padding: 30px;
        gap: 25px;
    }
    .owner-img-wrap {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
    .owner-info h3 {
        font-size: 28px;
    }
    .owner-info .owner-role {
        font-size: 16px;
    }
    .owner-info p {
        font-size: 15px;
    }
    .mv-item {
        padding: 30px;
    }
    .mv-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    .mv-item h3 {
        font-size: 22px;
    }
    .mv-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content { padding: 0 3%; }
    .cta { padding: 12px 25px; font-size: 14px; }
    .categories { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .category { padding: 20px 10px; }
    .cat-icon { font-size: 24px; }
    .products { grid-template-columns: 1fr; }
    .product { max-width: 320px; margin: 0 auto; } /* Center products on very small screens */

    /* Contact page responsive */
    .hero-small {
        min-height: 30vh;
        padding-top: 80px;
    }
    .hero-small h1 {
        font-size: 28px;
    }
    .hero-small p {
        font-size: 16px;
    }
    .phone-input-group {
        flex-direction: column;
        gap: 0;
    }
    .phone-input-group select,
    .phone-input-group input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }
    .query-type-group .radio-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* Layout for Products Page */
.products-page-container {
    display: flex;
    max-width: 1400px;
    margin: 130px auto 40px;
    gap: 30px;
    padding: 0 20px;
}

/* Sticky Sidebar Filter */
.filters-sidebar {
    width: 280px;
    height: calc(100vh - 120px);
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow-y: auto;
}

.filter-box { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.clear-btn { font-size: 13px; color: #f44336; text-decoration: none; }

.filter-group { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.filter-group h4 { font-size: 16px; margin-bottom: 15px; color: #333; }
.filter-group ul { list-style: none; }
.filter-group ul li a { 
    display: block; padding: 6px 0; color: #666; text-decoration: none; font-size: 14px; transition: 0.2s;
}
.filter-group ul li a:hover, .filter-group ul li a.active { color: var(--primary); font-weight: 600; padding-left: 5px; }

.segment-selectors { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-pill { 
    padding: 5px 12px; background: #f0f0f0; border-radius: 20px; text-decoration: none; 
    color: #333; font-size: 12px; border: 1px solid transparent; 
}
.seg-pill.active { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; font-weight: bold; }

/* Product Main Grid */
.products-main { flex: 1; }
.results-header { margin-bottom: 20px; }
.results-header h2 { text-align: left; font-size: 20px; }
.results-header h2::after { display: none; }

.amazon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Amazon Style Card */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: var(--primary); }

.pc-img { height: 200px; padding: 20px; background: #fff; display: flex; align-items: center; justify-content: center; }
.pc-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pc-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.pc-brand { font-size: 12px; text-transform: uppercase; color: #888; letter-spacing: 1px; }
.pc-title { font-size: 18px; margin: 5px 0; font-weight: 600; color: #222; }
.pc-segment { color: #2e7d32; font-weight: bold; margin-bottom: 10px; }
.pc-desc { font-size: 13px; color: #666; margin-bottom: 20px; line-height: 1.4; }
.pc-btn {
    margin-top: auto;
    background: #FFD814; /* Amazon Yellow */
    color: #0F1111;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.pc-btn:hover { background: #F7CA00; }

.no-results { text-align: center; padding: 100px 0; color: #888; }

/* Responsive */
@media (max-width: 992px) {
    .products-page-container { flex-direction: column; }
    .filters-sidebar { width: 100%; height: auto; position: relative; top: 0; }
    .filter-group { display: inline-block; margin-right: 20px; min-width: 150px; vertical-align: top; }
}

/* ---------- MODERN VIDEO SECTION ---------- */
.brand-stories-section { background: #fdfdfd; }

.video-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.v-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     cursor: pointer;
    background: #000;
}

/* Orientation Sizes */
.v-card.portrait { width: 320px; aspect-ratio: 9 / 16; }
.v-card.landscape { width: 500px; aspect-ratio: 16 / 9; }

.v-wrapper { position: relative; width: 100%; height: 100%; }

.v-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes it look like a full-screen app */
    transition: transform 0.5s ease;
}

/* Hover Effects */
.v-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.v-card:hover video { transform: scale(1.1); }

/* Overlay Styling */
.v-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 1;
    transition: opacity 0.3s;
}

.v-card:hover .v-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%); }

.v-content { transform: translateY(0); transition: transform 0.3s ease; }
.v-tag {
    background: var(--primary);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.v-title { color: #fff; font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0; }

.v-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 1;
    transition: 0.3s;
}

.v-play-icon svg { width: 30px; }

/* Hide play icon and text movement on hover */
.v-card:hover .v-play-icon { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }

.v-footer-action { text-align: center; margin-top: 50px; }
.v-all-btn {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    transition: 0.3s;
}
.v-all-btn:hover { color: var(--primary); padding-right: 10px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .v-card.portrait, .v-card.landscape { width: 100%; max-width: 350px; }
}

/* ---------- VIDEO CARDS FIX ---------- */
.v-card {
    cursor: pointer;
    background: #000;
}

/* Fix Landscape visibility: show the whole video without cropping */
.v-card.landscape video { 
    object-fit: contain; 
    background: #111; /* dark bars on top/bottom if needed */
}

/* Portrait stays cover for the "Reel" look */
.v-card.portrait video { 
    object-fit: cover; 
}

.v-play-btn {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(244, 180, 0, 0.4);
}
.v-play-btn svg { width: 24px; color: #000; }

/* ---------- VIDEO MODAL (POPUP) ---------- */
.v-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.v-modal-content {
    width: 90%;
    max-width: 1000px;
    text-align: center;
}

#modalVideo {
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    outline: none;
}

#v-modal-title {
    color: #fff;
    margin-top: 20px;
    font-size: 22px;
}

.v-modal-close {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.v-modal-close:hover { color: var(--primary); }

/* Ensure homepage category links look like the original cards */
.category-card-link {
    text-decoration: none;
    color: inherit; /* Keeps text color same as defined in .category */
    display: block;
    transition: transform 0.3s ease;
}

.category-card-link:hover {
    transform: translateY(-5px);
}

/* Ensure the .category inside doesn't double-jump on hover */
.category:hover {
    background: var(--primary);
    /* removed transform here to prevent jittering since parent link handles it */
}

/* Navbar Logo Styling */
.site-logo-img {
    height: 75px; /* Bigger logo initially */
    width: auto;
    display: block;
    transition: all 0.4s ease-in-out;
    animation: logoPulseGlow 2s infinite ease-in-out;
}

.navbar.scrolled {
    padding: 10px 0; /* Less padding = smaller height */
    background: #ffffff; /* Solid white when scrolled */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .site-logo-img {
    height: 45px; /* Smaller logo when scrolled */
}

/* Adjust links font size slightly when scrolled */
.navbar.scrolled .nav-links a {
    font-size: 14px;
}

.logo:hover .site-logo-img {
    transform: scale(1.05);
}

/* Adjust navbar padding if the logo is tall */
.nav-container {
    padding: 10px 20px; /* Reduced vertical padding for logo fit */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .site-logo-img {
        height: 40px;
    }
}

/* ---------- ANIMATED LOGO GLOW ---------- */

/* This targets the logo image */
.site-logo-img {
    height: 50px;
    width: auto;
    display: block;
    /* Apply the animation */
    animation: logoPulseGlow 2s infinite ease-in-out;
    /* Smooth transition for hover scale */
    transition: transform 0.3s ease;
}

/* This targets the text logo (if no image is uploaded) */
.logo {
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
}

/* If the logo is text-based, we apply a text-shadow pulse */
a.logo:not(:has(img)) {
    animation: textPulseGlow 2s infinite ease-in-out;
}

/* Keyframes for Image Logo (Drop Shadow follows the shape) */
@keyframes logoPulseGlow {
    0% {
        filter: drop-shadow(0 0 2px var(--primary));
    }
    50% {
        filter: drop-shadow(0 0 12px var(--primary));
    }
    100% {
        filter: drop-shadow(0 0 2px var(--primary));
    }
}

/* Keyframes for Text Logo (Fallback) */
@keyframes textPulseGlow {
    0% {
        text-shadow: 0 0 2px var(--primary);
    }
    50% {
        text-shadow: 0 0 15px var(--primary);
    }
    100% {
        text-shadow: 0 0 2px var(--primary);
    }
}

/* Hover effect to stop animation or change it */
.logo:hover .site-logo-img {
    transform: scale(1.08);
    animation-duration: 0.8s; /* Speeds up the glow when you hover */
}

/* ---------- PRODUCT SLIDER STYLING ---------- */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

.product-slider-section {
    padding: 60px 0;
    overflow: hidden; /* Prevents swiper from breaking layout */
}

/* Force Product Cards to have consistent height inside slider */
.product-card-fixed {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    transition: 0.3s;
}

.product-card-fixed:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Fixed Image Height for Slider */
.product-card-fixed .pc-img {
    height: 160px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-fixed .pc-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Swiper Nav Color */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    background: #fff;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Responsive Grid Logic (2 products on mobile) */
@media (max-width: 576px) {
    .product-slider-section {
        padding: 30px 0;
    }
    .pc-title {
        font-size: 14px;
    }
}

/* ---------- UNIFORM PRODUCT CARDS ---------- */

/* 1. Ensure the Swiper slide itself allows for full height */
.productSwiper .swiper-slide {
    height: auto; /* Important for Swiper to calculate height correctly */
    display: flex;
}

.product-card-fixed {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    
    /* The Magic: Flexbox Layout */
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensures it fills the slide width */
    height: 100%; /* Forces all cards in a row to match the tallest one */
}

/* 2. Fix the Image height so it doesn't push text down */
.product-card-fixed .pc-img {
    height: 180px; 
    min-height: 180px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-fixed .pc-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* 3. Text Area Logic */
.product-card-fixed .pc-content {
    flex-grow: 1; /* This takes up all available space */
    display: flex;
    flex-direction: column;
}

.pc-brand {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 5px;
}

.pc-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    line-height: 1.4;
    /* Limit title height to 2 lines for extra neatness (optional) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px; /* Space for exactly 2 lines */
}

.pc-segment {
    color: #2e7d32;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 4. Align the Button to the Bottom */
.product-card-fixed .pc-btn {
    margin-top: auto; /* Pushes the button to the very bottom of the card */
    background: var(--primary);
    color: #000;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    display: block;
}

.product-card-fixed .pc-btn:hover {
    filter: brightness(0.9);
    transform: scale(1.02);
}