


/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-container {
  max-width: 100%;
  margin: auto;
  padding: 0px;
  display: flex;
  position: relative;
}

/* LOGO */
.header-logo {
  display: flex;
  align-items: center;
  padding-right: 30px;
  border-right: 1px solid #e5e5e5;
  padding-left: 50px;
  display: flex;
    align-items: center;
    justify-content: center;
}
.header-bottom ul{margin-bottom: 0;}
.topbar-mb{display: flex; justify-content: space-between;  align-items: center;}


/* RIGHT SIDE */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* TOP HEADER */
.header-top {
  display: flex;
    justify-content: flex-end;
    gap: 22px;
    font-size: 12px;
    color: #666;
    padding-bottom: 16px;
    padding-top: 16px;
    border-bottom: 1px solid #e5e5e5;
    padding-right: 50px;
    max-height: 52px;
    align-items: center;
}

/* BOTTOM HEADER */
.header-bottom {
  display: flex;
    align-items: center;
    justify-content: end;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 50px;
    max-height: 52px;
}
.header-top span{font-size: 14px; font-weight: 400; line-height: 20px;}
/* NAV */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
}
.header-top span a{color: #101010; text-decoration: none;}

.main-nav ul li {
  padding: 19px 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #2f2f2f;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;

}
.dropdown li a{font-size: 14px!important}
/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 80%;
  left: 0;
  min-width: 310px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 99;
}
.header-bottom .dropdown{
  display: block;
}
.dropdown li {
  border-bottom: 1px solid #f0f0f0;
  padding:0px 10px;
}
.main-nav .dropdown{padding-left: 0px;}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown li a {
  padding: 10px 16px;
  font-size: 13px;
  display: block;
  color: #333;
}

.dropdown li a:hover {
  background: #f5f7fa;
  color: #2f63c6;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}


 .main-nav .has-dropdown{padding-right: 18px;}
.main-nav ul li a:hover{color: #4F78BF; text-shadow: 0 0 0.9px currentColor; /* fake bold */}


/* BUTTON */
.contact-btn {
  background: #bb181e;
    color: #fff;
    padding: 9px 28px;
    border-radius: 38px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 20px;
}




/* ===== MEGA MENU BASE ===== */
/*.has-mega {
  position: relative;
}*/

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100vw;
  background: #f3f3f3;
  display: none;
  z-index: 999;
}

.has-mega:hover .mega-menu {
  display: block;
}

/* ===== INNER LAYOUT ===== */
.mega-inner {
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 300px 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.main-nav .has-dropdown{position: relative;}

.has-mega{padding-right: 14px!important;}
.main-nav li > a {
  position: relative;
}

.has-mega > a:after,
.has-dropdown > a:after {
  position: absolute;
  content: '';
  background-image: url(../../images/dropdown.png);
  background-position: center;
  background-repeat: no-repeat;
  width: 12px;
  height: 60px;
  right: -22px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease; /* 👈 smooth animation */
}
.has-mega:hover > a:after,
.has-dropdown:hover > a:after {
  transform: translateY(-50%) rotate(180deg);
}
/* IMAGE */
.mega-image img {
  width: 100%;
  border-radius: 6px;
}

/* LINKS */
.mega-column a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.mega-column a:hover {
  color: #1a5cff;
}
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  transition: all 0.3s ease;
}

/* Applied after scroll */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease;
}

/* Smooth entry animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.tap-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background: #bb181e;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.tap-to-top.show {
  opacity: 1;
  visibility: visible;
}
.main-nav a:hover{color: #fff;}
/* CSS ARROW */
.tap-to-top .arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

/* Hover effect */


.tap-to-top:hover .arrow {
  border-color: #fff;
}








/*HEMBURER-CS*/
.topbar{display: none!important;}
.side-nav{display: none!important;}
    :root{ --nav-w:320px; --bg:#111827; --accent:#10b981; --glass: rgba(255,255,255,0.04);}    
    *{box-sizing:border-box}
   

    /* Top bar */
    .topbar{display:flex;align-items:center;gap:16px;padding:12px 0px;background:rgba(255,255,255,0.02);backdrop-filter:blur(4px); height: 60px;}
    .brand{font-weight:700;letter-spacing:.4px}

    /* Hamburger button */
    .hamburger{width:48px;height:40px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center;padding:0;border-radius:10px;
      right: 0;border:1px solid #ddd; }
    .hamburger:focus{outline:3px solid rgba(16,185,129,0.18)}
    .hamburger .box{position:relative;width:26px;height:16px}
    .hamburger .bar{position:absolute;left:0;right:0;height:2px;
     background-color: #bb181e;}
    .hamburger .bar:nth-child(1){top:0}
    .hamburger .bar:nth-child(2){top:7px}
    .hamburger .bar:nth-child(3){top:14px}
    .hamburger[aria-expanded="true"] .bar:nth-child(1){transform: translateY(7px) rotate(45deg)}
    .hamburger[aria-expanded="true"] .bar:nth-child(2){opacity:0}
    .hamburger[aria-expanded="true"] .bar:nth-child(3){transform: translateY(-7px) rotate(-45deg)}

    /* Side nav */
    .side-nav{position:fixed;inset:0 auto 0 0;width:var(--nav-w);transform:translateX(-110%);height:100%;background:#000; box-shadow: 8px 0 30px rgba(2,6,23,0.6);backdrop-filter: blur(6px);transition:transform .36s cubic-bezier(.2,.9,.2,1);z-index:60;padding:20px;display:flex;flex-direction:column;gap:14px}
    .side-nav.open{transform:none; z-index: 999;}
    .side-nav .close-btn{align-self:flex-end;border:0;background:transparent;color:#bb181e;font-weight:700;cursor:pointer}
    .side-nav nav{display:flex;flex-direction:column;gap:8px;margin-top:6px}
    .side-nav a{display:inline-block;padding:10px 12px;border-radius:8px;text-decoration:none;color:#fff;font-weight:500}
    .side-nav a:focus{outline:3px solid rgba(16,185,129,0.12)}

    /* Overlay */
    .overlay{position:fixed;inset:0;background:rgba(2,6,23,0.6);opacity:0;pointer-events:none;transition:opacity .28s;z-index:50}
    .overlay.visible{opacity:1;pointer-events:auto}

    /* Page content */
  
    .card{background:var(--glass);padding:20px;border-radius:10px;max-width:900px}



@media screen and (min-width:767px) and (max-width:992px){
  .topbar{display: block!important;}
.side-nav{display: block!important;}
.site-header{display: none;}
.hamburger{top: 8px;}
/*.side-nav{height: 500px!important;}*/
.topbar img{width: 180px;}
.topbar{height: 80px;}
.topbar{position: relative; width: 100%; }
.side-nav{width: 100%; height: 100%;}
.side-nav .close-btn{position: absolute;
    right: 20px;
    top: 18px;
    font-size: 30px;
    color: #fff;}
}


@media screen and (min-width:575px) and (max-width:767px){
  .topbar{display: block!important;}
.side-nav{display: block!important;}

.site-header{display: none;}
.hamburger{top: 8px;}
/*.side-nav{height: 500px!important;}*/
.topbar img{width: 180px;}
.topbar{position: relative; width: 100%; }
.side-nav{width: 100%; height: 100%;}
.side-nav .close-btn{position: absolute;
    right: 20px;
    top: 18px;
    font-size: 30px;
    color: #fff;}
/*.topbar{height: 80px;}*/
}

@media screen and (min-width:320px) and (max-width:575px){
.topbar{display: block!important;}
.side-nav{display: block!important;}
.site-header{display: none;}
.hamburger{top: 8px;}
.topbar{position: relative; width: 100%; }
.side-nav{width: 100%; height: 100%;}
.side-nav .close-btn{position: absolute;
    right: 20px;
    top: 18px;
    font-size: 30px;
    color: #fff;}
/*.side-nav{height: 500px;}*/
.latest-news-slider-second{margin-top: 30px;margin-bottom: 60px!important}
}
    @media(min-width:900px){
      .topbar{padding:16px 28px}
      .hamburger{width:56px;height:44px}


    }

/*HEMBURGER-CSS*/

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .mega-inner {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    position: static;
    width: 100%;
  }
  .submenu.sidenav-panel a{font-weight: 300;background: transparent;}
  .side-nav a:focus {
    outline:none!important;
}
.mega-menu{max-height: 100%!important}
.side-nav .mega-column a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    text-decoration: none;
    padding: 0px 0px 0 10px !important;
    font-size: 14px !important;
    font-weight: 300;
}
#sidenavInner .submenu a{    padding: 6px 0px 6px 30px!important;}
.side-nav .arrow

 {
    width: 20px!important;
    height: 20px!important;
   filter: invert(1);
    position: absolute;
    right: 0;
}
.side-nav .arrow img{width: 100%}
}
