/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/* Global Responsive & Viewport Reset */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Prevent iOS Safari Auto-Zoom on Form Inputs */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading & Fluid Typography ***/
h1, h2, .fw-bold {
    font-weight: 800 !important;
}

h3, h4, .fw-semi-bold {
    font-weight: 700 !important;
}

h5, h6, .fw-medium {
    font-weight: 600 !important;
}

h1, .h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2, .h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4, .h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5, .h5 { font-size: clamp(1rem, 1.8vw, 1.25rem); }
h6, .h6 { font-size: clamp(0.9rem, 1.5vw, 1rem); }

.display-1 { font-size: clamp(1.85rem, 5vw, 4.5rem) !important; font-weight: 800 !important; line-height: 1.2; }
.display-2 { font-size: clamp(1.75rem, 4.5vw, 3.75rem) !important; font-weight: 800 !important; line-height: 1.2; }
.display-3 { font-size: clamp(1.65rem, 4vw, 3rem) !important; font-weight: 700 !important; line-height: 1.25; }
.display-4 { font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important; font-weight: 700 !important; line-height: 1.3; }
.display-5 { font-size: clamp(1.35rem, 3vw, 2rem) !important; font-weight: 700 !important; }
.display-6 { font-size: clamp(1.2rem, 2.5vw, 1.75rem) !important; font-weight: 700 !important; }


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0 15px 0;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 14px;
        margin-left: 0;
        color: var(--dark);
        border-radius: 6px;
    }

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        background: rgba(6, 163, 218, 0.08);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel & Hero ***/
#header-carousel .carousel-item {
    position: relative;
    min-height: 480px;
    background-color: #091E3E;
}

#header-carousel .carousel-item video {
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: 750px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .72);
    z-index: 1;
    padding: 20px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 420px;
    }

    #header-carousel .carousel-item video {
        min-height: 420px;
    }

    .carousel-caption {
        padding: 25px 15px;
    }

    .carousel-caption .p-3 {
        padding: 8px !important;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 13.5px;
        font-weight: 600 !important;
        letter-spacing: 0.5px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}

@media (max-width: 576px) {
    .section-title::before {
        width: 100px;
    }
    .section-title.text-center::before {
        margin-left: -50px;
    }
    .section-title.section-title-sm::before {
        width: 70px;
    }
    @-webkit-keyframes section-title-run {
        0% {left: 0; } 50% { left : 95px; } 100% { left: 0; }
    }
    @-webkit-keyframes section-title-run-center {
        0% { left: 50%; margin-left: -50px; } 50% { left : 50%; margin-left: 25px; } 100% { left: 50%; margin-left: -50px; }
    }
    @-webkit-keyframes section-title-run-sm {
        0% {left: 0; } 50% { left : 65px; } 100% { left: 0; }
    }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

@media (max-width: 991.98px) {
    .facts .col-lg-4 {
        margin-bottom: 16px;
    }
    .facts .shadow {
        border-radius: 12px;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

@media (max-width: 576px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .75), rgba(9, 30, 62, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .bg-header {
        margin-bottom: 35px !important;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .bg-header .row.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


/********** Modern Premium Service & UI Extensions **********/

/* Enhanced Dropdown Menu */
.navbar-dark .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(9, 30, 62, 0.15);
    padding: 10px 0;
    overflow: hidden;
}

.navbar-dark .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item.active {
    background-color: var(--light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 25px;
}

/* Premium Service Cards on Grid Pages */
.service-card-premium {
    background: #ffffff;
    border: 1px solid rgba(6, 163, 218, 0.12);
    border-top: 4px solid var(--primary);
    border-radius: 14px;
    padding: 35px 25px 30px 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 5px 20px rgba(9, 30, 62, 0.05);
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(6, 163, 218, 0.18);
    border-top-color: var(--secondary);
}

.service-card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #0077b6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(6, 163, 218, 0.3);
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-card-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: scale(1.08) rotate(4deg);
}

.service-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(6, 163, 218, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), #0077b6);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(6, 163, 218, 0.25);
    transition: all 0.3s ease;
}

.service-card-btn:hover {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    box-shadow: 0 6px 18px rgba(9, 30, 62, 0.3);
    transform: translateX(3px);
}

/* Feature & Capability Cards on Detail Pages */
.feature-box-card {
    background: #f8fcff;
    border: 1px solid rgba(6, 163, 218, 0.15);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(6, 163, 218, 0.12);
    transform: translateY(-4px);
}

/* Timeline & Process Cards */
.process-card-step {
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.process-card-step:hover {
    border-left-color: var(--secondary);
    box-shadow: 0 8px 25px rgba(6, 163, 218, 0.12);
    transform: translateX(5px);
}

/* Sidebar Menu Enhancements */
.sidebar-service-btn {
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.sidebar-service-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(6, 163, 218, 0.15);
}

/* Column-wise Horizontal Service Item (Screenshot Lander Style) */
.service-column-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(6, 163, 218, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(9, 30, 62, 0.04);
}

.service-column-card:hover {
    border-color: var(--primary);
    background: #f8fcff;
    box-shadow: 0 12px 30px rgba(6, 163, 218, 0.16);
    transform: translateY(-3px);
}

.service-column-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), #0077b6);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    margin-right: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 163, 218, 0.25);
}

.service-column-card:hover .service-column-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: scale(1.08);
}

.service-column-content {
    flex-grow: 1;
}

.service-column-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.service-column-card:hover .service-column-title {
    color: var(--primary);
}

.service-column-desc {
    font-size: 13.5px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.service-column-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 163, 218, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.service-column-card:hover .service-column-arrow {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(4px);
}

/* Mobile Responsive Optimization */
@media (max-width: 576px) {
    .service-column-card {
        padding: 16px;
        margin-bottom: 14px;
    }
    .service-column-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-right: 14px;
    }
    .service-column-title {
        font-size: 16px;
    }
    .service-column-desc {
        font-size: 12.5px;
    }
    .service-column-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-left: 10px;
    }
}

/* Image-Based Service Cards */
.service-item-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.transition-hover {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}
.transition-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}
.transition-hover img {
    transition: transform 0.5s ease;
}
.transition-hover:hover img {
    transform: scale(1.08);
}

@media (max-width: 576px) {
    .service-item-card img {
        height: 180px !important;
    }
    .service-item-card .p-4 {
        padding: 1.25rem !important;
    }
    .service-item-card h5 {
        font-size: 1.05rem;
    }
}



/* =================================================================
   Ultra-Professional Mega Menu Dropdown Styles 
   ================================================================= */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    .dropdown-mega {
        position: relative;
    }
    
    .dropdown-mega .dropdown-menu {
        min-width: 760px !important;
        width: 760px !important;
        right: -130px !important;
        left: auto !important;
        transform: none !important;
        padding: 16px 20px 12px 20px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(6, 163, 218, 0.16) !important;
        background: #ffffff !important;
        box-shadow: 0 20px 45px -10px rgba(9, 30, 62, 0.18), 0 0 0 1px rgba(9, 30, 62, 0.04) !important;
        margin-top: 10px !important;
        overflow: visible !important;
        animation: megaMenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @keyframes megaMenuFadeIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown-mega .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }
}

@media (max-width: 991px) {
    .dropdown-mega .dropdown-menu {
        min-width: 100% !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 14px 10px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid rgba(6, 163, 218, 0.2) !important;
        box-shadow: 0 10px 30px rgba(9, 30, 62, 0.12) !important;
    }

    .dropdown-mega .dropdown-menu .col-lg-6 {
        margin-bottom: 10px;
    }

    .sub-service-pills {
        padding-left: 20px !important;
    }
}

.mega-menu-title {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 2px solid rgba(6, 163, 218, 0.12);
    display: flex;
    align-items: center;
}

.dropdown-service-item {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 2px;
}

.dropdown-service-item:hover {
    background: rgba(6, 163, 218, 0.07);
    transform: translateX(3px);
    color: var(--primary);
}

.dropdown-service-item .service-icon-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 7px;
    background: rgba(6, 163, 218, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.dropdown-service-item:hover .service-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* Specific colorful soft badges for mega-menu icons */
.service-icon-box.icon-blue { background: #e0f2fe; color: #0284c7; }
.service-icon-box.icon-indigo { background: #e0e7ff; color: #4338ca; }
.service-icon-box.icon-amber { background: #fef3c7; color: #d97706; }
.service-icon-box.icon-emerald { background: #ecfdf5; color: #059669; }
.service-icon-box.icon-pink { background: #fce7f3; color: #db2777; }
.service-icon-box.icon-green { background: #dcfce7; color: #16a34a; }
.service-icon-box.icon-purple { background: #f3e8ff; color: #7e22ce; }
.service-icon-box.icon-orange { background: #ffedd5; color: #ea580c; }
.service-icon-box.icon-teal { background: #ccfbf1; color: #0d9488; }
.service-icon-box.icon-cyan { background: #cffafe; color: #0891b2; }
.service-icon-box.icon-slate { background: #f1f5f9; color: #475569; }

.dropdown-service-item .service-text-box {
    flex-grow: 1;
}

.dropdown-service-item .service-item-heading {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #1e293b;
    transition: color 0.2s ease;
}

.dropdown-service-item:hover .service-item-heading {
    color: var(--primary);
}

.dropdown-service-item .service-arrow {
    font-size: 11px;
    color: #94a3b8;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.dropdown-service-item:hover .service-arrow {
    opacity: 1;
    color: var(--primary);
    transform: translateX(0);
}

/* Sub-service pills under Digital Marketing */
.sub-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 2px 4px 4px 38px;
    margin-bottom: 2px;
}

.sub-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.sub-pill:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(6, 163, 218, 0.25);
}

.sub-pill i {
    font-size: 9.5px;
}

.mega-highlight-card {
    background: linear-gradient(135deg, rgba(6, 163, 218, 0.08), rgba(9, 30, 62, 0.04));
    border: 1px dashed rgba(6, 163, 218, 0.35);
}

.mega-footer {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 14px;
    margin-top: 10px;
    border: 1px solid rgba(6, 163, 218, 0.1);
}

/* Global Responsive Spacing Overrides for Mobile */
@media (max-width: 768px) {
    .p-5 {
        padding: 1.5rem !important;
    }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .px-5 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

/* Badge & Text Wrap Safeguards */
.badge {
    white-space: normal !important;
    text-align: left;
    line-height: 1.4;
    word-break: break-word;
}

/* Responsive Table Container */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Modal Search Mobile Adaptability */
@media (max-width: 576px) {
    #searchModal .input-group {
        padding: 0 15px;
    }
    #searchModal .form-control {
        font-size: 14px;
        padding: 10px 14px !important;
    }
}



