  /* Color Variables */
:root {
  --color-black: #222222;             /* Dark text */
  --color-white: #fdfaf6;             /* Soft off-white for backgrounds */
  --color-primary-orange: #f15a22;    /* Your brand orange */
  --color-secondary-yellow: #d6d600;  /* Your brand yellow */
  --color-bg-dark: #121212;            /* Dark mode background */
  --color-bg-light: #f8f6f1;           /* Light warm background */
  --color-bg-section: #fff5e6;         /* Light creamy section background */
  --color-text-muted: #666666;
}

body {
  direction: rtl;
  font-family: 'Noto Nastaliq Urdu', serif;
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  margin: 0;
  line-height: 1.6;
}

/* Container or main content area */
.container {
  background-color: var(--color-bg-light);
  padding: 20px 25px;
  border-radius: 10px;
  color: var(--color-black);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  margin-bottom: 50px;
}

/* Section backgrounds for differentiation */
.section {
  background-color: var(--color-bg-section);
  padding: 25px 30px;
  border-radius: 14px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(241, 90, 34, 0.08);
}

/* Links and highlights */
a, button {
  color: var(--color-primary-orange);
  transition: color 0.3s ease;
}
a:hover, button:hover {
  color: var(--color-secondary-yellow);
}


  #mainContent {
    padding: 30px 0 60px;
  }

  .section {
    margin-bottom: 50px;
  }

  /* Section Titles */
  .section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-black);
    border-right: 6px solid var(--color-primary-orange);
    padding-right: 12px;
    margin-bottom: 30px;
  }

  /* HERO */
  .hero {
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
  }

  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  }

  .hero-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    z-index: 2;
  }

  .hero-badge {
    background: var(--color-primary-orange);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
  }

  .hero-title {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.8;
    max-width: 70%;
  }

  /* NEWS CARDS */
  .news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
  }

  .news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .news-body {
    padding: 16px;
  }

  .news-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.7;
    margin: 0;
  }

  .news-title a {
    color: var(--color-black);
    text-decoration: none;
  }

  .news-title a:hover {
    color: var(--color-primary-orange);
  }

  /* HOT STRIP */
  .hot-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hot-strip::-webkit-scrollbar { display: none; }

  .hot-item {
    min-width: 260px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }

  .hot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hot-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  }

  .hot-title {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    z-index: 2;
  }

  /* QUESTIONS GRID */
  .questions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  @media (max-width: 992px) {
    .questions-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 576px) {
    .questions-grid {
      grid-template-columns: 1fr;
    }
  }

  /* QUESTION CARD */
  .question-card {
    display: flex;
    background: linear-gradient(145deg, var(--color-bg-light), #f9f9f9);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(0,0,0,0.12);
  }

  .question-badge {
    background: var(--color-primary-orange);
    color: #fff;
    font-size: 20px;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .question-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .question-label {
    color: var(--color-primary-orange);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .question-title {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
  }

  .question-footer {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: var(--color-text-muted);
  }

  .question-footer a {
    color: var(--color-primary-orange);
    font-weight: bold;
    text-decoration: none;
  }

  .question-footer a:hover {
    color: var(--color-secondary-yellow);
  }
 
#footer {
  background-color: #111; /* dark background */
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  padding: 60px 0 30px 0;
  color: black; /* base text color */
}

#footer * {
  color: black !important; /* force all footer text to be visible */
}

.footer_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer_col {
  flex: 1;
  min-width: 250px;
}

.footer_logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer_col h4 {
  color: #f15a22 !important; /* Logo orange headings */
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  border-right: 5px solid #d6d600; /* logo yellow */
  padding-right: 10px;
}

.footer_col p,
.footer_col ul li,
.footer_col ul li a {
  color: black !important; /* visible text */
  font-size: 16px;
  line-height: 1.7;
}

.footer_col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_col ul li {
  margin-bottom: 12px;
}

.footer_col ul li a {
  text-decoration: none;
  transition: 0.3s;
}

.footer_col ul li a:hover {
  color: #f15a22 !important;
}

.footer_social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: #f15a22;
  color: #fff !important;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s;
}

.footer_social a:hover {
  background: #d6d600;
  color: #111 !important;
}

.footer_bottom_text {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.5;
  color: #ccc !important;
}

.footer_bottom_text a {
  color: #f15a22 !important;
  font-weight: 700;
  text-decoration: none;
}

.footer_bottom_text a:hover {
  color: #d6d600 !important;
}

/* Responsive */
@media(max-width: 992px){
  .footer_grid {
    flex-direction: column;
    gap: 30px;
  }
}



/* Responsive text alignment */
@media (max-width: 768px) {
  .footer_bottom .text-right,
  .footer_bottom .text-left {
    text-align: center !important;
    margin-bottom: 10px;
  }
}

/* HEADER BASE */
#header {
    width: 100%;
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
    color: #eee;
    background-color: transparent; /* Removed background */
}

/* HEADER TOP NAV */
.header_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
}

.header_top_left {
    flex: 1;
}

.top_nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.top_nav li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.top_nav li a:hover {
    color: #f15a22; /* Logo orange */
}

/* HEADER BOTTOM (LOGO AREA) */
.header_bottom {
    display: flex;
    justify-content: flex-start; /* Align logo and text together */
    align-items: center;
    padding: 10px 30px; /* reduced padding */
    gap: 15px; /* space between image and text logo */
    background-color: transparent; /* Removed background */
}

.header_bottom_left img {
    max-height: 70px;
    object-fit: contain;
}

.header_bottom_right .header_logo_text {
    font-size: 28px;
    font-weight: 900;
    color: #f15a22;
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    text-decoration: none;
    line-height: 1.2;
    text-align: left;
    border-right: 4px solid #d6d600; /* Logo yellow accent */
    padding-right: 12px;
    margin: 0; /* Remove extra spacing */
}

/* Make the logos responsive */
@media(max-width: 992px) {
    .header_bottom {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
    .header_bottom_left,
    .header_bottom_right {
        width: 100%;
        text-align: center;
    }
    .header_bottom_left img,
    .header_bottom_right .header_logo_text {
        max-width: 150px;
        height: auto;
        margin: 0 auto;
        border-right: none; /* remove yellow border on small screens */
    }
}

/* Optional: sticky header on scroll */
#header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media(max-width: 992px) {
    .header_bottom {
        flex-direction: column;
        gap: 10px;
    }
    .header_bottom_right {
        justify-content: center;
    }
    .header_logo_text {
        font-size: 20px;
        border-right: none;
    }
}
