/* ASK ENTERPRISES - Custom Stylesheet */
:root {
    --primary-color: #293694;
    --primary-hover: #1e2873;
    --accent-color: #CC2F2F;
    --accent-hover: #a62222;
    --secondary-color: #ffffff;
    --dark-color: #0a0f1d;
    --gray-dark: #2d3033;
    --gray-light: #f8f9fa;
    --text-muted: #6c757d;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 16px 36px rgba(41, 54, 148, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global resets and typography */
body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--dark-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Battery Preloader Animation */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111215;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Energy Orbit Loader styling */
.loader-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.energy-orbit {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.energy-orbit.outer-ring {
    width: 110px;
    height: 110px;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    animation: spin-clockwise 1.5s linear infinite;
}

.energy-orbit.inner-ring {
    width: 82px;
    height: 82px;
    border-left-color: var(--accent-color);
    border-right-color: var(--accent-color);
    animation: spin-counterclockwise 1.2s linear infinite;
}

.energy-core {
    color: #ffb703;
    font-size: 2.3rem;
    animation: pulse-glow 1.5s ease-in-out infinite;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    color: #ffffff;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    animation: letter-spread 3s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counterclockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(0.9);
        filter: drop-shadow(0 0 5px rgba(255, 183, 3, 0.4));
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 183, 3, 0.95));
        opacity: 1;
    }
}

@keyframes letter-spread {
    0% {
        letter-spacing: 2px;
        opacity: 0.8;
    }
    100% {
        letter-spacing: 7px;
        opacity: 1;
    }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Rounded Buttons */
.btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 54, 148, 0.4);
}

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

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

.btn-dark {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.sticky-navbar {
    position: sticky;
    top: 15px;
    margin: 15px auto 0;
    max-width: 1320px;
    width: 95%;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(41, 54, 148, 0.08);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(41, 54, 148, 0.06);
    transition: var(--transition-smooth);
    padding: 0.6rem 1.5rem !important;
}

.navbar-brand img {
    max-height: 40px;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px;
    position: relative;
    transition: var(--transition-smooth);
    z-index: 1;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(41, 54, 148, 0.06);
}

.nav-link::after {
    display: none;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.navbar-toggler:hover {
    background-color: rgba(41, 54, 148, 0.06);
}

@media (max-width: 991.98px) {
    .sticky-navbar {
        margin: 10px auto 0 !important;
        width: 95% !important;
        border-radius: 24px !important;
        padding: 0.5rem 1.25rem !important;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 16px;
        margin-top: 10px;
        padding: 1rem;
        border: 1px solid rgba(41, 54, 148, 0.06);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }
    .nav-link {
        padding: 0.6rem 1rem !important;
        text-align: left;
    }
}

/* Swiping Hero Slider */
.hero-slider {
    position: relative;
    height: 65vh;
    min-height: 400px;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 15, 29, 0.55) 0%, rgba(10, 15, 29, 0.2) 60%, rgba(10, 15, 29, 0) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
    max-width: 600px;
    padding: 0 !important;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    margin-left: 3rem;
}

.slider-slide.active .slider-content {
    opacity: 1;
    transform: translateY(0);
}

.slider-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    line-height: 1.6;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 50px;
    left: auto;
    transform: none;
    z-index: 3;
    display: flex;
    gap: 12px;
    background: rgba(10, 15, 29, 0.55);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    background-color: var(--secondary-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.category-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.category-body {
    padding: 1.25rem;
    text-align: center;
    background-color: var(--secondary-color);
}

.category-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0;
    transition: var(--transition-smooth);
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--secondary-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-img-wrapper {
    height: 150px;
    overflow: hidden;
    position: relative;
    background-color: var(--gray-light);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
}

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

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

.product-card-body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-color) !important;
    margin-bottom: 0.75rem;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

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

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Brand Section */
.brand-item {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.brand-item:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--card-shadow);
    transform: scale(1.05);
}

.brand-item img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Gallery & Details Page */
.main-product-image-container {
    background-color: var(--gray-light);
    border-radius: 16px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    overflow: hidden;
}

.main-product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gallery-thumbnail {
    background-color: var(--gray-light);
    border-radius: 10px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.gallery-thumbnail.active, .gallery-thumbnail:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.gallery-thumbnail img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Section Header */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* Floating Actions */
.floating-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.floating-btn:hover {
    transform: translateY(-5px) scale(1.08);
}

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

.floating-call {
    background-color: var(--primary-color);
}

.floating-top {
    background-color: var(--dark-color);
    opacity: 0;
    visibility: hidden;
}

.floating-top.show {
    opacity: 1;
    visibility: visible;
}

/* Contact Details Page & Map */
.contact-map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 380px;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.info-card {
    border: none;
    border-radius: 16px;
    background-color: var(--gray-light);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.info-card:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--card-hover-shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(41, 54, 148, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

/* Footer Section */
.footer {
    background-color: var(--dark-color);
    color: #a0a5aa;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    border-top: 5px solid var(--primary-color);
}

.footer-logo {
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-links a {
    color: #a0a5aa;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

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

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-circle:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* SEO Breadcrumb styling */
.breadcrumb-container {
    background-color: var(--gray-light);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--dark-color);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    .slider-content {
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
        padding: 0 !important;
        max-width: calc(100% - 3rem) !important;
    }
    .slider-title {
        font-size: 1.8rem !important;
    }
    .slider-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .slider-controls {
        right: 50% !important;
        transform: translateX(50%) !important;
        bottom: 15px !important;
        left: auto !important;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .main-product-image-container {
        height: 280px;
    }
}

/* Category Slider styles */
.category-slider-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-slider-wrapper::-webkit-scrollbar {
    display: none;
}
.category-scroll-btn {
    opacity: 0.8;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--secondary-color);
    color: var(--dark-color);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.category-scroll-btn:hover {
    opacity: 1;
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(41, 54, 148, 0.25) !important;
}

/* Navbar Call Button Gradient Hover */
#desktop-call-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e2873 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(41, 54, 148, 0.2) !important;
}

#desktop-call-btn:hover {
    background: linear-gradient(135deg, #1e2873 0%, var(--accent-color) 100%) !important;
    box-shadow: 0 4px 15px rgba(204, 47, 47, 0.3) !important;
    transform: translateY(-2px);
}

/* Brand Slider styles */
.brand-slider-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.brand-slider-wrapper::-webkit-scrollbar {
    display: none;
}
.brand-scroll-btn {
    opacity: 0.8;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--secondary-color);
    color: var(--dark-color);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.brand-scroll-btn:hover {
    opacity: 1;
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(41, 54, 148, 0.25) !important;
}

/* Brand Utility Classes */
.bg-brand-primary {
    background-color: var(--primary-color) !important;
}
.bg-brand-accent {
    background-color: var(--accent-color) !important;
}
.text-brand-primary {
    color: var(--primary-color) !important;
}
.text-brand-accent {
    color: var(--accent-color) !important;
}
.bg-brand-accent-subtle {
    background-color: rgba(204, 47, 47, 0.08) !important;
}
.bg-brand-primary-subtle {
    background-color: rgba(41, 54, 148, 0.08) !important;
}
.border-brand-primary {
    border-color: var(--primary-color) !important;
}
.border-brand-accent {
    border-color: var(--accent-color) !important;
}


