/* About Us Page Styles */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #2d8659;
  --accent-color: #20b2aa;
  --charcoal-color: #2c3e50;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-muted: #6c757d;
  --border-light: #e9ecef;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Body background */
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--charcoal-color);
}

/* Main content padding */
#main-content {
  padding-top: 0;
  min-height: 100vh;
}

/* Navbar styling */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

/* Navbar logo sizing */
.navbar-logo {
  height: 60px !important;
  width: auto !important;
  margin-right: 15px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal-color) !important;
}

.navbar-brand .fas {
  display: none;
}

/* Hero section with logo */
.hero-section {
  background-color: #e0ede8;
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

/* Main content logo sizing */
.main-logo {
  height: 200px;
  width: auto;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--charcoal-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.hero-content .lead {
  color: var(--charcoal-color);
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: none;
}

/* About Us Dedicated Section Styles */
.about-dedicated-section {
  background: var(--white);
  padding: 80px 0;
  position: relative;
}

.about-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  border: 1px solid var(--border-light);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
}

.about-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(74, 144, 226, 0.03) 0%,
    transparent 70%
  );
  transition: all 0.3s ease;
  opacity: 0;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow-medium);
}

.about-card:hover::after {
  opacity: 1;
}

.about-card .section-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--charcoal-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-card .section-title i {
  color: var(--charcoal-color);
  font-size: 1.3rem;
}

.about-list {
  font-size: 1.1rem;
  color: var(--charcoal-color);
  line-height: 1.8;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.about-list li {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  transition: all 0.2s ease;
}

.about-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.about-list li:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Back to home link */
.about-dedicated-section a[href*="index.html#about-us-short"] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--charcoal-color);
  color: var(--white);
  padding: 0.54rem 1.08rem;
  border-radius: 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.81rem;
  transition: all 0.3s ease;
  margin-top: 0.45rem;
  border: 2px solid var(--charcoal-color);
}

.about-dedicated-section a[href*="index.html#about-us-short"]:hover {
  background: var(--white);
  color: var(--charcoal-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 69, 79, 0.2);
}

/* Responsive Design */
@media (min-width: 768px) {
  .about-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .main-logo {
    height: 220px;
  }
}

@media (min-width: 992px) {
  .about-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-card {
    padding: 3.5rem 3rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .main-logo {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 0 60px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .lead {
    font-size: 1.1rem;
  }

  .main-logo {
    height: 150px;
    margin-bottom: 1.5rem;
  }

  .about-dedicated-section {
    padding: 60px 0;
  }

  .about-cards-wrapper {
    gap: 2rem;
    padding: 0 1rem;
  }

  .about-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  .about-card .section-title {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-list li {
    padding-left: 1.5rem;
  }

  .navbar-logo {
    height: 50px !important;
  }
}
