/* ==========================================================================
   Vignesha Screens - Custom Premium Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0F172A;          /* Midnight Blue */
    --primary-light: #1E293B;    /* Slate Dark */
    --primary-rgb: 15, 23, 42;
    
    --accent: #D97706;           /* Premium Amber Gold */
    --accent-light: #F59E0B;     /* Honey Gold */
    --accent-dark: #B45309;      /* Deep Gold */
    --accent-rgb: 217, 119, 6;
    
    --text-dark: #0F172A;
    --text-body: #334155;        /* Soft Charcoal */
    --text-muted: #64748B;       /* Cool Gray */
    --text-light: #F8FAFC;       /* Off-White */
    
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-gray: #F1F5F9;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);
    
    /* Layout & Animation Variables */
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* --- Base Resets & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
}

/* --- Selection & Custom Scrollbar --- */
::selection {
    background-color: var(--accent-light);
    color: var(--primary);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-gray);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* --- Header / Navigation Bar --- */
.top-bar {
    background-color: var(--primary);
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.top-bar a {
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar a:hover {
    color: var(--accent-light);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

/* Scrolled Header State */
.main-header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo {
    height: 55px;
    width: auto;
    max-height: 55px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.navbar-logo:hover {
    transform: scale(1.02);
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    font-weight: 500;
    color: var(--primary-light) !important;
    padding: 8px 16px !important;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--accent) !important;
    background-color: rgba(217, 119, 6, 0.05);
}

/* Custom Dropdown Styling */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    border: 1px solid var(--glass-border);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 12px;
    min-width: 280px;
    transition: var(--transition-fast);
    /* For hover trigger transition */
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.dropdown-item {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--primary-light);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--accent-dark);
    padding-left: 20px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 120px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background-color: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero-title span {
    color: var(--accent-light);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
}

/* --- Buttons --- */
.btn-premium-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
    transition: var(--transition-fast);
}

.btn-premium-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-premium-outline {
    background: transparent;
    color: #FFFFFF;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.btn-premium-outline:hover {
    background-color: #FFFFFF;
    color: var(--primary);
    transform: translateY(-2px);
    border-color: #FFFFFF;
}

.btn-premium-dark {
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
    transition: var(--transition-fast);
}

.btn-premium-dark:hover {
    background: var(--primary-light);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

/* --- Section Headings --- */
.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* --- Why Choose Us Section --- */
.why-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    transition: var(--transition-smooth);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 119, 6, 0.2);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.why-card:hover .why-icon {
    background-color: var(--accent);
    color: #FFFFFF;
}

/* --- Product Cards --- */
.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.product-link:hover {
    color: var(--accent-dark);
    gap: 10px;
}

/* --- Services Overview --- */
.service-item {
    padding: 30px;
    border-left: 4px solid var(--bg-gray);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-item.active,
.service-item:hover {
    border-left-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

/* --- Project Gallery --- */
.gallery-filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--bg-gray);
    color: var(--text-body);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* --- Testimonials --- */
.testimonial-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    position: relative;
}

.testimonial-quote {
    color: rgba(217, 119, 6, 0.15);
    font-size: 6rem;
    position: absolute;
    top: 10px;
    right: 30px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.rating-stars {
    color: #FBBF24;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h5 {
    margin: 0 0 2px 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Testimonial slider layout classes */
.testimonial-container {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* --- Contact & Lead Form --- */
.contact-info-card {
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info-list li i {
    color: var(--accent-light);
    font-size: 1.25rem;
    margin-top: 4px;
}

.contact-info-list li span {
    font-size: 0.95rem;
}

.lead-form-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--bg-gray);
}

.form-control, .form-select {
    padding: 12px 16px;
    border-color: #E2E8F0;
    border-radius: 6px;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
    border-color: var(--accent-light);
}

/* --- Footer --- */
.main-footer {
    background-color: #0F172A;
    color: rgba(248, 250, 252, 0.7);
    padding: 80px 0 30px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer h4, .main-footer h5 {
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-seo-tags {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Floating Sticky Action Buttons --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #FFFFFF;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-call {
    background-color: var(--accent);
}

/* --- Product Detail Pages Styling --- */
.product-hero {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0;
    margin-bottom: 60px;
}

.spec-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table th {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Media Queries --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .nav-link {
        padding: 10px 15px !important;
    }
    
    .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }
    
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .lead-form-card {
        padding: 24px;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Back to Top Button & Chat Widget Styles
   ========================================================================== */

/* --- Back to Top --- */
.back-to-top {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border: 2px solid var(--accent);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    display: flex;
    animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.back-to-top:hover {
    background-color: var(--accent);
    color: #FFFFFF !important;
    transform: translateY(-3px) scale(1.05);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Chat Widget Toggle --- */
.chat-widget-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
    transition: var(--transition-smooth);
    border: none;
}

.chat-widget-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.5);
}

.chat-widget-toggle i {
    transition: var(--transition-fast);
}

.chat-widget-toggle.open i {
    transform: rotate(90deg);
}

/* --- Chat Box Container --- */
.chat-widget-box {
    position: fixed;
    bottom: 105px;
    left: 30px;
    width: 360px;
    height: 480px;
    z-index: 1000;
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
}

.chat-widget-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-widget-header {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-widget-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-widget-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
}

.chat-widget-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #25D366;
    border: 2px solid var(--primary);
}

.chat-widget-title h5 {
    color: #FFFFFF;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-widget-title span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.chat-widget-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
}

.chat-widget-close:hover {
    color: #FFFFFF;
}

/* Messages Area */
.chat-widget-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Scrollbar in Chat Box */
.chat-widget-body::-webkit-scrollbar {
    width: 5px;
}
.chat-widget-body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Message Bubbles */
.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease-in-out;
}

.chat-msg.bot {
    background-color: #FFFFFF;
    color: var(--text-body);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.chat-msg.user {
    background-color: var(--primary);
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Quick Options Chips */
.chat-widget-options-container {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
    width: 100%;
}

.chat-widget-option {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--accent-dark);
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
    width: fit-content;
}

.chat-widget-option:hover {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

/* Input Footer */
.chat-widget-footer {
    padding: 12px 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--bg-gray);
}

.chat-widget-input-group {
    display: flex;
    gap: 8px;
}

.chat-widget-input {
    flex-grow: 1;
    border: 1px solid var(--bg-gray);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition-fast);
}

.chat-widget-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.1);
}

.chat-widget-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-widget-send:hover {
    background-color: var(--accent);
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: #94A3B8;
    border-radius: 50%;
    animation: typingBlink 1.4s infinite both;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 575.98px) {
    .chat-widget-box {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        bottom: 90px;
        height: 400px;
    }
    .chat-widget-toggle {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
}

/* --- Enquiry Popup Modal --- */
.enquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.enquiry-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    width: 500px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
}

.enquiry-modal-overlay.show .enquiry-modal-box {
    transform: scale(1) translateY(0);
}

.enquiry-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.enquiry-modal-close:hover {
    color: var(--accent);
}

/* --- Circular Product Cards Layout --- */
.circular-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.circular-product-img-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.circular-product-card:hover .circular-product-img-wrapper {
    border-color: var(--accent);
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
}

.circular-product-card:hover .circular-product-title {
    color: var(--accent-light);
}

.circular-product-title {
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-fast);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

/* Adjust size for small mobiles */
@media (max-width: 480px) {
    .circular-product-img-wrapper {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
    .circular-product-title {
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

/* --- Mobile Responsiveness and Hero Banner Optimization --- */
@media (max-width: 575.98px) {
    .navbar-logo {
        height: 45px !important;
        max-height: 45px !important;
    }
    .hero-section {
        padding: 40px 0 30px !important;
        background-position: center left 28% !important;
        min-height: calc(100vh - 80px) !important;
        display: flex;
        align-items: center;
    }
    .hero-title {
        font-size: 2.0rem !important;
        margin-bottom: 8px !important;
        line-height: 1.15;
    }
    .hero-subtitle-tagline {
        font-size: 1.05rem !important;
        margin-bottom: 10px !important;
        line-height: 1.35;
    }
    .hero-desc {
        font-size: 0.85rem !important;
        margin-bottom: 18px !important;
        line-height: 1.4;
    }
    .hero-badge {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        margin-bottom: 8px !important;
    }
    .hero-content .d-flex {
        gap: 10px !important;
    }
    .hero-content .btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    .product-hero {
        padding: 45px 0 !important;
        margin-bottom: 30px !important;
    }
}

/* --- Video Gallery Cards Hover Effects --- */
.video-gallery-card {
    transition: var(--transition-smooth);
}
.video-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(217, 119, 6, 0.2) !important;
}




