/* ===========================
   Who We Are Page Styles
   Equus Energy
   =========================== */

/* ===========================
   Theme Variables
   =========================== */
:root {
  --brand-gradient: linear-gradient(135deg, var(--brand), var(--brand-2));
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-hover: 0 20px 40px color-mix(in srgb, var(--brand) 20%, transparent);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] {
  --glass-bg: rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Container
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ===========================
   Section Header
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}
.p{
  color: white;
}

.section-tag {
  display: inline-block;
  padding: 8px 22px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 40px;
  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);
  backdrop-filter: blur(10px);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===========================
   Hero Section
   =========================== */
.wwa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b0f14 0%, #1a1f26 100%);
  overflow: hidden;
  padding: 120px 20px;
}

.wwa-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
   
    url('../assets/Image-Equus/Equus-Pic-Mocks/img23.jpg');
  background-size: cover, cover, cover;
  background-position: center;
  background-blend-mode: overlay;
  opacity: 0.7;
  animation: zoomBg 30s infinite alternate;
}

@keyframes zoomBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.wwa-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(237, 46, 46, 0.4);
  transform: translateY(0);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.wwa-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-brick {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-brick-number {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.stat-brick-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
  z-index: 4;
  animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-scroll i {
  font-size: 1.4rem;
}

/* ===========================
   Identity Deep Section
   =========================== */
.identity-deep {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.identity-deep::before {
  content: '';
  position: absolute;
  top: -30%;
  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;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.identity-text {
  padding-right: 30px;
}

.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: 25px;
  font-weight: 400;
}

.identity-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  transform: translateX(10px);
  border-color: var(--brand);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--brand);
}

.highlight-item span {
  font-weight: 600;
  color: var(--text);
}

.identity-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.identity-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.identity-visual:hover img {
  transform: scale(1.05);
}

.legacy-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px 35px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.legacy-badge span:first-child {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 5px;
}

.legacy-badge span:last-child {
  font-size: 0.9rem;
  color: black;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===========================
   Global Footprint
   =========================== */
.global-footprint {
  padding: 100px 0;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 95%, black),
    var(--brand-2));
  color: white;
  position: relative;
  overflow: hidden;
}

.global-footprint::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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  background-size: 150px 150px;
  opacity: 0.3;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.footprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.footprint-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.footprint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footprint-card:hover::before {
  transform: scaleX(1);
}

.footprint-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

.footprint-card i {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footprint-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footprint-card p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Mission Vision Deep
   =========================== */
.mission-vision-deep {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

.mv-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-deep-card {
  padding: 50px 40px;
  border-radius: 40px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.mv-deep-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

.mv-deep-card.mission {
  border-bottom: 4px solid var(--brand);
}

.mv-deep-card.vision {
  border-bottom: 4px solid #4a90e2;
}

.mv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.mv-icon i {
  font-size: 2.5rem;
  color: white;
}

.mv-deep-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.mv-main {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
  font-weight: 500;
}

.mv-deep-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-deep-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 10%, transparent);
}

.mv-deep-list li:last-child {
  border-bottom: none;
}

.mv-deep-list li i {
  color: var(--brand);
  font-size: 1.2rem;
}

.vision-statement {
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 5%, transparent), transparent);
  border-radius: 20px;
  border-left: 4px solid var(--brand);
}

.vision-statement p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

/* ===========================
   Values Compact
   =========================== */
.values-compact {
  padding: 100px 0;
  background: var(--bg);
}

.values-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.value-compact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: var(--surface);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.value-compact-item:hover {
  transform: translateY(-10px);
  border-color: var(--brand);
  background: var(--surface-2);
  box-shadow: var(--shadow-hover);
}

.value-compact-item i {
  font-size: 2.2rem;
  color: var(--brand);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.value-compact-item:hover i {
  transform: scale(1.2) rotate(360deg);
}

.value-compact-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: 1px;
}

/* ===========================
   Innovation Section
   =========================== */
.innovation-section {
  padding: 120px 0;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 10%, var(--surface)),
    var(--surface));
  position: relative;
  overflow: hidden;
}

.innovation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.innovation-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.innovation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.innovation-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.innovation-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.innovation-suffix {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand);
  margin-left: 5px;
}

.innovation-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tech-tags span {
  padding: 10px 22px;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  transition: var(--transition-smooth);
  cursor: default;
}

.tech-tags span:hover {
  background: var(--brand);
  color: white;
  transform: scale(1.05);
}

.innovation-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.innovation-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.innovation-image:hover img {
  transform: scale(1.1);
}

.innovation-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  box-shadow: 0 15px 30px rgba(237, 46, 46, 0.3);
}

.innovation-badge i {
  font-size: 2rem;
}

.innovation-badge span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===========================
   Community Section
   =========================== */
.community-section {
  padding: 120px 0;
  background: 
              url('../assets/Image-Equus/imgf7rv.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

/* Ensure section header titles inside the community section are white */
.community-section .section-header h2,
.community-section .section-header h2.p {
  color: #ffffff;
}

/* Ensure the small paragraph under the Global Footprint header is white */
.global-footprint .section-header p {
  color: #ffffff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.community-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.community-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

.community-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.community-icon i {
  font-size: 2.5rem;
  color: white;
}

.community-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.community-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.community-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.community-stat span:last-child {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.community-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  color :#0b0f14;
}

/* ===========================
   Legacy Section
   =========================== */
.legacy-section {
  padding: 100px 0;
  background:linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%),  
              url('../assets/Image-Equus/imgh89.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: overlay;
  position: relative;
  overflow: hidden;
}

.legacy-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.legacy-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 25px;
  line-height: 1.2;
}

.legacy-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.legacy-content .btn {
  background: white;
  color: var(--brand);
  border: 2px solid white;
  padding: 16px 42px;
  font-size: 1.1rem;
}

.legacy-content .btn:hover {
  background: transparent;
  color: white;
}

/* ===========================
   Dynamic Data Section (Axios)
   =========================== */
.dynamic-data-section {
  padding: 120px 0;
  background: var(--surface);
}

.dynamic-loading,
.dynamic-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  background: var(--surface-2);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.dynamic-loading i,
.dynamic-error i {
  font-size: 3rem;
  margin-bottom: 20px;
}

.dynamic-loading i {
  color: var(--brand);
}

.dynamic-error i {
  color: #dc3545;
}

.dynamic-loading span,
.dynamic-error span {
  font-size: 1.1rem;
  color: var(--muted);
}

.dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.dynamic-card {
  background: var(--surface-2);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  gap: 25px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.dynamic-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}

.dynamic-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dynamic-icon i {
  font-size: 2rem;
  color: white;
}

.dynamic-content {
  flex: 1;
}

.dynamic-region {
  display: inline-block;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.dynamic-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text);
}

.dynamic-type {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.dynamic-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dynamic-details span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.dynamic-details span i {
  color: var(--brand);
  width: 20px;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), 
    url('../assets/Image-Equus/Equus-Pic-Mocks/img76jh.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  color: white;
}
/* ===========================
   Mobile Loading Fixes
   =========================== */
@media (max-width: 767px) {
    .dynamic-loading,
    .dynamic-error {
        padding: 40px 20px;
        margin: 20px 0;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 200px;
    }
    
    .dynamic-loading i,
    .dynamic-error i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .dynamic-loading span,
    .dynamic-error span {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .dynamic-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .dynamic-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
    
    .dynamic-icon {
        margin-bottom: 15px;
    }
}
/* Specific CTA instance with a different background image */
.cta-section.cta-section--image {
  background-image: url('../assets/Image-Equus/Equus-Pic-Mocks/img23.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-blend-mode: overlay;
}

.cta-badge {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-buttons .btn {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  min-width: 220px;
}

.cta-buttons .btn-large {
  background: white;
  color: var(--brand);
  border: 2px solid white;
}

.cta-buttons .btn-large:hover {
  background: transparent;
  color: white;
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background: white;
  color: var(--brand);
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-trust i {
  font-size: 1.2rem;
}

/* ===========================
   Contact Section (from index)
   =========================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  align-items: start;
  padding: 0 20px;
}

.contact-info {
  display: grid;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: var(--brand);
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 1.2rem;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  background: var(--surface);
  padding: 45px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--surface-2);
  border: 2px solid color-mix(in srgb, var(--muted) 20%, transparent);
  border-radius: 15px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent);
  background: var(--surface-2);
}

/* ===========================
   Back to Top
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(237, 46, 46, 0.4);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 40px rgba(237, 46, 46, 0.6);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  animation: backToTopBounce 2s infinite;
}

@keyframes backToTopBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 1024px) {
  .identity-grid,
  .innovation-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .mv-deep-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .identity-text {
    padding-right: 0;
  }
  
  .legacy-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
  }
  
  .innovation-badge {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 20px;
    display: inline-flex;
  }
  
  .dynamic-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
/* ===========================
   Mobile Image Fixes - Sharpness & Containment
   =========================== */

/* Fix for hero background image - sharp and properly contained */
@media (max-width: 768px) {
  .wwa-hero-bg {
    background-image: url('../assets/Image-Equus/Equus-Pic-Mocks/img23.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    transform: scale(1);
    opacity: 0.8;
    animation: none; /* Disable zoom animation on mobile */
  }
  
  .wwa-hero {
    background: linear-gradient(135deg, #0b0f14 0%, #1a1f26 100%);
    min-height: 85vh;
  }
  
  /* Fix for identity/legacy images */
  .identity-visual img,
  .innovation-image img,
  .community-card img,
  .legacy-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  /* Fix for community section background */
  .community-section {
    background-attachment: scroll !important; /* Disable fixed background on mobile */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
  }
  
  /* Fix for legacy section background */
  .legacy-section {
    background-attachment: scroll !important; /* Disable fixed background on mobile */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  
  /* Add dark overlay for better text readability */
  .legacy-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .legacy-content {
    position: relative;
    z-index: 2;
  }
}

/* Extra small devices (phones, 480px and below) */
@media (max-width: 480px) {
  .wwa-hero-bg {
    background-position: center 40%;
    opacity: 0.7;
  }
  
  .identity-visual,
  .innovation-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  .community-section {
    background-position: center top;
  }
  
  .legacy-section {
    background-position: center;
  }
  
  /* Fix badge positioning on mobile */
  .legacy-badge,
  .innovation-badge,
  .cert-badge,
  .program-badge {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    margin-top: 20px;
    width: 100%;
    transform: none !important;
  }
}

/* Fix for tablet devices */
@media (min-width: 481px) and (max-width: 1024px) {
  .wwa-hero-bg {
    background-position: center 25%;
  }
  
  .community-section,
  .legacy-section {
    background-attachment: scroll !important;
  }
  
  .identity-visual img,
  .innovation-image img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
}

/* ===========================
   Image Sharpness - Global Fixes
   =========================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure background images are sharp */
[class*="-bg"],
[class*="hero"],
[class*="section"] {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Fix for WebKit browsers */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .wwa-hero-bg {
    background-image: url('../assets/Image-Equus/Equus-Pic-Mocks/img23.jpg'); /* Use higher resolution image if available */
    image-rendering: -webkit-optimize-contrast;
  }
}
@media (max-width: 768px) {
  .wwa-hero {
    min-height: 90vh;
    padding: 100px 20px;
  }
  
  .hero-stats {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .wwa-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-brick {
    width: 100%;
  }
  
  .section-tag {
    padding: 6px 18px;
    font-size: 0.8rem;
  }
  
  .identity-highlights {
    grid-template-columns: 1fr;
  }
  
  .mv-deep-card {
    padding: 35px 25px;
  }
  
  .mv-icon {
    width: 60px;
    height: 60px;
  }
  
  .mv-icon i {
    font-size: 1.8rem;
  }
  
  .mv-deep-card h2 {
    font-size: 1.6rem;
  }
  
  .value-compact-item {
    padding: 25px 15px;
  }
  
  .value-compact-item i {
    font-size: 1.8rem;
  }
  
  .value-compact-item h4 {
    font-size: 1rem;
  }
  
  .innovation-badge {
    padding: 15px 20px;
  }
  
  .innovation-badge i {
    font-size: 1.5rem;
  }
  
  .innovation-badge span {
    font-size: 0.9rem;
  }
  
  .community-card {
    padding: 30px 20px;
  }
  
  .community-icon {
    width: 70px;
    height: 70px;
  }
  
  .community-icon i {
    font-size: 1.8rem;
  }
  
  .community-number {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* ===========================
   Dark Theme Adjustments
   =========================== */
html[data-theme="dark"] .identity-deep {
  background: var(--surface);
}

html[data-theme="dark"] .mv-deep-card {
  background: var(--surface);
}

html[data-theme="dark"] .value-compact-item {
  background: var(--surface-2);
}

html[data-theme="dark"] .innovation-section {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 15%, var(--surface)),
    var(--surface-2));
}

html[data-theme="dark"] .dynamic-card {
  background: var(--surface);
}

html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .contact-form {
  background: var(--surface);
}

/* ===========================
   Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .wwa-hero-bg {
    animation: none;
  }
  
  .global-footprint::before {
    animation: none;
  }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
  .wwa-hero,
  .global-footprint,
  .legacy-section,
  .cta-section,
  .back-to-top {
    display: none;
  }
  
  .identity-deep,
  .mission-vision-deep,
  .values-compact,
  .innovation-section,
  .community-section {
    page-break-inside: avoid;
  }
}