/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.my_container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* HEADER BASE */
.header-section {
  width: 100%;
  background: #ffffff00;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  /* border-bottom: 1px solid #eee; */
  position: relative;
  animation: fadeIn 0.6s ease;
}

/* STICKY HEADER */
.header-section.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: stickySlideDown 0.4s ease;
}

.header-section.sticky .header-main {
  padding: 12px 0;
}

.header-section.sticky .header-logo img {
  width: 300px;
}

body.header-sticky-active {
  padding-top: 80px;
}

@keyframes stickySlideDown {
  from { 
    top: -100px;
    opacity: 0;
  }
  to { 
    top: 0;
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER LAYOUT */
.mega-menu-wrapper {
  width: 100%;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  transition: padding 0.3s ease;
}

.header-left,
.logo {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-hamburger-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO */
.header-logo {
  display: inline-block;
  line-height: 0;
}

.header-logo img {
  width: 300px;
  height: auto;
  transition: all 0.3s ease;
  vertical-align: middle;
}

.header-logo:hover img {
  transform: scale(1.05);
}

/* NAVIGATION */
.main-menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 35px;
  align-items: center;
}

.main-menu ul li {
  list-style: none;
  position: relative;
}

.main-menu ul li a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 0;
  display: inline-block;
  position: relative;
}

.main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0072ff, #00a8ff);
  transition: width 0.3s ease;
}

.main-menu ul li:hover > a::after,
.main-menu ul li.active > a::after {
  width: 100%;
}

.main-menu ul li:hover > a,
.main-menu ul li.active > a {
  color: #0072ff;
  transform: translateY(-2px);
}

/* BUTTONS */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #0072ff, #00a8ff);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00a8ff, #0072ff);
  transition: left 0.3s ease;
  z-index: -1;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 114, 255, 0.4);
}

.theme-btn:hover::before {
  left: 0;
}

.theme-btn i {
  transition: transform 0.3s ease;
}

.theme-btn:hover i {
  transform: rotate(45deg);
}

.style-white {
  background: #fff;
  color: #111;
  border: 1px solid #eee;
}

.style-white:hover {
  background: linear-gradient(135deg, #0072ff, #00a8ff);
  color: #fff;
  border-color: #0072ff;
}

/* MOBILE MENU */
.header__hamburger {
  display: none;
}

.sidebar__toggle {
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__toggle:hover {
  transform: scale(1.1);
}

.sidebar__toggle i {
  font-size: 24px;
  color: #111;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-container {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-logo img {
  width: 190px;
  height: auto;
}

.mobile-menu-close {
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #f0f0f0;
}

.mobile-menu-close i {
  font-size: 24px;
  color: #111;
}

.mobile-navigation {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.mobile-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-navigation ul li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-navigation ul li a {
  display: block;
  padding: 18px 25px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-navigation ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: linear-gradient(180deg, #0072ff, #00a8ff);
  transition: width 0.3s ease;
}

.mobile-navigation ul li:hover a,
.mobile-navigation ul li.active a {
  color: #0072ff;
  padding-left: 35px;
  background: linear-gradient(90deg, rgba(0, 114, 255, 0.05), transparent);
}

.mobile-navigation ul li:hover a::before,
.mobile-navigation ul li.active a::before {
  width: 4px;
}

.mobile-menu-footer {
  padding: 20px 25px;
  border-top: 1px solid #eee;
}

.mobile-apply-btn {
  width: 100%;
  justify-content: center;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Mobile menu animation for items */
.mobile-menu-overlay.active .mobile-navigation ul li {
  animation: slideInRight 0.3s ease forwards;
  opacity: 0;
}

.mobile-menu-overlay.active .mobile-navigation ul li:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-navigation ul li:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-navigation ul li:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-navigation ul li:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-navigation ul li:nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* UTILITY CLASSES */
.d-flex { display: flex; }
.d-center { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.align-items-center { align-items: center; }
.justify-content-end { justify-content: flex-end; }
.w-100 { width: 100%; }
.w-36 { width: 36px; }
.h-36 { height: 36px; }
.text-nowrap { white-space: nowrap; }
.d-block { display: block; }
.d-none { display: none; }
.d-xl-block { display: block; }
.d-xl-none { display: none; }
.d-xl-flex { display: flex; }
.my-auto { margin: auto 0; }
.pe-20 { padding-right: 20px; }
.rounded-circle { border-radius: 50%; }
.fz-14 { font-size: 14px; }

/* COLOR UTILITIES */
.theme-clr4 { color: #111; }
.theme4-border { border: 1px solid #0072ff; }
.bg-white { background: #fff; }

/* ACCESSIBILITY */
.header-section a:focus,
.header-section button:focus {
  outline: 2px solid #0072ff;
  outline-offset: 2px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1400px) {
  .main-menu ul {
    gap: 25px;
  }
}

@media (max-width: 1200px) {
  .mean__menu-wrapper {
    display: none !important;
  }
  
  .header__hamburger {
    display: flex !important;
  }
  
  .header-hamburger-inner {
    display: none !important;
  }
  
  .d-xl-none {
    display: flex !important;
  }
  
  .d-xl-block {
    display: none !important;
  }
  
  .header-main {
    padding: 15px 0;
  }
  
  .header-right {
    gap: 15px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .header-logo img {
    width: 130px;
  }
  
  .header-section.sticky .header-logo img {
    width: 110px;
  }
  
  .mobile-menu-container {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .header-main {
    padding: 12px 0;
  }
  
  .header-logo img {
    width: 120px;
  }
  
  .header-section.sticky .header-main {
    padding: 10px 0;
  }
  
  .header-section.sticky .header-logo img {
    width: 100px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .mobile-menu-container {
    width: 280px;
  }
  
  .mobile-menu-header {
    padding: 15px 20px;
  }
  
  .mobile-navigation ul li a {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .mobile-menu-footer {
    padding: 15px 20px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 12px;
  }
  
  .header-logo img {
    width: 360px;
  }
  
  .header-section.sticky .header-logo img {
    width: 300px;
  }
  
  .header-main {
    padding: 10px 0;
  }
  
  .mobile-menu-container {
    width: 100%;
    max-width: 100%;
  }
  
  .sidebar__toggle i {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .header-logo img {
    width: 250px;
  }
  
  .mobile-menu-logo img {
    width: 100px;
  }
  
  .mobile-navigation ul li a {
    padding: 14px 15px;
    font-size: 14px;
  }
}
