:root {
  --primary: #107c41;
  --primary-dark: #0a5a2f;
  --dark-blue: #0f172a;
  --accent: #f59e0b;
  --fb-blue: #1877f2;
  --site-bg: #f1f5f9;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}
body {
  background-color: var(--site-bg);
}
.site-wrapper {
  max-width: 1350px;
  margin: 20px auto;
  background: white;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid #cbd5e1;
  overflow: hidden;
  min-height: 80vh;
}
header {
  background: white;
  height: 75px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
}
.nav-tab-btn {
  background: #f1f5f9;
  border: 1px solid #ddd;
  padding: 10px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  color: black;
  transition: 0.3s;
}
.nav-tab-btn:hover {
  background: var(--dark-blue);
  color: white;
}

/* Modal Style */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content-dl {
  background: white;
  border-radius: 30px;
  width: 100%;
  max-width: 800px;
  display: flex;
  overflow: hidden;
  border: 6px solid var(--primary);
  position: relative;
  flex-wrap: wrap;
}
.close-modal-btn {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 40px;
  color: #94a3b8;
  cursor: pointer;
}
.styled-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}
.btn-download-main {
  background: var(--primary);
  color: white;
  border: none;
  padding: 18px;
  width: 100%;
  border-radius: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.3s;
}

.modal {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(15, 23, 42, 0.88);

  z-index: 99999;

  align-items: center;

  justify-content: center;

  padding: 20px;
}

.modal-content-dl {
  width: 100%;

  max-width: 850px;

  background: #fff;

  border-radius: 35px;

  overflow: hidden;

  border: 6px solid var(--primary);

  display: flex;

  flex-wrap: wrap;

  position: relative;
}

.close-modal-btn {
  position: absolute;

  top: 10px;

  left: 20px;

  font-size: 42px;

  color: #94a3b8;

  cursor: pointer;
}

.modal-left {
  width: 40%;

  background: #f8fafc;

  border-left: 1px solid #e5e7eb;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 25px;
}

.modal-right {
  width: 60%;

  padding: 45px 35px;

  text-align: center;
}

.modal-right h2 {
  color: var(--primary);

  font-size: 30px;

  font-weight: 900;

  margin-bottom: 25px;
}

.modal-thumb {
  width: 85%;

  border-radius: 22px;
}


.btn-main-action {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.3s;
}
.btn-main-action:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* =========================================
   ALERT
========================================= */

#siteAlert {
  position: fixed;

  top: -120px;

  left: 50%;

  transform: translateX(-50%);

  min-width: 280px;

  max-width: 90%;

  padding: 16px 25px;

  border-radius: 14px;

  background: #0f172a;

  color: #fff;

  font-size: 15px;

  font-weight: bold;

  text-align: center;

  z-index: 999999;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  transition: 0.4s ease;
}

/* =========================================
   COUNTER
========================================= */

.downloads-counter {
  margin-top: 20px;

  color: var(--accent);

  font-size: 18px;

  font-weight: 900;
}

/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 992px) {
  .main-program-container {
    flex-direction: column;

    align-items: center;

    gap: 40px;
  }

  .right-article-column,
  .left-action-column {
    width: 100%;
  }

  .right-article-column {
    min-height: auto;
  }

  .program-image,
  .btn-download-main {
    max-width: 100%;
  }

  .btn-download-main {
    white-space: normal;
  }

  header {
    padding: 20px;
  }
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 768px) {
  header {
    flex-direction: column;

    gap: 15px;

    height: auto;

    padding: 20px;
  }

  .main-program-container {
    padding: 15px;
  }

  .right-article-column {
    padding: 24px;
  }

  .program-title-box {
    padding: 20px;

    margin-bottom: 28px;
  }

  .program-title-box h1 {
    font-size: 30px;
  }

  .program-description {
    font-size: 18px;

    line-height: 2;
  }

  .btn-download-main {
    font-size: 18px;

    padding: 18px;

    white-space: normal;
  }

  .modal-left,
  .modal-right {
    width: 100%;
  }
}
