/* 
   Vetrivel Aachari Jewellers - Premium Design System 
   Colors: Gold (#D4AF37), Deep Maroon (#590d0d), Black (#0f0f0f), Ivory (#fdfbf7)
*/

@font-face {
    font-family: 'Slovic';
    src: url('../assets/Slovic_Demo_VarGX.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-gold: #964A26;
    --color-gold-light: #b05c33;
    --color-maroon: #FDF7F2;
    --color-maroon-dark: #FDF7F2;
    --color-black: #FDF7F2;
    --color-dark-grey: #ffffff;
    --color-ivory: #18181B;
    --color-white: #ffffff;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Playfair Display', serif;

    --transition: all 0.4s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 5px 20px rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
}

.gold-text {
    color: var(--color-gold);
    background: linear-gradient(to right, #964A26, #c26938, #964A26, #c26938, #964A26);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Fallback */
    animation: shine 3s infinite linear;
    background-size: 200% auto;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--color-gold);
    /* Fallback */
    margin-bottom: 3rem;
    font-style: italic;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.btn-gold {
    background: var(--color-gold);
    color: #ffffff;
    font-weight: 700;
    border-color: var(--color-gold);
}

/* High Precision Price Ticker */
.price-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    background: #964A26;
    /* User requested gold color */
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2000;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker linear 25s infinite;
}

.ticker-item {
    margin-right: 40px;
    display: inline-flex;
    align-items: center;
    color: #fff;
}

/* Highlighting the digits in White for contrast on Gold BG */
.price-val {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 4px;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.live-badge {
    color: #00FF00 !important;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Live glowing red dot */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 255, 0, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    /* Reduced padding for a sleeker look */
    transition: var(--transition);
    background: var(--color-maroon);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.nav-logo-img {
    height: 55px;
    /* Larger and prominent logo */
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(212, 175, 55, 0.4));
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text-top {
    font-family: 'Slovic', var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: normal;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-text-bottom {
    font-family: 'Slovic', var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
}

.nav-links li a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
    color: #4A0404;
    /* Deep rich maroon text on desktop */
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    transition: var(--transition);
}

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


/* Mega Menu */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FDF9F5;
    /* Off-white luxury background matching screenshot */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--color-maroon-dark);
    padding: 40px 0;
    text-align: left;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.simple-dropdown {
    position: relative;
    /* Anchors the child mega-menu strictly to this specific list item */
}

.mega-container {
    display: flex;
    padding: 0 60px;
    gap: 80px;
    justify-content: flex-start;
}

.mega-column {
    flex: 0 0 250px;
}

.mega-title {
    font-size: 1.2rem;
    color: #590d0d;
    /* Fixed contrast for white mega-menu */
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Specific overrides for mega list links compared to top nav links */
.nav-links .mega-list li a {
    color: #662d2d;
    /* Deep red-maroon */
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    letter-spacing: 0;
    padding-bottom: 0;
    transition: color 0.3s ease;
}

.nav-links .mega-list li a::after {
    display: none;
}

.nav-links .mega-list li a:hover {
    color: var(--color-gold);
    text-shadow: none;
}

.mega-icon,
.mega-img-icon {
    width: 25px;
    text-align: center;
    margin-right: 15px;
    color: #D4AF37;
    /* Gold icons */
    font-size: 1.2rem;
}

.mega-img-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 15px;
    background: transparent;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
}

/* Hero Section Slider */
.hero {
    margin-top: 140px; /* Offset for desktop sticky header */
    height: 56.25vw; /* 16:9 aspect ratio responsive height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.brand-tag {
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-quotes {
    height: 40px;
    margin-bottom: 30px;
}

.quote-text {
    display: none;
    font-size: 1.3rem;
    font-family: var(--font-script);
    color: #ffffff;
    font-style: italic;
    animation: fadeInUp 0.8s forwards;
}

.quote-text.active {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.lang-tamil {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 40px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

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

/* .section-padding {
    padding: 100px 0;
} */

/* About Section */
.about {
    background-color: var(--color-maroon-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 1.05rem;
}

.signature {
    margin-top: 30px;
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    transform: translate(20px, 20px);
    transition: var(--transition);
}

.about-image img {
    border-radius: 2px;
    box-shadow: var(--shadow-soft);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 10px 40px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

/* Subcategory Grid */
.category-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.category-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.subcategory-grid {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.subcategory-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.subcategory-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--color-dark-grey);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.subcategory-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.subcategory-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f8f8f8;
    transition: transform 0.6s ease;
}

.subcategory-card:hover .subcategory-image {
    transform: scale(1.08);
    /* Zoom effect on hover */
}

.subcategory-card .card-content {
    background: var(--color-dark-grey);
    width: 100%;
    padding: 20px 15px;
    position: relative;
    z-index: 2;
}

.subcategory-card span {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Features Banner */
.features-banner {
    background: #ffffff;
    color: var(--color-ivory);
    border-top: 1px solid rgba(150, 74, 38, 0.15);
    border-bottom: 1px solid rgba(150, 74, 38, 0.15);
    padding: 45px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
}

.feature-item i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--color-gold);
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: translateY(-6px) scale(1.05);
}

.feature-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    min-height: 2.6em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-ivory);
}

.feature-item p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.4;
    max-width: 260px;
    margin: 0 auto;
}

/* Responsive Grid Breakpoints */
@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    /* Align the 5th item to center-span on tablet */
    .feature-item:last-child {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    .feature-item:last-child {
        grid-column: span 1;
    }
}

/* Contact Section */
.contact {
    background-color: var(--color-black);
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    padding-right: 20px;
}

.contact-info p {
    color: #999;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-details i {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.contact-details strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--color-ivory);
    margin: 0;
    line-height: 1.5;
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--color-white);
    padding: 45px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--color-gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--color-ivory);
    font-family: inherit;
    transition: var(--transition);
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 5px rgba(150, 74, 38, 0.2);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--color-maroon-dark);
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Video Section */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #e5e7eb;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.video-container {
    width: 100%;
    position: relative;
    cursor: pointer;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
}

.video-container.playing .play-button {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(150, 74, 38, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(150, 74, 38, 0.5);
    transition: var(--transition);
}

.play-button {
    cursor: pointer;
    z-index: 10;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(150, 74, 38, 1);
    box-shadow: 0 0 40px rgba(150, 74, 38, 0.7);
}

/* Our Work Video Grid */
.our-work-section {
    background: var(--color-maroon-dark);
    padding-bottom: 80px;
}

.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px 40px;
    /* Extra bottom padding for scrollbar */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.video-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.video-card {
    flex: 0 0 300px;
    /* Set fixed width to force a single line */
    scroll-snap-align: start;
    height: 480px;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(150, 74, 38, 0.2);
}

.slider-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.slider-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card:hover .slider-video-wrapper video {
    transform: scale(1.08);
    /* Zoom in video smoothly on hover */
}

/* Dark gradient overlay for text readability */
.slider-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    text-align: center;
    pointer-events: none;
}

.slider-overlay-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.slider-overlay-content p {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-family: var(--font-script);
    margin: 0;
}

/* Responsive Design for All Devices */

/* Laptops & Large Tablets (Max 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .lang-tamil {
        font-size: 1.6rem !important;
    }

    .about-container {
        gap: 30px;
    }

    .feature-grid {
        gap: 20px;
    }
}

/* Tablets (Portrait) & Large Mobiles (Max 768px) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-logo-img {
        height: 48px;
        /* Scale down slightly on mobile */
    }

    .nav-links {
        display: none;
        /* Add active class via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        /* Push it exactly below the white navbar */
        left: 0;
        width: 100%;
        background: #FDF7F2;
        /* Solid readable background */
        padding: 40px 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .nav-links a {
        color: #964A26;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
    }

    .hero {
        margin-top: 96px; /* Offset for mobile header */
        height: 56.25vw; /* 16:9 aspect ratio responsive height on mobile */
        padding-top: 0;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 0;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .lang-tamil {
        font-size: 1.4rem !important;
        margin-bottom: 30px !important;
    }

    .btn-primary {
        padding: 12px 30px !important;
        letter-spacing: 1px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-details li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .contact-details i {
        margin-top: 0;
    }

    .social-links {
        justify-content: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .category-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 20px;
        font-size: 1rem;
        flex: 1 1 45%;
    }

    .subcategory-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .subcategory-card {
        padding: 20px 10px;
    }

    .subcategory-card i {
        font-size: 1.5rem;
    }

    .subcategory-card span {
        font-size: 0.9rem;
    }

    .video-grid {
        padding-bottom: 20px;
    }

    .video-card {
        flex: 0 0 280px;
        height: 400px;
    }
}

/* Small Mobiles (Max 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo-text-top {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tab-btn {
        flex: 1 1 100%;
    }

    .video-card {
        flex: 0 0 240px;
        height: 350px;
    }

    .contact-form-container {
        padding: 20px;
    }
}

/* Star Blinking Animation for Limited Edition Link */
@keyframes star-blink {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
        filter: drop-shadow(0 0 0px transparent);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9));
    }
}

.star-blink {
    display: inline-block;
    color: #ffd700; /* Elegant gold color */
    margin-left: 5px;
    font-size: 0.85em;
    animation: star-blink 1.2s infinite ease-in-out;
    vertical-align: middle;
}

/* FAQ Section */
.faq {
    background-color: var(--color-maroon-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid rgba(150, 74, 38, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(150, 74, 38, 0.1);
}

.faq-question {
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-ivory);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    transition: var(--transition);
}

/* Custom indicator to override browser default */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '\f078'; /* fontawesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,0.03);
    animation: slideDown 0.4s ease;
}

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

/* Footer Payment Gateways */
.payment-gateways {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-gateways img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-gateways img:hover {
    opacity: 1;
}

/* Page Preloader Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c0806; /* Dark premium background matching luxury logo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Highest priority overlay */
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.vel-loader-svg {
    animation: vel-pulse 1.8s infinite ease-in-out;
}

@keyframes vel-pulse {
    0%, 100% {
        transform: scale(0.9);
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.8));
    }
}

.loader-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-text-top {
    font-family: 'Slovic', var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: #ffd700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.loader-text-bottom {
    font-family: 'Slovic', var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #b05c33;
    text-transform: uppercase;
}

/* Prevent scrolling while loader is active */
body.loading {
    overflow: hidden;
}

/* Responsive Page Content Offset to clear fixed navigation bar */
.page-content-offset {
    padding: 190px 20px 60px; /* Large offset for desktop (includes wrapped menus) */
}

@media (max-width: 768px) {
    .page-content-offset {
        padding: 110px 15px 40px; /* Smaller offset for mobile sticky header */
    }
}

/* Product Subcategory Selector Styles */
.category-selector-container {
    margin-bottom: 15px; /* Reduced from 40px */
    border-bottom: 1px solid rgba(150, 74, 38, 0.15);
    padding-bottom: 10px; /* Reduced from 20px */
}

.category-scrollbar {
    display: flex;
    gap: 8px; /* Reduced from 12px */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Wrap naturally, no scrolling */
}

.category-btn {
    display: inline-block;
    padding: 6px 14px; /* Reduced from 8px 18px */
    border: 1px solid rgba(150, 74, 38, 0.25);
    color: #4A0404; /* Deep rich maroon text to match navlinks */
    background: transparent;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.category-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

/* Testimonial Slider Styling */
.testimonial-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 10px;
}

.testimonial-slider-track {
    display: flex;
    gap: 40px;
    align-items: center; /* Vertically center cards of different heights */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
    padding: 20px 0;
}

.testimonial-card {
    width: 420px;
    max-width: 80vw;
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.45;
    transform: scale(0.9);
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically inside each card */
    align-items: center;
    border: 1px solid rgba(150, 74, 38, 0.05);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(150, 74, 38, 0.1);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.15rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    color: #2b2b2b;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: auto;
}

/* Pagination Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.testimonial-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--color-gold);
    transform: scale(1.25);
}

