/* ============================= */
/* BASE */
/* ============================= */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* ============================= */
/* MAIN CONTAINER */
/* ============================= */
.container-h {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

/* ============================= */
/* TOP SECTION */
/* ============================= */
.top-section-h {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.image-box-h {
  flex: 1;
}

.image-box-h img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.text-box-h {
  flex: 1;
}

.text-box-h p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

/* ============================= */
/* BOTTOM TEXT */
/* ============================= */
.bottom-text-h p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* ============================= */
/* SECOND SECTION */
/* ============================= */
.wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

/* Highlight Box */
.highlight-box {
  background: #efe2c6;
  border: 2px dashed #f4a000;
  border-radius: 12px;
  padding: 30px 35px;
  text-align: center;
  margin-bottom: 40px;
}

.highlight-box p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1b2a4e;
  line-height: 1.6;
}

/* ============================= */
/* CARD SECTION */
/* ============================= */
.card-container {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 300px;
  background: #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #bbb;
  transition: all 0.3s ease;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Caption */
.card-text {
  padding: 15px;
  text-align: center;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ============================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================= */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {

  .container-h {
    padding: 25px;
  }

  .wrapper {
    padding: 15px;
  }

  .top-section-h {
    gap: 20px;
  }

  .highlight-box p {
    font-size: 18px;
  }
}


/* Tablets & Small Laptops (≤900px) */
@media (max-width: 900px) {

  /* Stack layout */
  .top-section-h {
    flex-direction: column;
  }

  .card-container {
    flex-direction: column;
  }

  .card {
    min-width: 100%;
  }
}


/* Tablets (≤768px) */
@media (max-width: 768px) {

  .container-h {
    margin: 20px auto;
    padding: 20px;
  }

  .text-box-h p,
  .bottom-text-h p {
    font-size: 15px;
  }

  .highlight-box {
    padding: 25px 20px;
  }

  .highlight-box p {
    font-size: 17px;
  }

  .card img {
    height: 220px;
  }
}


/* Mobile (≤480px) */
@media (max-width: 480px) {

  html {
    font-size: 14px;
  }

  .container-h {
    padding: 15px;
  }

  .wrapper {
    margin: 40px auto;
  }

  .highlight-box {
    padding: 20px 15px;
  }

  .highlight-box p {
    font-size: 16px;
  }

  .card-text {
    font-size: 14px;
  }

  .card img {
    height: 200px;
  }
}


/* Extra Small Devices (≤360px) */
@media (max-width: 360px) {

  .highlight-box p {
    font-size: 14px;
  }

  .text-box-h p,
  .bottom-text-h p {
    font-size: 14px;
  }
}
