/* footer */


/* Footer Container */
.footer {
  width: 100%;
  position: relative;

  background: #2c2f44 !important;
  color: #fff !important;

}

/* Footer Top Gradient */
.footer__gradient {
  width: 100%;

  background: #00D4FF;
  background: linear-gradient(6deg, rgba(0, 212, 255, 1) 0%, rgba(0, 0, 0, 1) 42%, rgba(0, 212, 255, 1) 100%);
  /* background-size: 200% 100%; */
  /* animation: gradientShift 8s linear infinite; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}

.footer__gradient-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__gradient-link {
  color: #000;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__gradient-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.footer__gradient-text {
  color: #000;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Social Section */
.footer__social {
  /* background: #fff; */
  padding: 20px 10px;
  position: relative;
  z-index: 1;
}

.footer__social-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer__social-container {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .footer__social-title h3 {
    font-size: 18px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .footer__social-container {
    gap: 10px;
    padding: 0 10px;
  }

  .footer__social-title h3 {
    font-size: 16px;
  }
}

.footer__social-title h3 {
  color: white;
}

.course_header {
  font-weight: 700;
}

.footer__social-links {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
  padding: 6px 10px;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.footer__social-links::after {
  display: none;
}

@media (max-width: 768px) {
  .footer__social-links {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 5px;
  }

  .footer__social-links::after {
    display: none;
  }

  .footer__social-links a {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer__social-links {
    gap: 6px;
  }

  .footer__social-links a {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

.footer__social-links a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 18px;
  width: 32px;
  height: 32px;
  margin: 0;
}

.footer__social-links a:hover {
  color: var(--social-color, #00F0FF);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.footer__social-links a:active {
  transform: translateY(0);
}

.footer__social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}

.footer__social-links a:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

.footer__social-links a i {
  font-size: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.footer__social-links a .fa-facebook-f {
  font-size: 20px;
  padding-top: 2px;
}

.footer__social-links a .fa-telegram {
  font-size: 22px;
}

.footer__social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00F0FF, #5BFFD1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.footer__social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.footer__social-links a:hover::before {
  opacity: 0.1;
}

.footer__social-links img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  will-change: transform;
}

.footer__social-links a:hover img {
  transform: scale(1.1) rotate(-5deg);
}

/* Info Section */
.footer__info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  background: #2c2f44;
}

/* Logo */
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -25px;
  align-items: flex-start;
}

.footer__logo-img {
  max-width: 170px;
  height: auto;
  transition: transform 0.3s ease;
  margin-top: -35px;
  filter: brightness(1.1);
}

.footer__logo:hover .footer__logo-img {
  transform: scale(1.02);
  filter: brightness(1.2);
}

.footer__logo-slogan {
  font-size: 15px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-top: -48px;
  padding-left: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lessons */
.footer__lessons h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__lessons h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__lessons-list {
  list-style: none;
  padding-left: 5px !important;
}

.footer__lessons-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.footer__lessons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer__lessons-list li:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.footer__lessons-list a {
  color: #fff;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer__lessons-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.footer__lessons-list a:hover {
  color: #00F0FF;
  transform: translateX(5px);
}

.footer__lessons-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact */
.footer__contact h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__contact h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__contact-link {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 25px;
}

.footer__contact-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: all 0.3s ease;
}


.footer__contact-link:hover {
  color: #00F0FF;
  transform: translateX(5px);
}

.footer__contact-link:hover::before {
  opacity: 1;
}

/* Map */
.footer__map h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__map h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__map-container {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer__map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15);
}

.footer__map-iframe {
  width: 100%;
  height: 200px;
  border: none;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.footer__map-container:hover .footer__map-iframe {
  filter: grayscale(0);
}

.footer__map-address {
  font-size: 14px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  position: relative;
  padding-left: 20px;
}

.footer__map-address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M12,2C8.13,2,5,5.13,5,9c0,5.25,7,13,7,13s7-7.75,7-13C19,5.13,15.87,2,12,2z M12,11.5c-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5s2.5,1.12,2.5,2.5S13.38,11.5,12,11.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer__info {
    max-width: 960px;
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .footer__info {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .footer__social-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer__info {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer__logo {
    align-items: center;
  }

  .footer__lessons h3::after,
  .footer__contact h3::after,
  .footer__map h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__lessons-list li {
    padding-left: 0;
  }

  .footer__lessons-list li::before {
    display: none;
  }

  .footer__contact-link {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer__contact-link::before {
    position: static;
    transform: none;
  }

  .footer__map-address {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer__map-address::before {
    position: static;
  }
}

/* Print Styles */
@media print {
  .footer {
    background: #000 !important;
    color: #fff !important;
  }

  .footer__social,
  .footer__map-container {
    display: none !important;
  }

  .footer__info {
    background-color: #000;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .footer a {
    text-decoration: none !important;
    color: #fff !important;
  }
}
