/* 1. Variables */
:root {
  --primary-red: #e31e24;
  --royal-blue: #00adef;
  --sun-yellow: #fff200;
  --deep-blue: #0056b3;
  --white: #ffffff;
  --text-dark: #333333;
  --font-main: "Quicksand", sans-serif;
}

/* 2. Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 3. Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 100px;
  width: auto;
}

.btn-call {
  background: var(--primary-red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-call:hover {
  transform: scale(1.05);
}

/* 4. Hero */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("Banner for Fun.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 100px 5%;
  height: 50vh;
}

.hero h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.btn-primary {
  display: inline-block;
  background: var(--royal-blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-primary:hover {
  background: var(--deep-blue);
  transform: scale(1.03);
}

/* 5. Who we are */
.about {
  padding: clamp(48px, 8vw, 80px) 5%;
  background: linear-gradient(180deg, #e8f5fc 0%, #f0f7fb 45%, #fafcfd 100%);
}

.about-inner {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow:
    0 4px 6px rgba(0, 86, 179, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 173, 239, 0.12);
}

.about h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.about-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 20ch;
}

.about h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.about p {
  margin-bottom: 1.15rem;
  font-size: 1.0625rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #444;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.about-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(
    135deg,
    rgba(255, 242, 0, 0.35) 0%,
    rgba(0, 173, 239, 0.12) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(227, 30, 36, 0.15);
}

.about-cta a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 700;
}

.about-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-inner {
    border-radius: 20px;
  }
}

/* 6. Perfect For */
.features {
  padding: clamp(48px, 8vw, 80px) 5%;
  background: var(--white);
}

.features-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.features h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.features-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.features-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
}

.features h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(180deg, #fafcfd 0%, var(--white) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 173, 239, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:nth-child(1),
.feature-card:nth-child(3) {
  border-bottom: 4px solid var(--royal-blue);
}

.feature-card:nth-child(2),
.feature-card:nth-child(4) {
  border-bottom: 4px solid var(--primary-red);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 86, 179, 0.12);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  line-height: 1;
  background: rgba(0, 173, 239, 0.12);
  border-radius: 50%;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(227, 30, 36, 0.1);
}

.feature-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 7. Footer / contact */
footer#contact {
  background: var(--primary-red);
  color: var(--white);
  text-align: center;
  padding: 60px 5%;
}

footer#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

footer#contact a {
  color: var(--sun-yellow);
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: bold;
}

footer#contact a:hover {
  text-decoration: underline;
}

footer#contact p {
  margin: 10px 0;
}

/* 8. Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  header {
    flex-direction: column;
    gap: 10px;
  }
}
