:root {
  --color-light: #f3f3ee;
  --color-dark: #282120;
  --color-accent: #a39887;
  --color-hover: #c8c0b6;
  --color-hero-text: #2c2c28;
  --font-main: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-light);
  color: var(--color-dark);
}

/* NAVBAR */
.navbar {
  background-color: #fdf9f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 75px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;

  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  padding: 1rem 2rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--color-dark);
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

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

  .hamburger {
    display: flex;
  }
}

/* Page layout */
main {
  background: var(--color-light);
}

section {
  padding: 4rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2rem;
  color: #444;
}

/* HERO */
.course-hero {
  background: #fdf9f5;
  padding: 6rem 2rem;
}

.course-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.course-hero h1 {
  font-family: "Bebas Neue", cursive;
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.primary-btn:hover {
  background: var(--color-hover);
  transform: scale(1.05);
}

.secondary-btn {
  color: var(--color-hero-text);
  border: 2px solid var(--color-hero-text);
  background: transparent;
}

.secondary-btn:hover {
  background-color: var(--color-hover);
  transform: scale(1.05);
}

/* VALUE GRID */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.course-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.course-icon .material-symbols-outlined {
  font-size: 3.25rem !important;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.course-card p {
  margin: 0;
  font-size: 1rem;
  color: #555;
  max-width: none;
}

/* CTA */
.course-cta {
  background: #fdf9f5;
}

/* FOOTER */
.site-footer {
  background: #fdf9f5;
  color: var(--color-dark);
  padding: 4rem 2rem 2rem;
  font-family: var(--font-main);
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.footer-newsletter {
  text-align: left;
  width: 100%;
}

.footer-newsletter h4,
.footer-social h4 {
  font-family: "Bebas Neue", cursive;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
  color: #555;
}

.footer-cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-cta-btn:hover {
  background: var(--color-hover);
  transform: scale(1.05);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icons {
  display: flex;
  align-items: center;
  text-align: center;
}

.social-icons img {
  width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .footer-newsletter {
    text-align: center;
  }

  .course-hero {
    padding: 5rem 1.5rem;
  }

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