﻿/* Company Page Specific Styles */

/* Company Hero Section */
.company-hero {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.company-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/hero.png') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
    display: flex;
    position: relative;
    z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-subtitle {
  max-width: 800px;
}

.hero-subtitle p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 0;
  color: #ffffff;
  opacity: 0.95;
}

/* Mission Section */
.mission-section {
  background: #ffffff;
}

.mission-section .section-subtitle p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #64748b;
  margin: 0;
}

/* Team Section */
.team-section {
  background: #f8fafc;
}

.team-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.team-member {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.team-member:nth-child(even) {
  grid-template-columns: 1fr 320px;
}

.team-member:nth-child(even) .member-image {
  order: 2;
}

.team-member:nth-child(even) .member-content {
  order: 1;
}

.member-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  position: relative;
}

.member-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2563eb 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .member-image::after {
  opacity: 0.1;
}

.member-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
}

.member-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
  line-height: 1.3;
}

.member-title {
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-bio p {
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

.member-bio p:last-child {
  margin-bottom: 0;
}

/* Strategic Partners Section */
.partners-section {
  background: #f8fafc;
}

.partner-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partner-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.partner-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.partner-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
}

.partner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.partner-title {
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partner-bio p {
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.partner-bio p:last-child {
  margin-bottom: 0;
}

/* Approach Section */
.approach-section {
  background: #ffffff;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.approach-item {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.approach-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.approach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 50%;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.approach-item:hover .approach-icon {
  transform: scale(1.1);
}

.approach-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
}

.approach-description {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

/* Why Choose FMLY Section */
.why-choose-section {
  background: #f8fafc;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: translateY(-6px);
  border-color: #3b82f6;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  border-radius: 12px;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

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

.benefit-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.benefit-list li:last-child {
  border-bottom: none;
}

.benefit-list li::before {
  content: '✓';
  color: #2563eb;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

.cta-subtitle p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 32px 0;
  color: #ffffff;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .team-member {
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .team-member:nth-child(even) {
    grid-template-columns: 1fr 280px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle p {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .company-hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle p {
    font-size: 1rem;
  }
  
  .team-member,
  .team-member:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 24px;
  }
  
  .team-member:nth-child(even) .member-image,
  .team-member:nth-child(even) .member-content {
    order: initial;
  }
  
  .member-image {
    max-width: 250px;
    margin: 0 auto;
  }
  
  .partner-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  .partner-image {
    max-width: 150px;
    margin: 0 auto;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 1.875rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .team-member {
    padding: 20px;
  }
  
  .member-image {
    max-width: 200px;
  }
  
  .member-name {
    font-size: 1.5rem;
  }
  
  .approach-item {
    padding: 24px 16px;
  }
  
  .approach-icon {
    width: 60px;
    height: 60px;
  }
  
  .benefit-card {
    padding: 24px;
  }
  
  .benefit-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}