:root {
  --primary-color: #4CAF50;
  --secondary-color: #FFC107;
  --background-color: #121212;
  --text-color: #FFFFFF;
  --font-family: 'Montserrat', sans-serif;
  --header-bg: rgba(18, 18, 18, 0.8);
  --mobile-panel-bg: rgba(18, 18, 18, 0.9);
  --footer-bg: #1a1a1a;
}

@font-face {
    font-family: Montserrat;
    src: url(Montserrat-Regular.woff2);
}

* {
    font-family: var(--font-family);
    box-sizing: border-box;
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.logo img {
  height: 30px;
  width: 30px;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: var(--mobile-panel-bg);
  padding: 1rem;
}

.mobile-panel a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1rem;
  transition: color 0.3s ease;
}

.mobile-panel a:hover {
  color: var(--primary-color);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/altai-6943982_1920.webp') no-repeat center center/cover;
  animation: fadeIn 2s ease-in-out;
}

.hero-content {
  animation: slideInUp 1s ease-in-out;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background-color: #45a049;
}

section.container {
  min-height: 100vh; /* Make each section the height of the viewport */
  display: flex;
  align-items: center; /* Vertically center content */
  padding: 4rem 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.container.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%; /* Ensure content takes full width within padding */
  padding: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.container-img {
  max-width: 100%; /* Image scales within its column */
  height: auto;
  border-radius: 10px;
  padding: 2rem;
}

.container-text {
  flex: 1; /* Allow text to take remaining space */
}

.container-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.container-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.bg-green {
  background-color: #1a2e1a;
}

.footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--footer-bg);
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-panel.open {
    display: flex;
  }

  .container-content {
    flex-direction: column;
  }

  .container-img {
    max-width: 80%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}