:root{
        --nav-dark: rgba(18, 35, 78, 0.92);
        --nav-glow: rgba(89, 156, 255, 0.35);
        --hero-deep: #071a4a;
        --hero-mid: #153a86;
        --hero-soft: #4fc3ff;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        background: #ffffff;
    }

    #navbar {
        background: rgba(34, 58, 118, 0.28);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
        transition: all 0.35s ease;
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }

    #navbar::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg,
                rgba(10, 37, 92, 0.55) 0%,
                rgba(48, 98, 191, 0.38) 42%,
                rgba(138, 190, 255, 0.22) 100%);
        pointer-events: none;
        z-index: 0;
    }

    #navbar.scrolled {
        background: rgba(15, 31, 70, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 14px 36px rgba(5, 13, 35, 0.28);
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .nav-shell {
        position: relative;
        z-index: 1;
        border-radius: 0 0 36px 36px;
        overflow: hidden;
    }

    .nav-link {
        position: relative;
        color: rgba(255,255,255,0.96);
        transition: all 0.25s ease;
    }

    .nav-link:hover {
        color: #ffffff;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 0;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #77d8ff, #2da6ff);
        transition: width 0.25s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .dropdown-menu {
        transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translate(-50%, 12px);
    }

    #mobileMenu {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        background: rgba(12, 25, 59, 0.97);
    }

    .hero-main-overlay {
        background:
            linear-gradient(90deg,
                rgba(5, 20, 60, 0.92) 0%,
                rgba(13, 43, 105, 0.74) 34%,
                rgba(38, 80, 165, 0.34) 58%,
                rgba(255, 255, 255, 0.08) 100%);
    }

    .hero-light-overlay {
        background:
            radial-gradient(circle at 78% 22%, rgba(255, 241, 224, 0.36), transparent 24%),
            radial-gradient(circle at 95% 8%, rgba(131, 176, 255, 0.22), transparent 18%),
            radial-gradient(circle at 14% 40%, rgba(61, 188, 255, 0.12), transparent 22%);
    }

    .glass-pill {
        background: rgba(77, 107, 176, 0.32);
        border: 1px solid rgba(126, 167, 255, 0.30);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hero-secondary-btn {
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.16);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    }

    .hero-secondary-btn:hover {
        background: rgba(255,255,255,0.18);
    }

    .floating-search {
        background: rgba(255,255,255,0.92);
        box-shadow: 0 25px 70px -25px rgba(20,58,120,.22);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .section-blue-bg {
        position: relative;
        overflow: hidden;
        background:
            radial-gradient(circle at 0% 30%, rgba(94, 184, 255, 0.18), transparent 24%),
            radial-gradient(circle at 100% 90%, rgba(72, 190, 224, 0.15), transparent 22%),
            linear-gradient(180deg, #fbfdff 0%, #f7fbff 60%, #f8fcff 100%);
    }

    .section-blue-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(165deg, rgba(71,181,255,.06) 0%, rgba(255,255,255,0) 38%, rgba(77,127,255,.04) 100%);
        pointer-events: none;
    }

    .service-card {
        position: relative;
        overflow: hidden;
        border-radius: 26px;
        background: rgba(255,255,255,0.90);
        border: 1px solid rgba(205,225,245,.82);
        box-shadow: 0 22px 50px -26px rgba(19,71,145,.18);
        transition: all .35s ease;
        /*min-height: 100%;*/
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 26px 60px -24px rgba(19,71,145,.24);
    }

    .service-ribbon {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 72px;
        border-radius: 34px 34px 26px 26px;
        z-index: 0;
        box-shadow: inset 0 2px 0 rgba(255,255,255,.18);
    }

    .service-ribbon-blue {
        background: linear-gradient(135deg, #71ceff 0%, #2994f7 68%, #1b68dd 100%);
    }

    .service-ribbon-violet {
        background: linear-gradient(135deg, #cfbcff 0%, #917eff 68%, #6e5ce5 100%);
    }

    .service-ribbon-gold {
        background: linear-gradient(135deg, #ffdb7a 0%, #f5b22f 70%, #ef9f00 100%);
    }

    .service-ribbon-teal {
        background: linear-gradient(135deg, #85ece4 0%, #2ccbc2 70%, #14aca5 100%);
    }

    .service-popular {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 3;
        background: linear-gradient(180deg, #f8bf3d 0%, #f3a51f 100%);
        color: white;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .04em;
        padding: 10px 16px;
        border-bottom-left-radius: 16px;
        box-shadow: 0 12px 25px -12px rgba(245,166,35,.75);
    }

    .service-card-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        
    }

    .service-label-bottom {
        position: relative;
        z-index: 2;
        color: white;
        text-shadow: 0 2px 6px rgba(0,0,0,.16);
    }

    .service-icon-box {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
    }

    .service-blue-glow {
        background: linear-gradient(180deg, #e9f7ff 0%, #d9efff 100%);
    }

    .service-violet-glow {
        background: linear-gradient(180deg, #ece7ff 0%, #ddd5ff 100%);
    }

    .service-gold-glow {
        background: linear-gradient(180deg, #fff6db 0%, #ffeab0 100%);
    }

    .service-teal-glow {
        background: linear-gradient(180deg, #e4fbf8 0%, #c9f4ee 100%);
    }

    .blob-shape {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        animation: morph 8s ease-in-out infinite;
    }

    @keyframes morph {
        0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
        34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
        67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    }

    .pulse-ring {
        animation: pulseRing 2s infinite;
    }

    @keyframes pulseRing {
        0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
        100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    }

    .custom-scrollbar::-webkit-scrollbar { width: 8px; }
    .custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(148,163,184,.5); border-radius: 999px; }
    .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }

    .line-clamp-1 {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    @media (max-width: 1024px) {
        #navbar {
            padding-top: .9rem;
            padding-bottom: .9rem;
        }
    }

    @media (max-width: 640px) {
        .service-ribbon { height: 68px; }
    }