:root {
    --primary-color: #0b2239;
    --secondary-color: #1c4974;
    --accent-color: #e51d20;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-color: #333333;
}

.desktop-sidebar {
    display: none !important;
}

@media (min-width: 992px) {
    .desktop-sidebar {
        display: block !important;
    }
}

.mobile-category-filter {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 15px 0;
    margin-bottom: 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
}

.mobile-category-filter::-webkit-scrollbar {
    display: none;
}

.mobile-category-filter .filter-item {
    display: inline-block !important;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mobile-category-filter .filter-item.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(11, 34, 57, 0.2);
}

@media (min-width: 992px) {
    .mobile-category-filter {
        display: none !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

/* Custom Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
}
.navbar-nav .nav-link {
    color: var(--text-color) !important;
    position: relative;
    padding-bottom: 5px;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 15px; /* because of px-3 */
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(11, 34, 57, 0.8), rgba(11, 34, 57, 0.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}
.hero-subtitle {
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Cards & Hover Effects */
.service-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(11, 34, 57, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
}

.product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.product-img-wrapper {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
}
.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.5s ease;
    object-fit: contain;
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}
.section-title.text-start::after {
    left: 0;
    transform: none;
}
.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* Reference Carousel/Grid */
.reference-item {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.reference-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Slide links */
.slide-link {
    transition: padding-left 0.3s ease;
}
.slide-link:hover {
    padding-left: 5px;
    color: white !important;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
}
.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.features-snippet {
    margin-top: -50px;
}

/* Responsive Maps */
section .w-100 iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .hero-section {
        height: auto;
        min-height: 400px;
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    /* Feature cards overlap fix */
    .features-snippet {
        margin-top: 0 !important;
        padding-top: 2rem !important;
    }
    
    .card[style*="transform: scale(1.05)"] {
        transform: none !important;
    }

    /* About experience badge */
    /* About experience badge */
    div[style*="transform: translate(20px, 20px)"] {
        transform: translate(0, 10px) !important;
        position: relative !important;
        display: inline-block !important;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}
