/* About Page Custom Styles */

/* Header - White background */
header.header,
header.header.navbar-bg {
  background: #ffffff !important;
}

/* Navbar Area - White background */
.navbar-area {
  background: #ffffff !important;
}

/* When navbar becomes sticky (on scroll) - stay white */
.sticky {
  background-color: #ffffff !important;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05) !important;
}

/* Navbar - Transparent so parent background shows */
header.header .navbar,
header.header.navbar-bg .navbar,
.sticky .navbar {
  background: transparent !important;
  padding: 15px 0;
}

/* Logo */
header.header .navbar-brand {
  display: flex;
  align-items: center;
}

header.header .navbar-brand img {
  height: 40px;
  width: auto;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Navigation Items - Black Text */
header.header .navbar-nav .nav-item a,
header.header .navbar-nav .nav-item .page-scroll,
header.header.navbar-bg .navbar-nav .nav-item a,
header.header.navbar-bg .navbar-nav .nav-item .page-scroll,
.sticky .navbar-nav .nav-item a,
.sticky .navbar .navbar-nav .nav-item a {
  color: #222222 !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

header.header .navbar-nav .nav-item a:hover,
header.header .navbar-nav .nav-item .page-scroll:hover,
header.header.navbar-bg .navbar-nav .nav-item a:hover,
header.header.navbar-bg .navbar-nav .nav-item .page-scroll:hover,
.sticky .navbar-nav .nav-item a:hover,
.sticky .navbar .navbar-nav .nav-item a:hover {
  color: #D32F2F !important;
}

header.header .navbar-nav .nav-item a.active,
header.header .navbar-nav .nav-item .page-scroll.active,
header.header.navbar-bg .navbar-nav .nav-item a.active,
header.header.navbar-bg .navbar-nav .nav-item .page-scroll.active,
.sticky .navbar-nav .nav-item a.active,
.sticky .navbar .navbar-nav .nav-item a.active {
  color: #D32F2F !important;
}

/* Navbar Toggler (Mobile Menu) */
header.header .navbar-toggler,
.sticky .navbar-toggler {
  border: none;
  padding: 0;
  outline: none;
}

header.header .navbar-toggler .toggler-icon,
.sticky .navbar-toggler .toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  background: #222222;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* About Page Content Styles */
.about-hero-section {
  background: #ffffff;
}

.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1d29;
  line-height: 1.2;
}

.about-hero-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-hero-image {
  margin-bottom: 30px;
}

.about-hero-image img {
  width: 100%;
  height: auto;
}

/* Value Cards */
.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3rem;
  color: #D32F2F;
  margin-bottom: 20px;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1d29;
  margin-bottom: 15px;
}

.value-description {
  color: #666;
  line-height: 1.6;
}

/* Story Section */
.story-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #1a1d29;
  margin-bottom: 30px;
}

.story-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Team Section */
.team-section {
  margin-top: 40px;
}

.team-member-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member-image {
  height: 350px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-image img {
  width: auto;
  height: 100%;
  object-fit: contain;
  max-width: 70%;
}

.team-member-info {
  padding: 25px;
  text-align: center;
}

.team-member-info h4 {
  font-weight: 600;
  color: #1a1d29;
  margin-bottom: 5px;
}

.team-member-info .role {
  color: #e84393;
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member-info .bio {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Commitment Section */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.commitment-item {
  padding: 30px;
  background: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.commitment-item:hover {
  transform: translateY(-5px);
}

.commitment-icon {
  font-size: 2.5rem;
  color: #D32F2F;
  margin-bottom: 20px;
}

.commitment-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1d29;
  margin-bottom: 15px;
}

.commitment-item p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: #ffffff;
  color: #1a1d29;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-section .lead {
  color: #666;
}

.cta-section .main-btn {
  background: #D32F2F;
  color: #fff;
}

.cta-section .main-btn:hover {
  background: #b71c1c;
}

/* Responsive */
@media (max-width: 992px) {
  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-content,
  .story-content {
    padding: 0 15px;
  }

  .story-content h2 {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .value-card {
    padding: 25px 20px;
  }

  .value-title {
    font-size: 1.2rem;
  }

  .value-description {
    font-size: 0.95rem;
  }

  /* Reorder story section - make heading display first */
  .our-story-section .row {
    display: flex;
    flex-direction: column-reverse;
  }

  .our-story-section .col-lg-6 {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .about-hero-section,
  .story-section,
  .commitment-section {
    padding: 60px 0 !important;
  }

  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .about-hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .about-hero-content p {
    font-size: 0.95rem;
  }

  .story-content h2 {
    font-size: 1.4rem;
  }

  .story-content p {
    font-size: 0.95rem;
  }

  .value-card {
    padding: 20px 15px;
  }

  .value-icon {
    font-size: 2.5rem;
  }

  .value-title {
    font-size: 1rem;
  }

  .value-description {
    font-size: 0.85rem;
  }

  /* Reorder story section - heading on top */
  .our-story-section .row {
    display: flex;
    flex-direction: column-reverse;
  }

  .our-story-section .col-lg-6 {
    width: 100% !important;
  }

  .story-image h2 {
    margin-top: 0;
    margin-bottom: 30px;
  }
}
