/* ===============================
   IT & Computer Page Styles
================================ */

/* Page Banner */
.page-banner {
  background: linear-gradient(
    rgba(31, 119, 180, 0.95),
    rgba(31, 119, 180, 0.95)
  );
  color: var(--white);
  padding: clamp(60px, 6vw, 100px) 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.page-banner h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--red);
  margin: 15px auto 0;
  border-radius: 4px;
}

.page-banner p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 0.95;
}

/* ===============================
   Course Section
================================ */
.course-section {
  padding: clamp(60px, 7vw, 100px) 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(25px, 4vw, 45px);
}

/* ===============================
   Course Card
================================ */
.course-card {
  background: var(--light-blue);
  border-radius: 24px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-top: 6px solid var(--blue);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  transition: 0.35s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  border-top-color: var(--red);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.15);
}

/* Course Image */
.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card Content */
.course-card h3 {
  color: var(--blue);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 20px 20px 10px;
}

.course-card p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin: 0 20px 15px;
  color: var(--dark-text);
}

.course-card ul {
  list-style: none;
  margin: 0 20px 20px;
}

.course-card ul li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

/* Button */
.course-card .btn {
  margin: 0 20px 25px;
  align-self: flex-start;
}

.page-hero {
  background: url("../images/it/hero.jpg") center / cover no-repeat;
}

.contact {
  display: flex;
  margin-top: 50px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
}
/* ===============================
   Privacy Policy Page Styles
================================ */

.policy-section {
  padding: clamp(60px, 7vw, 100px) 0;
  background: #f8fbff;
}

.policy-content {
  max-width: 900px;
  margin: auto;
  background: var(--white);
  padding: clamp(30px, 5vw, 50px);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* Headings */
.policy-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--blue);
  margin-top: 35px;
  margin-bottom: 15px;
  position: relative;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--red);
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

/* Paragraphs */
.policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 18px;
}

/* Lists */
.policy-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.policy-content ul li {
  font-size: 0.95rem;
  padding-left: 26px;
  margin-bottom: 10px;
  position: relative;
  color: var(--dark-text);
}

.policy-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Mobile spacing */
@media (max-width: 600px) {
  .policy-content {
    padding: 25px;
  }
}
.page-hero {
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}
