/* Include your CSS here */

@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://example.com/some-other-stylesheet.css");
  /* WhatsApp Icon Style */

.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Position on the left side */
  z-index: 1000;
  background-color: #25D366; /* WhatsApp green color */
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  cursor: pointer; /* Pointer cursor for interactivity */
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

.whatsapp-icon:hover {
  background-color: #128C7E; /* Darker WhatsApp green on hover */
}

/* Chat Button Style */

 /* Chat Button Styling */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Adjusted for right-bottom corner */
  z-index: 1000;
  background-color: #007BFF; /* Blue color for the chat button */
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  cursor: pointer; /* Pointer cursor for interactivity */
}

.chat-button img {
  width: 30px;
  height: 30px;
}

.chat-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Modal Container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 100px; /* Adjusted for alignment above the button */
  right: 20px; /* Same alignment as the button */
  z-index: 1100;
  width: auto;
  height: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px; /* Adjust width as needed */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Form Styling */
#admissionForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#admissionForm input,
#admissionForm textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#admissionForm textarea {
  resize: none;
}

#admissionForm button {
  padding: 10px;
  font-size: 14px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#admissionForm button:hover {
  background-color: #0056b3;
}




/* Navbar CSS */
.navbar-nav .nav-item {
  margin-right: 20px; /* Adjust the spacing between links */
}

.navbar-nav .nav-item:last-child {
  margin-right: 0; /* Remove margin from the last item to keep it aligned */
}
a {
  color: #0a0a0a !important;
}

.nav-item {
  font-family: 'Century Gothic', sans-serif;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    right: auto;
    left: 0;
    background-color: rgb(255, 240, 240);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    text-align: left;
    padding: 10px 15px;
  }

  .dropdown-menu {
    right: 0;
    left: auto;
  }
}

.nav-item a {
  color: #131212;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  z-index: 0;
}

/* Top & Bottom Borders Out */
.topBotomBordersOut a:before, .topBotomBordersOut a:after {
  position: absolute;
  left: 0px;
  width: 100%;
  height: 4px;
  background: #f14040;
  content: "";
  opacity: 0;
  transition: all 0.3s;
}

.topBotomBordersOut a:before {
  top: 0px;
  transform: translateY(10px);
}

.topBotomBordersOut a:after {
  bottom: 0px;
  transform: translateY(-10px);
}

.topBotomBordersOut a:hover:before, .topBotomBordersOut a:hover:after {
  opacity: 1;
  transform: translateY(0px);
}

.carousel-caption {
  background-color: rgba(59, 58, 58, 0.5);
  padding: 1rem;
  margin-bottom: 25px;
}

.carousel-item img {
  height: 600px; /* Default height for larger screens */
  object-fit: cover;
}

.carousel-caption h5 {
  color: white;
  font-size: 24px;
}

.carousel-caption p {
  color: white;
  font-size: 18px;
}

.carousel-caption h5,
.carousel-caption p {
  margin-bottom: 35px;
}

.carousel-caption {
  bottom: 20px;
}

.carousel-caption h5,
.carousel-caption p {
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: 2px solid;
  border-radius: 5px;
  color: white;
  text-shadow: 1px 1px 2px black;
  transform: translateY(-10px);
  transition: transform 0.3s;
}

.carousel-caption .btn-custom {
  margin-top: 15px;
  background-color: #007bff;
  border: 2px solid green;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transform: translateY(-10px);
  transition: transform 0.3s;
}

.carousel-caption .btn-custom:hover {
  background-color: #0056b3;
  transform: translateY(-5px);
}

/* Styles for smaller screens */
@media (max-width: 767px) {
  .carousel-caption h5 {
    font-size: 12px;
    padding: 2px;
  }

  .carousel-caption p {
    font-size: 10px;
    padding: 2px;
  }

  .carousel-caption p {
    margin-bottom: 10px;
  }

  .carousel-caption .btn-custom {
    font-size: 10px;
    padding: 8px 16px;
  }

  .carousel-caption {
    bottom: 10px;
    padding: 0.5rem;
  }

  .carousel-item img {
    height: 450px; /* Adjust height for small screens */
  }
}

/* CSS OF CARDS ARE STRATED FROM HERE */
.caro {
  margin-top: 25px;
  margin-bottom: 25px;
  color: #000; /* black / dark text */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* optional soft shadow */
}


.card-img-top {
  height: 250px;
  object-fit: cover;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
}

.card {
  margin-top: 10px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  overflow: hidden;
  height: 450px;
}

.card-body {
  height: 150px;
}

.card-title,
.card-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-footer {
  height: 50px;
}

.cards {
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 2px;
  margin-top: 10px;
  margin-bottom: 2px;
  text-align: center;
}

.cards svg {
  display: block;
  margin: 0 auto 20px;
}

/* FOOTER CSS STARTED FROM HERE */
/* Footer */
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

section {
    padding: 60px 0;
}

section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#footer {
    background: #189377 !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.footer-container {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

#footer h5 {
    padding-left: 10px;
    border-left: 3px solid #eeeeee;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color: #ffffff;
}

#footer a {
    color: #ffffff;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

#footer ul.social li {
    padding: 3px 0;
}

#footer ul.social li a i {
    margin-right: 5px;
    font-size: 25px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.social li:hover a i {
    font-size: 30px;
    margin-top: -10px;
}
.quick-links {
  text-align: left; /* Ensures text is aligned to the left */
  padding-left: 25px;  /* Removes any default padding */
  list-style: none; /* Removes bullet points */
}

#footer ul.social li a,
#footer ul.quick-links li a {
    color: #ffffff;
}

#footer ul.social li a:hover {
    color: #eeeeee;
}

#footer ul.quick-links li {
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.quick-links li:hover {
    padding: 3px 0;
    margin-left: 5px;
    font-weight: 700;
}

#footer ul.quick-links li a i {
    margin-right: 5px;
}

#footer ul.quick-links li:hover a i {
    font-weight: 700;
}

@media (max-width: 767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}

/* OUR TEACHERS CSS IS STARTED FORM HERE */
.cardz{
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  background-color: #fff;
  position: relative;

}
.cardz-body {
  height: 200px;
}

.cardr-img-top {
  height: 250px; 
  object-fit: cover;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  overflow: hidden; /* Ensure any overflow is hidden */
}

.cardr {
  margin-top: 10px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  overflow: hidden; /* Ensure any overflow is hidden */
  height: 450px; 
}


/* MALE TEACHERS CSS STARTED FROM HERE */

.card-custom-img-top {
  height: 250px; 
  width: 100%;
  object-fit: cover;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  overflow: hidden; /* Ensure any overflow is hidden */
}

.card-custom {
  margin-top: 10px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  overflow: hidden; /* Ensure any overflow is hidden */
  height: 500px; 
}

.card-custom-body {
  height: 200px;
}

.card-custom-title,
.card-custom-text {
  overflow: visible; /* Show the complete message */
  display: block; /* Ensure it displays fully */
}

.card-custom-footer {
  height: 50px;
}


/* CONTACT US CSS STARTED FORM HERE */

#login .container #login-row #login-column #login-box {
  margin-top: 10px;
  margin-bottom: 20px;
  max-width: 600px;
  height: 320px;
  border: 1px solid #e42c2c;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  background-color: #a88a8a;
}
#login .container #login-row #login-column #login-box #login-form {
  padding: 20px;
}
#login .container #login-row #login-column #login-box #login-form #register-link {
  margin-top: -85px;
}


.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background-color: #0b6e4f; /* Green background */
  color: #fff; /* White text */
  position: relative;
}

.info-card .icon {
  flex: 0 0 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f2ed; /* Yellow background for icon */
  border-radius: 30%;
  width: 80px;
  height: 70px;
  margin-right: 20px;
}

.icon-img {
  width: 40px;
  height: 40px;
}

.info-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.info-card p {
  margin: 5px 0 0;
  font-size: 16px;
}

/* ABOUT US PAGE CSS START FROM HERE */


.lib-item {
  margin: 0;
  padding: 0;
}
.lib-panel {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  box-shadow: none; /* Remove if shadow is not needed */
}
.box-shadow {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
.col-md-6 {
  flex: 1;
  padding: 0;
}
.lib-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.lib-header, .lib-desc {
  margin: 0;
  padding: 0;
}
.lib-header h3 {
  margin: 0;
  padding: 0;
  text-align: center;
}
.lib-header-seperator {
  margin: 10px 0;
  border-top: 2px solid #ddd; /* Style separator as needed */
}
.lib-desc p {
  text-align: center;
  color: #333; /* Adjust color as needed */
  font-size: 1.2rem; /* Adjust font size as needed */
}
@media (max-width: 767px) {
  .box-shadow {
      flex-direction: column;
  }
}

.position-relative {
  position: relative;
}

.text-overlay {
  position: absolute;
  bottom: 0; /* Positions the text at the bottom */
  left: 50%;
  transform: translateX(-50%); /* Centers the text horizontally */
  width: 100%;
  padding: 10px; /* Adds some padding */
  background-color: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background */

  text-align: center;
}

.text-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
}


.lib-img {
  width: 100%;
  height: 350px;
  display: block;
}


/* Yasarnal Quran Qaida css from here  */

.image-grid-item {
  position: relative;
  margin-bottom: 30px;
}

.image-grid-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cover-wrapper {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  text-shadow: rgba(0,0,0,.8) 0 1px 0;
}

.image-grid-clickbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Islamc studies CSS started form here */
@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');

bady {
    background: #c5b6b6;
    font-family: 'Poppins', sans-serif;
}

.social-box .box {
    background: #f7f6f6;
    border-radius: 10px; 
    cursor: pointer;
    margin: 20px 0;
    padding: 40px 10px;
    transition: all 0.5s ease-out;
}

.social-box .box:hover {
   box-shadow: 0 0 6px #4183D7;
}

.social-box .box-text {
    font-size: 15px;
    line-height: 30px;
    margin: 20px 0;
}

.social-box .box-btn a {
    color: #4183D7;
    font-size: 16px;
    text-decoration: none;
}

.social-box .fa {
    color: #4183D7;
}



/* NEW CSS STARTED HERE */
/* Styling for the sidebar card */
.courses-details-sidebar {
  background: #f9f9f9;
  padding: 0; /* Remove padding around the card */
  width: 100%;
  border-top-right-radius: 150px; /* Round the top-right corner */
 
  border: 1px solid #ddd; /* Light border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  overflow: hidden; /* Ensures the image stays within the card's borders */
}

/* Image inside the sidebar card */
.courses-details-sidebar figure img {
  margin: 0; /* Remove margins around the image */
  width: 100%; /* Match the width of the card */
  height: 320px;
  box-shadow: none; /* Remove shadow for a cleaner fit */
  border-top-right-radius: 150px; /* Match card's top-right radius */
 
  display: block; /* Avoid inline spacing issues */
}



/* Course fee heading */
.course-free h5 {
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

/* Course fee price */
.course-free h6 {
  font-size: 24px;
  font-weight: bold;
  color: #0d0801; /* Black color for price */
  margin: 10px 0;
  text-align: center;
}

/* Button styling */
.course-free a {
  background-color: #f39c12; /* Yellow button */
  color: #fff; /* White text */
  text-align: center;
  display: block; /* Full-width button */
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 5px; /* Rounded corners for the button */
  text-decoration: none; /* Remove underline */
  transition: background 0.3s ease; /* Smooth hover effect */
}

.course-free a:hover {
  background-color: #e67e22; /* Slightly darker yellow on hover */
  border-radius: 100px;
}

/* Styling for list items with tick marks */
.courses-details-sidebar ul {
  list-style: none; /* Remove default bullets */
  padding: 0;
  margin: 10px;
}

.courses-details-sidebar ul li {
  position: relative;
  padding-left: 25px; /* Space for the tick mark */
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #333; /* Dark gray text color */
}

.courses-details-sidebar ul li:before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "FontAwesome";
  color: #28a745; /* Green tick mark */
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.5;
}

.travel-package-list ul {
  list-style: none;
  padding: 0;
}

.travel-package-list ul li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #555;
}

.travel-package-list ul li i {
  color: #f39c12;
  margin: 5px;
}

/* ++++++++++++++
Extra Csss
+++++++++++++++ */
.image-container {
  position: relative;
  height: 80vh; /* 80% of the viewport height */
  min-height: 600px; /* Ensure enough height for large screens */
  overflow: hidden;
}

.image-cover {
  width: 100%;
  height: 100%; /* Ensure the image fills the container */
  object-fit: cover; /* Maintain aspect ratio */
}

.overlay {
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for large screens */
  padding: 30px;
  border-radius: 12px; /* Rounded edges */
  width: 50%; /* Default width for large screens */
  max-width: 700px; /* Restrict maximum width */
}

.overlay h2 {
  font-size: 3rem; /* Bigger size for headings */
  margin-bottom: 20px;
}

.overlay p {
  font-size: 1.5rem; /* Larger paragraph text */
  line-height: 1.8;
}

/* Large screens (1440px and above) */
@media (min-width: 1440px) {
  .image-container {
    height: 90vh; /* Increase height for ultra-large screens */
  }
  .overlay {
    padding: 40px; /* Add more padding for spacious design */
    width: 45%; /* Slightly reduce overlay width for balance */
  }
  .overlay h2 {
  
    font-size: 3.5rem; /* Larger heading size */
  }
  .overlay p {
    font-size: 1.8rem; /* Larger paragraph text */
  }
}

/* Medium screens (1200px - 1439px) */
@media (max-width: 1439px) {
  .image-container {
    height: 95vh; /* Standard height */
  }
  .overlay {
    width: 60%; /* Adjust overlay width */
  }
  .overlay h2 {
    font-size: 2.5rem; /* Slightly smaller heading */
  }
  .overlay p {
    font-size: 1.2rem;
  }
}

/* Small screens (768px - 1199px) */
@media (max-width: 1199px) {
  .image-container {
    height: 70vh; /* Reduce height for medium screens */
  }
  .overlay {
    width: 80%; /* Wider overlay for smaller screens */
  }
  .overlay h2 {
    font-size: 2rem;
  }
  .overlay p {
    font-size: 1rem;
  }
}

/* Mobile screens (576px - 767px) */
@media (max-width: 767px) {
  .image-container {
    height: 60vh; /* Reduce height for smaller screens */
  }
  .overlay {
    width: 90%; /* Use almost full width */
    padding: 15px;
  }
  .overlay h2 {
    font-size: 1.8rem;
  }
  .overlay p {
    font-size: 0.9rem;
  }
}

/* Extra small screens (below 576px) */
@media (max-width: 576px) {
  .image-container {
    height: 60vh; /* Height for mobile screens */
  }
  .overlay {
    padding: 10px;
    width: 95%; /* Ensure text fits within small screens */
  }
  .overlay h2 {
    font-size: 1.5rem;
  }
  .overlay p {
    font-size: 0.8rem;
  }
}

/*FAQ and Kit Css*/
.two-column {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 40px 0;
}

.lead-magnet {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 45%;
  max-width: 500px;
  min-width: 280px;
}

.lead-magnet h4 {
  margin-top: 0;
}

.lead-magnet input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.lead-magnet button {
  width: 100%;
  background-color: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.faq-wrapper {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 45%;
  max-width: 500px;
  min-width: 280px;
}

.faq-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  padding: 10px;
  background-color: #eee;
  border: none;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #fdfdfd;
  border-left: 3px solid #28a745;
}

/* ✅esponsive: Stack columns on small screens */
@media screen and (max-width: 768px) {
  .two-column {
    flex-direction: column;
    gap: 20px;
  }

  .lead-magnet,
  .faq-wrapper {
    max-width: 100%;
  }
}
/*============================*/

.testimonials {
  padding: 60px 0;
  background: #f8f9fa;
  text-align: center;
}

.testimonial-title {
  font-weight: 700;
  margin-bottom: 30px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.testimonial-slide {
  display: none;
  animation: fade 0.8s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.testimonial-slide h5 {
  margin-top: 15px;
  font-weight: 600;
  color: #000;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

