:root {
    --theme-navy: #1B1B62;
    --theme-navy-dark: #14144B;
    --theme-navy-deep: #0D0D33;
    --theme-red: #B3130D;
    --theme-red-hover: #960E09;
    --theme-accent-purple: #5B13EC;
    --theme-card-bg: #F8FAFC;
    --theme-card-border: #E2E8F0;
    --theme-text-dark: #101426;
    --theme-text-muted: #64748B;
    --theme-accent-green: #10B981;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--theme-text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Color utility classes matching brand */
.bg-theme-navy { background-color: var(--theme-navy) !important; }
.bg-theme-navy-dark { background-color: var(--theme-navy-dark) !important; }
.bg-theme-navy-deep { background-color: var(--theme-navy-deep) !important; }
.bg-theme-red { background-color: var(--theme-red) !important; }
.bg-theme-card { background-color: var(--theme-card-bg) !important; }

.text-theme-navy { color: var(--theme-navy) !important; }
.text-theme-red { color: var(--theme-red) !important; }
.text-theme-purple { color: var(--theme-accent-purple) !important; }

.border-theme-red { border-color: var(--theme-red) !important; }
.border-theme-navy { border-color: var(--theme-navy) !important; }

/* Top Header & Navbar Custom Styling */
.top-header-bar {
    font-size: 0.85rem;
}
.navbar-nav .nav-link {
    font-size: 0.95rem;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--theme-red) !important;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link {
        font-size: 0.875rem;
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }
}
@media (max-width: 1199.98px) {
    #navContent {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
    #navContent .navbar-nav {
        margin-bottom: 1rem !important;
    }
    #navContent .nav-link {
        padding: 0.5rem 0.75rem !important;
        border-radius: 6px;
    }
    #navContent .nav-link:hover {
        background-color: rgba(27, 27, 98, 0.05);
    }
}

#message::placeholder,
textarea#message::placeholder,
#req_message::placeholder,
textarea#req_message::placeholder {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.75;
}

/* Custom Buttons */
.btn-brand-navy {
    white-space: nowrap !important;
}
.btn-brand-red {
    background-color: var(--theme-red);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(179, 19, 13, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}
.btn-brand-red:hover {
    background-color: var(--theme-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 19, 13, 0.45);
}

.btn-brand-navy {
    background-color: var(--theme-navy);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(27, 27, 98, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}
.btn-brand-navy:hover {
    background-color: var(--theme-navy-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-brand-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}
.btn-brand-outline:hover {
    background-color: #ffffff;
    color: var(--theme-navy);
    transform: translateY(-2px);
}

/* Wave and decorative background accents */
.hero-gradient-overlay {
    background: linear-gradient(135deg, #1B1B62 0%, #14144B 60%, #0D0D33 100%) !important;
}

/* Card hover micro-animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(27, 27, 98, 0.1);
}

/* Feature Card Icons matching live site */
.feature-card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--theme-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(27, 27, 98, 0.2);
}
.card:hover .feature-card-icon {
    background-color: var(--theme-red);
    transform: scale(1.08);
}
.feature-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Services & Products Carousel Tracks */
.services-carousel-wrapper,
.products-carousel-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.services-carousel-wrapper::-webkit-scrollbar,
.products-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.services-carousel-track,
.products-carousel-track {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem;
}
.service-carousel-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 320px;
}
.product-carousel-item {
    flex: 0 0 calc(25% - 1.15rem);
    min-width: 270px;
}
@media (max-width: 992px) {
    .service-carousel-item,
    .product-carousel-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 280px;
    }
}
@media (max-width: 576px) {
    .service-carousel-item,
    .product-carousel-item {
        flex: 0 0 88%;
        min-width: 260px;
    }
}
.btn-carousel-ctrl {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--theme-card-border);
    background: #ffffff;
    color: var(--theme-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-carousel-ctrl:hover {
    background: var(--theme-navy);
    color: #ffffff;
    border-color: var(--theme-navy);
}

/* Floating Action Buttons */
.floating-action-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}
.fab-btn:hover {
    transform: scale(1.12);
    color: #fff;
}
.fab-whatsapp {
    background: #25D366;
}
.fab-call {
    background: var(--theme-red);
}

/* Mobile Sticky Action Bar for high conversion */
@media (max-width: 768px) {
    .mobile-sticky-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #ffffff;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        padding: 10px 16px;
        display: flex;
        gap: 10px;
    }
    /* Hide floating circular action buttons on mobile since sticky bottom bar handles it */
    .floating-action-bar {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .mobile-sticky-bottom {
        display: none !important;
    }
}
