/* ---------------- SECTIONS ---------------- */
.content {
  margin: auto;
  width: 100%;
  max-width: 1200px;
  height: 100vh;
  display: flex;
  gap: 30px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.content pre {
  font-size: 50px;
  color: whitesmoke;
  font-weight: 1000;
  padding: 10px;
  transition: 0.5s ease;
}
.content p {
  color: white;
  max-width: 70%;
  text-align: left;
  font-weight: 500;
  font-size: 20px;
}
.content pre:hover {
  transform: scale(1.1);
  text-shadow: 2px 4px 8px rgba(8, 2, 131, 0.4);
}

.buttons {
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  height: 50px;
  display: flex;
  justify-content: center;
  padding: 5px;
}

#btn1,
#btn2 {
  width: 130px;
  height: 35px;
  border-radius: 15px;
  font-size: medium;
  cursor: pointer;
  transition: transform 0.3s ease;
}
#btn1 {
  background-color: whitesmoke;
  color: grey;
  margin-right: 15px;
}
#btn2 {
  background-color: grey;
  color: white;
}
#btn1:hover,
#btn2:hover {
  transform: scale(1.1);
}
.imag {
  display: flex;
  align-items: center;
  width: 80%;
  height: 30px;
}
/* ---------------- IMAGES / CONTENT ---------------- */

.video,
.help {
  margin: 20px 20px;
  width: 80% 40%;
  border-radius: 20px;
}
.im {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  height: 80%;
  width: 70%;
}
.video {
  height: 400px;
  width: 90%;

  margin-left: 70px;
}
.video img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.help {
  height: 200px;
  border: 2px solid aquamarine;
}

.content2 {
  font-family: "Times New Roman", Times, serif;
  font-size: larger;
  margin: 30px auto;
  width: 90%;
  max-width: 800px;
  height: auto;
  text-align: center;
}
.content2 p {
  font-size: 50px;
  color: whitesmoke;
  font-weight: 1000;
  padding: 10px;
}

/* ---------------- INFO BOXES ---------------- */
.info {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  background-color: black;
  /* border: 2px solid white; */
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
}
.info
.childinfo {
  flex: 1 1 250px;
  min-height: 200px;
  background-color: #1c1f2b;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s ease;
  padding: 20px;
}

/* ---------------- GRID SECTION ---------------- */
.container {
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  background-color: black;

  padding: 20px;
}
.grid-container {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box {
  background-color: #1c1f2b;
  color: whitesmoke;
  font-size: 18px;
  text-align: center;
  border-radius: 5px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.box:nth-child(even) {
  background: linear-gradient(135deg, #444, #777);
}
.box:nth-child(odd) {
  background: linear-gradient(135deg, #1c1f2b, #2e3344);
}

/* ---------------- FOOTER ---------------- */
.footer {
  margin-top: 80px;
  background: black;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.footer h2,
.footer h3 {
  margin-bottom: 15px;
  color: #f9f9f9;
}
.footer p {
  color: #aaa;
  line-height: 1.6;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin: 8px 0;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links ul li a:hover {
  color: #fff;
}
.social-icons a {
  display: inline-block;
  margin-right: 15px;
  color: #ccc;
  font-size: 20px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 30px;
  font-size: 14px;
  color: #777;
}

/* ---------------- RESPONSIVE GRID LAYOUT ---------------- */
/* Laptop/Desktop (≥1024px): enforce 4-row layout */
@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px; /* adjust row height */
  }

  .box:first-child {
    /* Box 1 */
    grid-column: span 3;
  }
  .box:nth-child(2) {
    /* Box 2 */
    grid-column: 4;
    grid-row: span 3;
  }
  .box:nth-child(3) {
    /* Box 3 */
    grid-column: span 2;
    grid-row: span 2;
  }
  .box:nth-child(4) {
    /* Box 4 */
    grid-column: 3;
  }
  .box:nth-child(5) {
    /* Box 5 */
    grid-column: 3;
  }
  .box:nth-child(6) {
    /* Box 6 */
    grid-column: 1 / -1; /* full width */
  }
}

/* Tablet: 2 equal columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .box {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 767px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .cont {
    display: flex;
    overflow: hidden;
  }
  .content p {
    color: white;
    max-width: 70%;
    text-align: left;
    font-weight: 400;
    font-size: 15px;
  }
  .box {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
