.top-main {
    background: #faf9f3;
    margin-top: -2px;
    padding-bottom: 1px;
}

.navbar-expand-md {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
        "Noto Nastaliq Urdu", serif !important;
    background-color: #faf9f3 !important;
    direction: rtl;
    min-height: 100vh;
}

/* ==================== TOP BANNER ==================== */
.top-banner {
  background: linear-gradient(to left, #548047, #68935B);
  color: white;
  padding: 2px 40px;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Social Icons Section */
.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons {
  display: flex;
  padding-top: 4px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.social-icon img {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.divider {
  display: inline-block;
  width: 1px;       
  height: 26px;          
  background-color: #ffffff;   
  vertical-align: middle;
  border-radius: 1px;  
}

.bar-divider {
border-right: 1px solid #548047; 
height: 65px; 
opacity: 0.15;
}

.hijri-date {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif;
  font-size: 15px; 
  letter-spacing: 1.5px; 
  gap: 3px;
  font-weight: 500;
}

/* Center Banner Text */
.banner-center {
  flex: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
  flex-grow: 1; 
  font-size: 18px; 
  font-family: 'AlQalam Telenor Regular', serif; 
  padding: 0 1rem;
}

/* Right Side Links */
.banner-right {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif;
}

.banner-right a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.banner-right a:hover {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.banner-left-mob {
display: none;
}

/* ==================== MAIN HEADER ==================== */
.main-header {
  background-color: #faf9f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 10px 40px;
  position: fixed;
  top: 42px; /* Height of top-banner */
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

/* Add padding to body to prevent content from going under fixed headers */
body {
  padding-top: 130px; /* Adjust based on combined height of both headers */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 20px;
}

/* Logo */
.logo {
  text-align: right;
  flex-shrink: 0;
}

.logo h1 {
  font-size: 32px;
  font-weight: 700;
  color: #6b9968;
  line-height: 1.2;
  margin-bottom: 2px;
}

.logo p {
  font-size: 13px;
  color: #6b9968;
  letter-spacing: 2px;
  font-family: Arial, sans-serif;
  font-weight: 500;
}

.logo img {
  height: 32px; 
  margin-bottom: 2px;
}

.profile-img {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.profile-img img {
  border: 2px solid #4B7C3D;
  border-radius: 50%;
  height: 52px;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 380px;
  position: relative;
  margin-top: 10px;
}

.search-box {
  width: 100%;
  padding: 8px 20px 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.search-box:focus {
  outline: none;
  border-color: #6b9968;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(107, 153, 104, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 40%;
  transform: translateY(-50%);
  color: #4B7C3D;
  pointer-events: none;
}

/* Language & Globe Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.language-text {
  font-size: 20px;
  font-weight: 500;
  color: #4B7C3D;
}

.globe-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: #6b9968;
}

.globe-icon:hover {
  background-color: #f3f4f6;
}

/* Hamburger Menu */
.hamburger {
  /* display: none; */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-logo {
width: 100%;
display: flex;
align-items: center;
gap: 30px;
}

.search-container-language {
width: 100%;
display: flex;
margin-right: 20%;
gap: 30px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media screen and (max-width: 1200px) {
.search-container-language {
  margin-right: 4%;
}
}

/* Tablet (992px and below) */
@media screen and (max-width: 992px) {
  .search-container-language {
    margin-right: 10%;
  }

  .banner-center {
      font-size: 13px;
  }

  .logo h1 {
      font-size: 28px;
  }

  .search-container {
      max-width: 400px;
  }

}

/* Mobile (768px and below) */
@media screen and (max-width: 768px) {

  .banner-left-mob {
    display: block;
  }

  .search-container-language {
    margin-right: -1%;
  }

  .top-banner {
      padding: 0px 16px;
      font-size: 12px;
  }

  .main-header {
      top: 38px; /* Adjusted for smaller top-banner */
  }

  body {
      padding-top: 160px; /* Adjusted for mobile header height */
  }

  .banner-container {
      flex-wrap: wrap;
  }

  .banner-center, .banner-left {
      display: none;
  }

  .social-icons {
      display: none;
  }

  .banner-left {
      width: 100%;
      justify-content: space-between;
  }

  .main-header {
      padding: 12px 16px;
  }

  .header-container {
      flex-wrap: wrap;
      gap: 12px;
  }

  .hamburger {
      display: flex;
      order: -1;
  }

  .logo {
      order: 0;
  }

  .logo h1 {
      font-size: 24px;
  }

  .logo p {
      font-size: 11px;
  }

  .search-container {
      order: 2;
      width: 100%;
      max-width: 100%;
  }

  .search-box {
      padding: 8px 20px 8px 16px;
      font-size: 14px;
  }

  .header-right {
      order: 1;
      margin-right: auto;
  }

  .language-selector {
      padding: 6px 10px;
  }

  .language-text {
      font-size: 14px;
  }

  .globe-icon {
      width: 28px;
      height: 28px;
  }

  .social-icon {
      width: 26px;
      height: 26px;
  }

  .social-icon img {
      width: 13px;
      height: 13px;
  }

  .divider, .bar-divider {
    display: none;
  }
  
  .search-container-language .search-container {
    order: 1;
  }

  .hamburger-logo .hamburger {
    order: 1;
  }

  .hamburger-logo {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .search-icon {
    top: 50%;
  }

  .header-right {
    margin-top: 10px
  }

  .top-main {
    margin-top: 6px;
  }

  .hero-img img {
    min-height: 200px;
    object-fit: fill;
  }
}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
  .top-banner {
      padding: 0px 12px;
  }

  .top-main {
    margin-top: 13px;
  }

  .main-header {
      top: 34px; /* Adjusted for smaller top-banner */
  }

  body {
      padding-top: 150px; /* Adjusted for small mobile */
  }

  .hijri-date {
      font-size: 16px;
  }

  .social-icon {
      width: 24px;
      height: 24px;
  }

  .social-icon img {
      width: 12px;
      height: 12px;
  }

  .logo h1 {
      font-size: 22px;
  }

  .logo p {
      font-size: 10px;
  }

  .search-box {
      font-size: 13px;
      padding: 9px 10px 9px 14px;
  }

  .search-icon {
    top: 50%;
  }
}

/* ============================
     HERO SECTION (BOOTSTRAP-CLEANED)
     ============================ */

.image-box {
    position: relative;
    width: 100%;
}

/* main hero image container */
.hero-img {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
}

/* subtle right-side light gradient overlay */
.hero-img::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1700px;
    height: 100%;
    /* background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 59%,
        rgba(255, 255, 255, 0.8) 100%
    ); */
    pointer-events: none;
}

/* caption text + button container */
.caption {
    position: absolute;
    bottom: 40%;
    right: 20px;
    color: #4B7C3D;
    padding: 10px 50px;
    border-radius: 8px;
    direction: rtl;
    text-align: right;
}

/* hero heading */
.caption h1 {
    font-size: 56px;
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

/* button styling */
.hero-btn {
    background: #548047;
    color: #fff;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #406635;
    color: #ffffff;
    transform: translateY(-2px);
}

/* icon inside button */
.caption-img {
    margin-right: 4px;
    margin-bottom: 4px;
    height: 20px;
    width: 20px;
}

.caption-img-success {
  margin-right: 10px;
  margin-bottom: 20px;
  height: 50px;
  width: 50px;
}

/* ============================
     RESPONSIVE ADJUSTMENTS
     ============================ */

/* Large Tablets / Medium Screens (max-width: 1199px) */
@media (max-width: 1199px) {
    .caption {
        bottom: 35%;
        padding: 10px 40px;
    }
    .caption h1 {
        font-size: 44px;
    }
}

/* Tablets and Landscape Phones (max-width: 992px) */
@media (max-width: 992px) {
    .caption {
        bottom: 40%;
        right: 10px;
        padding: 8px 20px;
    }
    .caption h1 {
        font-size: 20px;
        margin-bottom: 10px !important;
    }
    .hero-btn {
        padding: 2px 5px;
        font-size: 12px;
    }
    .caption-img {
        height: 16px;
        width: 16px;
        margin-bottom: 2px;
    }
    .hero-img img {
        object-position: center bottom;
    }
    .hero-img::after {
        width: 100%;
        /* background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 100%
        ); */
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .caption {
        bottom: 25%;
        right: 10px;
        padding: 8px 20px;
    }
    .caption h1 {
        font-size: 18px;
        margin-bottom: 10px !important;
    }
    .hero-btn {
        padding: 2px 5px;
        font-size: 10px;
    }
    .caption-img {
        height: 16px;
        width: 16px;
        margin-bottom: 2px;
    }
    .hero-img::after {
        width: 100%;
        /* background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 100%
        ); */
    }
}

/* ============================
     INFO CARD (CLEANED + RESPONSIVE)
     ============================ */

.info-card {
    background-size: cover;
    background-position: center;
    border: 1px solid #4B7C3D !important;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    direction: rtl;
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    color: #333;
    line-height: 1.7;
    margin-top: 40px;
}

/* header text */
.top-text {
    font-weight: normal;
    margin-bottom: 18px; 
    text-align:center; 
    color:#555555; 
    font-size: 22px;
}

/* bullet points (inline style) */
.points-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
}

.info-card-points-list {
    font-size: 22px;
    color: #555555;
}

.info-card-span {
    color: #406635;
    font-weight: bold;
    margin: 0 4px;
}

/* paragraph block */
.para-text {
    font-size: 22px;
    color: #555555;
    line-height: 42px;
    text-align: right !important;
}

.info-card-para-text {
    color: #548047;
    font-weight: 600;
}

/* quranic section */
.quranic {
    background: #f8f9f7;
    border-right: 4px solid #548047;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.quranic-main {
    font-size: 22px;
    color: #555555;
    text-align: right !important;
}

.quranic-text {
    font-family:'AlQalam Telenor', serif;
    color: #555555;
    font-weight: 700;
    font-size: 22px;
}

/* Buttons */
.primary-btn,
.secondary-btn {
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #548047;
    color: #fff;
}

.primary-btn:hover {
    background: #406635;
    color: #fff;
    transform: translateY(-5px);
}

.secondary-btn {
    background: #ffffff;
    color: #888888;
    border: 1px solid #888888;
}

.secondary-btn:hover {
    color: #888888;
    transform: translateY(-5px);
}

/* ============================
     RESPONSIVE ADJUSTMENTS
     ============================ */

@media (max-width: 992px) {
    .top-text, .info-card-points-list, .para-text, .quranic-main {
        font-size: 18px;
    }
    .quranic-main {
        font-size: 16px;
    }
    .features-grid-main {
      margin-right: 10px !important;
      margin-left: 10px !important;
      margin-top: -2px !important;
    }
}

@media (max-width: 576px) {
    .info-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    .top-text, .info-card-points-list, .para-text, .quranic-main {
      font-size: 15px;
    }
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .primary-btn,
    .secondary-btn {
        justify-content: center;
    }
}

/* === FEATURES GRID SECTION === */

.features-grid {
    position: relative;
    text-align: center;
    direction: rtl;
}

.features-grid .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.grid-bottom-shadow {
    margin-top: 12px;
    margin-bottom: -9px;
    height: 11px !important;
}

.homepage-feature-img {
    width: 70px;
    height: 70px;
}

a.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
    text-decoration: none;
}

.feature-card-title {
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    color: #4B7C3D;
    font-size: 20px !important;
    min-height: 50px;
}

/* Grid gap & responsiveness */
@media (max-width: 767.98px) {
    .features-grid .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.pre-footer-section {
    background-color: #faf9f3 !important; 
    border-top: 1px solid #ddd;
    margin: 0 auto;

}

.pre-footer-section h4 {
    color: #4B7C3D;
    font-weight: 600;
    font-size: 1.1rem;
}

.pre-footer-section a:hover {
    color: #4B7C3D !important;
}

.pre-footer-section input::placeholder, .search-container input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.pre-footer-section .btn-success {
    background-color: #4B7C3D;
    border-color: #4B7C3D;
}

.pre-footer-section .btn-success:hover {
    background-color: #4b6a31;
    border-color: #4b6a31;
}

.list-links, .list-links li a, .list-links p a {
  color: #888888;
}

.list-links p a {
  font-family: 'Inter', sans-serif;
  font-weight: 300; 
  font-size: 14px
}

.text-subscribe {
  color: #4B7C3D;
}

.semi-rounded-pill {
  border-radius: 10px !important;
}

.send-icon {
  height: 20px;
  width: 20px;
  position: absolute;
  left: 9px;
  top: 14px;
}

.footer-social-icons img {
  height: 40px;
  width: 40px;
}

.custom-footer {
  background: linear-gradient(to left, #548047, #68935B) !important;
  color: #ffffff;
  font-family: "Inter Regular", sans-serif;
}

.custom-footer a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.custom-footer a:hover {
  color: #ffffff;
}

.custom-footer .footer-meta {
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 767.98px) {
    .pre-footer-section {
        text-align: right;
    }

    .pre-footer-section h4 {
        text-align: right;
    }

    .pre-footer-section .form-control {
        font-size: 0.9rem;
    }

    .pre-footer-section .d-flex {
        flex-wrap: nowrap;
    }

    .for-mobile {
      display: block !important;
    }

    .for-desktop {
      display: none !important;
    }
}

.for-desktop {
  display: block;
}

.for-mobile {
  display: none;
}

.form-label, form-label.span {
  color: #4B7C3D !important;
}

.form-control::placeholder {
  color: #B6B7B6 !important;
}

.form-control:focus {
  border-color: #4B7C3D !important;
  box-shadow: 0 0 0 .25rem rgba(75, 124, 61, 0.251) !important;
}

@media (max-width: 576px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .footer-links {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* Modal Overlay */
.modal-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Container */
.form-container {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideUp 0.4s ease-out;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.login-form-container {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  max-width: 500px !important;
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.form-inner {
  padding: 10px 30px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #1f2937;
}

/* Header */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 42px;
  font-weight: 600;
  color: #555555;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.form-title-success {
  font-size: 22px;
  font-weight: 600;
  color: #555555;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* Form Labels */
.form-label {
  font-size: 20px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
  text-align: right;
  display: block;
}

.required {
  color: #4B7C3D;
  margin-right: 4px;
}

/* Form Controls */
.form-control {
  padding: 10px 20px !important;
  font-size: 15px;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  color: #1f2937;
  background: #ffffff;
  border: 1.5px solid #E8E7E7 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
  height: auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
  font-size: 15px;
}

.form-control:focus {
  border-color: #5a7a4a;
  box-shadow: 0 0 0 3px rgba(90, 122, 74, 0.1);
  outline: none;
}

/* Select Dropdown */
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center;
  padding-left: 45px;
}

/* Form Group Spacing */
.form-group {
  margin-bottom: 30px;
}

/* Submit Button */
.submit-btn {
  background: #5a7a4a;
  color: #ffffff;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(90, 122, 74, 0.3);
}

.submit-btn:hover {
  background: #4a6a3a;
  box-shadow: 0 6px 16px rgba(90, 122, 74, 0.4);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

/* Back Button */
.back-btn {
  background: #ffffff;
  color: #888888;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.4);
}

.back-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.4);
  transform: translateY(-2px);
}

.back-btn:active {
  transform: translateY(0);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

.btn-container {
  text-align: left;
  margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .form-inner {
      padding: 40px 40px;
  }

  .form-title {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .form-inner {
      padding: 35px 30px;
  }

  .form-container {
      border-radius: 20px;
  }

  .form-title {
      font-size: 32px;
      margin-bottom: 35px;
  }

  .form-label {
      font-size: 18px;
  }

  .btn-container {
      text-align: center;
  }

  .submit-btn {
      width: 100%;
      justify-content: center;
  }
}

@media (max-width: 576px) {
  body {
      padding: 0px;
  }

  .top-main {
    margin-top: 157px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .login-form-container {
    margin-top: 210px !important;
  }

  .form-inner {
      padding: 25px 20px;
  }

  .form-container {
      border-radius: 16px;
  }

  .close-btn {
      top: 15px;
      left: 15px;
      font-size: 24px;
  }

  .form-title {
      font-size: 26px;
      margin-bottom: 30px;
  }

  .form-header {
      margin-bottom: 30px;
  }

  .form-control {
      padding: 14px 16px;
      font-size: 15px;
  }

  .form-label {
      font-size: 16px;
      margin-bottom: 10px;
  }

  .form-group {
      margin-bottom: 25px;
  }

  .submit-btn {
      font-size: 16px;
      padding: 14px 32px;
  }
}

/* Menu Section */
.menu-section {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background-color: #FFFFFF;
  padding: 0;
  display: none;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-section.show {
  display: block;
}

.menu-category {
  border-bottom: 1px solid #E8E8E8;
}

.logo-border-bottom {
  border-bottom: 1px solid #E8E8E8;
}

.menu-category-header {
  padding: 10px 30px;
  background-color: #FAFAFA;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.menu-category-header:hover {
  background-color: #F5F5F5;
}

.menu-category-title {
  font-size: 22px;
  font-weight: 600;
  color: #4C7C3C;
  margin: 0;
}

.menu-category-arrow {
  transition: transform 0.3s ease;
}

.menu-category-arrow.rotated {
  transform: rotate(180deg);
}

.menu-items {
  background-color: #FFFFFF;
  display: none;
}

.menu-items.show {
  display: block;
}

.menu-item {
  padding: 10px 30px;
  border-bottom: 1px solid #F0F0F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.admin-panel-menu-item {
  padding: 10px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
}

.admin-panel-menu-item::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 1px;
  background-color: #F0F0F0;
}

.admin-panel-menu-item:last-child::after {
  height: 0;
}

.admin-panel-menu-section {
  max-width: 350px !important;
  border-top: 1px solid #F0F0F0;
  border-left: 1px solid #F0F0F0;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 350px;
  background-color: #FFFFFF;
  overflow-y: auto;
  z-index: 9999;
}

.menu-item:hover, .admin-panel-menu-item:hover {
  background-color: #F9F9F9;
}

.menu-item:last-child, .admin-panel-menu-item:last-child {
  border-bottom: none;
}

.menu-item-text {
  font-size: 20px;
  font-weight: 500;
  color: #888888;
  margin: 0;
}

.admin-panel-menu-item-text {
  font-size: 18px;
  font-weight: 500;
  color: #888888;
  margin: 0;
}

.menu-item-icon {
  color: #4C7C3C;
  margin-left: 30px;
}

.admin-panel-menu-item-icon {
  color: #4C7C3C;
  margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-urdu {
      font-size: 30px;
  }

  .logo-english {
      font-size: 12px;
  }

  .menu-category-title {
      font-size: 20px;
  }

  .menu-item-text {
      font-size: 18px;
  }

  .menu-category-header {
      padding: 10px 20px;
  }

  .menu-item, .admin-panel-menu-item {
      padding: 16px 20px;
  }

  .menu-section {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-urdu {
      font-size: 26px;
  }

  .logo-english {
      font-size: 11px;
  }

  .menu-category-title {
      font-size: 18px;
  }

  .menu-item-text {
      font-size: 16px;
  }
}

/* 🔹 Close Button */
.menu-close {
  position: absolute;
  top: 15px;
  left: 20px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.menu-close:hover {
  transform: scale(1.1);
}

.form-menu-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.form-menu-close:hover {
  transform: scale(1.1);
}

.menu-logo {
  padding: 10px 20px 30px 20px;
  text-align: center;
}

.admin-panel-menu-logo {
  padding: 19px 20px 18px 20px;
  text-align: center;
}

.menu-logo img, .admin-panel-menu-logo img {
  height: 32px; 
  margin-bottom: 2px;
}

.custom-forms {
  padding: 40px !important;
}

.hidden {
  display: none;
}

.form-inner {
  border-radius: 23px !important;
}

/* Progress Bar Container */
.progress-bar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

.progress-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #D9D9D9;
  z-index: 1;
  margin-left: 25px;
  margin-right: 25px;
}

.progress-line-fill {
  position: absolute;
  top: 18px;
  left: 0;
  height: 5px;
  background-color: #4B7C3D;
  z-index: 2;
  transition: width 0.5s ease;
  margin-left: 25px;
  margin-right: 25px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.progress-circle.completed {
  background-color: #4B7C3D;
  border-color: #4B7C3D;
}

.progress-circle.completed::after {
  content: '✓';
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-right: 8px;
  margin-top: 4px;
}

.progress-circle.active {
  border-color: #4B7C3D;
  border-width: 3px;
}

.progress-label {
  font-size: 15px;
  color: #A2A2A2;
  text-align: center;
  white-space: nowrap;
}

.progress-label.active {
  color: #4B7C3D;
  font-weight: 600;
}

/* Form Container */
.form-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  max-width: 1000px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Form Labels & Inputs */
.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 10px;
}

.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  height: auto;
}

.form-control:focus {
  border-color: #4B7C3D;
  box-shadow: 0 0 0 0.2rem rgba(74, 157, 95, 0.15);
}

.form-control::placeholder {
  color: #B6B7B6;
}

textarea.form-control {
  resize: vertical;
}

/* Button Styling */
.btn-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.btn-container-steps-form {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
}

.btn-prev {
  background-color: #6c757d;
  color: white;
}

.btn-prev:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .form-container {
      padding: 24px;
  }
  
  .progress-label {
      font-size: 11px;
  }
  
  .progress-circle {
      width: 32px;
      height: 32px;
  }
  
  .form-title {
      font-size: 22px;
  }
  
  .btn-container, .btn-container-steps-form {
      flex-direction: column;
      flex-direction: column-reverse;
      gap: 10px;
  }
}

.form-check-custom {
  margin: 15px 0;
}

.checkbox-input {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 18px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover {
  border-color: #4B7C3D;
  box-shadow: 0 2px 8px rgba(74, 157, 95, 0.1);
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-icon {
  width: 14px;
  height: 14px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkbox-input:checked + .checkbox-label .checkbox-box {
  background-color: #4B7C3D;
  border-color: #4B7C3D;
}

.checkbox-input:checked + .checkbox-label .checkbox-icon {
  opacity: 1;
}

.checkbox-text {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  flex: 1;
  text-align: right;
}

.checkbox-input:checked + .checkbox-label {
  border-color: #4B7C3D;
}

.maktas-text-color {
  color: #4B7C3D;
}

.error-message {
  color: #f44336;
  font-size: 13px;
  margin-top: 4px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4caf50;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.global-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top-color: #5a7a4a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toggle-password-icon {
  position: absolute; 
  left: 15px; 
  bottom: 12px; 
  cursor: pointer;
}

.form-group-position {
  position: relative;
}

.admin-panel-header {
  background: #FFFFFF;
  color: white;
  padding: 2px 20px;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #E8E8E8;
}

.admin-panel-header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-panel-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: #6b9968;
}

.admin-panel-header-search-container {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.admin-panel-header-search-box {
  width: 100%;
  padding: 8px 20px 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.admin-panel-header-search-box:focus {
  outline: none;
  border-color: #6b9968;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(107, 153, 104, 0.1);
}

.admin-panel-header-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #4B7C3D;
  pointer-events: none;
}

.admin-panel-header-search-box::placeholder {
  color: #A1A1A1;
}

.admin-panel-header-center {
  min-width: 350px;
}

.admin-panel-header-profile-dropdown {
  position: relative;
}

.admin-panel-header-profile-toggle img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
}

/* Dropdown box */
.admin-panel-header-dropdown-menu {
  position: absolute;
  top: 60px;
  right: -110px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  width: 180px;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Inner items (links/buttons) */
.admin-panel-header-dropdown-menu a,
.admin-panel-header-dropdown-menu button {
  display: block;
  width: 100%;
  text-align: right;
  color: gray;
  padding: 8px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.admin-panel-header-dropdown-menu a:hover,
.admin-panel-header-dropdown-menu button:hover {
  background: #f5f5f5;
}

/* Hover support */
.admin-panel-header-profile-dropdown:hover .admin-panel-header-dropdown-menu {
  display: block;
}

/* Logout button */
.admin-panel-header-logout-btn {
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.admin-panel-header-logout-btn:hover {
  background: #f5f5f5;
}

.active-url {
  color: #4C7C3C;
}

.main-edit-profile {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
}

.image-upload-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border: 2px solid #4B7C3D;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
}

.image-upload-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px;
  border-radius: 50%;
  font-size: 18px;
}

.child_image_form_parent {
  display: none;
}

.image-upload-section {
  display: flex; 
  align-items: center; 
  gap: 10px;
}

.image-upload-text {
  color: #ffffff !important;
  margin-bottom: 0px !important;
  padding: 5px 25px !important;
  width: auto;
}

.dashboard-span-text {
  color: #ffffff !important;
  padding: 5px 25px !important;
  margin-bottom: 20px !important;
  max-width: 190px !important;
}

.hr-divider-profile {
  margin-top: 40px;
  margin-bottom: 20px;
  background-color: #ced4da;
  height: 1px;
  border: none;
}

.hr-divider-dashboard {
  margin-top: 10px;
  margin-bottom: 30px;
  background-color: #ced4da;
  height: 1px;
  border: none;
}

.dashboard-circle-container {
  position: relative;
  width: 300px;
  height: 180px;
}

.dashboard-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer rings */
.dashboard-outer { width: 180px; height: 180px; background: conic-gradient(#4B7C3D 0% 80%, #e5e5ef 80% 100%); opacity: 100%; }
.dashboard-ring2 { width: 160px; height: 160px; background: conic-gradient(#ffffff 0% 70%, #ffffff 70% 100%); }
.dashboard-ring3 { width: 140px; height: 140px; background: conic-gradient(#4B7C3D 0% 40%, #e5e5ef 40% 100%); opacity: 50%; }
.dashboard-ring4 { width: 120px; height: 120px; background: conic-gradient(#ffffff 0% 50%, #ffffff 50% 100%); }
.dashboard-ring5 { width: 100px; height: 100px; background: conic-gradient(#4B7C3D 0% 20%, #e5e5ef 20% 100%); opacity: 75%; }
.dashboard-ring6 { width: 80px; height: 80px; background: conic-gradient(#ffffff 0% 100%, #ffffff 100% 100%); }
.dashboard-inner { width: 20px;  height: 20px;  background: conic-gradient(#ffffff 0% 100%, #ffffff 1-0% 100%); }

/* Percentage text */
.dashboard-circle span {
  position: absolute;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  padding-right: 4px;
}

.green-dark {
  background-color: #4b7c3d;
}

.green-medium {
  background-color: #799e6e;
}

.green-light {
  background-color: #a5bd9e;
}

.legend-text {
  margin-right: 10px;
}

.time-display {
  margin-bottom: 16px;
}

.time-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1E1B39;
  line-height: 52px;
  letter-spacing: 0px;
  direction: rtl;
}

.date-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #615E83;
  line-height: 18px;
  letter-spacing: 0px;
  direction: rtl;
}

.header-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 400;
  color: #9291A5;
  line-height: 20px;
  letter-spacing: 0px;
  margin-bottom: 8px;
}

.title-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 22px;
  font-weight: 500;
  color: #1E1B39;
  line-height: 28px;
  letter-spacing: 0px;
}

.progress-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex: 6;
}

.main-progress-dashboard {
  display: flex;
}

.total-value-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 24px;
  font-weight: 500;
  color: #1E1B39;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  margin-top: 40px;
}

.total-value {
  font-family:  "Roboto", serif !important;
  font-size: 45px;
  font-weight: 700;
  color: #1E1B39;
  line-height: 52px;
  letter-spacing: 0px;
  text-align: center;
  margin-top: -40px;
}

.dashboard-circle-image {
  height: 154px;
  width: 290px;
}

.inner-progress-total {
  text-align: center;
}

.progress-card-left {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex: 4;
}

.progress-card-main {
  display: flex;
  gap: 20px;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.dashboard-exam-score-listing {
  margin-top: 30px !important;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #1E1B39;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
  align-items: center;
  transition: background 0.2s;
}

.table-row:hover {
  background: #f8f9fa;
}

.date {
  color: #615E83;
  font-size: 13px;
  font-family: "Inter Regular", sans-serif;
  line-height: 18px;
  letter-spacing: 0px;
  font-weight: 400;
}

.progress-container-admin-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar-dashboard {
  max-width: 200px;
  flex: 1;
  height: 8px;
  background: #CDCDCD;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4B7C3D 0%, #4B7C3D 100%);
  border-radius: 10px;
  width: 56%;
  transition: width 0.3s ease;
}

.progress-numbers {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #615E83;
  font-family: "Inter Regular", sans-serif;
  line-height: 18px;
  letter-spacing: 0px;
  font-weight: 400;
}

.name {
  color: #615E83;
  font-size: 15px;
}

.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more button {
  padding: 12px 40px;
  background: #e9ecef;
  border: none;
  border-radius: 25px;
  color: #6c757d;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more button:hover {
  background: #dee2e6;
  color: #495057;
}

@media (max-width: 768px) {
  .table-header,
  .table-row {
      grid-template-columns: 1fr;
      gap: 10px;
  }
}

.hamburger-admin-panel {
  background: #5a7a4a !important;
  border: #5a7a4a !important;
  width: 48px;
  height: 38px;
  padding: 10px !important;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

.hamburger-admin-panel span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==================== DESKTOP FIXES (1200px+) ==================== */
@media (min-width: 1200px) {
  /* Ensure sidebar is always visible on desktop */
  .admin-panel-menu-section {
      transform: translateX(0) !important;
      display: block !important;
  }

  /* Hide mobile menu elements */
  .hamburger-admin-panel,
  .sidebar-close {
      display: none !important;
  }

  /* Ensure content has proper margin for sidebar */
  .admin-panel-content {
      margin-right: 350px;
  }
}

/* ==================== LARGE TABLETS & SMALL DESKTOPS (992px - 1199px) ==================== */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Body padding adjustment */
  body {
      padding-top: 120px;
  }

  /* Main content - no sidebar margin */
  .admin-panel-content {
      margin-right: 0 !important;
      padding: 25px 30px;
  }

  /* Sidebar - slide from right */
  .admin-panel-menu-section {
      width: 320px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 9999;
  }

  .admin-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-admin-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #4B7C3D;
      border: none;
      border-radius: 8px;
      padding: 12px;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-admin-panel span {
      width: 24px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-admin-panel.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger-admin-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-admin-panel.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  /* Sidebar close button */
  .sidebar-close {
      display: block !important;
      position: absolute;
      top: 20px;
      left: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 10;
      color: #888888;
      border-radius: 6px;
      transition: all 0.3s ease;
  }

  .sidebar-close:hover {
      background: rgba(75, 124, 61, 0.1);
      color: #4B7C3D;
  }

  /* Header adjustments */
  .admin-panel-header {
      padding: 2px 30px;
  }

  .admin-panel-header-center {
      min-width: 280px;
  }

  .admin-panel-header-search-box {
      font-size: 16px;
  }

  /* Dashboard adjustments */
  .dashboard-span-text {
      margin-right: 2% !important;
  }

  .progress-card-main {
      flex-direction: column;
      padding-right: 2%;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 30px;
      align-items: center;
  }

  .dashboard-exam-score-listing {
      overflow-x: auto;
  }
}

/* ==================== TABLETS (768px - 991px) ==================== */
@media (min-width: 768px) and (max-width: 991px) {
  /* Body padding */
  body {
      padding-top: 140px;
  }

  /* Content area */
  .admin-panel-content {
      margin-right: 0 !important;
      padding: 20px 25px;
  }

  /* Sidebar */
  .admin-panel-menu-section {
      width: 300px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 9999;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .admin-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-admin-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #4B7C3D;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-admin-panel span {
      width: 22px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-admin-panel.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .hamburger-admin-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-admin-panel.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
  }

  /* Header */
  .admin-panel-header {
      padding: 2px 20px;
  }

  .admin-panel-header-container {
      gap: 15px;
  }

  .admin-panel-header-center {
      min-width: 250px;
  }

  .admin-panel-header-search-box {
      font-size: 16px;
      padding: 7px 18px 7px 14px;
  }

  .user-name {
      display: none;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 16px !important;
      margin-right: 0 !important;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 20px;
      padding-right: 0;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      width: 100%;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 25px;
      align-items: center;
  }

  .dashboard-circle-container {
      margin: 0 auto;
  }

  .dashboard-exam-score-listing {
      margin-right: 0;
      overflow-x: auto;
  }

  .table-header,
  .table-row {
      min-width: 600px;
  }
}

/* ==================== MOBILE LANDSCAPE & SMALL TABLETS (576px - 767px) ==================== */
@media (min-width: 576px) and (max-width: 767px) {
  /* Body padding */
  body {
      padding-top: 150px;
  }

  .top-main {
      margin-top: 6px;
      margin-left: 15px;
      margin-right: 15px;
  }

  /* Content */
  .admin-panel-content {
      margin-right: 0 !important;
      padding: 15px 20px;
  }

  /* Sidebar */
  .admin-panel-menu-section {
      width: 280px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 9999;
  }

  .admin-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-admin-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #4B7C3D;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
  }

  .hamburger-admin-panel span {
      width: 22px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-admin-panel.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .hamburger-admin-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-admin-panel.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
  }

  /* Header */
  .admin-panel-header {
      padding: 2px 16px;
  }

  .admin-panel-header-container {
      flex-wrap: wrap;
      gap: 10px;
  }

  .admin-panel-header-right {
      order: 0;
      flex: 0 0 auto;
  }

  .admin-panel-header-left {
      order: 1;
      flex: 1;
      justify-content: flex-start;
  }

  .admin-panel-header-center {
      margin-left: 0;
      min-width: auto;
      margin-right: 15% !important;
  }

  .admin-panel-header-search-box {
      width: 100%;
      font-size: 15px;
      padding: 8px 16px 8px 14px;
  }

  .user-name {
      display: none;
  }

  .profile-img img {
      height: 45px;
      width: 45px;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 15px !important;
      padding: 4px 18px !important;
      margin: 0 0 15px 0 !important;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 15px;
      padding-right: 0;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      padding: 20px;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 20px;
  }

  .time-value {
      font-size: 28px;
      line-height: 40px;
  }

  .title-text {
      font-size: 20px;
      line-height: 26px;
  }

  .header-text {
      font-size: 16px;
  }

  .dashboard-circle-container {
      width: 200px;
      height: 200px;
      margin: 0 auto;
  }

  .dashboard-outer { width: 160px; height: 160px; }
  .dashboard-ring2 { width: 140px; height: 140px; }
  .dashboard-ring3 { width: 120px; height: 120px; }
  .dashboard-ring4 { width: 100px; height: 100px; }
  .dashboard-ring5 { width: 80px; height: 80px; }
  .dashboard-ring6 { width: 60px; height: 60px; }
  .dashboard-inner { width: 18px; height: 18px; }

  .dashboard-circle-image {
      width: 200px;
      height: auto;
  }

  /* Table */
  .dashboard-exam-score-listing {
      margin-right: 0;
      padding: 20px;
      overflow-x: auto;
  }

  .table-header {
      display: none;
  }

  .table-row {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 15px;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      margin-bottom: 12px;
      background: #ffffff;
  }

  .name {
      font-size: 16px;
      font-weight: 600;
      color: #1E1B39;
      order: 1;
  }

  .progress-container-admin-panel {
      order: 2;
      width: 100%;
  }

  .progress-bar-dashboard {
      max-width: 100%;
  }

  .date {
      font-size: 13px;
      order: 3;
  }

  /* Dropdowns */
  .notification-dropdown {
      width: 320px;
      right: -80px;
  }

  .admin-panel-header-dropdown-menu {
      right: -80px;
  }
}

/* ==================== MOBILE PORTRAIT (320px - 575px) ==================== */
@media (max-width: 575px) {
  /* Body padding */
  body {
      padding-top: 160px;
  }

  .top-main {
      margin-top: 157px;
      margin-left: 10px;
      margin-right: 10px;
  }

  /* Content */
  .admin-panel-content {
      margin-right: 0 !important;
      padding: 15px 12px;
  }

  /* Sidebar */
  .admin-panel-menu-section {
      width: 100%;
      max-width: 100%;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 9999;
  }

  .admin-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-admin-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #4B7C3D;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-admin-panel span {
      width: 20px;
      height: 2.5px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-admin-panel.active span:nth-child(1) {
      transform: translateY(6.5px) rotate(45deg);
  }

  .hamburger-admin-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-admin-panel.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
      position: absolute;
      top: 15px;
      left: 15px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 10;
      color: #888888;
  }

  .admin-panel-menu-item {
      padding: 14px 20px;
  }

  .admin-panel-menu-item-text {
      font-size: 17px;
  }

  /* Header */
  .admin-panel-header {
      padding: 2px 12px;
  }

  .admin-panel-header-container {
      flex-wrap: wrap;
      gap: 8px;
  }

  .admin-panel-header-right {
      order: 0;
  }

  .admin-panel-header-left {
      order: 1;
  }

  .admin-panel-header-center {
      margin: 8px 0 0 0;
      min-width: auto;
  }

  .admin-panel-header-search-container {
      width: 100%;
  }

  .admin-panel-header-search-box {
      width: 100%;
      font-size: 14px;
      padding: 9px 10px 9px 14px;
  }

  .admin-panel-header-search-icon {
      left: 12px;
  }

  .user-name {
      display: none !important;
  }

  .profile-img img {
      height: 42px;
      width: 42px;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 14px !important;
      padding: 4px 15px !important;
      margin: 0 0 15px 0 !important;
  }

  .caption-img {
      height: 16px;
      width: 16px;
      margin-left: 4px;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 15px;
      padding-right: 0;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      width: 100%;
      padding: 20px 15px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  .main-progress-dashboard {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .inner-progress-time {
      width: 100%;
  }

  .inner-progress-chart {
      width: 100%;
      display: flex;
      justify-content: center;
  }

  .dashboard-circle-container {
      width: 180px;
      height: 180px;
  }

  .dashboard-outer { width: 160px; height: 160px; }
  .dashboard-ring2 { width: 140px; height: 140px; }
  .dashboard-ring3 { width: 120px; height: 120px; }
  .dashboard-ring4 { width: 100px; height: 100px; }
  .dashboard-ring5 { width: 80px; height: 80px; }
  .dashboard-ring6 { width: 60px; height: 60px; }
  .dashboard-inner { width: 18px; height: 18px; }

  .dashboard-circle-image {
      width: 220px;
      height: auto;
  }

  .time-value {
      font-size: 24px;
      line-height: 36px;
  }

  .date-value {
      font-size: 14px;
      line-height: 16px;
  }

  .title-text {
      font-size: 18px;
      line-height: 24px;
  }

  .header-text {
      font-size: 15px;
      line-height: 18px;
  }

  .total-value {
      font-size: 38px;
      line-height: 44px;
  }

  .total-value-text {
      font-size: 20px;
      line-height: 22px;
  }

  .legend-list {
      margin-top: 20px;
      gap: 16px;
  }

  .legend-text {
      font-size: 14px;
  }

  .legend-dot {
      width: 12px;
      height: 12px;
  }

  /* Table */
  .dashboard-exam-score-listing {
      margin: 20px 0 30px 0 !important;
      padding: 15px;
      max-width: 100%;
      overflow-x: visible;
      margin-right: 0 !important;
  }

  .table-header {
      display: none !important;
  }

  .table-row {
      display: flex !important;
      flex-direction: column;
      gap: 10px;
      padding: 15px;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      margin-bottom: 10px;
      background: #ffffff;
  }

  .table-row:hover {
      background: #ffffff;
  }

  .name {
      font-size: 16px;
      font-weight: 600;
      color: #1E1B39;
      order: 1;
  }

  .progress-container-admin-panel {
      order: 2;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .progress-bar-dashboard {
      max-width: 100%;
      flex: 1;
  }

  .date {
      font-size: 12px;
      order: 3;
  }

  .progress-numbers {
      font-size: 12px;
  }

  /* Dropdowns */
  .notification-dropdown {
      position: fixed;
      top: 70px !important;
      right: 15px;
      left: 15px;
      width: auto;
      max-height: calc(100vh - 90px);
  }

  .admin-panel-header-dropdown-menu {
      right: -120px;
      width: 200px;
  }

  .notification-header h4 {
      font-size: 15px;
  }

  .mark-all-read {
      font-size: 10px;
      padding: 3px 6px;
  }

  .main-dashboard {
    padding-right: 20px !important;
    padding-left: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* ==================== EXTRA SMALL MOBILE (320px - 374px) ==================== */
@media (max-width: 374px) {
  .dashboard-span-text {
      font-size: 13px !important;
      padding: 4px 12px !important;
  }

  .caption-img {
      height: 14px;
      width: 14px;
  }

  .progress-card,
  .progress-card-left {
      padding: 15px 12px;
  }

  .title-text {
      font-size: 16px;
      line-height: 22px;
  }

  .header-text {
      font-size: 14px;
  }

  .time-value {
      font-size: 22px;
      line-height: 32px;
  }

  .total-value {
      font-size: 34px;
      line-height: 40px;
  }

  .total-value-text {
      font-size: 18px;
  }

  .dashboard-circle-container {
      width: 160px;
      height: 160px;
  }

  .dashboard-outer { width: 140px; height: 140px; }
  .dashboard-ring2 { width: 122px; height: 122px; }
  .dashboard-ring3 { width: 104px; height: 104px; }
  .dashboard-ring4 { width: 86px; height: 86px; }
  .dashboard-ring5 { width: 68px; height: 68px; }
  .dashboard-ring6 { width: 50px; height: 50px; }
  .dashboard-inner { width: 16px; height: 16px; }
}

/* ==================== LANDSCAPE MODE FIXES ==================== */
@media (max-width: 767px) and (orientation: landscape) {
  body {
      padding-top: 80px;
  }

  .admin-panel-header {
      padding: 2px 12px;
  }

  .hamburger-admin-panel {
      top: 20px;
  }

  .progress-card-main {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 15px;
  }

  .progress-card,
  .progress-card-left {
      flex: 1 1 48%;
      max-width: 48%;
  }

  .main-progress-dashboard {
      flex-direction: row;
      gap: 15px;
  }

  .dashboard-circle-container {
      width: 150px;
      height: 150px;
  }
}

/* ==================== OVERLAY FOR SIDEBAR (MOBILE) ==================== */
@media (max-width: 1199px) {
  /* Create overlay when sidebar is open */
  body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 9998;
      pointer-events: none;
  }

  body.sidebar-open::before {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
  }

  body.sidebar-open {
      overflow: hidden;
  }
}

/* ==================== UTILITIES ==================== */

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

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

/* Custom scrollbar for sidebar */
.admin-panel-menu-section::-webkit-scrollbar {
  width: 6px;
}

.admin-panel-menu-section::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.admin-panel-menu-section::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.admin-panel-menu-section::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Table scrollbar on mobile */
@media (max-width: 767px) {
  .dashboard-exam-score-listing::-webkit-scrollbar {
      height: 4px;
  }

  .dashboard-exam-score-listing::-webkit-scrollbar-track {
      background: #f1f1f1;
  }

  .dashboard-exam-score-listing::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 2px;
  }
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 2px solid #4B7C3D;
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
  }
}

.main-dashboard {
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 50px;
}

.hero {
  background-color: #0d6efd;
  color: white;
  padding: 60px 0;
  text-align: center;
}
.faq-item {
  margin-bottom: 20px;
}
.contact-section {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

.checkbox-disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: not-allowed;
}

.cv-preview-link {
  display: inline-block; 
  padding: 6px 12px;
  text-decoration: none !important;
}

.cv-preview-main a:hover {
  background: #4a6a3a !important;
  box-shadow: 0 6px 16px rgba(90, 122, 74, 0.4) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}
