@import url("https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400..700&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.home-section {
  position: relative;
}
header {
  position: absolute;
  left: 0;
  right: 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.logo img {
  max-width: 100px;
  height: auto;
}

.download-button {
  background-color: white;
  font-weight: 600;
  border-radius: 30px;
  color: rgba(30, 144, 255, 1);
  padding: 1rem 2rem;
  font-family: "Noto Nastaliq Urdu", serif;
  overflow: hidden;
  border: none;
}
.download-button:hover {
  background-color: rgba(30, 144, 255, 1);
  color: white;
}
.download-button:active {
  border-radius: 30px !important;
}

.carousel-description {
  font-family: "Noto Nastaliq Urdu", serif;
}
.box {
  /* padding: 3rem 0; */
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 3px 2px;
}
.content p {
  font-family: "Noto Nastaliq Urdu", serif;
  line-height: 2;
  text-align: center;
  font-size: 1.3rem;
}
.content h5 {
  border-radius: 0px, 10px, 0px, 10px;
  padding: 1rem;
  background-color: rgba(30, 135, 238, 1);
}

.custom-card {
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.section-two {
  background-color: rgba(245, 245, 245, 1);
}
.custom-card .card-header {
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.number-box {
  padding: 8px 16px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #007bff;
  font-size: 2rem;
  position: absolute;
  right: 0;
}

.custom-card .card-body {
  padding-block: 3rem;
}
.card-body {
  border: none !important;
  border-radius: 10px;
}
.card {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  height: 100%;
  width: 100%;
}
.card-text {
  font-family: "Noto Nastaliq Urdu", serif;
  line-height: 2.2;
  font-size: 1.5rem;
  padding: 2rem;
}
@media (max-width: 380px) {
  .card-text {
    font-size: 1.2rem;
  }
}
.contact-content h1 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 3rem;
  text-align: center;
  color: #007bff;
}
.left-side {
  background-image: url("../assets/images/sec-3-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.left-side h2 {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: right;
  color: rgba(255, 255, 255, 1);
  font-family: "Noto Nastaliq Urdu", serif;
}
.left-side p {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: right;
  color: rgba(255, 255, 255, 1);
  font-family: "Noto Nastaliq Urdu", serif;
}
.contact-links p {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: right;
  color: rgba(255, 255, 255, 1);
  font-family: sans-serif;
}
/* ################################ */
.button-container {
  position: absolute;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  margin-top: 8rem;
  background-color: #f0f0f0;
  padding: 0.5rem 0;
  margin-top: 40px !important;
  z-index: 1000;
}
.button-container button {
  flex: 1;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  color: #0d6efd;
  transition: 0.3s, color 0.3s;
  cursor: pointer;
  font-family: "Noto Nastaliq Urdu", serif;
}
.button-container button.active {
  background: #0d6efd;
  color: white;
}
.button-container button:first-child {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  padding: 15px 42px;
}
.button-container button:last-child {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
.cards {
  display: none;
}
.cards.active {
  display: flex;
  flex-wrap: wrap;
  /* gap: 10px; */
}
.card {
  border-radius: 10px;
  background-color: #f8f9fa;
}
.show {
  display: flex !important;
}
.hide {
  display: none !important;
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
.carousel-caption h5 {
  font-size: 3rem;
  font-weight: bold;
}
.carousel-description {
  font-size: 2rem;
  line-height: 2;
}
@media (max-width: 1500px) {
  .button-container {
    text-align: center;
    /* margin-top: 20px !important; */
    padding: 10px 20px;
  }

  .carousel-caption {
    top: 50%;
    left: 50%;
  }
  .carousel-caption h5 {
    font-size: 1.8rem;
  }
  .carousel-description {
    display: block;
    font-size: 1.5rem !important;
  }

  .button-container button:first-child {
    padding: 9px 16px;
    font-size: 1rem;
    margin-bottom: 5px;
  }
}
@media (max-width: 1200px) {
  .button-container button:first-child {
    padding: 10px 0px;
    font-size: 14px !important;
    width: 14rem !important;
  }
  .button-container {
    text-align: center;
    margin-top: 20px !important;
    padding: 10px 20px;
    width: 30rem !important;
  }
  .carousel-caption {
    top: 50%;
    left: 50%;
  }
  .carousel-caption h5 {
    font-size: 1.8rem;
  }
  .carousel-description {
    display: block;
    font-size: 1.2rem !important;
  }

  .button-container button:first-child {
    padding: 9px 16px;
    font-size: 1rem;
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    top: 50%;
    left: 50%;
  }
  .carousel-caption h5 {
    font-size: 1.7rem;
  }
  .carousel-description {
    display: block;
    font-size: 0.8rem !important;
  }
  .button-container button:first-child {
    padding: 10px 0px;
    font-size: 14px !important;
    width: 10rem !important;
  }
  .button-container {
    width: 22rem !important;
    text-align: center;
    padding: 8px 13px;
    bottom: 1%;
    left: 50%;
    transform: translate(-40%, -50%) !important;
    padding: 5px 20px;
  }
  .contact-content h1 {
    font-size: 3rem;
  }
  .overlay h3 {
    text-align: center;
    font-size: 1.5rem;
  }
  .test-btn {
    display: block;
  }
}
@media (max-width: 620px) {
  .button-container button:first-child {
    padding: 10px 10px;
    font-size: 10px !important;
    width: 9rem !important;
  }
  .button-container {
    width: 20rem !important;
    text-align: center;
    padding: 8px 13px;
    bottom: 1%;
    left: 50%;
    transform: translate(-35%, -50%) !important;
    padding: 5px 10px !important;
  }
}
@media (max-width: 444px) {
  .button-container button:first-child {
    padding: 10px 10px;
    font-size: 9px !important;
    width: 8rem !important;
  }
  .button-container {
    width: 17rem !important;
    margin-left: -3rem;
    text-align: center;
    padding: 0px 8px !important;
    padding-top: 4px !important;
    transform: translate(-35%, -50%) !important;
  }
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
  .carousel-description {
    display: block;
    font-size: 0.7rem !important;
  }
  .contact-content h1 {
    font-size: 2rem;
  }
  @media (max-width: 350px) {
    .button-container {
      left: 60% !important;
      margin-left: -4.5rem;
    }
  }
}

/* #########################footer########################### */
.footer-container {
  background-color: rgba(30, 144, 255, 1);
  color: white;
  padding: 5px 0;
}
.footer-item {
  margin: 5px 0;
}
.footer-item .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
}
.footer-item .social-icons a:hover {
  color: #ccc;
}
.footer-bottom {
  background-color: rgba(30, 144, 255, 1);
  color: rgba(35, 34, 51, 1);
  padding-bottom: 5px;
  text-align: center;
}
/* .footer {
  background-color: rgba(30, 144, 255, 1) !important;
  color: white;
  padding: 40px 0;
}
.footer .logo img {
  max-width: 100px;
}
.footer-heading {
  font-size: 2rem;
  font-family: inter, sans-serif;
  font-weight: 500;
}
.footer .social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer .social-icons a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  padding: 0 10px;
}
.footer .social-icons a::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background-color: white;
}
.footer .social-icons a:last-child::after {
  display: none;
}
.footer .social-icons a:hover {
  color: #d9d9d9;
}
.footer .quick-links a {
  color: white;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer .quick-links a:hover {
  color: #d9d9d9;
}
.footer input[type="email"] {
  border: none;
  border-radius: 0;
  padding: 5px 20px;
}
.footer .input-group {
  border-radius: 5px;
  overflow: hidden;
}
.footer .input-group-append .btn {
  border: none;
  background-color: #fff;
  color: #007bff;
  border-top-left-radius: 0%;
  border-bottom-left-radius: 0%;
  border-left: 2px solid #007bff;
} */

.column {
  padding: 20px;
  position: relative;
  color: white;
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
  min-height: 600px;
  border-radius: 10px;
  border: 2px solid black;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); Dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
}
.overlay h3 {
  margin-bottom: 15px;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 2rem;
  margin-right: 1rem;
}
.overlay h4 {
  margin-bottom: 15px;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 1rem;
  margin-right: 1rem;
}
.overlay p {
  font-family: sans-serif;
  font-size: 1.2rem;
  align-items: end;
  margin-right: 0.5rem;
  text-align: right;
}
.overlay .contact-info {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-right: 1rem;
}
.overlay .contact-info i {
  font-size: 20px;
  margin-bottom: 10px;
}
.contact-section {
  padding: 40px 0;
  direction: rtl;
  text-align: center !important;
}
.contact-section .form-group {
  display: flex;
  justify-content: flex-end;
}
.contact-section .form-control {
  border: none;
  border-bottom: 2px solid rgba(141, 141, 141, 1);
  border-radius: 0;
}
.contact-section .form-control:focus {
  box-shadow: none;
  border-bottom: 2px solid #0d6efd;
}
.contact-section .full-width {
  width: 100%;
}
.contact-section .btn-send {
  background-color: rgba(30, 144, 255, 1);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 35px;
  font-family: "Noto Nastaliq Urdu", serif;
  text-align: center !important;
}
.contact-section .btn-send:hover {
  /* background-color: #ffffff !important;
  color: rgba(30, 144, 255, 1); */
  transform: scale(1.1);
}
.contact-section .form-control + .form-control {
  margin-right: 10px;
}
.form-control {
  font-family: "Noto Nastaliq Urdu", serif;
  padding: 2rem 0.7rem;
  font-weight: 500;
  line-height: 2;
}
/* #######test######### */
/* Styles for buttons */
.button-container {
  text-align: center;
  padding: 10px 13px;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button-wrapper {
  display: inline-block;
}

.button.active {
  background-color: #007bff;
  color: #fff;
}

/* Styles for card boxes */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* margin-top: 20px; */
}

.card:nth-child(n + 7) {
  display: none;
}
@media (max-width: 750px) {
  .logo img {
    width: 70px !important;
  }
  .download-btn {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}
@media (max-width: 600px) {
  .logo img {
    width: 50px !important;
  }
  .download-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  .carousel-item img {
    height: 55vh;
  }
}
/* ##########################testing css########################### */
.scroll-offset {
  position: absolute;
  top: 90%;
  left: 0;
  width: 1px;
  height: 1px;
  background-color: transparent;
  pointer-events: none; /* Make sure these elements don't interfere with clicking */
}
.code-generator {
  text-align: right;
  margin-top: 50px;
  position: absolute;
  right: 9%;
  bottom: 9%;
}
@media (max-width: 998px) {
  .code-generator {
    display: none;
  }
}

#urlInput {
  display: none;
  width: 100px;
  padding: 10px;
  margin-bottom: 20px;
}

.code-generator button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.code-generator button:hover {
  background-color: #0056b3;
}

#qrcode {
  margin-top: 20px;
}
/* ##########button styling########### */
/* styles.css */

/* Style for the button */
#scrollToTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(30, 144, 255, 1); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Pointer/hand icon */
  padding: 10px 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#scrollToTopBtn:hover {
  background-color: white; /* Darker background on hover */
  color: rgba(30, 144, 255, 1); /* Darker background on hover */
  transform: scale(1); /* Zoom effect */
  border: 2px solid rgba(30, 144, 255, 1);
}
