body {
  margin: 0;
    font-family: 'Inter', sans-serif;
   background: #f1f5f9;
    background-size: cover;
}


/* Keep content above overlay */
body > * {
    position: relative;
    z-index: 1;
}

/* Main page container */
.page-wrapper {
  /* max-width: 1200px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden; */
  background: #ffffff;
}


/* .black-bg {
  background: #fff;
  padding: 8px 0;
} */
.site-container {
  background: #fff;
  width: 1150px;
  margin: 0 auto;
  border: 1px solid #222;
}


.hero-section {
  height: 300px;
  /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), */
              /* url('../images/hero.jpg') center/cover no-repeat; */
  background-color: #7ab37e;
  border-radius: 12px;
  margin: 15px;
}

.hero-section h1 {
  font-size: 36px;
  font-weight: 600;
}

.hero-section p {
  font-size: 18px;
  opacity: 0.9;
}


/* Header container */
/* .very-top {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
} */

.very-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .header-side-img {
    width: 1000px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
} */

.header-side-img {
  height: 100px;        
  width: auto;          
  max-width: 100%;      
  flex: 1;              
  object-fit: cover;
  border-radius: 8px;
  margin-left: 10px;
}



.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}


/* Text beside logo */
.org-title {
  font-size: 20px;
  font-weight: 600;
  color: #198754;
  font-family: 'Inter', sans-serif;
}

.org-subtitle {
  font-size: 13px;
  color: #666;
  font-family: 'Inter', sans-serif;
}

.org-name {
    font-weight:bold
}

/* .org-url {
  font-size: 24px;
} */

.org-url {
  font-size: 18px;
  font-weight: 600;
  color: #198754;
}


.green-bar {
  margin: 10px 15px;
  border-radius: 10px;
   background: #198754;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
 }

.green-bar .nav-link {
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  border-right: none;
  letter-spacing: 1px;
  padding: 6px 12px;
    transition: all 0.3s ease;
}


.green-bar .nav-link:hover {
  background: #fff;
  color: #198754 !important;
}

/* Remove default dropdown box look */
.custom-dropdown {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Make items look like nav-link */
.custom-dropdown .dropdown-item {
  color: white;
  background-color:#198754;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

/* Hover effect same as nav */
.custom-dropdown .dropdown-item:hover {
    background: #fff;
    color: #198754 !important;
}

/* Optional: align properly under parent */
.custom-dropdown {
    position: absolute;
}

.content-wrap {
  padding: 8px;
}
/* .menu-box {
    background: #ffffff;
    margin-bottom: 10px;
     padding: 6px 10px;
    font-size: 13px; 
} */

.menu-box,
.menu-box-2 {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);

    border-radius: 14px;
    padding: 12px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-box ul,
.menu-box-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-box li,
.menu-box-2 li {
    margin: 6px 0;
}

.menu-box a,
.menu-box-2 a {
    display: block;
    padding: 5px 8px;   /* reduced padding */
    margin: 2px 0;      /* less space between items */

    font-size: 12px;    /* smaller font */
    border-radius: 6px;

    text-decoration: none;
    color: #333;

    transition: 0.2s ease;
}

.menu-box a:hover,
.menu-box-2 a:hover {
    background: #198754;
    color: #fff;
    transform: translateX(4px);
    
}

.menu-box li,
.menu-box-2 li {
    margin: 2px 0;   /* tight spacing */
}

.question-box {
  background: #fcfada;
  border: 1px solid #198754;  ;
  padding: 30px;
  border-radius: 14px;
  color: black!important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.announcement {
  background: #fff;
  border: 1px solid #198754;  ;
  
  border-radius: 14px;
  color: black!important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.question-main {
  font-size: 32px;
  font-weight: 600;
  color: #198754;
}

.question-main:hover {
  transform: translateY(-8px) scale(1.02);
}

.question-sub:hover {
  transform: translateY(-8px) scale(1.02);
}

.question-sub {
  font-size: 22px;
  color: #6c757d;
}

.text-main {
  background-color: #fcfada;
  font-size: 1.1em;
  color: #000;
    padding: 10px;
  border-radius: 8px;
}

.thumb-img {
  width: 100%;
  border: 1px solid #bbb;
}
/* .announce-area {
  background: #fff8dc;
  border: 1px solid #bbb;
  padding: 6px;
  font-size: 12px;
  margin: 6px 0;
} */
.announcement-bar {
  background: #e9f7ef;
  color: #198754;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
}


.prayer-ticker {
    background: white;
    color: #198754;
    overflow: hidden;
    border-top: 1px solid #146c43;
    border-bottom: 1px solid #146c43;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* .ticker {
    display: inline-block;
    padding: 10px 0;
    animation: scroll-left 40s linear infinite;
} */

.ticker {
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;
    gap: 50px;                /* spacing between items */
    padding: 10px 0;
    white-space: nowrap;
}

.ticker span {
    display: inline-block;
    margin-right: 50px;
    font-weight: 500;
    font-size: 15px;
}

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}


.program-title {
  font-size: 15px;
  font-weight: bold;
  margin: 6px 0;
  border-bottom: 1px solid #bbb;
  padding-bottom: 2px;
  color: #198754;
}
.video-item {
  border: 1px solid #bbb;
  background: #fafafa;
  padding: 3px;
  text-align: center;
}
.video-item img {
  width: 100%;
  border: 1px solid #ccc;
}
.caption {
  font-size: 11px;
  margin-top: 2px;
}
.footer {
  background-color: #198754;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 6px;
  margin-top: 6px;
}

.video-box iframe{
  width:100%;
  height:110px;
  display:block;
}


.video-box {
  background: #ffffff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.video-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.video-title {
  color: #198754;
  text-decoration: none;
  font-weight: 600;
}

.video-title:hover {
  text-decoration: underline;
}

.btn-success {
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
}

/* Show on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}


a {
  transition: 0.2s ease;
}

a:hover {
  opacity: 0.8;
}



.view-more-btn {
  background: none;
  border: none;
  color: #198754;
  font-weight: 200;
  font-size: 10px;
  cursor: pointer;
  padding: 5px 10px;
}

.view-more-btn:hover {
  text-decoration: underline;
}


/* Touheed */

/* Layout spacing */
.content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    max-width: 800px;
    margin: auto;
    text-align: justify;
    font-size: small;
}


/* Sidebar */
.side-nav {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.side-nav h5 {
    margin-bottom: 15px;
    color: #198754;
}

.side-nav ul {
    list-style: none;
    padding: 0;
}

.side-nav li {
    margin-bottom: 10px;
}

.side-nav a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.side-nav a:hover {
    color: #198754;
}

/* Typography */
h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

h3 {
    margin-top: 30px;
    color: #198754;
}

.lead {
    font-size: 18px;
    color: #555;
}

/* Quran box */
.quran {
    background: #f8f9fa;
    border-left: 4px solid #198754;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
}

/* Highlight */
.highlight {
    background: #e9f7ef;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Spacing */
section {
    margin-bottom: 40px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

.header-actions {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: #0d6efd;
    font-size: 20px;
    transition: 0.3s;
}

.social-icon:hover {
    color: #0d6efd;
    transform: scale(1.1);
}

.site-footer {
    background: #198754;
    color: #fff;
}

.site-footer h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #d1e7dd;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social a {
    color: #ffffff;
    font-size: 18px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ffffff;
    transform: scale(1.2);
}

@media (max-width: 1200px) {
  .site-container {
    width: 95%;
  }
}
@media (max-width: 768px) {
  .red-bar .nav-link {
    border-right: none;
  }
    .header-side-img {
        display: none;
    }

    /* .ticker {
      display: inline-block;
      padding: 10px 0;
      animation: scroll-left 40s linear infinite;
    } */

    .ticker {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 per row */
        gap: 8px;
        animation: none;
        white-space: normal;
        text-align: center;
        padding: 8px;
    }

    .ticker span {
        background: rgba(255,255,255,0.1);
        padding: 6px;
        border-radius: 5px;
        font-size: 13px;
    }

    /* DATE full width */
    .ticker .full-width {
        grid-column: span 2;
        font-weight: bold;
        background: transparent;
    }
}
