:root {
  --bg-color: white;
  --text-color: #111;
  --topbar-bg: #fff2dc;
  --highlight-color: #e74c3c;
  --icon-color: #111;
}

body.dark {
  --bg-color: #121212;
  --text-color: #eee;
  --topbar-bg: #1e1e1e;
  --highlight-color: #ff5e57;
  --icon-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Top Bar */
.top-bar {
  background-color: var(--topbar-bg);
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--text-color);
}

/* Navbar Base */
nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-color);
  border-bottom: 1px solid #eee;
  padding-bottom: 0%;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 0px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Logo */
.logo {
  color: var(--text-color);
  width: 100;
  height: 100;
  align-items: center;
  padding: 0%;
  margin-top: 0%;
  margin-bottom: 0%;
}

/* Menu */
.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Active Link */
.menu a.active {
  color: var(--highlight-color);
}

.menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--highlight-color);
}

/* Icons */
.icons {
  display: flex;
  gap: 20px;
  font-size: 18px;
  color: var(--icon-color);
  align-items: flex-end;
  padding-left: 25%;
}

.icons i,
.theme-toggle i {
  color: var(--icon-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
  margin-left: 15px;
  cursor: pointer;
}

.theme-toggle i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  transition: 0.3s ease-in-out;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
  display: block;
}

/* Animate to X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile */
@media screen and (max-width: 768px) {
  .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 0 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .menu.show {
    max-height: 500px;
    padding: 15px 30px;
  }

  .hamburger {
    display: flex;
  }

  .icons {
    gap: 15px;
  }
}




/* Responsive */
@media (max-width: 992px) {
  .swiper-slide {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .slide-content,
  .swiper-slide img {
    width: 100%;
  }

  .slide-content h2 {
    font-size: 2em;
  }

  .slide-content p {
    font-size: 1em;
  }
}
body.dark .swiper-slide {
  background-color: #1e1e1e;
}

body.dark .slide-content h2,
body.dark .slide-content p {
  color: #fff;
}
.responsive-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
