@import url(https://fonts.googleapis.com/css2?family=Itim&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
body{
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: italic;
}
:root{

    --color-border: #dae1f5;
/* Fonts */
    --fs-sm: 1.4rem;
    --fs-md: 1rem;
    --fs-lg: 2.2rem;
    --fw-regular: 400;
    --fw-medium: 400;
    --fw-bold: 700; 
    --transition: 0.4s ease-in-out; 
}
::selection{color: #fff;background: #2dce89;}
.faqs-section{ 
    width: 100%;
    margin: auto;
    height: 100%;
    padding: 2rem;
    display: grid;
    place-content: center;
    border: 2px solid #fff;
    /* border: 1px solid #000; */
}
.accordion__wrapper {
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    border-radius: 2.5rem;
    width: 100%;
    max-width: 60rem;
    padding: 50px 0px;
    /* padding: 5rem; */
}
.accordion {
    border-bottom: 0.1rem solid var(--color-border);
    padding-bottom: 15px;
     margin-bottom: 15px;
}

.accordion__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
} 

.accordion__icon {
    border: 2px solid #000;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #000;
    flex-shrink: 0;
    font-size: 25px;
}

.accordion__question{
    font-size: var(--fs-md);
    font-weight: 500;
    color: #000;
}

.accordion__answer{
    padding: 2rem 0;
    font-weight: 500;
    color: #000;
}

.accordion__content{
    overflow: hidden;
    height: 0;
    transition: var(--transition);
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
position: relative;
left: 14px;
z-index: 99;
}

.checkbox-tools:checked + label,
.checkbox-tools:not(:checked) + label {
position: relative;
display: inline-block;
padding: 20px 20px 20px 40px;
font-size: 14px;
letter-spacing: 1px;
text-align: left;
border-radius: 4px;
text-transform: uppercase;
color: black;
-webkit-transition: box-shadow 150ms ease;
transition: box-shadow 150ms ease;
left: -20px;
}

.checkbox-tools:checked + label {
background-color: white;
border: 1px solid #2dce89;
/* box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); */
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-tools:not(:checked) + label {
background-color: white;
border: 1px solid transparent;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-tools:not(:checked) + label:hover,
.checkbox-tools:checked + label:hover,
[type="radio"]:hover + label {
box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
cursor: pointer;
-webkit-transition: box-shadow 300ms ease;
transition: box-shadow 300ms ease;
}
#urdu-content p ,
#urdu-content h2
{
    font-weight: normal;
    font-size: 19px;
    text-align: end;
}
#urdu-content .accordion__header{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
    cursor: pointer;
    text-align: end;
}
@media screen and (min-width: 200px) and (max-width: 413px) {
    .accordion__wrapper {
        padding: 1rem 1rem;
    }
    .banner {
        height: auto;
        display: flex;
        align-items: center;
        padding: 20px 0px 20px 0px;
        line-height: 30px;
        margin-top: 25%;
    }
    .banner h5 {
        font-size: 25px;
        color: #000;
        font-weight: 500;
        text-transform: capitalize;
        width: 100%;
        text-align: center;
    }
    .accordion__question {
        font-size: 13px;
    }
    .accordion__icon {
        border: 2px solid #6e6e6e;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        color: #6e6e6e;
        flex-shrink: 0;
        font-size: 18px;
    }
    .accordion__answer{
        font-size: 13px;
        padding: 1rem 0;
    }
}
@media screen and (min-width: 414px) and (max-width: 592px) {
    .accordion__wrapper {
        padding: 1rem 1rem;
    }
    .banner {
        height: 10vh;
        display: flex;
        align-items: center;
        padding: 0px 0px 0px 30px;
    }
    .banner h5 {
        font-size: 25px;
        color: #000;
        font-weight: 500;
        text-transform: capitalize;
    }
}
@media screen and (min-width: 593px) and (max-width: 1285px) {
    .accordion__wrapper {
        padding: 3rem 0rem;
    }
}
.dropdown-menu.mega-dropdown {
  max-width: 100vw;
  overflow-x: auto;
}
/* Base Dropdown Menu Styles */
.dropdown-menu.mega-dropdown {
  width: 950px;
  max-width: 100vw;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  display: none;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-x: auto;
  box-sizing: border-box;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Row Layout */
.dropdown-menu .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Column Settings */
.dropdown-menu .col-md-4 {
  flex: 1 1 30%;
  min-width: 250px;
  box-sizing: border-box;
  padding: 0 15px;
}

/* Headers */
.dropdown-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  position: relative;
}

.dropdown-header::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: linear-gradient(to right, rgb(0, 5, 41) 1%, rgb(0, 32, 85) 24%, rgb(0, 93, 181) 67%, rgb(0, 116, 217) 100%);
  margin-top: 6px;
  border-radius: 2px;
}

/* Dropdown Items */
.dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #222 !important;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: #007bff !important;
  padding-left: 8px;
}

.dropdown-item i {
  margin-right: 10px;
  font-size: 16px;
  color: #555;
  transition: color 0.3s ease;
}

.dropdown-item:hover i {
  color: #007bff;
}

/* -----------------------------------
   Media Queries for Responsiveness
------------------------------------ */

@media (max-width: 991px) {
  .dropdown-menu.mega-dropdown {
    width: 100vw;
    left: 0;
    right: 0;
    transform: translateY(0);
    padding: 20px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    max-height: 90vh;
    overflow-y: auto;
    display: none;
    /* position: fixed; */
    top: 60px;
    z-index: 10000;
  }

  .nav-item.dropdown.show .dropdown-menu.mega-dropdown {
    display: block;
  }

  .dropdown-menu .row {
    flex-direction: column;
    gap: 10px;
  }

  .dropdown-menu .col-md-4 {
    flex: 1 1 100%;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .dropdown-header {
           font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
        cursor: pointer;
        display: flex;
        position: relative;
        justify-content: center;
  }

  .dropdown-header::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .dropdown-header.active::after {
    transform: rotate(180deg);
  }

  .dropdown-section {
    display: none;
    padding-top: 5px;
  }

  .dropdown-header.active + .dropdown-section {
    display: block;
  }

  .dropdown-item {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }
}