/* ================================================ */
/* === STYLES FOR: ABOUT US PAGE (about.css)    === */
/* ================================================ */

/* --- General Variables & Setup --- */
:root {
  /* Main color palette */
  --primary-color: #8b5a2b; /* A rich, warm brown */
  --secondary-color: #d4af37; /* A soft, elegant gold */
  --dark-color: #212529; /* Very dark gray for text */
  --text-gray: #6c757d;
  --light-bg: #f8f9fa; /* Off-white for section backgrounds */
  --white-color: #ffffff;
  --border-color: #dee2e6;

  /* Fonts */
  --font-main: "Inter", sans-serif;
  --font-heading: "Playfair Display", serif;

  /* Spacing */
  --section-padding: 100px;

  /* Transitions & Shadows */
  --transition-fast: all 0.2s ease-in-out;
  --transition-medium: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* --- General Section Styling --- */
.section-header .section-subtitle {
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-gray);
}

/* ===== ABOUT HERO SECTION ===== */
.about-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* left align hero content */
  min-height: calc(100vh - 90px); /* space for fixed navbar */
  padding: 100px 72px 50px 72px; /* top padding for navbar height */
  text-align: left;
  color: var(--white-color);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("../about.png") no-repeat center center/cover;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeIn 1s ease-out;
}

.about-hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  transition: opacity 0.8s ease;
  animation: fadeIn 0.9s ease forwards;
}

.about-hero .hero-badge {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  text-align: center;
  margin-bottom: 1rem;
  z-index: 10;
}

.about-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  height: 100vh; /* full height hero */
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/about-hero-bg.jpg") no-repeat center center/cover;
  color: var(--white-color);
  padding: 0 1.5rem;
  overflow: hidden;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white-color);
  margin: 0 auto 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content h1 .highlight {
  color: var(--secondary-color);
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
}

.about-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  opacity: 1;
  color: var(--white-color);
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem auto 0;
  width: 100%;
  max-width: 1000px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem 3rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-hero .stat-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--white-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  font-family: var(--font-heading);
}

.about-hero .stat-label {
  font-size: 1rem;
  color: var(--white-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  position: relative;
  display: inline-block;
}

.about-hero .stat-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover .stat-label::after {
  opacity: 1;
}

/* Optional smooth animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Fix */
@media (max-width: 992px) {
  .about-hero {
    align-items: center;
    text-align: center;
    padding: 120px 24px 60px 24px;
  }
  .about-hero .hero-content {
    align-items: center;
  }
}

/* Responsive for About Intro */
@media (max-width: 768px) {
  .about-intro {
    padding: 60px 0;
  }

  .intro-content {
    padding: 0 15px;
  }

  .intro-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .intro-content p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .about-intro {
    padding: 50px 0;
  }

  .intro-content h2 {
    font-size: 1.5rem;
  }

  .intro-content p {
    font-size: 0.95rem;
  }
}
/* Hero Highlights Styles */
.about-highlights {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 250px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
}
.highlight-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.highlight-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
}

.highlight-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--white-color);
}

.highlight-info p {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--secondary-color);
}

.highlight-info span {
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--white-color);
}

/* ================================
   Our Philosophy Section
================================ */
.philosophy-section {
  padding: 100px 20px;
  background: #f8f9fa;
  text-align: center;
}

.philosophy-section .section-header {
  max-width: 800px;
  margin: 0 auto 60px;
}

.philosophy-section .section-subtitle {
  font-size: 16px;
  color: #c59d5f;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.philosophy-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 15px 0;
  color: #222;
}

.philosophy-section p {
  color: #555;
  line-height: 1.7;
}

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

/* Each philosophy card */
.philosophy-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Icon styling */
.philosophy-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #c59d5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: background 0.3s ease;
}

.philosophy-card:hover .philosophy-icon {
  background: #222;
}

.philosophy-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.philosophy-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== ABOUT INTRO SECTION ===== */
.about-intro {
  background: var(--white-color);
  padding: var(--section-padding) 0;
  text-align: center;
}
.intro-content {
  max-width: 800px;
  margin: 0 auto;
}
.intro-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.intro-content .highlight {
  background: linear-gradient(
    to top,
    hsla(43, 67%, 64%, 0.4) 40%,
    transparent 40%
  );
  padding: 0 4px;
}
.intro-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-gray);
}

/* ===== VISION & MISSION SECTION ===== */
.vision-mission {
  padding: var(--section-padding) 0;
  background: var(--light-bg);
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
}
.vm-card {
  background: var(--white-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-soft);
  border-left: 5px solid transparent;
}
.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--primary-color);
}
.vm-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
}
.vm-card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}
.vm-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== OFFER & WHY CHOOSE SECTIONS (SHARED CARD STYLE) ===== */
.offer-section,
.why-choose {
  padding: var(--section-padding) 0;
}
.offer-section {
  background: var(--white-color);
}
.why-choose {
  background: var(--dark-color);
  color: var(--white-color);
}
.why-choose .section-header h2 {
  color: var(--white-color);
}
.why-choose .section-header p,
.why-choose .why-card p {
  color: rgba(255, 255, 255, 0.7);
}
.offer-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.offer-card,
.why-card {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-medium);
}
.offer-card {
  border: 1px solid var(--border-color);
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-color);
}
.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  border-color: var(--secondary-color);
}
.offer-icon,
.why-card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.offer-icon {
  color: var(--primary-color);
}
.why-card i {
  color: var(--secondary-color);
}
.offer-card h3,
.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.offer-card h3 {
  color: var(--dark-color);
}
.why-card h3 {
  color: var(--white-color);
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: var(--section-padding) 0;
  background: var(--light-bg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.team-member {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  text-align: center;
}
.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}
.member-image {
  position: relative;
  height: 350px;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}
.team-member:hover .member-image img {
  transform: scale(1.1);
}
.member-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 90, 43, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  backdrop-filter: blur(3px);
}
.team-member:hover .member-overlay {
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 45px;
  height: 45px;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  transform: translateY(20px);
}
.team-member:hover .social-links a {
  transform: translateY(0);
}
.team-member:hover .social-links a:nth-child(2) {
  transition-delay: 0.1s;
}
.team-member:hover .social-links a:nth-child(3) {
  transition-delay: 0.2s;
}
.social-links a:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}
.member-info {
  padding: 1.5rem;
}
.member-info h3 {
  font-size: 1.25rem;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}
.member-role {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* simpler opacity-only fade to avoid repositioning during animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .offer-grid,
  .why-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
  }
  .stat-card {
    flex: 1;
    min-width: 220px;
    padding: 2rem;
  }
  .about-hero .stat-number {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .offer-grid,
  .why-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 100px 20px 80px 20px;
    min-height: 80vh;
  }

  .about-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .about-hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
    max-width: 90%;
  }

  .about-hero .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
  }

  .about-hero .stat-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .about-hero .stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
  }

  .about-hero .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    display: block;
  }

  .about-hero .stat-label {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white-color);
    opacity: 0.9;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 80px 15px 60px 15px;
  }

  .about-hero .stat-card {
    max-width: 250px;
    padding: 1.25rem 1.5rem;
  }

  .about-hero .stat-number {
    font-size: 2.5rem;
  }

  .about-hero .stat-label {
    font-size: 0.9rem;
  }
}
