/* Main Design System & Custom Styles */
:root {
    --primary-color: #0082c8;
    --primary-dark: #0066a0;
    --primary-light: #eaf5fc;
    --navy-dark: #0e294b;
    --navy-deep: #091a32;
    --text-main: #222222;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
}

.fs-7 {
    font-size: 0.85rem;
}

/* Custom Colors & Utilities */
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-navy {
    background-color: var(--navy-dark) !important;
}

.text-navy {
    color: var(--navy-dark) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 130, 200, 0.2);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 130, 200, 0.35);
}

.btn-primary-custom:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 130, 200, 0.2);
}

.btn-outline-primary-custom {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 130, 200, 0.25);
}

.btn-outline-primary-custom:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 130, 200, 0.15);
}

.btn-dark-blue {
    background-color: #053b75;
    color: #ffffff !important;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-dark-blue:hover,
.btn-dark-blue:focus {
    background-color: var(--navy-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 59, 117, 0.3);
}

.btn-dark-blue:active {
    transform: translateY(0) scale(0.98);
}

/* Top Bar */
.top-bar {
    background-color: #0077c8;
    font-size: 0.82rem;
}

.hover-opacity:hover {
    opacity: 0.8;
}

/* Header */
.main-header {
    background-color: #ffffff;
}

.search-form {
    border: 1px solid #c0d8e8 !important;
}

.category-dropdown .dropdown-toggle {
    font-weight: 600;
    color: #444;
}

/* Navigation */
.nav-btn-active {
    background-color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background-color: #f0f7fd;
    position: relative;
    overflow: hidden;
}

.hero-bg-graphic {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(0, 130, 200, 0.04);
    pointer-events: none;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle-badge {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-arch-container {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

/* Feature Bar */
.feature-card {
    background: #ffffff;
    border: 1px solid #e1eff8;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 200, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 119, 200, 0.1);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background-color: #e6f3fc;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Section Titles */
.section-title {
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--primary-color);
}

/* Category Grid */
.category-card {
    background-color: #f7fafc;
    border: 1px solid #e8f1f7;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    display: block;
    transition: all 0.3s ease;
}

.category-card:hover {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 130, 200, 0.12);
    transform: translateY(-3px);
}

.category-img-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.category-img-wrapper img {
    max-height: 90px;
    object-fit: contain;
}

.category-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Service Cards */
.service-card {
    background-color: #f4f9fd;
    border: 1px solid #e2eff7;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 130, 200, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #d0e6f5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border: 1px solid #e5eff5;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 130, 200, 0.12);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00a0e9;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    z-index: 2;
}

.product-img-wrapper {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.product-img-wrapper img {
    max-height: 110px;
    object-fit: contain;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #222;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
}

.product-old-price {
    font-size: 0.8rem;
    color: #999999;
    text-decoration: line-through;
    margin-left: 0.25rem;
}

.btn-add-cart {
    border: 1px solid #cce4f5;
    color: var(--primary-color);
    background-color: #f7fcff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem;
    border-radius: 6px;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.nav-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: #555;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

/* Trust Banner Horizontal */
.trust-banner {
    background-color: #eaf5fc;
    border-top: 1px solid #d8ebf7;
    border-bottom: 1px solid #d8ebf7;
}

.trust-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Contact / Hours Box */
.info-contact-card {
    background-color: #f2f8fc;
    border: 1px solid #d9ebf7;
    border-radius: 12px;
    padding: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e1eff8;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 119, 200, 0.04);
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* Call To Action Banner */
.cta-banner {
    background: linear-gradient(90deg, #0082c8 0%, #006eb3 100%);
    border-radius: 16px;
    padding: 2.5rem 3rem;
}

/* Footer Links */
.footer-links a:hover {
    color: #ffffff !important;
}

.social-circle-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.social-circle-btn:hover {
    background-color: var(--primary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .cta-banner {
        padding: 2rem 1.5rem;
    }
}

/* Team Member Cards */
.team-card {
    background: #ffffff;
    border: 1px solid #e2eff7;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 130, 200, 0.15);
    border-color: var(--primary-color);
}

.team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #f4f8fb;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.team-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(14, 41, 75, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.team-info {
    padding: 1.25rem 1rem;
    text-align: center;
}

.team-role {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header Logo Styling */
.header-logo {
    max-height: 100px;
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
    .header-logo {
        max-height: 75px;
        height: 75px;
    }
}

/* Redesigned Mobile & Desktop Header Custom Styles */
.fs-8 {
    font-size: 0.78rem;
}

.py-1\.5 {
    padding-top: 0.38rem !important;
    padding-bottom: 0.38rem !important;
}

.px-2\.5 {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
}

.py-2\.5 {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hover effects */
.hover-primary:hover {
    color: var(--primary-color) !important;
}
.hover-primary:hover .icon-circle {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.bg-light-primary {
    background-color: var(--primary-light) !important;
}

/* Mobile Header elements */
.mobile-top-strip {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.mobile-logo-img {
    max-height: 48px;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    background-color: #f0f7fd !important;
    transition: all 0.25s ease;
}

.mobile-menu-btn:hover, .mobile-menu-btn:active {
    background-color: var(--primary-color) !important;
}
.mobile-menu-btn:hover i, .mobile-menu-btn:active i {
    color: #ffffff !important;
}

.mobile-icon-btn {
    width: 38px;
    height: 38px;
    background-color: #f4f8fb;
    transition: all 0.25s ease;
}

.mobile-icon-btn:hover {
    background-color: var(--primary-light);
}

.btn-rx-upload {
    background: linear-gradient(135deg, #0082c8 0%, #005c99 100%);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-rx-upload:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 130, 200, 0.3) !important;
    color: #ffffff !important;
}

.mobile-search-form {
    border: 1.5px solid #d0e4f2 !important;
    background-color: #f8fcff !important;
    transition: all 0.3s ease;
}

.mobile-search-form:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 130, 200, 0.15) !important;
}

/* Mobile Offcanvas Drawer */
.mobile-offcanvas {
    max-width: 320px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.mobile-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, #0e294b 0%, #05162a 100%);
}

.mobile-menu-list .list-group-item {
    transition: all 0.2s ease;
}

.mobile-menu-list .list-group-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 0.75rem !important;
}

/* Sticky Header Customization */
.main-header.sticky-top {
    z-index: 1020;
}

/* Sticky Mobile Bottom Navigation Bar (< 992px) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2edf5;
    box-shadow: 0 -4px 20px rgba(0, 40, 80, 0.08);
}

.mobile-nav-item {
    color: #666666;
    font-size: 0.68rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary-color);
}

.mobile-nav-item.nav-rx-center {
    position: relative;
    top: -12px;
}

.rx-center-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0082c8 0%, #005689 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #ffffff;
    transition: transform 0.25s ease;
}

.rx-center-btn:hover {
    transform: scale(1.08);
}

/* Adjust Floating WhatsApp position on mobile */
@media (max-width: 991.98px) {
    .whatsapp-float {
        bottom: 75px !important;
        right: 18px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 28px !important;
    }
    
    body {
        padding-bottom: 55px;
    }
}

/* Dark Accordion for Mobile Footer */
.dark-accordion .accordion-button:after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.dark-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

/* Redesigned Footer Custom Styles */
.bg-navy-deep {
    background-color: #06152b !important;
}

.bg-navy-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-gradient-navy {
    background: linear-gradient(135deg, #0a2540 0%, #06152b 100%) !important;
}

.footer-header-title {
    position: relative;
    padding-bottom: 8px;
}

.footer-header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.hover-slide-right {
    transition: all 0.25s ease;
    display: inline-block;
}

.hover-slide-right:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.footer-contact-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mb-2\.5 {
    margin-bottom: 0.6rem !important;
}

.me-1\.5 {
    margin-right: 0.38rem !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.preloader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.preloader-logo {
    max-height: 90px;
    width: auto;
    animation: preloaderPulse 1.8s ease-in-out infinite;
    z-index: 2;
}

.preloader-spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3.5px solid rgba(0, 130, 200, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: preloaderSpin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.preloader-progress-bar {
    width: 200px;
    height: 4px;
    background-color: #e6f2fa;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0082c8 0%, #00d2ff 100%);
    border-radius: 10px;
    animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 130, 200, 0)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 4px 15px rgba(0, 130, 200, 0.25)); }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Scroll Reveal Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}


