/* About Page Styles */

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .header-top .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
}

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, #1e4da1 0%, #2c5aa0 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.about-hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* About Content */
.about-content {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.about-card li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e4da1;
  font-weight: bold;
}

.contact-btn {
  display: inline-block;
  background: #1e4da1;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: #2c5aa0;
}

/* Stats Section */
.stats-section {
  background: var(--bg-secondary);
  padding: 3rem 0;
  margin-top: 3rem;
}

.stats-section h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e4da1;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #1e4da1;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(30, 77, 161, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #2c5aa0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 77, 161, 0.4);
}

/* Dark Mode */
[data-theme="dark"] .about-hero {
  background: linear-gradient(135deg, #1a3d8a 0%, #2a4a8f 100%);
}

[data-theme="dark"] .about-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .about-card h3 {
  color: var(--text-color);
}

[data-theme="dark"] .about-card p,
[data-theme="dark"] .about-card li {
  color: var(--text-secondary);
}

[data-theme="dark"] .stats-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .stats-section h3 {
  color: var(--text-color);
}

[data-theme="dark"] .stat-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .stat-label {
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h2 {
    font-size: 2rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .scroll-to-top {
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero h2 {
    font-size: 1.8rem;
  }

  .about-content {
    padding: 2rem 0;
  }

  .about-card {
    padding: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-section h3 {
    font-size: 1.5rem;
  }

  .scroll-to-top {
    bottom: 70px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}
