* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/********************************* THEME COLORS *******************************/
.theme_bg {
  background-color: #dc3545;
}

.theme_bg:hover {
  background-color: #dc3545;
}

.theme_clr {
  color: #dc3545;
}

.btn-warning {
  background: #fdd835;
  border: none;
  transition: 0.3s;
}

.btn-warning:hover {
  background: #fbc02d;
}

.btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
}

/********************************* NAVBAR ************************************/
.navbar .nav-link {
  color: #333;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #dc3545;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/********************************* GENERAL ************************************/
body {
  overflow-x: hidden;
}

/********************************* BANNER *************************************/
.banner_img {
  height: 500px;
  border-radius: 200px 200px 0 0;
}

/********************************* GERMAN WELCOME *****************************/
.german-lang-welcome,
.german-lang-welcome .container,
.german-lang-welcome .row {
  overflow-x: hidden;
}

.german-lang-welcome img {
  max-width: 100%;
  height: auto;
  display: block;
}

.german-lang-welcome .icon-wrapper {
  flex-shrink: 0;
}

/********************************* GERMAN LEVELS ******************************/
.german-lang-lavels,
.german-lang-lavels .container,
.german-lang-lavels .row {
  overflow-x: hidden !important;
}

.german-lang-lavels img {
  max-width: 100%;
  height: auto;
  display: block;
}

.german-lang-lavels .icon-wrapper {
  flex-shrink: 0;
}

/********************************* GLOW BUTTON *******************************/
.glow-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fed517;
  color: #000;
  font-size: 28px;
  border: none;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s ease;
}

.glow-btn::before,
.glow-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fed517;
  opacity: 0.3;
  box-shadow: 0 0 0 0 #fed517;
  z-index: -1;
  animation: glowingPulse 1.8s infinite ease-out;
}

.glow-btn::after {
  animation-delay: 0.3s;
}

@keyframes glowingPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
    box-shadow: 0 0 0 0 #fed517;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
    box-shadow: 0 0 0 20px rgba(254, 213, 23, 0);
  }

  100% {
    opacity: 0;
  }
}

.glow-btn:hover {
  transform: scale(1.05);
}

/********************************* FEATURED COURSES ***************************/
.featured-courses .course-card {
  transition: all 0.3s ease;
}

.featured-courses .course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.featured-courses .hover-danger:hover {
  color: #dc3545 !important;
}

.featured-courses img {
  transition: transform 0.4s ease;
}

.featured-courses .course-card:hover img {
  transform: scale(1.05);
}

/********************************* CONTACT + FAQ ******************************/
.german-contact-faq {
  overflow-x: hidden;
}

#contact-faq .accordion-item {
  border: none;
  margin-bottom: 10px;
}

/* When FAQ is expanded */
#contact-faq .accordion-button:not(.collapsed) {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  box-shadow: none;
  border-radius: 15px 15px 0 0;
}

/* When FAQ is collapsed */
#contact-faq .accordion-button.collapsed {
  background-color: #fff;
  color: #212529;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}

/* Accordion body */
#contact-faq .accordion-body {
  border: 1px solid #f1f1f1;
  border-top: none;
  border-radius: 0 0 15px 15px;
  background-color: #fff;
}

/* Form styling */
#contact-faq form input,
#contact-faq form textarea {
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  padding: 10px 12px;
  width: 100%;
}

#contact-faq form input:focus,
#contact-faq form textarea:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
  outline: none;
}

#contact-faq form button {
  border-radius: 10px;
  font-weight: 600;
}

/********************************* FOOTER *************************************/
.languagehub-footer {
  background-color: #111;
  color: #bbb;
}

.languagehub-footer a:hover {
  color: #dc3545 !important;
  transition: all 0.3s ease-in-out;
}

.languagehub-footer hr {
  opacity: 0.1;
}

/********************************* SCROLL TO TOP ******************************/
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  width: 50px;
  height: 50px;
  border: none;
  transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  background-color: #bb2d3b;
  transform: translateY(-3px);
}

/********************************* WHATSAPP BUTTON ****************************/
#whatsappBtn {
  position: fixed;
  bottom: 25px;
  left: 30px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  color: #fff;
  border: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

#whatsappBtn:hover {
  background-color: #1ebe57;
  transform: translateY(-3px);
}

/********************************* ABOUT US: TIMELINE *************************/
.about-hero,
.about-hero .container,
.about-hero .row {
  overflow-x: hidden;
}

.about-hero img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal scroll for Vision & Mission section */
.about-vision-mission,
.about-vision-mission .container,
.about-vision-mission .row {
  overflow-x: hidden;
}

.about-vision-mission img {
  max-width: 100%;
  height: auto;
  display: block;
}

/******************************************************* German language page css *******************************/

/* 🌟 HERO BANNER */
.german-hero-banner {
  position: relative;
  width: 100%;
  min-height: 450px;
  background: url("../images/german_language/german_banner.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 15px;
}

.german-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.german-hero-banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.german-hero-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.german-hero-banner p {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #f1f1f1;
}

.german-hero-banner .btn {
  margin-top: 1.5rem;
  font-weight: 600;
  padding: 10px 25px;
}

.course-detail-table td {
  color: #555;
}
/************************************************** Contact Details Page Css  *****************************************/
.contact-details-page .form-control:hover,
.contact-details-page .form-control:focus,
.contact-details-page textarea:hover,
.contact-details-page textarea:focus,
.contact-modal-popup .form-control:hover,
.contact-modal-popup .form-control:focus,
.contact-modal-popup textarea:hover,
.contact-modal-popup textarea:focus {
  border-color: #dc3545 !important;
  /* Bootstrap red */
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}