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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #ffffff;
  --accent-color: #0066cc;
  --accent-hover: #0052a3;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --text-dark: #333333;
  --text-light: #666666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  line-height: 1.6;
}

/* HEADER & NAVIGATION */
header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

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

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

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--accent-color);
}

.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* MOBILE MENU TOGGLE */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* MAIN CONTENT */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 20px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
  color: var(--secondary-color);
  padding: 120px 20px;
  text-align: center;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeInDown 0.8s ease;
}

.hero p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  cursor: pointer;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
}

/* CONTENT SECTIONS */
section h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

section h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

section p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.section-subtitle {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.content-card {
  padding: 40px;
  background-color: var(--light-gray);
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
  margin-bottom: 15px;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px;
}

.home footer {
  margin-top: 0;
}

.home .hero {
  background: var(--primary-color);
}

footer p {
  color: #aaaaaa;
  font-size: 14px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* TABLET (768px and up) */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a.active {
    background-color: rgba(0, 102, 204, 0.1);
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  section h2 {
    font-size: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  section {
    padding: 60px 0;
  }

  .profile-photo {
    width: 160px !important;
    height: 160px !important;
  }

  .hero {
    padding: 80px 20px;
    min-height: auto;
  }
}

/* MOBILE (480px and below) */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  section h2 {
    font-size: 26px;
  }

  section h3 {
    font-size: 20px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 13px;
  }

  .content-card {
    padding: 30px;
  }

  .profile-photo {
    width: 140px !important;
    height: 140px !important;
  }

  nav {
    height: 60px;
  }

  .hero {
    padding: 60px 20px;
  }

  section {
    padding: 40px 0;
  }
}
