@font-face {
  font-family: "Cairo";
  src: url("../../../../assets/fonts/cairo/Cairo-Regular.ttf")
      format("truetype"),
    url("../../../../assets/fonts/cairo/Cairo-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cairo";
  src: url("../../../../assets/fonts/cairo/Cairo-Bold.ttf") format("truetype"),
    url("../../../../assets/fonts/cairo/Cairo-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Cairo", "Roboto", sans-serif;
  background-color: #eef1f5;
  color: #333;
  line-height: 1.8;
}

.grdHeader {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(to top left, #e3f2fd, #ffffff);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  gap: 8px;
  padding: 10px;
  margin: 5px;
}

.grdHeader > .header {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  color: #263238;
  letter-spacing: 0.8px;
  text-align: center;
  user-select: none;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease,
    background-color 0.3s ease, color 0.3s ease;
  font-weight: 400;
  background: linear-gradient(to top left, #e3f2fd, #ffffff);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 12px;
}

.grdHeader > .header:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  filter: brightness(1.2);
  background-color: rgba(255, 255, 255, 0.3);
  color: #000000;
  transform: scale(1.06);
}

.grdHeader > .header:active {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  filter: brightness(0.9);
  transform: scale(0.98);
}

.grdHeader > .header img {
  width: 90px;
  transition: transform 0.25s ease, filter 0.3s ease;
}

.grdHeader > .header img:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.grdHeader > .header h4 {
  color: #263238;
  margin: 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.grdHeader > .header:hover h4 {
  color: #000;
}

.title {
  background: linear-gradient(135deg, #007ea7, #005b82);
  text-align: center;
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
  margin: 5px;
}

.title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15),
    rgba(0, 0, 0, 0.25)
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.title h1 {
  font-size: 2.1em;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, text-shadow 0.35s ease, color 0.35s ease;
}

.title h1:hover {
  transform: scale(1.08);
  text-shadow: 5px 5px 14px rgba(0, 0, 0, 0.6);
  color: #ffeb3b;
}

.title h2 {
  font-size: 1.6em;
  font-weight: 600;
  margin: 18px auto 0;
  letter-spacing: 1.2px;
  text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
  max-width: 80%;
  text-align: center;
}

.title h2:hover {
  transform: scale(1.07);
  color: #ff8a80;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.navBar {
  background: linear-gradient(135deg, #00a8e8, #007ea7);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin: 5px;
}

.navBar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

.navBar a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.navBar a:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  padding: 20px;
}

.rightBar,
.leftBar,
.content {
  background: linear-gradient(to top left, #e3f2fd, #ffffff);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.rightBar:hover,
.leftBar:hover,
.content:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.rightBar h2,
.leftBar h2,
.content h2 {
  font-size: 1.25em;
  color: #0056b3;
  background-color: #e8f0fe;
  padding: 10px;
  border-radius: 8px;
}

.rightBar h4,
.leftBar h4 {
  color: #0056b3;
  margin-right: 10px;
}

.content p {
  text-align: justify;
  text-indent: 25px;

  font-size: 1.1em;
  margin: 10px 0;
  color: #333333;
  letter-spacing: 0.1px;
  padding: 0px 5px;
  line-height: 2.2;
}

.content .chapter p {
  display: inline;
  text-align: justify;
  word-spacing: 1px;
  font-size: 1em;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.content .chapter h4 {
  display: inline;
  line-height: 2.1;
  text-align: justify;
  font-size: 1em;
  letter-spacing: 0.5px;
  margin: 16px 0;
}
.sendConf {
  margin-top: auto;
}
ul ul {
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 15px 25px;
  padding-left: 10px;
  background: linear-gradient(135deg, #f0faff, #e0f0ff);
  box-shadow: 0 4px 12px rgba(0, 126, 167, 0.1);
  position: relative;
  overflow: hidden;
}

.rightBar li,
.leftBar li {
  text-align: justify;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.rightBar li {
  line-height: 2.3;
}

.content ul li {
  line-height: 1.8;
  text-align: justify;
  word-spacing: 1px;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.content .chapter ul ul li {
  margin: 5px;
  font-size: 1em;
}

h2 {
  background-color: #023e8a;
  color: #ffffff;
  padding: 5px;
  border-radius: 5px;
  margin-top: 0;
}

h3 {
  margin-top: 0;
  font-size: 1.4em;
}

.leftBar h2,
.rightBar h2 {
  background-color: #007ea7;
  color: white;
}

.rightBar ul {
  margin-top: 22px;
  margin-right: 00px;
}

.email-contact {
  color: #4a1f1f;
  font-size: 1.15em;
  font-weight: 400;
  padding: 10px;
  background: linear-gradient(135deg, #fdfdfd, #f3e7e7);
  border: 1px solid #6edb74;
  border-radius: 18px;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.8px;
  line-height: 1.9;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  backdrop-filter: blur(6px);
   
}

.email-contact:hover {
  background: linear-gradient(135deg, #f9eaea, #f4d4d4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px) scale(1.02);
}

.email-contact a {
  color: #0077aa;
  text-decoration: none;
  font-weight: 600;
   border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease, text-shadow 0.3s ease;
}

.email-contact a:hover {
  color: #005070;
  border-bottom: 2px solid #005070;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer {
  background-color: #003459;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  direction: rtl;
  font-size: 1em;
}

.footer ul {
  padding: 0;
  margin: 0;
  width: auto;
  list-style-position: inside;
}

.footer h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1em;
}

.footer li {
  margin-bottom: 8px;
  padding-inline-start: 20px;
  position: relative;
}

.footer li::before {
  position: absolute;
  right: 0;
}

.footer a {
  color: #00a8e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #afcad3;
  background-color: #007ea7;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer-email h3 {
  margin-bottom: 12px;
  color: #00c8ff;
}

.footer-email ul {
  padding: 0;
  margin: 0;
}

.footer-email li {
  color: #d1e8f2;
  margin-bottom: 8px;
}

.footer-email a {
  color: #00a8e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-email a:hover {
  color: #002744;
  background-color: #003cff;
  padding: 3px 6px;
  border-radius: 5px;
}

a.disabled {
  color: #d5d2d2;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
.website-info {
  margin-top: auto;
}
.website-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 88, 5, 0.12);
}

.website-info h2 {
  text-align: right;
  color: #ffffff;
  font-size: 1em;
  margin: 20px 0 10px;
}

.website-info h3 {
  color: #005f73;
  font-size: 1em;
  margin: 20px 0 10px;
  padding-right: 10px;
  font-weight: bold;
}

.website-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.website-info li {
  background-color: #f8f9fa;
  padding: 10px 25px;
  margin-bottom: 5px;
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 94, 5, 0.08);
  font-size: 1em;
  position: relative;
}

.website-info li::before {
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #007ea7;
  transition: width 0.3s ease;
}

.website-info li:hover {
  background-color: #e0f7fa;
  transform: translateX(-8px);
}

.website-info li:hover::before {
  width: 100%;
  background: linear-gradient(90deg, #007ea7 0%, #00b4d8 100%);
  opacity: 0.2;
}

/* Responsive */
@media (max-width: 768px) {
  .website-info {
    padding: 20px;
    margin: 20px 10px;
  }

  .website-info h2 {
    font-size: 24px;
  }

  .website-info h3 {
    font-size: 20px;
  }

  .website-info li {
    padding: 15px 20px;
    font-size: 16px;
  }
}
