/* GLOBAL RESET & TYPOGRAPHY */
body {
  margin: 0;
  font-family: "Arial", Helvetica, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ICON BASE STYLING (FontAwesome-ready) */
i.fa {
  margin-right: 8px;
  color: #ffcc00;
}

/* HERO HEADER */

.hero-header {
  position: relative;
  height: 90vh;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.hero-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-header .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.primary-btn {
  background: #ffcc00;
  padding: 0.8rem 1.7rem;
  border-radius: 35px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.primary-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* SECTION */
.section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.section-title i {
  color: #ffcc00;
  font-size: 1.7rem;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  gap: 1.5rem;
  justify-content: center;
}

.card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
  max-width: 320px;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  margin: 0 1rem 1.5rem;
  color: #555;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #ffd633;
}


/* ============================= */
/* MOBILE OPTIMIZATION (RESPONSIVE) */
/* ============================= */


@media (max-width: 768px) {


/* Hero header height smaller on mobile */
.hero-header {
height: 60vh !important;
padding: 1rem;
}


.hero-header h1 {
font-size: 1.8rem;
}


.hero-header p {
font-size: 1rem;
}


.primary-btn {
padding: 0.6rem 1.2rem;
font-size: 0.9rem;
}


/* Section layout */
.section {
padding: 2rem 1rem;
}


.section-title {
font-size: 1.6rem;
flex-wrap: wrap;
text-align: center;
}


/* Cards grid */
.cards {
grid-template-columns: 1fr;
gap: 1rem;
}


.card {
max-width: 100%;
margin: auto;
}


.card img {
height: 160px;
}


/* Footer */
footer {
padding: 1.5rem 1rem;
}


.footer-links {
flex-direction: column;
gap: 10px;
}
}


@media (max-width: 480px) {
.hero-header {
height: 50vh !important;
}


.hero-header h1 {
font-size: 1.5rem;
}


.card img {
height: 140px;
}
}