html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

.card-hover {
    transition: all 0.3s ease-in-out;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

.bg-navy.py-4.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-icon-wrap {
    transition: all 0.3s ease;
}

.service:hover .service-icon-wrap {
    transform: scale(1.1);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #1A2238;
    border-radius: 4px;
}

.bg-navy.py-4.sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bg-navy.py-4.sticky.is-sticky {
    position: fixed;
}

body.has-sticky-nav {
    padding-top: var(--nav-height);
}

.bg-navy.py-4.sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.bg-navy.py-4.sticky:not(.is-sticky) {
    box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
    background: #38BDF8;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

a:focus, button:focus {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}

.img-hover {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.img-hover:hover img {
    transform: scale(1.05);
}

.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(90deg, #FFCE31, #38BDF8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.animated-underline {
    position: relative;
}

.animated-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #FFCE31;
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}