* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050505;
  color: white;
  overflow-x: hidden;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.25);
}

nav {
  max-width: 1250px;
  margin: auto;
  padding: 22px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 3px;
}

.logo span,
footer span {
  color: #ff1010;
}

.nav-links a {
  color: white;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff1010;
}

.nav-btn,
.btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  transition: 0.35s;
}

.nav-btn,
.primary {
  background: #ff1010;
  color: white;
  box-shadow: 0 0 30px rgba(255, 16, 16, 0.45);
}

.nav-btn:hover,
.primary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 50px rgba(255, 16, 16, 0.9);
}

.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.secondary:hover {
  border-color: #ff1010;
  color: #ff1010;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 7%;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.8) 38%, rgba(0,0,0,0.35) 100%),
    url("https://images.unsplash.com/photo-1583454110551-21f2fa2afe61?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center right;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 0, 0, 0.28), transparent 35%),
    linear-gradient(to top, #050505 0%, transparent 30%);
}

.hero-content {
  padding-top:80px;
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: slideUp 1s ease forwards;
}

.mini-title {
  color: #ff1010;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(55px, 9vw, 120px);
  line-height: 0.9;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero h1 span {
  color: #ff1010;
  text-shadow: 0 0 35px rgba(255, 16, 16, 0.85);
}

.hero-desc {
  max-width: 560px;
  margin: 28px 0;
  color: #d0d0d0;
  font-size: 19px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.floating-card {
  position: absolute;
  right: 7%;
  bottom: 12%;
  z-index: 2;
  width: 310px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(255, 16, 16, 0.45);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 45px rgba(255, 0, 0, 0.25);
  animation: float 3s ease-in-out infinite;
}

.floating-card h3 {
  color: #ff1010;
  margin-bottom: 10px;
}

.floating-card span {
  color: #aaa;
}

.features {
  padding: 90px 7%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  background: #050505;
}

.feature {
  padding: 38px;
  border-radius: 25px;
  background: linear-gradient(145deg, #111, #070707);
  border: 1px solid #222;
  transition: 0.35s;
}

.feature:hover {
  transform: translateY(-12px);
  border-color: #ff1010;
  box-shadow: 0 0 35px rgba(255, 16, 16, 0.25);
}

.feature h2 {
  font-size: 55px;
  color: transparent;
  -webkit-text-stroke: 1px #ff1010;
}

.feature h3 {
  font-size: 26px;
  margin: 15px 0;
}

.feature p {
  color: #aaa;
  line-height: 1.7;
}

.about {
  padding: 110px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-img {
  min-height: 540px;
  border-radius: 35px;
  background:
    linear-gradient(to top, rgba(0,0,0,0.7), transparent),
    url("https://images.unsplash.com/photo-1605296867304-46d5465a13f1?auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 60px rgba(255, 0, 0, 0.2);
}

.about-text h2,
.programs h2,
.plans h2 {
  font-size: clamp(42px, 6vw, 75px);
  line-height: 1;
  margin-bottom: 25px;
}

.about-text p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 18px;
}

.programs,
.plans {
  padding: 110px 7%;
  text-align: center;
}

.program-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.program {
  min-height: 420px;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: 0.4s;
}

.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.15));
  transition: 0.4s;
}

.program:hover {
  transform: scale(1.04);
}

.program:hover::before {
  background: linear-gradient(to top, rgba(120,0,0,0.9), rgba(0,0,0,0.1));
}

.program h3,
.program p {
  position: relative;
  z-index: 2;
}

.program h3 {
  font-size: 34px;
  color: #ff1010;
}

.program p {
  color: #ddd;
  margin-top: 8px;
}

.p1 {
  background-image: url("https://images.unsplash.com/photo-1534367507873-d2d7e24c797f?auto=format&fit=crop&w=900&q=80");
}

.p2 {
  background-image: url("https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?auto=format&fit=crop&w=900&q=80");
}

.p3 {
  background-image: url("https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=900&q=80");
}

.plan {
  max-width: 460px;
  margin: 45px auto 0;
  padding: 45px;
  border-radius: 35px;
  background:
    linear-gradient(145deg, rgba(255,16,16,0.16), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,16,16,0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 55px rgba(255, 0, 0, 0.22);
}

.plan h3 {
  font-size: 30px;
}

.plan h4 {
  font-size: 58px;
  color: #ff1010;
  margin: 20px 0;
}

.plan h4 span {
  font-size: 18px;
  color: #aaa;
}

.plan ul {
  list-style: none;
  margin-bottom: 30px;
}

.plan li {
  padding: 13px 0;
  color: #ddd;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

footer {
  padding: 45px 7%;
  text-align: center;
  background: #030303;
  border-top: 1px solid #191919;
}

footer h2 {
  font-size: 44px;
}

footer p {
  color: #777;
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    background-position: center;
    padding-top: 120px;
  }

  .floating-card {
    display: none;
  }

  .features,
  .about,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    min-height: 420px;
  }
}