/* ─── Premium Navigation & Topbar Stylesheets starts ─── */
:root {
  --primary-blue: #214081;
  --primary-green: #028f43;
  --dark-navy: #1e2c37;
  --light-gray: #f4f6f9;
  --accent-gold: #f5b800;
  --text-dark: #333333;
  --text-light: #ffffff;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* STICKY HEADER WRAPPER */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1005;
  width: 100%;
}

/* TOPBAR */
.topbar {
  background-color: var(--dark-navy);
  color: var(--text-light);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.topbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-logo-link {
  display: inline-block;
}

.topbar-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.topbar-contact:hover {
  color: var(--primary-green);
}

.topbar-contact span.material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-green);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.topbar-socials a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.topbar-socials a:hover {
  background-color: var(--primary-green);
  color: #ffffff;
  transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.navbar-brand {
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.navbar-logo-img {
  height: 60px;
  max-height: 70px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  object-position: left center;
  margin-right: 20px;
  display: block;
}

.navbar-brand .accent-text {
  color: var(--primary-green);
  font-weight: 800;
}

.navbar-right-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 15px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--dark-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
  background-color: rgba(0, 0, 0, 0.03);
}

.nav-link.active {
  border-bottom: 2px solid var(--primary-green);
  border-radius: 6px 6px 0 0;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--dark-navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: var(--primary-green);
  color: var(--text-light);
  padding-left: 25px;
}

.dropdown-icon {
  font-size: 14px !important;
  transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* NAVBAR ACTIONS & BUTTONS */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-navbar {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #f5b800 0%,
        #0aa84f 50%,
        #214081 100%
    );

    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;

    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 12px 26px;

    border: none;
    border-radius: 50px;

    box-shadow: 0 10px 25px rgba(33,64,129,.25);
    letter-spacing: .5px;
    white-space: nowrap;

    transition: all .3s ease;
}

.btn-navbar::before{
    content:'';
    position:absolute;
    top:0;
    left:-120%;
    width:50%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    animation:shine 3s infinite;
}
.btn-navbar:hover{
    color:#fff;
    transform:translateY(-4px) scale(1.03);
    box-shadow:0 15px 35px rgba(33,64,129,.35);
}
.mobile-cta-li {
  display: none;
}
@keyframes gradientMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

@keyframes shine{
    0%{left:-120%;}
    100%{left:200%;}
}
/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-navy);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1450px) {
  .navbar-logo-img {
    height: 45px;
    max-height: 50px;
    margin-right: 10px;
  }
  .navbar-right-wrap {
    gap: 12px;
  }
  .nav-link {
    font-size: 10.5px;
    padding: 6px 6px;
  }
  .nav-menu {
    gap: 6px;
  }
  .btn-navbar {
    padding: 6px 14px;
    font-size: 11.5px;
  }
}
@keyframes blinkBookSpace {
  0% {
    background: #028f43;
    box-shadow: 0 0 10px rgba(2,143,67,0.5);
  }

  50% {
    background: #f5b800;
    color: #000;
    box-shadow: 0 0 20px rgba(245,184,0,0.8);
  }

  100% {
    background: #028f43;
    box-shadow: 0 0 10px rgba(2,143,67,0.5);
  }
}

.btn-navbar {
  animation: blinkBookSpace 1s infinite;
}
@media (max-width: 1300px) {
  .topbar-container {
    flex-direction: column;
    text-align: center;
    padding: 12px 20px;
    gap: 15px;
  }
  
  .topbar-left {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .topbar-center, .topbar-right {
    justify-content: center;
    width: 100%;
  }

  .navbar-logo-img {
    margin-right: 0;
    height: 42px;
    max-width: 220px;
}
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: #ffffff;

    width: 85%;
    max-width: 320px;

    height: 100vh;
    padding: 100px 20px 40px;

    transition: var(--transition-smooth);

    box-shadow: 10px 0 30px rgba(0,0,0,.1);

    overflow-y: auto;
    overflow-x: hidden;

    align-items: flex-start;
    gap: 10px;
}
  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    justify-content: space-between;
  }

  .nav-link.active {
    border-bottom: none;
    border-left: 4px solid var(--primary-green);
    border-radius: 0 6px 6px 0;
    background-color: rgba(0, 0, 0, 0.03);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    box-shadow: none;
    width: 100%;
    padding: 0;
    margin-top: 5px;
    display: none;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
    margin-left: 15px;
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    font-size: 13px;
    padding: 10px 15px;
  }

  .btn-navbar {
    display: none; /* Hide in header action block */
  }

  .mobile-cta-li {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 0 15px;
  }

  .btn-navbar-mobile{
    display:block;
    text-align:center;
    width:100%;
    border-radius:50px;
    padding:14px;

    position:relative;
    overflow:hidden;

    background: linear-gradient(
        135deg,
        #f5b800 0%,
        #0aa84f 50%,
        #214081 100%
    );

    background-size:300% 300%;
    animation:gradientMove 4s ease infinite;

    color:#fff !important;
    text-decoration:none;
}

.btn-navbar-mobile::before{
    content:'';
    position:absolute;
    top:0;
    left:-120%;
    width:50%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    animation:shine 3s infinite;
}
}
@media (max-width:768px){

  .navbar-container{
      padding:8px 12px;
      min-height:60px;
  }

  .navbar-logo-img{
    height:42px;
    max-width:220px;
}

  .nav-menu{
      width:85%;
      padding-top:80px;
  }

  .nav-link{
      font-size:14px;
      padding:12px;
  }

  .dropdown-item{
      font-size:12px;
  }

  .hamburger .bar{
      width:22px;
  }
}
html,
body{
    overflow-x:hidden;
    max-width:100%;
}

*{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}
@media(max-width:768px){

  .container,
  .container-fluid,
  .row{
      max-width:100% !important;
      overflow-x:hidden !important;
  }

  section{
      overflow:hidden;
  }
}
/* ─── Premium Navigation & Topbar Stylesheets ends ─── */
