:root {
  --primary: #0f172a; /* Deep navy */
  --accent: #3b82f6; /* Electric blue */
  --accent-glow: #60a5fa;
  --light: #f8fafc;
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: var(--light);
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 1px;
}

/* LOGO CONTAINER */
.logo {
  display: flex;
  align-items: center;
  height: 80px; /* controls header height */
}

/* LOGO IMAGE */
.logo img {
  max-height: 200%;
  width: auto;
  object-fit: contain;
  display: block;
}

.hamburger {
  font-size: 26px;
  cursor: pointer;
}

/* SIDEBAR */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background: #0f172a;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 80px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar a {
  display: block;
  padding: 18px 40px;
  text-decoration: none;
  color: var(--light);
  font-size: 18px;
  transition: 0.3s;
}

.sidebar a:hover {
  color: var(--accent);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding: 80px 10%;
}

/* HERO */
.hero {
  text-align: center;
  margin-bottom: 100px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  opacity: 0.8;
  max-width: 700px;
  margin: auto;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* SECTION */
.section {
  margin-bottom: 100px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--glass);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(12px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--accent);
}

/* FOOTER */
footer {
  background: #0b1120;
  padding: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}
