body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Top Mini Navbar */
.top-nav {
    font-size: 0.85rem;
    padding: 0.25rem 0;
}
.top-nav a {
    color: #666;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 500;
}
.top-nav a:hover {
    color: #000;
}

/* Main Navbar */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7a6ad8 !important;
    letter-spacing: -0.5px;
}
.navbar-brand img {
    height: 35px;
    margin-right: 10px;
}
.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding-bottom: 25px !important;
    padding-top: 25px !important;
}
.nav-link:hover {
    color: #7a6ad8 !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: #7a6ad8;
}

.search-box {
    border-radius: 20px;
    background-color: #f4f4f4;
    border: none;
    padding: 5px 20px;
    font-size: 0.9rem;
}

/* Hero Section (Purple/Black/Hard Blue) */
.hero-section {
    background: linear-gradient(135deg, #020024 0%, #090979 35%, #4a00e0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.z-index-2 { z-index: 2; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 90%;
}

.btn-cyan {
    background-color: #ccffff;
    color: #7a6ad8;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-cyan:hover {
    background-color: #aaffff;
    color: #7a6ad8;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(204, 255, 255, 0.4);
}

.btn-cyan span {
    margin-left: 8px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Hero Bottom Navbar */
.hero-bottom-nav {
    background-color: #000022; /* Very dark background */
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 5;
}
.hero-bottom-nav a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 20px 25px;
    text-decoration: none;
    display: inline-block;
    border-bottom: 2px solid transparent;
}
.hero-bottom-nav a.active {
    border-bottom: 2px solid white;
}
.hero-bottom-nav a:hover {
    color: #ccffff;
    text-decoration: none;
}

/* Large Text Section */
.large-text-section {
    padding: 100px 0;
    background-color: white;
}
.large-text-section h2 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.4;
    color: #7a6ad8;
    letter-spacing: -0.5px;
}
.large-text-section h2 strong {
    font-weight: 600;
}
.text-cyan { color: #2cb5e8 !important; }
.text-blue { color: #0055ff !important; }

/* Image Banners */
.image-banner-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
}

.inner-box {
    background-color: #00003f;
    color: white;
    padding: 60px;
    max-width: 900px;
}
.inner-box.offset-box {
    margin-bottom: 0;
}
.inner-box h3 {
    color: #2cb5e8;
    font-weight: 700;
    margin-bottom: 25px;
}
.inner-box p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.link-cyan {
    color: #2cb5e8;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}
.link-cyan:hover {
    color: white;
    text-decoration: none;
}

/* Case Studies Section */
.case-studies-section {
    padding: 80px 0;
    background-color: white;
}
.section-title {
    color: #000033;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: -1px;
}
.section-subtitle {
    color: #000033;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover img {
    transform: scale(1.05);
}
.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,20,92,0.95), rgba(0,20,92,0.6) 70%, transparent);
    padding: 40px;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.case-card-overlay .category {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.case-card-overlay h4 {
    color: #2cb5e8;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Sticky Items */
.sticky-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #79a6d2; 
    color: #000033;
    padding: 20px 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 8px 0 0 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    z-index: 1050;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.sticky-contact:hover {
    background-color: #559be6;
    color: white;
    text-decoration: none;
    padding-right: 15px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #559be6;
    color: white;
    padding: 8px 12px 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.back-to-top:hover {
    color: white;
    text-decoration: none;
    background-color: #3f7ec2;
}
.back-to-top .arrow {
    margin-left: 10px;
    background: transparent;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.cookie-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #72cc50; /* Green color match */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Modern soft shadow */
}
.navbar.sticky-top {
    z-index: 1060 !important;
}

/* Footer layout */
footer {
    background-color: #00001a; 
    color: #fff;
    padding: 80px 0 30px 0;
}
footer h6 {
    letter-spacing: 1px;
    font-size: 0.85rem;
}
footer a {
    color: #aaa;
    transition: color 0.2s;
}
footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* Mega Menu Desktop Hover Details */
@media all and (min-width: 992px) {
    .navbar .nav-item.dropdown.position-static {
        position: static !important;
    }
    .navbar .nav-item .dropdown-menu {
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        transition: all 0.2s ease-in-out;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
        border-radius: 0;
    }
    .navbar .nav-item .dropdown-menu {
        margin-top: 0; 
    }
    .mega-menu-content {
        min-height: 480px;
    }
}

/* Mobile Friendly Mega Menu Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }
    .dropdown-menu.mega-menu {
        border: none !important;
        margin: 0;
        box-shadow: none !important;
    }
    .mega-menu-content {
        flex-direction: column;
    }
    .mega-menu-left, .mega-menu-middle, .mega-menu-right {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .mega-menu-middle, .mega-menu-right {
        padding: 20px !important;
    }
    .list-group-item {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
.dropdown-menu.mega-menu {
    border-top: 3px solid #7a6ad8 !important;
    padding: 0;
    z-index: 1050 !important;
}

/* Center Mega Menu on Desktop */
@media all and (min-width: 992px) {
    .dropdown-menu.mega-menu-center {
        width: 80%;
        max-width: 1100px;
        left: 50% !important;
        transform: translateX(-50%);
        right: auto;
    }
}
