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

:root {
    --primary-color: #28753C;
    --secondary-color: #35529A;
    --accent-green: #22c55e;
    --dark-corporate: #0f172a;
    --dark-bg: #060b11;
    --white: #FFFFFF;
    --light-gray: #f8fafc;
    --primary-gradient: linear-gradient(135deg, #28753C 0%, #16a34a 100%);
    --green-gradient: linear-gradient(135deg, #28753C 0%, #22c55e 100%);
    --dark-gradient: linear-gradient(135deg, #060b11 0%, #0f172a 100%);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-corporate);
    background-color: var(--light-gray);
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-corporate);
}

.text-primary { color: var(--primary-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-dark-corporate { background-color: var(--dark-corporate) !important; }
.text-dark-corporate { color: var(--dark-corporate) !important; }

/* Badge Fixes for Transparent Soft Badges */
.badge {
    font-weight: 600;
}
.badge.bg-primary.bg-opacity-10,
.badge-soft-primary {
    background-color: rgba(53, 82, 154, 0.1) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(53, 82, 154, 0.2);
}
.badge.badge-green,
.badge-soft-green {
    background-color: rgba(40, 117, 60, 0.12) !important;
    color: #28753C !important;
    border: 1px solid rgba(40, 117, 60, 0.25);
}

.icon-box-soft-primary,
.bg-primary-soft {
    background-color: rgba(53, 82, 154, 0.1) !important;
    color: #35529A !important;
}
.icon-box-soft-green,
.bg-green-soft {
    background-color: rgba(40, 117, 60, 0.12) !important;
    color: #28753C !important;
}

/* Image Hover Zoom Utility */
.group-hover-zoom {
    overflow: hidden;
}
.group-hover-zoom img {
    transition: transform 0.5s ease;
}
.group-hover-zoom:hover img {
    transform: scale(1.08);
}

/* Accordion Custom Styling */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(53, 82, 154, 0.05);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(53, 82, 154, 0.25);
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.35);
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 117, 60, 0.5);
    background: linear-gradient(135deg, #1e6131 0%, #144422 100%);
    color: #ffffff;
}

.btn-accent-green {
    background: var(--green-gradient);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.35);
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-accent-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 117, 60, 0.5);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.3);
}

.btn-light {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}
.nav-link {
    font-weight: 600;
    color: var(--dark-corporate) !important;
    margin: 0 5px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Carousel Section */
.hero-carousel-section {
    position: relative;
    padding-top: 76px; /* Offset for fixed navbar */
}
#heroCarousel {
    height: 80vh;
    min-height: 500px;
}
.carousel-inner, .carousel-item {
    height: 100%;
    overflow: hidden;
}
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 10s ease; /* Slow zoom effect */
}
.carousel-item.active .carousel-image {
    transform: scale(1.1);
}
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.z-index-2 {
    z-index: 2;
}
.carousel-content {
    color: var(--white);
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 20px;
}
/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.carousel-item.active .animate-up {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Carousel Controls & Indicators */
.custom-indicators {
    bottom: 30px;
}
.custom-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 8px !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: none !important;
    transition: all 0.3s ease;
}
.custom-indicators button.active {
    background-color: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 10px;
}
.custom-control {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s;
}
#heroCarousel:hover .custom-control {
    opacity: 0.8;
}
.custom-control:hover {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    #heroCarousel {
        height: 70vh;
        min-height: 400px;
    }
    .carousel-content {
        padding: 20px;
        margin-bottom: 40px;
    }
    .custom-indicators {
        bottom: 5px;
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

/* Feature/Brand Cards */
.brand-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(40, 117, 60, 0.15);
    border-bottom: 3px solid var(--primary-color);
}
.brand-card img {
    max-height: 60px;
    max-width: 100%;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}
.brand-card:hover img {
    transform: scale(1.05);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(40, 117, 60, 0.15);
}
.product-card .img-wrapper {
    background: var(--light-gray);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}
.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-card .card-body {
    padding: 25px;
}
.product-card .badge {
    background-color: rgba(40, 117, 60, 0.12);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #28753C 0%, #22c55e 100%);
    bottom: -8px;
    left: 0;
    border-radius: 3px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    margin-top: 30px;
}
.testimonial-icon {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(129, 41, 145, 0.4);
}

/* Footer */
.footer {
    background: var(--dark-corporate);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 20px;
}
.footer h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
}

/* Floating Action Buttons */
.fab-container {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}
.fab-whatsapp { 
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); 
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.fab-call { 
    background: linear-gradient(135deg, #35529A 0%, #1E3366 100%); 
    box-shadow: 0 6px 20px rgba(53, 82, 154, 0.4);
}
.fab-btn:hover {
    transform: scale(1.1);
    color: white;
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
        transform: scale(0.85);
        transform-origin: bottom right;
    }
}

/* Counters */
.counter-box {
    text-align: center;
    padding: 20px;
}
.counter-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Info Box */
.contact-info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(129, 41, 145, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-logo {
    max-width: 150px;
    animation: pulseLogo 2s infinite;
    margin-bottom: 20px;
}
.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(129, 41, 145, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spinSpinner 1s linear infinite;
}
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}
@keyframes spinSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* ============================================
   BRAND FILTER CARDS (Sidebar)
   ============================================ */
.brand-filter-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.brand-filter-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.15);
    transform: translateY(-2px);
}
.brand-filter-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(40, 117, 60, 0.08) 0%, rgba(22, 163, 74, 0.12) 100%);
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.2);
}
.brand-filter-logo {
    max-height: 35px;
    max-width: 90%;
    object-fit: contain;
    transition: all 0.3s ease;
}
.brand-filter-card:hover .brand-filter-logo {
    transform: scale(1.05);
}
.brand-filter-card.active .brand-filter-logo {
    filter: none;
}
.brand-filter-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark-corporate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.brand-product-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(40, 117, 60, 0.3);
}

/* ============================================
   CATEGORY FILTER LIST (Sidebar)
   ============================================ */
.category-filter-list li {
    margin-bottom: 2px;
}
.category-filter-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 0.88rem;
}
.category-filter-item:hover {
    background: rgba(40, 117, 60, 0.08);
    color: var(--primary-color);
    padding-left: 16px;
}
.category-filter-item.active {
    background: linear-gradient(135deg, rgba(40, 117, 60, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: var(--primary-color);
    font-weight: 700;
}
.category-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(40, 117, 60, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.category-filter-item.active .category-icon-box {
    background: var(--primary-gradient);
    color: white;
}
.category-filter-item:hover .category-icon-box {
    background: var(--primary-gradient);
    color: white;
}
.category-count {
    background: #f0f0f0;
    color: #888;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}
.category-filter-item.active .category-count {
    background: rgba(40, 117, 60, 0.18);
    color: var(--primary-color);
}

/* ============================================
   FILTER TAGS (Active filter pills)
   ============================================ */
.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(40, 117, 60, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(40, 117, 60, 0.25);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.filter-tag:hover {
    background: rgba(40, 117, 60, 0.18);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.filter-tag .bi-x {
    opacity: 0.6;
    transition: opacity 0.2s;
}
.filter-tag:hover .bi-x {
    opacity: 1;
}

/* Custom Utilities for Optimum Technologies Profile */
.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }
.shadow-xs { box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.top-bar a:hover { opacity: 0.8; }
@media (min-width: 768px) {
    .border-start-md { border-left: 1px solid #e2e8f0 !important; }
}

/* ============================================
   WEBLINK STYLE HERO & DARK NAVBAR STYLING
   ============================================ */
.navbar-dark-custom {
    background-color: #060b11 !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar-dark-custom .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}
.navbar-dark-custom .nav-link:hover, 
.navbar-dark-custom .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}
.navbar-dark-custom .nav-link::after {
    display: none !important;
}
.nav-dot-active {
    display: block;
    width: 6px;
    height: 6px;
    background-color: #38a152;
    border-radius: 50%;
    margin: 3px auto 0 auto;
    box-shadow: 0 0 8px #38a152;
}

.btn-neon-green {
    background: linear-gradient(135deg, #28753C 0%, #1e6131 100%);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 11px 26px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 117, 60, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-neon-green:hover {
    background: linear-gradient(135deg, #1e6131 0%, #144422 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(40, 117, 60, 0.55);
    color: #ffffff !important;
}

.btn-dark-outline {
    background-color: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 11px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-dark-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.search-btn-pill {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
}
.search-btn-pill:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #38a152;
}

/* Weblink Hero Section */
.weblink-hero-section {
    background-color: #060b11;
    position: relative;
    padding-top: 140px;
    padding-bottom: 140px;
    overflow: hidden;
    min-height: 82vh;
}
.weblink-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
    opacity: 0.65;
}
.weblink-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #060b11 0%, #060b11 40%, rgba(6, 11, 17, 0.85) 65%, rgba(6, 11, 17, 0.4) 100%);
    z-index: 2;
}
.weblink-hero-content {
    position: relative;
    z-index: 3;
}
.weblink-tagline {
    color: #38a152;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-uppercase: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}
.weblink-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.weblink-title .text-green-glow {
    color: #38a152;
    text-shadow: 0 0 20px rgba(40, 117, 60, 0.4);
}
.weblink-lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 35px;
}

@media (max-width: 991px) {
    .weblink-title { font-size: 2.5rem; }
    .weblink-hero-bg { width: 100%; opacity: 0.3; }
    .weblink-hero-section { padding-top: 100px; padding-bottom: 100px; }
}

/* Weblink Overlapping Service Cards Bar */
.weblink-cards-container {
    position: relative;
    z-index: 4;
    margin-top: -70px;
}
.weblink-card {
    background: rgba(12, 21, 33, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
}
.weblink-card:hover {
    transform: translateY(-8px);
    border-color: rgba(40, 117, 60, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(40, 117, 60, 0.25);
}
.weblink-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(40, 117, 60, 0.18);
    border: 1px solid rgba(40, 117, 60, 0.4);
    color: #38a152;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}
.weblink-card:hover .weblink-card-icon {
    background: #28753C;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(40, 117, 60, 0.6);
}
.weblink-card-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* ============================================
   PRELOADER STYLING & FADE-OUT
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.loaded #preloader {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}
.preloader-spinner {
    width: 45px;
    height: 45px;
    border: 3.5px solid rgba(53, 82, 154, 0.15);
    border-top: 3.5px solid #35529A;
    border-radius: 50%;
    animation: preloader-spin 0.8s linear infinite;
}
@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   PREMIUM LOGO CAROUSEL & STRIP STYLING
   ============================================ */
.logo-carousel-box {
    background: linear-gradient(135deg, #091322 0%, #0f1c30 100%);
    border-radius: 24px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px;
    width: 100%;
}

.logo-carousel-track::-webkit-scrollbar {
    display: none;
}

.logo-carousel-card {
    min-width: 155px;
    max-width: 155px;
    height: 75px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.logo-carousel-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(40, 117, 60, 0.35);
}

.logo-carousel-card img {
    max-height: 52px;
    max-width: 100%;
    object-fit: contain;
}

.logo-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28753C 0%, #1B522A 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
    flex-shrink: 0;
    z-index: 5;
}

.logo-nav-btn:hover {
    background: linear-gradient(135deg, #35529A 0%, #1E3366 100%);
    transform: scale(1.12);
    color: #ffffff;
    border-color: #ffffff;
}

.logo-nav-btn:active {
    transform: scale(0.95);
}


/* Custom Scrollbar for Brand Filter Box */
.custom-brand-scroll::-webkit-scrollbar {
    width: 4px;
}
.custom-brand-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.custom-brand-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-brand-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================
   MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ============================================ */

/* Logo image responsiveness */
.header-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

@media (max-width: 991.98px) {
    .header-logo-img {
        height: 52px;
    }
    
    /* Mobile Navbar Dropdown Container */
    .navbar-dark-custom .navbar-collapse {
        background: #091322 !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 1.25rem 1.25rem;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    
    .navbar-dark-custom .navbar-nav {
        align-items: flex-start !important;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .navbar-dark-custom .nav-item {
        width: 100%;
    }
    
    .navbar-dark-custom .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-dark-custom .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-dot-active {
        margin: 0 !important;
    }

    /* Weblink Hero Section on Mobile */
    .weblink-hero-section {
        padding-top: 110px !important;
        padding-bottom: 70px !important;
        min-height: auto !important;
    }
    
    .weblink-cards-container {
        margin-top: -20px !important;
    }
}

@media (max-width: 767.98px) {
    /* Prevent input auto-zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* Typography scale for tablets & phones */
    .weblink-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .weblink-lead {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    
    .section-title {
        font-size: 1.85rem !important;
    }
    
    .section-padding {
        padding: 50px 0 !important;
    }
    
    /* Page header banners */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Cards responsiveness */
    .weblink-card {
        padding: 24px 16px !important;
    }
    
    .brand-card {
        min-height: 90px !important;
        padding: 12px !important;
    }
    
    .brand-card img {
        max-height: 45px !important;
    }
    
    /* Product card image wrapper */
    .product-card img {
        height: 170px !important;
    }
    
    /* Logo carousel box on small screens */
    .logo-carousel-box {
        padding: 16px 12px !important;
        border-radius: 18px !important;
    }
    
    .logo-carousel-card {
        min-width: 125px !important;
        max-width: 125px !important;
        height: 60px !important;
        padding: 6px 10px !important;
        border-radius: 12px !important;
    }
    
    .logo-carousel-card img {
        max-height: 40px !important;
    }
    
    .logo-nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 575.98px) {
    .header-logo-img {
        height: 44px;
    }
    
    .weblink-title {
        font-size: 1.75rem !important;
    }
    
    .weblink-tagline {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .btn-neon-green,
    .btn-dark-outline,
    .btn-primary,
    .btn-accent-green {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Floating action buttons on small mobile */
    .fab-container {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
    }
    
    .fab-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
    }
    
    /* Tables responsiveness */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}




