/*───────────── Navbar ───────────── */

/*───────────── BASIC ───────────── */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

/*───────────── BASIC END ───────────── */
nav.main-nav {
   background: #fff;
   box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
   position: sticky;
   /* sticks after top-bar scrolls away */
   top: 0;
   z-index: 1000;
 }

 .navbar-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 10px 20px;
 }

 .nav-logo {
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 1.7rem;
   font-weight: 700;
   color: #000000;
   line-height: 1;
 }

 .nav-logo-img {
   height: 42px;
   width: auto;
   object-fit: contain;
 }

 /* Hamburger toggle */
 .nav-toggle {
   font-size: 1.8rem;
   color:  rgb(0, 115, 255);
   cursor: pointer;
   display: none;
   /* shown by media‑query */
   z-index: 1100;
   /* above sliding panel */
 }

 /* Desktop menu */
 ul.nav-links {
   list-style: none;
   display: flex;
   align-items: center;
   gap: 22px;
 }

 ul.nav-links li a {
   text-decoration: none;
   color: #000;
   font-size: 17px;
   font-weight: 600;
   position: relative;
 }

 ul.nav-links li a::after {
   content: '';
   position: absolute;
   left: 0;
   bottom: -5px;
   width: 0;
   height: 2px;
   background: #008cff;
   transition: width .3s;
   border-radius: 1px;
 }

 ul.nav-links li a:hover,
 ul.nav-links li a.active {
   color: #008cff;
 }

 ul.nav-links li a:hover::after,
 ul.nav-links li a.active::after {
   width: 100%;
 }

 .btn {
   background: #008cff;
   color: #fff;
   border: none;
   padding: 10px 18px;
   font-weight: 700;
   border-radius: 5px;
   cursor: pointer;
   transition: background .3s;
 }

 .btn:hover {
   background: #008cff;
   color: black;
 }

 /* ───────── Mobile styles ────────── */
 @media (max-width: 768px) {
   .nav-toggle {
     display: block;
   }

   ul.nav-links {
     position: fixed;
     top: 0;
     right: -260px;
     /* start off‑screen */
     width: 260px;
     height: 100vh;
     background: #fff;
     flex-direction: column;
     gap: 32px;
     padding-top: 70px;
     align-items: center;
     transition: right .3s ease;
     box-shadow: -2px 0 6px rgba(0, 0, 0, .1);
     z-index: 1000;
     /* below toggle but above content */
   }

   ul.nav-links.active {
     right: 0;
   }

   /* Make links bigger for touch */
   ul.nav-links li a {
     font-size: 20px;
   }
 }

 /*───────────── NAVBAR END ───────────── */