/* ===========================
   About Us Page Styles
   Equus Energy
   =========================== */

/* ===========================
   Theme Variables
   =========================== */
:root {
  --brand-gradient: linear-gradient(135deg, var(--brand), var(--brand-2));
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   About Hero Section
   =========================== */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
              url('../assets/Image-Equus/Equus-Pic-Mocks/img8y.jpg') center/cover fixed;
  padding: 120px 20px;
  margin-top: -1px;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  animation: heroContentFadeIn 1.2s ease-out;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--brand);
  color: white;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(237, 46, 46, 0.3);
  animation: tagPulse 2s infinite;
}

@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.about-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-stat-divider {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 2px;
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 3;
}

.hero-scroll-indicator i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-20px); }
  60% { transform: translateX(-50%) translateY(-10px); }
}

/* ===========================
   Identity Section
   =========================== */
.identity-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.identity-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 5%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.identity-text {
  padding-right: 30px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.identity-text h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 400;
}

.mission-vision-cards {
  display: grid;
  gap: 30px;
}

.mv-card {
  background: var(--surface-2);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--brand) 15%, transparent);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

.mv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mv-card:hover::after {
  transform: scaleX(1);
}

.mv-card i {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text);
}

.mv-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.mv-list {
  list-style: none;
  margin-top: 20px;
}

.mv-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--text);
}

.mv-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

.identity-image {
  position: relative;
}

.identity-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition-smooth);
}

.identity-image:hover img {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--brand-gradient);
  padding: 30px;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent);
  animation: badgeFloat 6s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.exp-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.exp-text {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.95;
}

/* ===========================
   Values Section
   =========================== */
.values-section {
  padding: 100px 0;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 90%, black),
    var(--brand-2));
  color: white;
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
  background-size: 50px 50px;
  pointer-events: none;
}

.section-header.center {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.center h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 15px;
  color: var(--text);
}

.section-header.center p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.values-section .section-header.center h2,
.values-section .section-header.center p {
  color: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
  background: white;
  color: var(--brand);
  transform: rotate(360deg);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ===========================
   Energy Transition Section
   =========================== */
.energy-transition-section {
  padding: 100px 0;
  background: var(--surface);
}

.et-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.et-content {
  padding-right: 30px;
}

.et-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.et-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 40px;
}

.et-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.et-stat {
  display: flex;
  flex-direction: column;
}

.et-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 10px;
}

.et-stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.et-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.et-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.et-image:hover img {
  transform: scale(1.1);
}

.et-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    color-mix(in srgb, var(--brand) 30%, transparent),
    transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.et-image:hover::after {
  opacity: 1;
}

/* ===========================
   Leadership Section
   =========================== */
.leadership-section {
  padding: 100px 0;
  background: var(--bg);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.leader-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px color-mix(in srgb, var(--brand) 15%, transparent);
}

.leader-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: var(--brand-gradient);
  padding: 4px;
  transition: var(--transition-smooth);
}

.leader-card:hover .leader-img {
  transform: scale(1.05);
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface-2);
}

.leader-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text);
}

.leader-title {
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--brand) 20%, transparent);
  display: inline-block;
}

.leader-bio {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===========================
   About CTA Section
   =========================== */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), 
              url('../assets/Image-Equus/img32.jpg') center/cover fixed;
  color: white;
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 20px;
}

.about-cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta .btn.ghost {
  border-color: white;
  color: white;
}

.about-cta .btn.ghost:hover {
  background: white;
  color: var(--brand);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .identity-grid,
  .et-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .identity-text {
    padding-right: 0;
  }

  .experience-badge {
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    padding: 20px;
  }

  .exp-number {
    font-size: 2rem;
  }

  .about-hero {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .identity-section,
  .values-section,
  .energy-transition-section,
  .leadership-section,
  .about-cta {
    padding: 60px 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat-divider {
    width: 50px;
    height: 2px;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
    padding: 15px;
  }

  .exp-number {
    font-size: 1.5rem;
  }

  .exp-text {
    font-size: 0.75rem;
  }

  .et-stats {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    min-height: 90vh;
    padding: 100px 15px;
  }

  .hero-tag {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  .mv-card {
    padding: 25px;
  }

  .value-card {
    padding: 25px;
  }

  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .leader-card {
    padding: 30px 20px;
  }

  .leader-img {
    width: 140px;
    height: 140px;
  }
}

/* ===========================
   Dark Theme Adjustments
   =========================== */
html[data-theme="dark"] .identity-section {
  background: var(--surface);
}

html[data-theme="dark"] .mv-card {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .et-image {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .leader-card {
  background: var(--surface);
}

html[data-theme="dark"] .leader-img img {
  border-color: var(--surface);
}

/* ===========================
   AOS Custom Animations
   =========================== */
[data-aos="fade-up"] {
  transform: translateY(50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.6);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

[data-aos="flip-left"] {
  transform: perspective(2500px) rotateY(-100deg);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="flip-left"].aos-animate {
  transform: perspective(2500px) rotateY(0);
  opacity: 1;
}

[data-aos="flip-right"] {
  transform: perspective(2500px) rotateY(100deg);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="flip-right"].aos-animate {
  transform: perspective(2500px) rotateY(0);
  opacity: 1;
}

/* ===========================
   Back to Top button (About Us)
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: var(--brand-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(237,46,46,0.35);
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(237,46,46,0.55);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  animation: backToTopFloat 2.2s infinite;
}

@keyframes backToTopFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 680px) {
  .back-to-top {
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
  .back-to-top svg { width: 18px; height: 18px; }
}
