/* ==========================================================================
   Modern High-End Visual Design for ashapuraelectricals (2025)
   Brand Colors: Primary - #0D1C37, Accent - #C02D1D, Background - #f5f7fa
   Fonts: Poppins (headings), Open Sans (body)
   Compatible with Bootstrap 5
   ========================================================================== */

/* 1. GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@600;700&display=swap');

/* 2. CSS VARIABLES (Light & Dark Mode) */
:root {
    --primary: #011936;
    --accent: #E43636;
    --background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    --surface: #ffffff;
    --text-main: #011936;
    --text-muted: #4a6d7a;
    --border-radius: 1.1rem;
    --shadow: 0 4px 24px 0 rgba(1, 25, 54, 0.08), 0 1.5px 6px 0 rgba(1, 25, 54, 0.04);
    --shadow-hover: 0 8px 32px 0 rgba(1, 25, 54, 0.16), 0 3px 12px 0 rgba(1, 25, 54, 0.08);
    --navbar-bg: #ffffff;
    --navbar-bg-scrolled: #F4FFFD;
    --footer-bg: #011936;
    --footer-text: #F4FFFD;
    --focus-outline: 2px solid var(--accent);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #F4FFFD;
        --accent: #C02D1D;
        --background: #011936;
        --surface: #1a2f42;
        --text-main: #F4FFFD;
        --text-muted: #9bb5c4;
        --navbar-bg: #1a2f42;
        --navbar-bg-scrolled: #011936;
        --footer-bg: #000d1a;
        --footer-text: #F4FFFD;
    }
}

/* 3. GLOBAL RESET & TYPOGRAPHY */
html, body {
    height: 100%;
    background: var(--background);
    color: var(--text-main);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.08rem;
    line-height: 1.7;
    scroll-behavior: smooth;
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
    margin-bottom: 0.7em;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.1rem;
}

h3 {
    font-size: 1.5rem;
}

p, .lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: 1.2em;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
}

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

/* 4. CONTAINER & SECTION SPACING */
.container, .container-fluid {
    /*  padding-left: 1.5rem;
  padding-right: 1.5rem;*/
}

section, .section {
    padding: 2rem 0 2rem 0;
}

.section-alt {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    padding: 2.5rem 1.5rem;
}

/* 5. NAVBAR - UPDATED FOR TRANSPARENT BACKGROUND */
.navbar-logo-wrapper {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none !important;
    padding: 0.2rem 0;
}

    .navbar-logo-wrapper:hover {
        transform: scale(1.03);
        opacity: 0.95;
    }

.navbar-logo-img {
    height: 2.6rem;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: filter 0.3s ease;
    vertical-align: middle;
}

.navbar-logo-wrapper:hover .navbar-logo-img {
    filter: brightness(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* Updated Navbar Styles for Transparent Background */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.2rem 0 1.2rem 0;
    z-index: 1000;
}

    .navbar-custom.navbar-transparent {
        background: rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .navbar-custom.navbar-transparent .navbar-nav .nav-link {
            color: var(--primary);
            text-shadow: none;
            font-weight: 700;
            font-family: 'Open Sans', Arial, sans-serif;
            font-size: 1.1rem;
            margin-left: 1.2rem;
            position: relative;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding-bottom: 0.2rem;
            display: inline-block;
        }

            .navbar-custom.navbar-transparent .navbar-nav .nav-link:hover,
            .navbar-custom.navbar-transparent .navbar-nav .nav-link.active {
                color: var(--accent);
                text-shadow: none;
                display: inline-block;
            }

            .navbar-custom.navbar-transparent .navbar-nav .nav-link::after {
                content: '';
                display: block;
                width: 0;
                height: 2.5px;
                background: var(--accent);
                border-radius: 2px;
                transition: width var(--transition);
                position: absolute;
                left: 0;
                bottom: -2px;
            }

            .navbar-custom.navbar-transparent .navbar-nav .nav-link:hover::after,
            .navbar-custom.navbar-transparent .navbar-nav .nav-link.active::after {
                width: 100%;
            }

    /* Scrolled state - solid white background */
    .navbar-custom.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.8rem 0;
    }

        .navbar-custom.scrolled .navbar-nav .nav-link {
            color: var(--primary);
            text-shadow: none;
            font-weight: 700;
            font-family: 'Open Sans', Arial, sans-serif;
            font-size: 1rem;
            margin-left: 1.2rem;
            position: relative;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding-bottom: 0.2rem;
        }

            .navbar-custom.scrolled .navbar-nav .nav-link:hover,
            .navbar-custom.scrolled .navbar-nav .nav-link.active {
                color: var(--accent);
            }

            .navbar-custom.scrolled .navbar-nav .nav-link::after {
                content: '';
                display: block;
                width: 0;
                height: 2.5px;
                background: var(--accent);
                border-radius: 2px;
                transition: width var(--transition);
                position: absolute;
                left: 0;
                bottom: -2px;
            }

            .navbar-custom.scrolled .navbar-nav .nav-link:hover::after,
            .navbar-custom.scrolled .navbar-nav .nav-link.active::after {
                width: 100%;
            }

    /* Logo adjustments for transparent state */
    .navbar-custom.navbar-transparent .navbar-logo-img {
        /*    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));*/
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .navbar-custom.scrolled .navbar-logo-img {
        filter: none;
        height: 2.2rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.navbar-brand {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary) !important;
    letter-spacing: 0.04em;
}
/* Hide Bootstrap default caret */
.navbar-custom .dropdown-toggle::after {
    display: none !important;
}

/* Resources dropdown toggle styling */
.navbar-custom .nav-item.dropdown .nav-link.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .navbar-custom .nav-item.dropdown .nav-link.dropdown-toggle .fa-chevron-down {
        transition: all 0.3s ease;
        font-size: 0.7rem !important;
        opacity: 0.8;
    }

.navbar-custom .nav-item.dropdown:hover .fa-chevron-down,
.navbar-custom .nav-item.dropdown .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent);
}

/* Dropdown menu base styling */
.navbar-custom .nav-item.dropdown .dropdown-menu {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
/*    padding: 10px 20px;*/
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
/*    border-top: 3px solid var(--accent);*/
}

    /* Active state */
    .navbar-custom .nav-item.dropdown .dropdown-menu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        animation: dropdownSlide 0.3s ease forwards;
    }

/* Dropdown items */
.navbar-custom .dropdown-item {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Open Sans', Arial, sans-serif;
    padding: 8px 30px;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
/*    margin: 0 8px;*/
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
}
    .navbar-custom .dropdown-item:active, .navbar-custom .dropdown-item:hover {
        color: var(--accent);
        background-color: white;
    }
    /* Optional subtle separator */
    .navbar-custom .dropdown-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    }

/* Mobile dropdown - always visible when open */
@media (max-width: 991.98px) {
    .navbar-custom .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.2)!important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        margin: 8px 0;
        padding: 8px 0;
    }

    .navbar-custom .dropdown-item {
/*        margin: 0 4px;*/
        padding: 10px 16px;
        font-size: 0.95rem;
        transform: none !important;
    }

        .navbar-custom .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.15);
            color: var(--accent);
        }
}

/* Entrance animation */
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }

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

/* Accent fallback if not defined */
:root {
    --accent-rgb: 0, 123, 255; /* adjust to match your theme */
}


/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-custom.navbar-transparent {
        /*        background: rgba(0, 0, 0, 0.9);*/
        backdrop-filter: blur(4px);
    }

        .navbar-custom.navbar-transparent .navbar-collapse {
            background: rgba(255, 255, 255, 0.1);
            margin-top: 1rem;
            padding: 1rem;
            border-radius: 0.5rem;
        }

    .navbar-nav .nav-link {
        margin-left: 0.7rem;
    }
}

/* Animation for smooth appearance */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* 6. HERO SECTION */
.hero-section {
    min-height: 100vh;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #0D1C37 60%, #f5f7fa 100%);
    position: relative;
    color: #fff;
    text-align: center;
    /*    border-radius: 0 0 var(--border-radius) var(--border-radius);*/
    box-shadow: 0 8px 32px 0 rgba(21,67,96,0.10);
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(21,67,96,0.1);
        z-index: 1;
    }

    .hero-section > .container {
        position: relative;
        z-index: 2;
    }
    /* Improved Hero Section - Professional Grade */
    .hero-section h1 {
        color: #fff;
        font-size: 4rem;
        font-weight: 700;
        line-height: 1.2;
        /* Enhanced shadow system for better depth */
        text-shadow: 0 1px 3px rgba(0,0,0,0.4), /* Sharp definition */
        0 3px 8px rgba(21,67,96,0.3), /* Your original shadow */
        0 8px 24px rgba(0,0,0,0.2), /* Depth shadow */
        0 16px 40px rgba(0,0,0,0.1); /* Ambient shadow */
        /* Refined mask for smoother fade */
        mask: linear-gradient( to bottom, #000 0%, #000 65%, /* Solid text area - reduced from 70% */
        rgba(0,0,0,0.9) 75%, /* More gradual fade start */
        rgba(0,0,0,0.7) 85%, rgba(0,0,0,0.3) 95%, transparent 100% );
        -webkit-mask: linear-gradient( to bottom, #000 0%, #000 65%, rgba(0,0,0,0.9) 75%, rgba(0,0,0,0.7) 85%, rgba(0,0,0,0.3) 95%, transparent 100% );
        /* Subtle letter spacing for premium feel */
        letter-spacing: -0.02em;
        /* Smooth transitions */
        transition: all 0.3s ease;
    }
/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
        letter-spacing: -0.01em;
        /* Adjust mask for smaller screens */
        mask: linear-gradient( to bottom, #000 0%, #000 70%, rgba(0,0,0,0.8) 85%, rgba(0,0,0,0.4) 95%, transparent 100% );
        -webkit-mask: linear-gradient( to bottom, #000 0%, #000 70%, rgba(0,0,0,0.8) 85%, rgba(0,0,0,0.4) 95%, transparent 100% );
    }
}


.hero-section .lead {
    color: #fff;
    webkit-text-stroke: .5px #011936;
    text-shadow: 0 0 5px #011936;
}

.hero-section .btn {
    margin: 0 0.5rem;
}

.hero-section .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section .overlay {
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

/* 7. BUTTONS */
.btn, .btn-lg, .btn-primary, .btn-outline-secondary {
    border-radius: 2.2rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px 0 rgba(21,67,96,0.08);
    border: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.18s cubic-bezier(.4,0,.2,1);
}

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

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background: var(--primary) !important;
        box-shadow: 0 6px 24px 0 rgba(244,208,63,0.18);
        transform: translateY(-2px) scale(1.04);
    }

.btn-light:hover, .btn-light:focus, .btn-light:active {
    box-shadow: 0 6px 24px 0 rgba(244,208,63,0.18);
    transform: translateY(-2px) scale(1.04);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline-secondary:hover, .btn-outline-secondary:focus {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 6px 24px 0 rgba(21,67,96,0.12);
        transform: translateY(-2px) scale(1.04);
    }

.btn:active {
    transform: scale(0.98);
}
/* Gradient Transition Divider */
.gradient-divider {
    height: 200px;
    background: linear-gradient( to bottom, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 20%, rgba(100, 120, 180, 0.4) 40%, rgba(90, 110, 160, 0.3) 60%, rgba(80, 100, 140, 0.2) 80%, rgba(255, 255, 255, 0) 100% );
    position: relative;
    overflow: hidden;
}

    /* Animated wave effect */
    .gradient-divider::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 200%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.1), transparent );
        animation: wave 3s linear infinite;
    }

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

    100% {
        left: 100%;
    }
}

/* Floating elements for visual interest */
.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

    .floating-element:nth-child(1) {
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
        top: 60%;
        left: 80%;
        animation-delay: 2s;
        width: 15px;
        height: 15px;
    }

    .floating-element:nth-child(3) {
        top: 40%;
        left: 60%;
        animation-delay: 4s;
        width: 25px;
        height: 25px;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}
/* 8. PRODUCT CATALOG CARDS */
.product-card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--surface);
    border: none;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    margin-bottom: 2.2rem;
    overflow: hidden;
    position: relative;
}

    .product-card img {
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        width: 100%;
        height: 210px;
        object-fit: cover;
        background: #eaeaea;
    }

    .product-card .card-body {
        padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    }

    .product-card .card-title {
        font-family: 'Poppins', Arial, sans-serif;
        font-size: 1.18rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .product-card .card-text {
        color: var(--text-muted);
        font-size: 1rem;
    }

    .product-card .btn {
        margin-top: 0.7rem;
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }

    .product-card:hover, .product-card:focus-within {
        box-shadow: 0 8px 32px 0 rgba(244,208,63,0.18), 0 3px 12px 0 rgba(21,67,96,0.12);
        transform: translateY(-6px) scale(1.025);
        border-color: var(--accent);
        z-index: 2;
    }

    .product-card:focus-within {
        outline: var(--focus-outline);
    }

/* Responsive grid for catalog */
@media (max-width: 767.98px) {
    .product-card img {
        height: 170px;
    }
    .navbar-custom.navbar-transparent .navbar-nav .nav-link:hover::after,
    .navbar-custom.navbar-transparent .navbar-nav .nav-link.active::after {
        width: 0%;
    }
    .navbar-custom.scrolled .navbar-nav .nav-link:hover::after,
    .navbar-custom.scrolled .navbar-nav .nav-link.active::after {
        width: 0%;
    }
}

@media (max-width: 575.98px) {
    .product-card img {
        height: 140px;
    }
    .navbar-custom.navbar-transparent .navbar-nav .nav-link:hover::after,
    .navbar-custom.navbar-transparent .navbar-nav .nav-link.active::after {
        width: 0%;
    }
    .navbar-custom.scrolled .navbar-nav .nav-link:hover::after,
    .navbar-custom.scrolled .navbar-nav .nav-link.active::after {
        width: 0%;
    }
}

/* 9. SECTION DIVIDERS & ALTERNATING BACKGROUNDS */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    margin: 2.5rem 0;
    opacity: 0.12;
}

.section-alt {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 10. CONTACT & ABOUT SECTIONS */
.about-section, .contact-info {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    min-height: 320px;
}

/* 11. FOOTER */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0 1.2rem 0;
    margin-top: 3rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -2px 16px 0 rgba(21,67,96,0.10);
    font-size: 1.05rem;
}

    .footer a {
        color: var(--accent);
        margin: 0 0.5rem;
        transition: color var(--transition), text-shadow var(--transition);
    }

        .footer a:hover, .footer a:focus {
            color: #fff;
            text-shadow: 0 0 8px var(--accent);
        }

    .footer .social-icons {
        margin-top: 1rem;
    }

        .footer .social-icons a {
            display: inline-block;
            font-size: 1.5rem;
            margin: 0 0.4rem;
            color: var(--accent);
            transition: color var(--transition), box-shadow var(--transition);
        }

            .footer .social-icons a:hover, .footer .social-icons a:focus {
                color: #fff;
                box-shadow: 0 0 12px 0 var(--accent);
            }

/* 12. SCROLL ANIMATIONS (AOS-compatible) */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.7s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: none;
    }

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-out"] {
    transform: scale(1.05);
}

/* 13. ACCESSIBILITY & FOCUS */
:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* 14. CUSTOM UTILITIES */
.bg-primary-gradient {
    background: linear-gradient(120deg, var(--primary) 60%, var(--accent) 100%);
    color: #fff;
}

.rounded-xl {
    border-radius: var(--border-radius) !important;
}

.shadow-lg-custom {
    box-shadow: var(--shadow-hover) !important;
}

/* 15. DARK MODE TOGGLE (OPTIONAL) */
body.dark-mode {
    background: #1a2636;
    color: #f5f7fa;
}

    body.dark-mode .navbar-custom {
        background: #22304a;
    }

    body.dark-mode .footer {
        background: #0D1C37;
        color: #f5f7fa;
    }

/* 16. SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* 17. MISC */
::-webkit-scrollbar {
    width: 10px;
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

/* 18. BOOTSTRAP OVERRIDES FOR FORMS, INPUTS, ETC. */
input, textarea, select, .form-control {
    border-radius: 0.7rem;
    border: 1.5px solid #e0e6ed;
    transition: border-color var(--transition), box-shadow var(--transition);
}

    input:focus, textarea:focus, select:focus, .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(244,208,63,0.18);
    }

/* 19. HIGH-VISIBILITY FOCUS FOR BUTTONS & LINKS */
.btn:focus-visible, a:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* ==========================================================================
   END OF FILE
   ========================================================================== */
 /* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
    background: #179e4a;
    color: #fff;
    border-radius: 20px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

    .whatsapp-float:hover {
        background: #179e4a;
        transform: scale(1.1);
        box-shadow: 0 px 15px rgba(37, 211, 102, 0.4);
        color: #fff;
        text-decoration: none;
    }

        .whatsapp-float:active {
            transform: scale(0.95);
        }

        /* Pulse animation */
        @keyframes pulse {
            0% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        /* Tooltip */
        .whatsapp-float::before {
            content: "Chat with us!";
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 14px;
            font-family: 'Open Sans', sans-serif;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .whatsapp-float::after {
            content: "";
            position: absolute;
            right: 60px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid rgba(0, 0, 0, 0.8);
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .whatsapp-float:hover::before,
        .whatsapp-float:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile responsiveness */
        @media screen and (max-width: 768px) {
            .whatsapp-float {
                width: 55px;
                height: 55px;
                bottom: 20px;
                right: 20px;
                font-size: 26px;
                border-width: 2px;
            }

            /* Hide tooltip on mobile */
            .whatsapp-float::before,
            .whatsapp-float::after {
                display: none;
            }
        }

        @media screen and (max-width: 480px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 15px;
                right: 15px;
                font-size: 24px;
            }
        }
