@font-face {
  font-family: "ALAQ-DIMASHQ";
  src: url("../fonts/alfont_com_ALAQ-DIMASHQ.otf") format("opentype");
}

@font-face {
  font-family: "HHHHH";
  src: url("../fonts/HidayatullahDemo-mLp39.ttf") format("truetype");
}

@font-face {
  font-family: "RAMADHAN";
  src: url("../fonts/RamadhanAmazing-jEnDv.ttf") format("truetype");
}

@font-face {
  font-family: "ALHAMDULILLAH";
  src: url("../fonts/AllahMuhammadColor-EaxJ4.ttf") format("truetype");
}

@font-face {
  font-family: "Syawal_Khidmat";
  src: url("../fonts/Syawal_Khidmat.woff2") format("woff2"),
    url("../fonts/Syawal_Khidmat.ttf") format("truetype"),
    url("../fonts/Syawal_Khidmat.otf") format("opentype");
}

@font-face {
  font-family: "diwani-bent";
  src: url("../fonts/diwani-bent.ttf") format("truetype");
}

@font-face {
  font-family: "ansi";
  src: url("../fonts/ansi.ttf");
}


.bg-0 {
  background: #fffff2 !important;
}
.bg-1 {
  background: #eeeef2 !important;
}
.g-01 {
  background-color: rgba(250, 235, 215, 0.451) !important;
}
.gap {
  padding-top: 70px;
  padding-bottom: 70px;
}
.header-logo {
  width: unset;
  height: 130px;
}
.header-title {
  font-family: "Syawal_Khidmat", Arial, sans-serif !important;
}
.arabic-header {
  font-size: 40px;
  line-height: 22px;
  font-family: "diwani-bent" !important;
}
.madrasah-header {
  font-size: 30px;
  line-height: 30px;
}
.madrasah-header-name {
  font-size: 42px;
  line-height: 50px;
  font-family: "ansi" !important;
  margin-top: 30px;
}
.marque-bg{
  background-color: #fbc50b;
}
.portal-menu {
  z-index: 1;
  display: none;
}
@media (max-width: 1200px) {
  .portal-menu {
    display: block;
  }
}
ul.namaz-timing-two li {
  justify-content: start;
}
.notice-custom {
  display: flex;
  flex-direction: row;
}
.notice-date {
  width: 120px;
}
.notice-day-month,
.notice_year_bg {
  padding: 7px 0px;
}
.notice-day-month {
  position: relative;
}
.notice_day::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: seagreen;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 10px;
}
.notice_day::after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: seagreen;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  right: 10px;
}
.notice_day,
.notice_month {
  text-align: center;
  font-size: 18px;
  line-height: 18px;
  color: black;
}
.notice_year {
  text-align: center;
  font-size: 18px;
  line-height: 18px;
  color: white;
}

.notice-details {
  width: 100%;
  padding: 0px 10px;
}
.two-bar {
  padding: 0px !important;
  margin: 0px !important;
  width: 100% !important;
  left: 0px !important;
  right: 0px !important;
  justify-content: space-between !important;
}
.two-bar::before {
  border-radius: 0px !important;
  left: 0px !important;
  right: 0px !important;
}
.two-bar::after {
  border-radius: 0px !important;
  left: 0px !important;
  right: 0px !important;
}

/* .navbar {
  padding: -1px;
} */
/* .navbar-links {
  border: 2px solid red;
}
.header-search {
  border: 2px solid red;
} */
header.two .two-bar:after {
  height: 90%;
}

.navbar-links li a {
  padding-bottom: 0px !important;
}
.header-search-button.search-box-outer {
  padding-right: 20px;
}
/* border: 1px solid red; */
.custom-notice-btn {
  background-color: var(--theme-colour);
  padding: 8px 25px;
  font-weight: bold;
  /* position: absolute; */
  /* right: 0; */
  border-radius: 52px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  /* bottom: 10px; */
  font-size: 15px;
}
.custom-portal-btn {
  background-color: var(--theme-colour);
  padding: 8px 25px;
  font-weight: bold;
  right: 0;
  border-radius: 52px;
  /* bottom: 10px; */
  font-size: 15px;
  /* margin-bottom: 10px; */
}

/* Gallery Container */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(278px, 1fr));
  gap: 30px;
  padding: 20px;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  display: block;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 20px;
  text-align: center;
  transition: bottom 0.3s ease;
}

.gallery-item:hover .overlay {
  bottom: 0;
}

.overlay p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  opacity: 1;
}

/* video gallery  */

.gallery-video {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(278px, 1fr));
  gap: 30px;
  padding: 20px;
}

/* Gallery Item */
.gallery-video-item {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-video-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* .video-gallery {
  position: relative;
  text-align: center;
} */
.video-gallery a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(50%, 50%);
}
.video-gallery a i {
  background-color: var(--theme-colour);
  margin: 0;
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 1;

  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-gallery a i:after {
  border: 3px solid var(--theme-colour);
  content: "";
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  animation: video-button 5s infinite;
}
@keyframes video-button {
  0% {
    transform: scale(1.4);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.4);
  }
}
.video-gallery a i svg {
  fill: #fff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-gallery img {
  width: 100%;
  height: 250px;
}

.searchBoxIcon {
  border-left: 1px solid silver;
  padding-left: 10px;
  margin-left: 10px;
  padding-top: 6px;
}
.searchBoxIcon i {
  cursor: pointer;
}
.search-box {
  display: none; /* Initially hidden */
  position: absolute;
  top: 50px;
  right: 20px;
  background: white;
  padding: 15px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #ccc;
  border-radius: 10px;
  margin-top: 15px;
  width: 322px;
}

.search-box input {
  padding: 5px;
  width: 250px;
  /* border: 2px solid seagreen; */
  border-radius: 10px;
  display: inline-block;
}

.search-box button {
  margin-left: 10px;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px;
  color: black;
  background-color: yellow;
  border-color: antiquewhite;
}

.masjid-text h3 {
  font-size: 45px;
  line-height: 60px;
  padding-bottom: 20px;
}
.widget-title h5 a {
  font-size: 20px;
}

.widget-title ul.social-media {
  margin-top: 25px;
}

ul.social-media i {
  height: 34px;
  width: 34px;
}

.widget-title h5 a {
  border-bottom: none;
}
.widget-title h5 a:hover {
  border-bottom: 2px solid;
}

.info-hover a {
  color: white;
}
.info-hover a:hover {
  border-bottom: 1px solid yellow;
  color: yellow;
}

.admission_division {
  margin-top: 32px;
  margin-bottom: 32px;
}
.addmission_division_question {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

.division_name_radiobox {
  border: 1px solid gray;
  width: 40%;
  padding: 24px;
  border-radius: 10px;
}
.radiobox_selection {
  margin-right: 15px;
}

.radio-group {
  display: flex;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #0d5447;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Selected state */
.radio-input:checked + .radio-label {
  background-color: #e5efee;
  border-color: #0d5447;
}

/* Hide default radio */
.radio-input {
  display: none;
}

/* Custom radio circle */
.custom-radio {
  width: 16px;
  height: 16px;
  border: 2px solid #0d5447;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.custom-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #0d5447;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

/* Show inner dot when selected */
.radio-input:checked + .radio-label .custom-radio::after {
  transform: scale(1);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0f5247;
  cursor: pointer;
}

label {
  font-size: 18px;
  color: #333;
  cursor: pointer;
}

.btn-chech-confirm {
  background-color: #ccc;
  color: rgb(7, 7, 7);
  border: none;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: not-allowed;
  transition: background 0.3s ease-in-out;
  border: 1px solid gray;
}

.btn-chech-confirm.active {
  background-color: #0f5247;
  cursor: pointer;
  color: #cccccc;
}

.btn-chech-confirm.active:hover {
  background-color: #09372f;
  color: #cccccc;
}
.form-header {
  font-size: 40px;
  text-align: center;
  line-height: 40px;
  margin-top: 50px;
}
.form-paragraph {
  font-size: 25px;
  line-height: 60px;
  text-align: center;
  margin-bottom: 32px;
  font-weight: normal;
}
.banner-heading {
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 25px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 5px;
}

.navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navbar-links li {
    position: relative;
    margin-right: 5px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    padding: 5px;
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    list-style: none;
    padding: 5px;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 190px;
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu a {
    color: black;
}

.navbar-links li.navbar-dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-links .dropdown-menu li {
    padding: 10px;
}

.navbar-links .dropdown-menu li {
    padding: 0px;
    margin: 0px;
}

.logo {
    height: 125px;
}

@media (max-width: 1199px) {
    .logo {
        height: 70px;
    }
    .header-logo {
        width: unset;
        height: 100px;
    }
}

@media (min-width: 400px) and (max-width: 767px) {
.mobile_menu{
    margin-top: 15px;
}
}
