/* Extracted from appnext_service.html */
:root{
      --primary:#1E40AF;
      --accent:#0EA5E9;
      --dark:#0F172A;
      --muted:#475569;
      --transition: 800ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    body{
      font-family:'Inter', sans-serif;
      color:var(--dark);
      background:#ffffff;
      line-height:1.7;
      overflow-x:hidden;
    }
    a{ text-decoration:none!important; }

    section{ padding:110px 0; }

    /* NAVBAR */
    .navbar{
      padding:20px 0;
      background:rgba(255,255,255,.9);
      backdrop-filter:blur(14px);
      transition:.35s;
      border-bottom:1px solid rgba(0,0,0,.06);
    }
    .navbar.scrolled{
      padding:12px 0;
      box-shadow:0 10px 30px rgba(0,0,0,.08);
    }
    .nav-link{
      font-weight:600;
      color:#0f172a;
    }

    /* === ONLY ADDITION (Navbar Mega Menu UI) === */
    .mega-menu{
      width: 520px;
      border-radius: 18px;
      overflow: hidden;
    }
    .mega-inner{
      padding: 14px;
    }
    .mega-title{
      font-weight: 900;
      color: var(--dark);
      font-size: .9rem;
      letter-spacing: .02em;
      margin-bottom: 10px;
    }
    .mega-item{
      display:flex;
      gap:12px;
      align-items:flex-start;
      padding:12px 12px;
      border-radius:14px;
      transition:.2s ease;
      color: var(--dark);
    }
    .mega-item:hover{
      background: rgba(14,165,233,.08);
    }
    .mega-ico{
      width:42px;height:42px;
      border-radius:12px;
      display:flex;
      align-items:center;
      justify-content:center;
      color: var(--primary);
      background: linear-gradient(135deg,#E0F2FE,#DBEAFE);
      flex: 0 0 auto;
      font-size: 18px;
    }
    .mega-name{
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 2px;
    }
    .mega-desc{
      font-size: .86rem;
      color: rgba(71,85,105,.9);
      line-height: 1.25;
      margin: 0;
    }
    .animate-dropdown{
      animation: dropdownFade .22s ease-out;
    }
    @keyframes dropdownFade{
      from{ opacity:0; transform: translateY(10px); }
      to{ opacity:1; transform: translateY(0); }
    }

    /* ✅ Desktop: open towards LEFT + hover open */
    @media (min-width: 992px){
      .navbar .dropdown-menu.mega-menu{
        left: auto !important;
        right: 0 !important;
        margin-top: 6px;
      }
      .navbar .dropdown:hover > .dropdown-menu{
        display: block;
      }
    }

    /* ✅ Mobile: full width inside collapsed navbar */
    @media (max-width: 991px){
      .mega-menu{ width: 100%; }
      .navbar .dropdown-menu.mega-menu{
        position: static !important;
        float: none;
        left: 0 !important;
        right: 0 !important;
        margin-top: 10px;
        box-shadow: none !important;
      }
    }

    /* Contact highlight */
    .nav-contact{
      background: linear-gradient(135deg, rgba(30,64,175,.12), rgba(14,165,233,.15));
      border-radius: 999px;
      padding: 10px 18px !important;
      font-weight: 800 !important;
    }
    .nav-contact:hover{
      background: linear-gradient(135deg, rgba(30,64,175,.18), rgba(14,165,233,.22));
    }

    /* PAGE HERO */
    .page-hero{
      min-height:65vh;
      display:flex;
      align-items:center;
      text-align:center;
      color:#fff;
      padding:160px 0 120px;
      background:
        linear-gradient(135deg, rgba(15,23,42,.9), rgba(30,64,175,.85)),
        url('../images/service_hero_image.jpg') center/cover fixed;
    }

    /* SERVICE CARDS */
    #services{
      background:linear-gradient(135deg,#ffffff,#F0F9FF);
    }

    .service-card{
      background:#fff;
      border-radius:26px;
      padding:40px 34px;
      border:1px solid rgba(0,0,0,.06);
      transition:.35s;
      height:100%;
      box-shadow:0 12px 30px rgba(2,6,23,.06);
      position:relative;
      overflow:hidden;
    }
    .service-card:hover{
      transform:translateY(-10px);
      box-shadow:0 20px 45px rgba(2,6,23,.12);
    }

    .service-icon{
      width:64px;height:64px;
      background:linear-gradient(135deg,#E0F2FE,#DBEAFE);
      color:var(--primary);
      border-radius:16px;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:26px;
      margin-bottom:20px;
    }

    .service-link{
      font-weight:700;
      color:var(--primary);
      display:inline-flex;
      align-items:center;
      gap:6px;
      margin-top: 6px;
    }

    /* CTA */
    #cta{
      background:linear-gradient(135deg,#1E40AF,#0EA5E9);
      color:#fff;
    }

    /* FOOTER */
    footer{
      background:#0F172A;
      color:#94A3B8;
      padding:90px 0 40px;
    }
    footer h5{ color:#fff;font-weight:800; }
    footer a{ color:#94A3B8;display:block;margin-bottom:10px; }
