:root {
  --main-gold: #CFB53B;
  --background-img: url('images/background-1.jpg');
  --header-bg: transparent /* rgba(0, 0, 0, 0.3); */
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: clamp(10px, 1.25vw, 16px);
  direction: rtl;
  scroll-behavior: smooth;
}
body {
  font-family: 'Cairo', sans-serif;
  background: var(--background-img) no-repeat center center fixed;
  background-size: cover;
  color: var(--main-gold);
  min-height: 100vh;
  line-height: 1.5;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: right;
  background: var(--header-bg);
  padding: 1rem 2rem;
  z-index: 99;
}

.header-image img {
  height: clamp(3rem, 6vw, 4.7rem);
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}
.header-text {
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: bold;
  color: var(--main-gold);
  word-break: break-word;
  flex: 1 1 auto;
}

/* Main Content Sections */
main {
  padding-top: 5rem; /* offset for fixed header */
}
section {
  padding: 0.1rem 1rem 0rem;
  text-align: center;
}

/* Info Boxes */
.info-box {
  background-color: transparent;
  /* border: 1px solid var(--main-gold);
  border-radius: 12px; */
  padding: 0rem 1.5rem; 
  margin: 0.5rem auto;
  max-width: 850px;
  color: var(--main-gold);
  text-align: right;
  font-family: 'Cairo', sans-serif;
}
.info-box h1,
.info-box h2 {
  font-size: 1.8rem;
  text-align: right;
  width: 100%;
}
.info-box p,
.info-box ul li {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.info-box ul {
  list-style: none;
  padding: 0;
}
.info-box ul li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.8rem;
}
.info-box ul li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--main-gold);
  font-size: 1.2rem;
}

/* Icons with Titles */
.icon-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.info-icon {
  width: 32px;
  height: 32px;
  color: var(--main-gold);
  flex-shrink: 0;
}

/* Slogan and Contact Icons */
.slogan-icons,
.contact-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}
.slogan-icons a img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-icons a img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}
.slogan-icons a:hover img,
.contact-icons a:hover img {
  transform: scale(1.1);
  box-shadow: 0 2px 18px rgba(255, 215, 0, 0.3);
}

/* Slogan Text */
.slogan-text {
  font-size: 1.4rem;
  margin-top: 6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

/* Images Box */
  .scroll-box {
    max-width: 850px;
/*    height: 40vh; */
    margin: 0 auto;
    border: 1px solid var(--main-gold);
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .scroll-box a {
    display: inline-block;
    width: 40%;
    height: 100%;
    text-decoration: none;
  }
  .scroll-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

/* Links Box */
.trigger-image {
  cursor: pointer;
  max-width: 100%;
  height: auto;
}

/* Footer */
footer {
  background: transparent;
  padding: 1rem 0;
  text-align: center;
  font-size: 1rem;
  color: var(--main-gold);
}
footer p {
  margin: 0.3rem 0;
}
.arabic-font {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 2rem;
  margin-right: 0.5rem;
}
.english-font {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.4rem;
  color: var(--main-gold);
}

/* Animation Utilities */
@keyframes rotateX {
  0% { transform: rotateX(0deg);}
  100% { transform: rotateX(360deg);}
}
@keyframes rotateY {
  0% { transform: rotateY(0deg);}
  100% { transform: rotateY(360deg);}
}
.rotate-x {
  animation: rotateX 2s linear infinite;
  transform-style: preserve-3d;
}
.rotate-y {
  animation: rotateY 4s linear infinite;
  transform-style: preserve-3d;
}
.flip-container {
  perspective: 1000px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .info-box {
    padding: 1.2rem 1rem;
    max-width: 97vw;
  }
  header {
    padding: 1rem 0.7rem;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .header-image img {
    height: 3.5rem;
  }
  .slogan-icons a img,
  .contact-icons a img {
    width: 3rem;
    height: 3rem;
  }
  .info-box {
    padding: 1rem 0.5rem;
  }
}
/* End Styles */
