/* About Page Styles */
:root {
  --theme-color: #682e2e;
  --theme-light: rgba(104, 46, 46, 0.1);
  --text-color: #333;
  --light-text: #666;
  --background: #f9f9f9;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Base Layout */
.about-layout {
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: calc(100vh - 60px);
  padding-top: 60px;
  box-sizing: border-box;
  position: relative;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.about-hero {
  width: 100%;
  min-height: 50vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../../images/teaching.jpeg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.about-hero h1 {
  font-size: 3rem;
  color: var(--theme-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-hero h2 {
  font-size: 1.5rem;
  color: var(--light-text);
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-hero h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--theme-color);
}

/* About Content */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-section {
  margin-bottom: 4rem;
}

.about-section h2 {
  color: var(--theme-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--theme-color);
}

.about-section p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Highlight Boxes */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.highlight-box {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--theme-color);
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-box h3 {
  color: var(--theme-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-box li {
  padding: 0.5rem 0;
  color: var(--text-color);
  position: relative;
  padding-left: 1.5rem;
}

.highlight-box li::before {
  content: '•';
  color: var(--theme-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Quote Section */
.quote-block {
  background: var(--theme-color);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '"';
  position: absolute;
  font-size: 15rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.1);
  top: -4rem;
  left: 1rem;
  line-height: 1;
}

.quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.signature {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  margin: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background: var(--theme-light);
  color: var(--theme-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin: 0 0 0.3rem 0;
  color: var(--theme-color);
  font-size: 1.1rem;
}

.contact-details p, 
.contact-details a {
  margin: 0;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--theme-color);
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
  max-width: 800px;
  margin: 2rem auto 3rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 2px rgba(104, 46, 46, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23682e2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  background-color: var(--theme-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #5a2727;
}

.contact-form .btn-primary i {
  margin-right: 0.5rem;
}

.contact-info {
  margin-top: 3rem;
  text-align: center;
}

.contact-info h3 {
  color: var(--theme-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero h2 {
    font-size: 1.3rem;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 3rem 1.5rem;
  }
  
  .about-content {
    padding: 3rem 1.5rem;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .quote {
    font-size: 1.3rem;
  }
  
  .contact-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero h2 {
    font-size: 1.1rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .quote {
    font-size: 1.1rem;
  }
  
  .signature {
    font-size: 1.3rem;
  }
}
