* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: white;
  background-color: #800000;
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 6rem;
  letter-spacing: 3px;
  color: #ffa31a;
}

.hero p {
  font-size: 1.7rem;
  margin-top: 15px;
  opacity: 0.9;
  max-width: 900px;
}

.buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.buttons button {
  font-size: 1.5rem;
  background-color: #6a0000;
  color: #ffa31a;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.buttons button:hover {
  background-color: #c77803;
  color: #6a0000;
}

.about-section {
  padding: 80px 8%;
  background-color: #fefefe;
  color: #3a0000;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #800000;
}

.terms-list li:last-child {
  border-bottom: none;
}

/* --- CARD GRID --- */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
}

/* --- CARD STYLE --- */
.about-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px 40px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
  border-left: 5px solid #ffb300;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* --- CARD HOVER --- */
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 15px 30px rgba(0,0,0,0.08);
  background-color: #800000;
  color: white; /* all text inside the card becomes white */
}

/* Change card text color on hover */
.about-card:hover .info-line,
.about-card:hover .terms-list li {
  color: white !important;
}

/* Change title color on hover */
.about-card:hover h3 {
  color: #ffb300;
}


/* --- CARD HEADER --- */
.about-card h3 {
  font-size: 1.6rem;
  color: #800000;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
}

.about-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffb300;
  transition: width 0.3s ease;
}

.about-card:hover h3::after {
  width: 40px;
}

/* --- CARD TEXT --- */
.about-card .info-line {
  font-size: 1rem;
  line-height: 1.6;
  color: #333 !important;
  margin-bottom: 10px;
}

.terms-list,
.terms-list li {
  font-size: 1rem;
  color: #333 !important;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 0 25px;
  position: relative;
  transition: color 0.3s ease;
}



.terms-list li:hover::before {
  transform: scale(1.3);
}

.terms-list li:hover {
  color: #800000;
}

/* --- Subtle line between info items ---*/
.about-card .info-line:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 6px;
  margin-bottom: 10px;
} 

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .about-card {
    max-width: 100%;
    min-height: auto;
  }
}

footer {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
