/*
╔════════════════════════════════════════════════════════════════╗
║                                                                ║
║   Developed with ❤️ by Khalid Mohammed                         
║   Founder of Zemzem Labs                                       ║
║   🌐 https://zemzemlabs.com                                    
║                                                                ║
║   👋 Hello Source Code Hunters!                                
║   Free front-end template for exploration, learning & building ║
║   Contact Zemzem Labs for premium code & collaboration         
║                                                                ║
║   💡 Tip: Peek into the CSS & JS — modern effects,            
║   responsive layouts, and clean design techniques await you!   ║
║                                                                
║   Keep creating. Keep innovating. Code your dreams! 💻✨      ║
║                                                                
╚════════════════════════════════════════════════════════════════╝
*/

body {
  font-family: bri__regular;
}


.navbar-brand img {
  width: 60px;
}

.swiper {
  padding: 20px 0;
}

.overlay {
  background: rgba(247, 248, 255, 0.741);
  z-index: 1;
}


/* ========= navbar glass effect ============= */
.modern-navbar {
  background: rgba(253, 253, 253, 0.353);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* ========= navbar hover ============= */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #222 !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  top: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ========= hero ============= */
.hero-section,
.about-hero,
.contact-hero,
.gallery-hero, 
.courses-hero{
 background: url('../img/hero.jpg') no-repeat center;
 background-size: cover;
}
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.2s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========= Responsive Adjustments ============= */
@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding-top: 3rem;
  }
  .navbar-brand span {
    font-size: 1.2rem;
  }
}

/* ========= courses ============= */

.course-lists {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.848),
    rgba(242, 248, 255, 0.854)
  );
}
.card-modern {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 18px rgba(0, 0, 0, 0.12);
}

.card-modern img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-modern:hover img {
  transform: scale(1.05);
}

.card-body-modern {
  padding: 1.8rem;
}

.card-body-modern .badge-soft {
  background: rgba(0, 0, 0, 0.05);
  color: #212529;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-body-modern h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.8rem;
  color: #212529;
}

.card-body-modern p {
  color: #555;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.course-arrow {
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  background-color: #e0ebff;
  width: 40px;
  height: 40px;
  text-align: center;
  align-content: center;
  border-radius: 50px;
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  background: #ffffff;
}

.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}



/* ========= FAQ ============= */

.faq-section .accordion-button {
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
  background: #0d6efd;
  color: #fff;
}
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}
.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ========= about ============= */

.about-hero{
  background: url('../img/hero.jpg') no-repeat center;
}
.mission-section {
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  position: relative;
  overflow: hidden;
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mission-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #007bff30, transparent 70%);
  z-index: 0;
}

.mission-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #0d6efd20, transparent 70%);
  z-index: 0;
}

.mission-section .card {
  position: relative;
  z-index: 1;
}



.instructors-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  overflow: hidden;
  position: relative;
}

.instructor-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.instructor-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.instructor-img {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
}

.instructor-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.instructor-card:hover img {
  transform: scale(1.1);
}

.ins-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 136, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 1rem;
}

.instructor-card:hover .ins-overlay {
  opacity: 1;
}

.social-icons a {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
  color: #373737;
}




.choose-card {
  background:#f8f9fb;
  transition:.4s;
  cursor:pointer;
}

.choose-card:hover {
  transform:translateY(-6px);
  box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.choose-card i {
  background:rgba(13,110,253,.08);
  padding:.7rem;
  border-radius:50px;
}



/* ========= courses section ============= */




/* ========= contact us ============= */
.contact-section {
  background: radial-gradient(circle at top left, rgba(191, 198, 250, 0.2), rgba(230, 253, 255, 0));
  overflow: hidden;
}


.btn-primary {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border: none;
}

.btn-outline-dark:hover{
  background: linear-gradient(135deg, #0c0c0c, #353535);
  /* border: none; */
}
.btn-outline-primary:hover{
  background: linear-gradient(135deg, #007bff, #00c6ff);
  /* border: none; */
}



.btn-primary:hover,
.btn-outline-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.founder-img {
  object-fit: cover;
  height: 380px;
  width: 100%;
  transition: transform 0.6s ease, filter 0.6s ease;
}



/* ========= footer ============= */
footer a:hover {
  color: #0d6efd;
}

footer .btn-outline-light:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
