/* =======================================================
   ABOUT PAGE - SPECIFIC COMPONENTS
======================================================= */

/* About Hero */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)), 
              url('../images/hero/about.jpg') center / cover no-repeat;
  color: #ffffff;
  padding: 110px 0 90px;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.about-hero p {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.about-page h2 {
  font-weight: 700;
  margin-bottom: 22px;
  color: #1e293b;
}

.about-page h2 i {
  color: var(--primary-orange);
}

/* =======================================================
   My Story / Profile Photo
======================================================= */

.profile-photo {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.profile-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 18px;
}

.profile-photo h5 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.profile-photo p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

/* =======================================================
   Philosophy Section
======================================================= */

.philosophy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.philosophy-card i {
  color: var(--primary-orange);
  margin-bottom: 16px;
  display: inline-block;
}

.philosophy-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
}

.philosophy-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* =======================================================
   About Sidebar
======================================================= */

.about-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.about-sidebar-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: #1e293b;
}

.about-sidebar-card h4 i {
  color: var(--primary-orange);
  margin-right: 10px;
}

.role-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.role-item:last-child {
  margin-bottom: 0;
}

.role-item > i {
  font-size: 1.35rem;
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.role-item strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.role-item small {
  display: block;
  color: #64748b;
  line-height: 1.5;
  margin-top: 4px;
  font-size: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #475569;
}

.contact-item i {
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-orange);
}

.contact-item a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--primary-orange);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(217, 83, 30, 0.25);
}

/* =======================================================
   Acknowledgements & Projects
======================================================= */

.about-bottom {
  background: #f8f9fa;
  border-top: 1px solid #e2e8f0;
}

.about-bottom h2 {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
}

.about-bottom h2 i {
  margin-right: 10px;
}

.acknowledge-box,
.project-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  height: 100%;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.acknowledge-box p {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

.acknowledge-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.acknowledge-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.acknowledge-gallery img:hover {
  transform: scale(1.03);
}

.project-list {
  padding-left: 20px;
  color: #475569;
  font-size: 0.95rem;
}

.project-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 991px) {
  .acknowledge-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 0;
  }

  .about-hero h1 {
    font-size: 2.1rem;
  }

  /* เอา height ล็อกออกเพื่อไม่ให้รูปและข้อความทับกัน */
  .profile-photo {
    height: auto;
    margin-bottom: 20px;
  }

  .acknowledge-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .acknowledge-gallery img {
    height: 180px;
  }
}