/* =================================================================
   ABOUT PAGE SPECIFIC STYLES
   Unique styles only - shared styles in shared.css
   ================================================================= */

/* ===== Intro Section ===== */
.intro-section {
  display: flex;
  align-items: center;
  gap: 40px;
}

.profile-photo {
  flex: 0 0 250px;
}

.profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 3px solid #66bfbf;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.profile-photo img:hover {
  transform: scale(1.05) rotate(2deg);
}

.intro-text {
  text-align: left;
}

.intro-text h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #11999e;
  margin-top: 0;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== Philosophy Grid ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.philosophy-card {
  background: #ffffff;
  border: 1px solid #dce5e4;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.philosophy-card:hover {
  transform: translateY(-10px);
  border-color: #66bfbf;
  box-shadow: 0 25px 50px rgba(17, 153, 158, 0.2);
}

.philosophy-card h4 {
  font-size: 1.3rem;
  color: #11999e;
  margin-top: 0;
  margin-bottom: 15px;
}

.philosophy-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =================================================================
   DARK MODE OVERRIDES
   ================================================================= */

/* Dark Mode: About Page */
body:not(.light-mode) .profile-photo img {
  border: 3px solid transparent;
  background: linear-gradient(#0a192f, #0a192f) padding-box, linear-gradient(45deg, #00ffff, #ff00ff) border-box;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

body:not(.light-mode) .intro-text h2 {
  color: #ccd6f6;
}

body:not(.light-mode) .philosophy-card {
  background: #112240;
  border: 1px solid #132f4c;
  box-shadow: none;
}

body:not(.light-mode) .philosophy-card:hover {
  border-color: #64ffda;
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.15);
}

body:not(.light-mode) .philosophy-card h4 {
  color: #64ffda;
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */
@media (max-width: 767px) {
  .intro-section {
    flex-direction: column;
    text-align: center;
  }
  
  .intro-text {
    text-align: center;
  }
  
  .intro-text h2 {
    font-size: 1.8rem;
  }
}
