@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #0d1117;
  --text-color: #c9d1d9;
  --accent-color: #58a6ff;
  --accent-hover: #79c0ff;
  --card-bg: rgba(22, 27, 34, 0.7);
  --border-color: #30363d;
  --font-family: 'Outfit', sans-serif;
  --glass-bg: rgba(13, 17, 23, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

.menu-toggle, .menu-icon {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(to bottom, rgba(13, 17, 23, 0.3), var(--bg-color)), url('assets/img/hero_bg.webp') center/cover no-repeat;
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  animation: slideUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
  animation: slideUp 1s ease-out 0.2s both;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 1s ease-out 0.4s both;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(88, 166, 255, 0.3);
}

/* Sections */
.section {
  padding: 6rem 5%;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-color);
}

.image-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* Alert Box */
.alert {
  background: rgba(220, 38, 38, 0.1);
  border-left: 4px solid #dc2626;
  padding: 1.5rem;
  margin: 2rem 5%;
  border-radius: 0 8px 8px 0;
}

.alert h4 {
  color: #fca5a5;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #090c10;
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer p {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #8b949e;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Content Pages */
.page-header {
  padding: 10rem 5% 4rem;
  background: linear-gradient(to bottom, rgba(13, 17, 23, 0.8), var(--bg-color)), url('assets/img/hero_bg.webp') center/cover no-repeat;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  color: #fff;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.content-box h2 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-box p {
  margin-bottom: 1.5rem;
}

.content-box ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-box li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  nav ul li {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav ul li a {
    display: block;
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  nav ul li a::after {
    display: none;
  }

  .menu-toggle:checked ~ nav {
    max-height: 400px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

