/* About Page Styles - Professional & Modern Design */

/* Hero Section */
.about-hero {
  position: relative;
  min-height: 450px;
  background: linear-gradient(135deg, var(--lightblue) 0%, #0056b3 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../../images/hero-pattern.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.1;
  z-index: 0;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 900px;
}

.about-hero h1 {
  font-size: 4rem;
  font-weight: 200;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-hero .tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Overview Card */
.overview-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 4rem;
  margin: -80px auto 4rem;
  max-width: 1200px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.overview-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.overview-intro h2 {
  color: var(--textblue);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.overview-intro h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--lightblue), #80bb2d);
  border-radius: 2px;
}

.overview-intro p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.overview-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: center;
}

.overview-item {
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 220px;
  max-width: 350px;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.overview-item.featured {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border-color: var(--lightblue);
  border-width: 2px;
}

.overview-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lightblue), #80bb2d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.overview-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--lightblue);
}

.overview-item:hover::before {
  transform: scaleX(1);
}

.overview-item i {
  font-size: 2.5rem;
  color: var(--lightblue);
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.overview-item:hover i {
  transform: scale(1.1);
}

.overview-item h4 {
  color: var(--textblue);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.overview-item p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.overview-item.featured p {
  font-weight: 500;
}

/* Content Sections */
.about-content-section {
  padding: 4rem 0;
  background: #ffffff;
}

.about-content-section:nth-child(even) {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--textblue);
  font-weight: 300;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--lightblue), #80bb2d);
  border-radius: 2px;
}

/* What We Do Section */
.what-we-do-content {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.what-we-do-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lightblue), #80bb2d);
}

.what-we-do-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #4a5568;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Markets Grid - Enhanced Layout */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.market-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lightblue), #80bb2d);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.market-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--lightblue), #80bb2d);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.market-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: white;
}

.market-card:hover::before {
  transform: scaleX(1);
}

.market-card:hover::after {
  opacity: 0.08;
}

.market-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--lightblue), #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: white;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
  transition: all 0.4s ease;
}

.market-card:hover .market-icon {
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3);
}

.market-card h4 {
  color: var(--textblue);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.market-card:hover h4 {
  color: var(--lightblue);
}

/* Responsive grid adjustments */
@media screen and (max-width: 980px) {
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .markets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0;
  }

  .market-card {
    padding: 2rem 1.5rem;
  }

  .market-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Difference Section */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.difference-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.difference-item:hover {
  transform: translateX(10px);
}

.difference-number {
  width: 40px;
  height: 40px;
  background: var(--lightblue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.difference-content h4 {
  color: var(--textblue);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.difference-content p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Story Section */
.story-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--lightblue) 0%, #0056b3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.story-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: white;
}

.story-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.story-highlight {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid white;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

/* Leadership Section */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.leader-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.leader-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--lightblue), #80bb2d);
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.leader-card:hover::after {
  opacity: 0.1;
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--lightblue), #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  font-weight: 600;
}

.leader-card h4 {
  color: var(--textblue);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.leader-card .title {
  color: var(--lightblue);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
  .about-hero h1 {
    font-size: 3.5rem;
  }

  .about-hero .tagline {
    font-size: 1.35rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media screen and (max-width: 980px) {
  .about-hero h1 {
    font-size: 3rem;
  }

  .overview-card {
    padding: 3rem;
    margin: -60px auto 3rem;
  }

  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 736px) {
  .about-hero {
    min-height: 400px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

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

  .overview-card {
    padding: 2rem;
    border-radius: 15px;
  }

  .overview-intro h2 {
    font-size: 2rem;
  }

  .overview-intro p {
    font-size: 1.1rem;
  }

  .overview-content {
    flex-direction: column;
    align-items: center;
  }

  .overview-item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 400px;
    min-width: unset;
  }

  .overview-item {
    padding: 1.5rem;
  }

  .overview-item h4 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

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

  .story-content h2 {
    font-size: 2rem;
  }

  .story-content p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero .tagline {
    font-size: 1.1rem;
  }

  .overview-intro h2 {
    font-size: 1.75rem;
  }

  .overview-intro p {
    font-size: 1rem;
  }

  .overview-item i {
    font-size: 2rem;
  }

  .overview-item h4 {
    font-size: 1.1rem;
  }

  .leader-card {
    padding: 1.5rem;
  }

  .story-highlight {
    padding: 1rem 1.5rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.market-card:focus,
.leader-card:focus,
.difference-item:focus {
  outline: 3px solid var(--lightblue);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .about-hero,
  .story-section {
    background: none;
    color: black;
  }

  .about-hero h1,
  .about-hero .tagline,
  .story-content h2,
  .story-content p {
    color: black;
  }

  .market-card,
  .leader-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
