
/* aboutus.css - Enhanced mobile-responsive styles for the About Us page */

/* Enhanced Brand Styling */
.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #06b6d4;
  font-weight: 600;
  margin-left: -0.5rem;
  transform: rotate(-3deg);
  opacity: 0.95;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.08) rotate(3deg);
}

/* Hero Section */
.hero {
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ocean-gradient);
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: var(--spacing-sm);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  margin-top: var(--spacing-lg);
}

.hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Section Styles */
.our-story, .values {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Team Grid */
.team-grid-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.team-grid-wrapper::-webkit-scrollbar {
  height: 8px;
}

.team-grid-wrapper::-webkit-scrollbar-thumb {
  background: var(--blue-accent);
  border-radius: var(--radius-sm);
}

.team-grid-wrapper::-webkit-scrollbar-track {
  background: var(--border-light);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.team-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--spacing-md);
}

.team-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.team-role {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--blue-accent);
  margin-bottom: var(--spacing-sm);
}

/* Values Grid */
.values-grid-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.values-grid-wrapper::-webkit-scrollbar {
  height: 8px;
}

.values-grid-wrapper::-webkit-scrollbar-thumb {
  background: var(--blue-accent);
  border-radius: var(--radius-sm);
}

.values-grid-wrapper::-webkit-scrollbar-track {
  background: var(--border-light);
}

.values-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: center;
}

.values-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.values-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 1.5rem;
  color: var(--text-white);
  transition: var(--transition-normal);
}

.values-card:hover .values-icon {
  transform: scale(1.1);
}

.values-card h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .team-grid-wrapper, .values-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    overflow-x: visible;
  }

  .team-card, .values-card {
    width: auto;
  }
}

@media (max-width: 992px) {
  .hero-image img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .brand-text {
    font-size: 1.3rem;
  }
  .brand-subtitle {
    font-size: 0.85rem;
  }
  .hero {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    text-align: center;
  }

  .hero-content {
    margin-bottom: var(--spacing-xl);
  }

  .our-story, .values {
    padding: var(--spacing-2xl) 0;
  }

  .team-card, .values-card {
    width: 280px;
  }

  .team-image img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .brand-text {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.8rem;
  }
  .hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .team-card, .values-card {
    width: 240px;
  }

  .team-image img {
    height: 180px;
  }

  .values-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .team-card:hover, .values-card:hover, .team-image img, .values-icon, .hero-image img {
    transform: none;
    transition: none;
  }
}
