/* About Page Styles */

/* Hero Section */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: url("https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-top: 30px;
  min-height: 400px;
  width: 100%;
  max-width: 100%;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 34, 56, 0.8), rgba(26, 34, 56, 0.6));
  z-index: 1;
  transition: background var(--transition-medium);
}

html.light .about-hero::before {
  background: linear-gradient(
    rgba(248, 249, 250, 0.8),
    rgba(248, 249, 250, 0.6)
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 0 15px;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: textFocus 1s ease-out forwards;
  word-wrap: break-word;
}

.about-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
  word-wrap: break-word;
}

html.light .about-hero-subtitle {
  color: var(--text-light);
}

/* About Platform Section */
.about-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  height: 100%;
}

html.light .about-image-container {
  box-shadow: var(--shadow-light);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.about-content {
  padding: 20px;
}

.about-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

html.light .about-text {
  color: var(--text-light);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--gradient-dark);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-dark);
  transition: all var(--transition-medium);
}

html.light .about-feature {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

html.light .about-feature:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.about-feature span {
  font-weight: 600;
  color: var(--text-dark);
}

html.light .about-feature span {
  color: var(--text-light);
}

/* Mission Section */
.mission-section {
  padding: 80px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

html.light .mission-section {
  background: var(--gradient-light);
}

.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mission-content {
  padding: 20px;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-color);
  position: relative;
}

.mission-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.mission-content:hover .mission-title::after {
  width: 120px;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

html.light .mission-text {
  color: var(--text-light);
}

.mission-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  height: 100%;
}

html.light .mission-image-container {
  box-shadow: var(--shadow-light);
}

.mission-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.mission-image-container:hover .mission-image {
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

html.light .feature-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

html.light .feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform var(--transition-medium);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  transition: color var(--transition-medium);
}

.feature-card:hover .feature-title {
  color: var(--primary-color);
}

html.light .feature-title {
  color: var(--text-light);
}

.feature-description {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.8;
}

html.light .feature-description {
  color: var(--text-light);
}

/* Technologies Section */
.tech-section {
  padding: 80px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

html.light .tech-section {
  background: var(--gradient-light);
}

.tech-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

html.light .tech-card {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html.light .tech-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform var(--transition-medium);
}

.tech-card:hover .tech-icon {
  transform: scale(1.2) rotate(10deg);
}

.tech-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  transition: color var(--transition-medium);
}

.tech-card:hover .tech-name {
  color: var(--primary-color);
}

html.light .tech-name {
  color: var(--text-light);
}

.tech-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
}

html.light .tech-description {
  color: var(--text-light);
}

/* Team Section */
.team-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-dark);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

html.light .team-card {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-card:hover::before {
  opacity: 1;
}

html.light .team-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Збільшуємо розмір фотографій команди */
.team-image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--primary-color);
  transition: all var(--transition-medium);
}

.team-card:hover .team-image-container {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  transition: color var(--transition-medium);
}

.team-card:hover .team-name {
  color: var(--primary-color);
}

html.light .team-name {
  color: var(--text-light);
}

.team-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 5px 15px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 20px;
  display: inline-block;
}

.team-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

html.light .team-description {
  color: var(--text-light);
}

/* Кнопка "Детальніше" */
.details-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.details-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
}

.details-btn:active {
  transform: translateY(1px);
}

.details-btn i {
  font-size: 1rem;
}

/* Модальне вікно для деталей про команду */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.team-modal {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-dark);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-50px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-dark);
}

html.light .team-modal {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.modal-overlay.active .team-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

html.light .modal-close {
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.team-modal-content {
  color: var(--text-dark);
}

html.light .team-modal-content {
  color: var(--text-light);
}

.team-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

html.light .team-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.team-modal-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  overflow: hidden;
}

.team-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal-title {
  flex-grow: 1;
}

.team-modal-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-modal-role {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.8;
}

html.light .team-modal-role {
  color: var(--text-light);
}

.team-modal-info {
  margin-bottom: 30px;
}

.info-section {
  margin-bottom: 25px;
}

.info-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.info-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.info-item::before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--primary-color);
}

.info-highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.team-modal-quote {
  background: rgba(52, 152, 219, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}
/* Contact Section - Centered */
.contact-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center; /* Center all text in the section */
}

.section-title {
  text-align: center; /* Ensure section title is centered */
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  gap: 40px;
  max-width: 800px; /* Limit width for better readability */
  margin: 0 auto; /* Center the container */
}


.contact-item {
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 400px; /* Limit width for better appearance */
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--transition-medium);
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.contact-item:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
}

.contact-text {
  text-align: left; /* Keep text left-aligned for readability */
}

.contact-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-dark);
}

html.light .contact-text p {
  color: var(--text-light);
}

.contact-text p a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-medium);
}

.contact-text p a:hover {
  color: var(--primary-color);
}

html.light .contact-text p a {
  color: var(--text-light);
}

.contact-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.contact-form-container {
  padding: 30px;
  background: var(--gradient-dark);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
  transition: all var(--transition-medium);
  width: 100%; /* Full width of container */
  max-width: 600px; /* Limit width for better appearance */
}

html.light .contact-form-container {
  background: var(--gradient-light);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.contact-form-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html.light .contact-form-container:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Make sure form elements are properly centered */
.form-group {
  width: 100%;
  position: relative;
}

.submit-btn {
  margin: 0 auto; /* Center the submit button */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
}

.form-message {
  text-align: center;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-hero-title {
    font-size: 2.5rem;
  }

  .about-hero-subtitle {
    font-size: 1.2rem;
  }

  .about-container,
  .mission-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .mission-image-container {
    order: -1;
  }

  /* Адаптивний розмір фото команди */
  .team-image-container {
    width: 180px;
    height: 180px;
  }

  .team-modal-header {
    flex-direction: column;
    text-align: center;
  }

  .team-modal-image {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 60px 20px;
    min-height: 300px;
  }

  .about-hero-title {
    font-size: 2rem;
  }

  .about-hero-subtitle {
    font-size: 1rem;
  }

  .about-section,
  .mission-section,
  .features-section,
  .tech-section,
  .team-section,
  .contact-section {
    padding: 60px 0;
  }

  .about-subtitle {
    font-size: 1.5rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .mission-title {
    font-size: 2rem;
  }

  .mission-text {
    font-size: 1rem;
  }

  .feature-card,
  .tech-card,
  .team-card {
    padding: 20px;
  }

  .feature-icon,
  .tech-icon {
    font-size: 2.5rem;
  }

  .feature-title,
  .tech-name,
  .team-name {
    font-size: 1.3rem;
  }

  /* Адаптивний розмір фото команди */
  .team-image-container {
    width: 150px;
    height: 150px;
  }

  .team-modal {
    padding: 20px;
    width: 95%;
  }

  .team-modal-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .about-hero-title {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .tech-card,
  .team-card {
    padding: 15px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-social {
    flex-wrap: wrap;
  }

  /* Адаптивний розмір фото команди */
  .team-image-container {
    width: 130px;
    height: 130px;
  }

  .team-modal-image {
    width: 100px;
    height: 100px;
  }

  .team-modal-name {
    font-size: 1.4rem;
  }
}

/* Footer */
.footer {
  background-color: var(--footer-bg-dark);
  color: var(--text-dark);
  padding: 3.75rem 0 1.875rem;
  margin-top: 3.75rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 200% 100%;
  animation: gradientMove 5s linear infinite;
}

html.light .footer {
  background-color: var(--footer-bg-light);
  color: var(--text-light);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-logo i {
  font-size: 1.8rem;
  animation: pulse 2s infinite;
}

.footer-description {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.9375rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.footer-section:hover .footer-title::after {
  width: 100%;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.625rem;
  transform: translateX(0);
  transition: transform var(--transition-medium);
}

.footer-link a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link a i {
  transition: transform var(--transition-medium);
}

html.light .footer-link a {
  color: var(--text-light);
}

.footer-link a:hover {
  color: var(--primary-color);
}

.footer-link a:hover i {
  transform: translateX(5px);
}

.footer-link:hover {
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.9375rem;
  transition: transform var(--transition-medium);
}

.footer-contact:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-medium);
}

.footer-contact:hover .contact-icon {
  transform: rotate(15deg);
}

.contact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-medium);
}

.footer-contact:hover .contact-label {
  color: var(--primary-color);
}

html.light .contact-label {
  color: rgba(33, 37, 41, 0.7);
}

.contact-value {
  font-weight: 600;
}

.contact-value a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-medium);
}

html.light .contact-value a {
  color: var(--text-light);
}

.contact-value a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.875rem;
  margin-top: 1.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .footer-bottom {
  border-top: 1px solid rgba(33, 37, 41, 0.1);
}

.copyright {
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
}

.copyright::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.copyright:hover::after {
  width: 100%;
}
