/* About Page Specific Styles */

/* Header Override for About Page */
.te-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* Page Header with Breadcrumb */
.page-header-with-breadcrumb {
  background: #fff;
  padding: 120px 0 40px;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--te-accent);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--te-muted);
}

.breadcrumb-current {
  color: var(--te-muted);
}

.page-header-with-breadcrumb h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  color: var(--te-text);
}

/* Story Section */
.story-section {
  padding: 60px 0 0;
  background: #fff;
  position: relative;
}

.story-content {
  display: block;
  margin-bottom: 40px;
}

.story-text {
  max-width: 800px;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--te-accent);
  margin-bottom: 30px;
  line-height: 1.3;
}

.story-paragraphs {
  margin-bottom: 30px;
}

.story-paragraphs p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--te-text);
}

.text-link {
  color: var(--te-accent);
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

.story-image-full {
  width: 100%;
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.story-image-full img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.story-image {
  display: none;
}

/* Philosophy Section */
.philosophy-section {
  padding: 80px 0;
  background: var(--te-deep);
  color: white;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 60px;
}

.philosophy-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.philosophy-header p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.philosophy-card {
  background: rgba(255,255,255,0.1);
  padding: 40px 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.philosophy-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.philosophy-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.philosophy-image {
  border-radius: 16px;
  overflow: hidden;
}

.philosophy-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Latest Offer Section */
.latest-offer-section {
  padding: 80px 0;
  background: #f8fafc;
}

.latest-offer-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--te-text);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.offer-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.offer-image {
  height: 200px;
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.offer-card:hover .offer-image img {
  transform: scale(1.05);
}

.offer-content {
  padding: 24px;
}

.offer-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--te-text);
  line-height: 1.4;
}

.offer-content .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--te-green);
  margin-bottom: 16px;
}

.offer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.offer-details span {
  background: var(--te-cream);
  color: var(--te-text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: #f8fafc;
}

.team-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--te-text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--te-cream);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--te-text);
}

.member-contact {
  text-align: left;
}

.member-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--te-muted);
  line-height: 1.4;
}

/* Mission Vision Section */
.mission-vision-section {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
}

.mission-vision-grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 500px;
}

.mission-vision-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.mission-vision-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision-card {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--te-accent);
  color: white;
  padding: 40px;
  border-radius: 20px;
  width: 400px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vision-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.vision-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.95);
}

.mission-card {
  position: absolute;
  top: 100px;
  right: 0;
  background: var(--te-green);
  color: white;
  padding: 40px;
  border-radius: 20px;
  width: 450px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.mission-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.mission-image {
  display: none;
}

/* Districts Section About */
.districts-section-about {
  padding: 80px 0;
  background: var(--te-deep);
  color: white;
}

.districts-content-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.districts-list-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: white;
}

.districts-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.districts-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.districts-column li {
  background: rgba(255,255,255,0.1);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 500;
  transition: background 0.2s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.districts-column li:hover {
  background: rgba(255,255,255,0.2);
  cursor: pointer;
}

.districts-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.districts-map img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* CTA Section About */
.cta-section-about{position:relative;min-height:420px;display:flex;align-items:center;overflow:hidden}
.cta-content-about{position:relative;z-index:2;background:var(--te-accent);color:#fff;width:55%;padding:50px}
.cta-text{max-width:620px}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.95);
}

.cta-image{position:absolute;top:0;right:0;width:50%;height:100%;z-index:1;background-attachment:initial}
.cta-image img{position:relative}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer Updates */
.te-footer {
  background: var(--te-deep);
  color: #cfe4db;
  padding: 60px 0 20px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-main {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-main h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-main p {
  font-size: 1.125rem;
  color: #cfe4db;
  max-width: 600px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  width: 1600px;
  height: 40px;
  background: var(--te-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.footer-logo span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-list li {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-list a {
  color: #cfe4db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #0f614c;
  padding-top: 20px;
  text-align: center;
  color: #9dcab8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .districts-content-about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .philosophy-cards {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .philosophy-image {
    grid-column: 1 / -1;
  }
  
  .mission-vision-grid {
    height: 450px;
  }
  
  .mission-vision-background {
    width: 500px;
    height: 350px;
  }
  
  .vision-card {
    width: 350px;
    padding: 30px;
  }
  
  .mission-card {
    width: 380px;
    padding: 30px;
    top: 80px;
  }
  
  .cta-content-about {
    width: 100%;
  }
  
  .cta-image {
    position: relative;
    width: 100%;
    height: 300px;
  }
  
  .cta-text {
    padding: 40px 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-header-with-breadcrumb {
    padding: 100px 0 30px;
  }
  
  .page-header-with-breadcrumb h1 {
    font-size: 2.5rem;
  }
  
  .story-text h2,
  .latest-offer-section h2,
  .team-section h2,
  .districts-list-container h2 {
    font-size: 1.75rem;
  }
  
  .philosophy-header h2 {
    font-size: 2rem;
  }
  
  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .districts-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mission-vision-grid {
    height: 600px;
    padding: 0 10px;
  }
  
  .mission-vision-background {
    width: 100%;
    max-width: 400px;
    height: 300px;
    top: 40%;
  }
  
  .vision-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    top: 0;
    left: 0;
  }
  
  .mission-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    top: 0;
    right: 0;
  }
  
  .cta-text h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .page-header-with-breadcrumb h1 {
    font-size: 2rem;
  }
  
  .story-text h2,
  .philosophy-header h2,
  .latest-offer-section h2,
  .team-section h2,
  .districts-list-container h2 {
    font-size: 1.5rem;
  }
  
  .story-image-full img {
    height: 250px;
  }
  
  .mission-vision-grid {
    height: 650px;
  }
  
  .mission-vision-background {
    max-width: 300px;
    height: 250px;
  }
  
  .mission-card,
  .vision-card {
    padding: 25px 20px;
    max-width: 300px;
  }
  
  .mission-card h2,
  .vision-card h2 {
    font-size: 1.5rem;
  }
  
  .mission-card p,
  .vision-card p {
    font-size: 1rem;
  }
  
  .cta-text {
    padding: 30px 20px;
  }
  
  .cta-text h2 {
    font-size: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}