/* 
    TechRent Design System
    Modern, Responsive, Rental Marketplace
*/

:root {
    --primary: #5c62ec;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #10b981;
    --green: #10b981;
    --red: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    --z-overlay: 2000;
    --z-nav: 2001;
    --z-fixed: 1000;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--slate-200);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--slate-200);
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.section-dark .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-dark .glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.2);
}

/* Top Bar Styles */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 0.6rem 0;
    font-size: 0.8rem;
    overflow: hidden;
}

.top-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.top-bar-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: white;
    transform: translateY(-2px);
}

.top-bar-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

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

.ticker-content span {
    display: inline-block;
    margin-right: 4rem;
    font-weight: 500;
}

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

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.top-bar-contact a:hover {
    color: white;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--slate-100);
    height: 80px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-text {
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
}

.logo-text span {
    color: var(--primary);
}

.nav-desktop ul {
    display: flex;
    gap: 2.5rem;
}

.nav-desktop a {
    font-weight: 600;
    color: var(--slate-600);
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-desktop a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-desktop a.active {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 12px rgba(92, 98, 236, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Ensure it stays above other elements */
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: var(--z-nav);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-btn {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-content ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-content a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.mobile-nav-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--slate-100);
    padding-top: 2rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: white !important;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-50) 0%, #edf2f7 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-search {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-right: 1px solid var(--slate-100);
    padding-right: 1rem;
    min-width: 0; /* Prevent grid blowout */
}

.search-field:last-of-type {
    border-right: none;
}

.search-field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-400);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--dark);
    font-weight: 700;
    width: 100%;
    min-width: 0; /* Remove fixed min-width that causes overflow */
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-field select option {
    background: white;
    color: var(--dark);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Category Sections */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-100);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: var(--slate-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-content {
    padding: 1.5rem;
}

.product-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.price-label {
    font-size: 0.75rem;
    color: var(--slate-400);
}

/* Footer Section */
.site-footer {
    background: var(--dark);
    color: var(--slate-400);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3, .footer-newsletter h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: white;
    outline: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    opacity: 0.5;
}

/* --- Grid Utilities --- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sidebar-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

/* --- Responsive Overhaul --- */

@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 1024px) {
    .container { max-width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; }

    /* Header: hide desktop nav, show hamburger */
    .nav-desktop { display: none; }
    .mobile-toggle { display: flex; }
    .header-actions .btn-secondary { display: none; }
    .header-actions { gap: 0.75rem; }

    /* Hero: single column */
    .hero {
        padding: 60px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-content { margin: 0 auto; max-width: 100%; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-image { display: none; } /* hide hero image on tablets/mobile */

    /* Hero search bar: stack vertically */
    .hero-search {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    .hero-search .btn {
        width: 100%;
        padding: 0.875rem 1.5rem !important;
    }
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
        padding-right: 0;
        padding-bottom: 0.875rem;
        min-width: 0;
    }
    .search-field:last-of-type { border-bottom: none; }

    .hero-stats { justify-content: center; gap: 2rem; }

    /* Grid layouts: stack */
    .two-col-grid,
    .sidebar-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer grid */
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* CTA section */
    .cta-form-section h2 { font-size: 2.5rem !important; }
}

@media (max-width: 768px) {
    .section-padding { padding: 3rem 0; }
    .section-header h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }

    /* Top bar: simplify */
    .top-bar-social, .top-bar-ticker { display: none; }
    .top-bar-wrapper { justify-content: center; }
    .top-bar-contact a { font-size: 0.8rem; }

    /* Products & categories: single column */
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr; max-width: 100%; }

    /* Testimonials: single col */
    .section-testimonials .category-grid { grid-template-columns: 1fr; }

    /* Footer: single column */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* CTA section: reduce font size */
    .cta-form-section h2 { font-size: 1.875rem !important; }

    /* Site footer padding */
    .site-footer { padding: 50px 0 24px; }

    /* Side trigger: hide on mobile to avoid overlap */
    .side-contact-trigger { display: none; }

    /* Side panel: full width on mobile */
    .side-panel { width: 100%; }
}

@media (max-width: 560px) {
    /* Category grid: 1 col on small phones */
    .category-grid { grid-template-columns: 1fr; }

    /* Trust bar logos: wrap nicely */
    .logo-grid { gap: 1.5rem; justify-content: center; }
    .logo-grid img { height: 22px; }

    /* FAQ cards: fix text overflow */
    .faq-card h4 { font-size: 0.95rem !important; }
}

@media (max-width: 480px) {
    html, body { overflow-x: hidden; }

    .hero { padding: 48px 0 40px; }
    .hero-content h1 { font-size: 1.875rem; }
    .hero-content p { font-size: 0.9375rem; margin-bottom: 1.5rem; }
    .hero-stats { flex-direction: row; gap: 1.25rem; align-items: center; justify-content: center; flex-wrap: wrap; }
    .stat-val { font-size: 1.5rem; }

    /* Header */
    .site-header { height: 65px; }
    .header-wrapper { height: 65px; }
    .logo-text { font-size: 1rem; }
    .logo-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    .header-actions .btn-primary { padding: 0.5rem 0.875rem; font-size: 0.8rem; }

    /* Mobile nav */
    .mobile-nav { width: 85%; max-width: 300px; }

    /* Hero search */
    .hero-search { padding: 1rem; }
    .search-field input, .search-field select { font-size: 0.9375rem; }

    /* Section headers */
    .section-padding { padding: 2.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 1.625rem; }

    /* Product cards */
    .product-image { height: 200px; }
    .product-content h3 { font-size: 1.25rem; }

    /* Chatbot window: near full screen */
    .chatbot-window {
        width: calc(100vw - 1.5rem) !important;
        right: 0.75rem !important;
        left: 0.75rem !important;
        bottom: 5rem !important;
        max-height: 65vh;
    }

    /* FABs: slightly smaller */
    .fab-chatbot, .fab-whatsapp { width: 50px; height: 50px; }
    .floating-widgets { right: 0.75rem; bottom: 1rem; gap: 0.75rem; }

    /* CTA section */
    .cta-form-section h2 { font-size: 1.625rem !important; }
    .cta-form-section p { font-size: 1rem !important; }

    /* Footer */
    .footer-bottom p { font-size: 0.8rem; }
}

/* Reveal Animations */
.reveal-item {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}







/* Specific Section Styles */
.trust-bar {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.5;
    grayscale: 100%;
}

.logo-grid img {
    height: 30px;
    filter: grayscale(1);
    transition: var(--transition);
}

.logo-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.inner-hero {
    position: relative;
    padding: 120px 0;
    background: var(--dark);
    color: white;
    overflow: hidden;
}

.inner-hero h1 { color: white; }
.inner-hero p { color: rgba(255,255,255,0.7); max-width: 600px; }

.cta-form-section {
    background: var(--dark);
    color: white;
}

.cta-form-section h2 { 
    color: white; 
    font-size: 3.5rem;
}

/* Testimonial Highlights */
.section-testimonials {
    position: relative;
    overflow: hidden;
}

.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    background: var(--secondary);
    bottom: -150px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    background: #a855f7;
    top: 20%;
    right: 15%;
    width: 300px;
    height: 300px;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 100px) scale(1.1); }
}

/* Floating Action Buttons */
.floating-widgets {
    position: fixed;
    bottom: 2rem;
    right: 2rem; 
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1001;
}

/* Ensure Chatbot stays on right */
.fab-chatbot, .chatbot-window {
    right: 2rem;
    left: auto;
}

.fab-chatbot {
    position: fixed;
    bottom: 2rem;
}

.fab-whatsapp, .fab-chatbot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.fab-whatsapp {
    background: #25D366;
}

.fab-chatbot {
    background: var(--primary);
}

.fab-whatsapp:hover, .fab-chatbot:hover {
    transform: scale(1.1) rotate(5deg);
}

.fab-whatsapp img, .fab-chatbot img {
    width: 30px;
}

/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    z-index: 1002;
    background: rgba(15, 23, 42, 0.9) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    display: none; /* Controlled by JS */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-window.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-header {
    padding: 1.25rem;
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    max-width: 85%;
}

.bot-msg {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-msg {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chatbot-footer {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.5rem;
}

.chatbot-footer input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.85rem;
}

/* Pulse Animation for Chatbot */
.pulse-animation {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 98, 236, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(92, 98, 236, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(92, 98, 236, 0);
    }
}

.fab-chatbot svg {
    transition: transform 0.3s ease;
}

/* Side Contact Panel */
.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background: #4f46e5; /* Premium Indigo Blue */
    z-index: 1002;
    transform: translateX(100%);
    pointer-events: none; /* Prevent blocking clicks when hidden */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.side-panel.active {
    transform: translateX(0);
    pointer-events: auto; /* Enable interaction when visible */
}

.side-panel-header {
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.side-panel-body {
    padding: 0 2.5rem 2.5rem;
    flex: 1;
    overflow-y: auto;
}

.side-form-group {
    margin-bottom: 2rem;
}

.side-form-group input, 
.side-form-group select, 
.side-form-group textarea {
    width: 100%;
    padding: 1.25rem;
    background: #3730a3; /* Darker fill for Indigo theme */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.side-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

.side-submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: white;
    color: #4f46e5;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.side-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Side Trigger Button */
.side-contact-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: #4f46e5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    z-index: 1000;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.side-contact-trigger:hover {
    padding-right: 2.5rem;
    background: var(--dark);
}

@media (max-width: 500px) {
    .side-panel {
        width: 100%;
    }
}
