  @font-face {
    font-family: "Urdu";
    src: url("Fonts/Gulzar-Regular.ttf");
  }

  .carousel-item {
    height: 80vh;
    max-height: 600px;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-position-x: center;
  }

  .row .col a {
    color: black;
    font-size: 25px;
  }

  a:hover {
    color: black;
  }

  .dark-mode a {
    color: white;
  }

  .dark-mode .row .col a {
    color: white;
  }

  .textmuted {
    color: #6c757d;
  }

  .dark-mode .textmuted {
    color: #c5ccd1;
  }

  .urdu {
    font-family: Urdu;
    direction: rtl;
  }

  .english {
    direction: ltr;
  }

  .theme-toggle {
    text-align: left;
    margin-top: 1rem;
  }

  .dark-mode .theme-toggle button {
    background-color: #333;
    color: #fff;
  }

  .theme-toggle button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #ded9d9;
    color: black;
  }

  button:active {
    border: none;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .dark-mode header {
    background: #333;
  }

  .nav-item {
    text-align: right !important;
  }

  footer {
    background-color: #f8f9fa;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .book-container img {
    width: 120px;
  }

  @media (min-height: 100vh) {
    body {
      margin-bottom: 70px;
      /* Adjust this value to match the height of your footer */
    }
  }

  @media (max-width: 767px) {
    header {
      position: fixed;
      width: 100%;
    }

    .navbar-nav {
      flex-direction: column;
      text-align: right;
    }

    .nav-item {
      margin: 0.5rem 0;
    }
  }

  .dark-mode {
    background-color: #333;
    color: #fff;
  }

  .dark-mode header {
    background-color: #000000;
    box-shadow: none;
  }

  .dark-mode .nav-links a {
    color: #fff;
  }

  .dark-mode .hero {
    background-color: #222;
  }

  .dark-mode .hero-content {
    color: #fff;
  }

  /* .dark-mode .btn {
    background-color: #ff4d00;
  } */

  .dark-mode .section {
    background-color: #333;
    color: #fff;
  }

  .dark-mode form input,
  .dark-mode form textarea {
    background-color: #222;
    color: #fff;
    border-color: #fff;
  }

  /* .dark-mode form button {
    background-color: #ff4d00;
  } */

  .dark-mode footer {
    background-color: #000000;
  }

  .dark-mode footer p {
    color: #ffffff;
  }

  /* 
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, sans-serif;
    color: #333;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    width: 50px;
    height: 50px;
  }

  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 2px;
  }

  .nav-links {
    display: flex;
    justify-content: flex-start;
    padding: 15px;
    align-items: center;
    list-style: none;
  }

  .nav-links li {
    margin-left: 1rem;
  }

  .nav-links a {
    text-decoration: none;
    color: #333;
  }
  .nav-links a:hover {
    color: orange;
  }
  .hero {
    background-image: url("Background.png");
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: #fff;
    height: 600px;
  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: slide-up 1s ease-in-out;
  }

  @keyframes slide-up {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .hero h1 {
    font-family: "Urdu", sans-serif;
    font-size: 6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, rgb(250, 0, 0), rgb(252, 127, 127));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero h3 {
    font-family: "Urdu", sans-serif;
    font-size: 3.75rem;
    margin-bottom: 2rem;
    font: bold sp;
    color: black;
  }

  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    text-decoration: none;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 90%;
  }

  .btn:hover {
    background-color: #db4403;
    transform: scale(1.1);
  }

  .section {
    padding: 5rem 0;
    text-align: center;
    animation: fade-in 1s ease-in-out;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    animation: slide-in 1s ease-in-out;
  }

  @keyframes slide-in {
    from {
      transform: translateX(-50%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .portfolio-items {
    display: block;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
  }

  .portfolio-item {
    width: 150px;
    margin: 0.125rem;
    animation: fade-in 1s ease-in-out;
    list-style: circle;
  }

  .portfolio-item img {
    width: 80%;
    height: 200px;
    border-radius: 15px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .portfolio-item img:hover {
    transform: scale(1.1);
  }

  .portfolio-item h3 {
    font-size: 30px;
    animation: slide-up 1s ease-in-out;
  }

  form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  form input,
  form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
  }

  form textarea {
    height: 150px;
  }

  form button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    text-decoration: none;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  form button:hover {
    background-color: #ff4d00;
    transform: scale(1.1);
  }

  footer {
    background-color: #c9c5c5;
    padding: 1rem 0;
    text-align: center;
    left: 0;
    width: 100%;
  }

  footer p {
    font-family: "urdu", sans-serif;
    font-size: 27px;
    color: #000000;
    animation: fade-in 1s ease-in-out;
  }

  .dark-mode {
    background-color: #333;
    color: #fff;
  }

  .dark-mode header {
    background-color: #000000;
    box-shadow: none;
  }

  .dark-mode .nav-links a {
    color: #fff;
  }

  .dark-mode .hero {
    background-color: #222;
  }

  .dark-mode .hero-content {
    color: #fff;
  }

  .dark-mode .btn {
    background-color: #ff4d00;
  }

  .dark-mode .section {
    background-color: #222;
    color: #fff;
  }

  .dark-mode form input,
  .dark-mode form textarea {
    background-color: #222;
    color: #fff;
    border-color: #fff;
  }

  .dark-mode form button {
    background-color: #ff4d00;
  }

  .dark-mode footer {
    background-color: #000000;
  }

  .dark-mode footer p {
    color: #ffffff;
  }

  .theme-toggle {
    text-align: center;
    margin-top: 1rem;
  }

  .theme-toggle button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .dark-mode .book-option:hover {
    background-color: rgb(221, 219, 219);
    color: black;
  }
  .dark-mode .book-option {
    background-color: rgb(162, 159, 159);
    border: 2px solid white;
    color: black;
  }
  .dark-mode .theme-toggle button:hover {
    background-color: #949393;
  }
  .theme-toggle button:hover {
    background-color: #412727;
  }
  .message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
    font-family: Arial, sans-serif;
    text-align: center;
  }

  .success {
    background-color: #4caf50;
    width: 500px;
    margin: auto;
    margin-bottom: 25px;
  }

  .error {
    background-color: #f44336;
    width: 500px;
    margin: auto;
    margin-bottom: 25px;
    margin-top: 25px;
  }

  header {
    background-color: #c9c5c5;
  }

  img {
    height: 300px;
    width: 200px;
  }

  h2 {
    font-family: "urdu", sans-serif;
  }
*/
  /* Book Sections */
  /*
  .dark-mode .book-container {
    border: 2px solid black;
    background-color: rgb(73, 72, 72);
  }
  .book-container {
    width: max-content;
    height: max-content;
    border: 2px solid rgb(99, 98, 98);
    margin: auto;
    margin-top: 10vh;
    background-color: rgb(190, 188, 188);
    transition: box-shadow 0.5s, background 0.2s, transform 0.5s;
    border-radius: 30px;
    direction: rtl;
  }
  .book-container:hover{
    box-shadow: 2px 2px 1px 0 rgb(44, 44, 44);
    transform: scale(1.02);
  }
  .dark-mode .book-container:hover{
      box-shadow: 2px 2px 1px 0 rgb(198, 198, 198)
  }
  .book-container:active{
    background: rgb(138, 138, 138);
  }

  .book-heading {
    margin-top: 1vh;
    font-family: "urdu", sans-serif;
    font-size: 5vh;
  }
  .book-data {
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .book-data a {
    text-decoration: none;
    color: black;
    gap: 10px;
    margin-right: 2px;
    margin-left: 2px;
    text-align: center;
    transition: transform 0.5s;
  }
  .book-data a img {
    width: 14vh;
    height: 19vh;
    cursor: pointer;
    margin-right: 20px;
    margin-left: 20px;
  }

  .book-data a:hover {
    transform: scale(1.2);
  }
  .dark-mode .book-data a {
    color: white;
  }
  */
  /* Contact Section */
  /*
  .contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
  }

  .contact-form textarea {
    height: 150px;
  }

  .contact-form button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    text-decoration: none;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .contact-form button:hover {
    background-color: #ff4d00;
    transform: scale(1.1);
  }

  .contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
  }

  .contact-info-item {
    text-align: center;
  }

  .contact-info-item i {
    font-size: 2.5rem;
    color: #ff6600;
  }

  .contact-info-item p {
    font-size: 1.4rem;
    margin-top: 0.5rem;
  }

  .contact-info-item p a {
    color: #333;
    text-decoration: none;
  }

  .contact-info-item p a:hover {
    text-decoration: underline;
  }

  .contact-info-item:last-child {
    margin-right: 0;
  }
*/
  /* Responsive Styles */
  /*
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      right: 0;
      height: 92vh;
      top: 8vh;
      background-color: #c9c5c5;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 50%;
      transform: translateX(100%);
      transition: transform 0.3s ease-in;
    }

    .nav-links.show {
      transform: translateX(0);
    }

    .nav-links li {
      opacity: 100;
      background: gray;
      width: 90%;
      margin-bottom: 15px;
      font-size: 20px;
      border-radius: 30px;
      height: 30px;
      text-align: center;
    }

    .nav-links li:nth-child(1) {
      transition: opacity 0.3s ease-in-out 0.3s;
    }

    .nav-links li:nth-child(2) {
      transition: opacity 0.3s ease-in-out 0.6s;
    }

    .nav-links li:nth-child(3) {
      transition: opacity 0.3s ease-in-out 0.9s;
    }

    .nav-links li:nth-child(4) {
      transition: opacity 0.3s ease-in-out 1.2s;
    }

    .nav-links li:nth-child(5) {
      transition: opacity 0.3s ease-in-out 1.5s;
    }

    .nav-toggle {
      display: flex;
    }

    .hero-content {
      max-width: 90%;
    }

    .hero h1 {
      font-size: 4rem;
    }

    .hero h3 {
      font-size: 25.5rem;
    }

    .portfolio-item img {
      height: 150px;
    }
  }
  h3 {
    font-family: "urdu", Arial, Helvetica, sans-serif;
  }

  .team-member {
    display: inline-block;
    margin-bottom: 40px;
    margin-right: 20px;
  }

  .team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
  }

  .team-member h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .team-member p {
    font-size: 16px;
  } */