.navbar .nav-link{
    color: white;
}
.navbar .nav-link:hover, .navbar .nav-link:focus{
    color: aqua;
}
.nav-item{
    padding: 15px;
}
.navbar .dropdown-menu .dropdown-item {
    color: white;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    color: aqua;
    background-color: transparent; /* removes Bootstrap grey hover */
}

body {
  background: #f5efe6;
  color: #2c1f14;
  font-family: Arial, Helvetica, sans-serif;
}
.card-img-top {
  object-fit: cover;
  object-position: top;
}

.card {
  background-color: #fff8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 5px;
  color:#222;
  display: flex;
  flex-direction: column; /* default desktop */
}
.card-link{
    text-decoration: none;
}
.card img {
  width: 100%;
  aspect-ratio: 640 / 426;
  object-fit: cover;
}
.card-text{
    color: brown;
}
.card-title{
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    margin: 5px 0;
    line-height: 1.2em;
}
.card-body{
    padding: 5px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background-color:aliceblue;
}
.btn:hover,
.btn:focus{
    color:aqua;
    background-color: black;
}
.position-relative {
  position: relative;
}

.status-badge {
  position: absolute;
  top: 10px;
  right: 10px;

  background: rgba(37, 32, 32, 0.84);
  color: white;

  padding: 4px 10px;
  font-size: 18px;
  border-radius: 6px;

  font-weight: 500;
}
#projects .card{
  background-color:ivory;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 5px;
  color:#222;

}
#projects .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background-color:lightcyan;
}
.navbar-toggler{
    border-color:white;
    background-color: #222;
    border-width: 2px;
}
a{
    text-decoration: none;
    color:cornflowerblue;
}

a:hover,
a:focus{
    color:mediumblue;
}
.contactus,.aboutus{
    padding: 15px;
}
.invoice-download{
    background-color:oldlace ;
    padding: 15px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}
/* Ayah animation styling*/
.ayah-container {
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #fff8f0;
  border-radius: 10px;
  padding: 15px;
}

.ayah-track {
  display: flex;
  flex-direction: column;
  animation: scrollAyah 35s linear infinite;
}

.ayah-text {
  padding: 10px 0;
  text-align: center;
}

.arabic {
  direction: rtl;
  font-size: 22px;
  font-weight: bold;
}

.english {
  font-size: 16px;
}

/* Homepgae Live Box*/
.hero{
  position: relative;
}
.hero img{
  width: 100%;
  height: auto;
  display: block;
}

/* Live Box*/
.live-box{
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;

  width: 60%; /* Desktop default */
  max-width: 500px;
}
/* Links */
.live-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 20px;

  text-shadow:
    0 0 5px rgba(0, 255, 255, 0.888),
    0 0 10px rgba(0, 255, 255, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.7);

  transition: all 0.3s ease;
}
.live-link:hover,
.live-link:focus{
  color: red;
}
/* Divider */
.divider {
  width: 1px;
  height: 20px;
  background: #fff;
  margin: 0 15px;
}


/*TV-Live page*/
/* WRAPPER ONLY FOR THIS PAGE */
.tv-live-body{
  background:  #0b0f14;
}
.tv-live-wrapper {
  position: relative;
  min-height: 85vh;
  background: #0b0f14;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* subtle broadcast noise */
.tv-live-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.06;
}

/* MAIN BOX */
.tv-box {
  z-index: 2;
  max-width: 600px;
  padding: 25px;
}

/* TITLE */
.tv-title {
  font-size: 2.8rem;
  color: #00E5FF; /* unified cyan theme */
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0,229,255,0.4);
}

/* STATUS */
.tv-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin: 15px 0;
  border: 1px solid #00E5FF;
  border-radius: 25px;
  background: rgba(0,0,0,0.4);
}

/* blinking live dot */
.live-dot {
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

/* TEXT */
.tv-text {
  opacity: 0.85;
  line-height: 1.6;
}

/* BUTTON */
.tv-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #00E5FF;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.tv-btn:hover {
  background: #00E5FF;
  color: black;
}

/* TICKER (same idea as radio for consistency) */
.tv-ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  overflow: hidden;
  white-space: nowrap;
}

.tv-ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 15s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/*Support CSS*/
/* ===== SUPPORT PAGE UPGRADE ===== */

.support-page {
  padding: 30px 20px;
  background: radial-gradient(circle at top, #0b1220, #05070a);
  color: white;
}

/* CONTAINER */
.support-container {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

/* TITLE */
.support-title {
  font-size: 32px;
  font-weight: 900;
  color: #00ff99;

  text-shadow: 0 0 10px rgba(0,255,153,0.3);
}

/* SUBTEXT */
.support-subtext {
  opacity: 0.8;
  font-size: 16px;
  margin-top: 10px;
}

/* MAIN BUTTON (THIS IS YOUR MONEY BUTTON) */


/* HOVER */


/* CONTENT BOX */
.support-box {
  margin-top: 10px;
  padding: 10px;

  background: rgba(255,255,255,0.03);
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 20px 60px rgba(0,0,0,0.8);

  text-align: left;
}

/* ENGLISH */
.support-english {
  margin-bottom: 15px;
}

.support-english h3 {
  color: #00ff99;
}

/* ARABIC */
.support-arabic {
  direction: rtl;
  text-align: right;
  font-size: 19px;
}

.support-arabic h3 {
  color: #00ff99;
}

/* TEXT IMPROVEMENT */
.support-box p {
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 10px;
}

/* TAGLINES */
.tagline-en {
  font-weight: 600;
  color: #00ffcc;
}

.tagline-ar {
  direction: rtl;
  margin-top: 10px;
  color: #00ffcc;
}

/* 🔥 SUBTLE BACKGROUND GLOW */
.support-container::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0,255,153,0.08);
  filter: blur(120px);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/*  Media Queries  */


/* 🔥 smooth infinite loop */
@keyframes scrollAyah {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 576px) {
  .ayah-text {
    animation: scrollAyah 45s linear infinite;
  }
}
/* screens smaller than lg */
@media (max-width: 991.98px) {
  .nav-item {
    padding: 0;
  }


}

/* 📱 Small screens (full width) Live Box Styling */
@media (max-width: 768px) {
  .live-box {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
  }

  .live-link {
    width: 50%;
    text-align: center;

  }

  .divider {
    margin: 0;
  }
}

/* ===== SAFE FIX PATCH (ADD AT BOTTOM ONLY) ===== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

.support-page {
  overflow-x: hidden;
}

.support-container {
  position: relative;
  overflow: hidden;
}

.support-container::before {
  pointer-events: none;
}

.support-btn,
.support-main-btn {
  max-width: 100%;
}
.support-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-english,
.support-arabic {
  text-align: center;
}
.whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}

/* WhatsApp link styling */
.whatsapp-link {
    color: #3e50c9;
    font-weight: 780;
    text-decoration: none;
}

.whatsapp-link:hover {
    color: #15c6c3;
    text-decoration: underline;
}


/* Download button link styling */
.download-btn {
    color: #3e50c9;
    font-weight: 780;
    text-decoration: none;
}

.download-btn:hover {
    color: #15c6c3;
    text-decoration: underline;
}
.advertise a {
  display: inline-block;
  background-color: #014487;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.advertise a:hover {
  background-color: #076880;
}
/* ===== ADVERTISE PAGE (NEW - SAFE ADDITION) ===== */

.advertise-page {
  text-align: center;
}

.advertise-box {
  max-width: 700px;
  margin: auto;
  background: #fff8f0;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.advertise-title {
  color: #2c1f14;
  font-weight: 700;
}

.advertise-price {
  color: #014487;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.advertise-box p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.advertise-action {
  margin-top: 25px;
}

.advertise-btn {
  display: inline-block;
  background-color: #014487;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.advertise-btn:hover {
  background-color: #076880;
  color: white;
}
.advertise-btn,
.advertise-btn:visited {
  display: inline-block;
  background-color: #02559e;
  color: rgb(175, 243, 255);
}
.advertise {
  display: flex;
  gap: 15px;              /* space between buttons */
  flex-wrap: wrap;        /* prevents breaking on small screens */
  justify-content: center; /* optional: center them */
}
/* Fix only pages that need footer push */
.home-page,
.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-page section,
.radio section {
  flex: 1;
}
.footer-links a {
  color: rgb(159, 244, 252);
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: aqua;
  text-decoration: underline;
}

.footer-copy {
  color: white;
}

/* Dropdown background (light clean style) */
.dropdown-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

/* Dropdown items */
.dropdown-item {
  cursor: pointer;
  color: #222;
}

.dropdown-item:hover {
  background: #f2f6ff;
  color: #000;
}

/* Scrollable dropdown */
.scroll-menu {
  max-height: 180px;
  overflow-y: auto;
}

/* Custom scrollbar (clean) */
.scroll-menu::-webkit-scrollbar {
  width: 6px;
}

.scroll-menu::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.scroll-menu::-webkit-scrollbar-track {
  background: transparent;
}

/* Buttons */
.dropdown-toggle {
  border-radius: 8px;
  padding: 8px 15px;
}

.filter-status {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 20px;
  background:paleturquoise;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

/* product stylings*/
/* PRODUCT IMAGE */
.product-img-main {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

/* +images badge */
.img-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 5px;
}

/* CARD */
.product-card {
  border-radius: 10px;
  overflow: hidden;
}

/* ---------------- MODAL FIX ---------------- */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.modal-box {
  position: relative;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff;
  border-radius: 10px;
  overflow-y: auto;
  z-index: 2;
}

/* HEADER */
.modal-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}

/* IMAGES */
.modal-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.modal-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;   /* IMPORTANT FIX */
  border-radius: 8px;
}

/* BODY */
.modal-body {
  padding: 15px;
}

/* CLOSE BUTTON */
.close-btn {
  font-size: 28px;
  cursor: pointer;
}