html {
  scroll-behavior: smooth;
}

:root {
  --primary: #0ea5e9;
  --secondary: #1e3a8a;
  --background: #0f172a;
  --foreground: #ffffff;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: var(--text);
  line-height: 1.75;
  scroll-behavior: smooth;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  width: 100%;
  background-color: transparent;
  padding: 1rem 0;
  position: fixed;
  z-index: 999;
}

header.scrolled {
  background-color: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
}


section {
  background: var(--background);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--gradient);
  cursor: pointer;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

a {
  text-decoration: none;
}

nav a {
  margin: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

section {
  padding: 5rem 0;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2)), url('./images/hero.jpg') center/cover no-repeat;
}

.hero .content {
  width: fit-content;
  margin-left: auto;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3.5rem;
  background: linear-gradient(45deg, #FFD700, #FFC300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 4rem;
  animation: fadeInDown 1.2s;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: none;
  margin-top: 1rem;
  outline: none;
  display: block;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--gradient);
  display: block;
  margin: 10px auto 0;
  border-radius: 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #1e293b;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card-video {
  width: 100%;
  height: 450px;
  background: #1e293b;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 40px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.card img {
  width: 100%;
  height: 400px;
  object-fit: fill;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
}

#contact p {
  color: var(--accent);
}

#contact p a {
  color: var(--text-muted);
  text-decoration: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

form input,
form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #334155;
  font-size: 1rem;
  background: #0f172a;
  color: var(--foreground);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3);
}

footer {
  background: var(--background);
  text-align: center;
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 1rem;
  border-top: 1px solid #334155;
}

footer nav {
  display: block;
  margin-bottom: 1rem;
}

footer nav a {
  color: var(--text-muted);
  margin: 0 0.6rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer nav a:hover {
  color: var(--accent);
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  margin: 0 0.5rem;
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
  transform: scale(1.2);
}

#testimonials .card img {
  max-height: 320px;
  object-fit: cover;
}

#testimonials .caption {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  nav.show {
    display: flex !important;
  }

  #menu-toggle {
    display: block;
  }

  .card-video {
    height: 350px;
  }
}

@media(max-width:600px) {
  .card-video {
    height: 300px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav.animate {
  animation: slideDown 0.4s ease-in-out;
}

#menu-toggle i {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

#menu-toggle .close-icon,
.open-icon {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-4 {
  margin-top: 1rem;
}