/* ========================================================================= */
/* PREMIUM 3D LUXURY ABOUT PAGE CSS                                          */
/* ========================================================================= */

/* ----------------------------------------- */
/* HERO SECTION                              */
/* ----------------------------------------- */
.hero-container-about {
  position: relative;
  min-height: 440px;
  display: flex; flex-direction: column;
  background: #0f172a; /* Fallback dark */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 1;
}

.hero-container-about > *:not(img):not(.hero-background):not(::after) { position: relative; z-index: 10; }

.hero-container-about::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 2;
}

/* Push navbar above overlay if it's inside here, assuming it has its own z-index, but we set about-heading to high z-index */
.about-heading {
  z-index: 10;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
}

.about-heading h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-heading div, .hero-container-about .breadcrumb-nav {
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-heading div a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.about-heading div a.first-home {
  color: #ffffff;
}

.about-heading div a.first-home:hover {
  color: #fcb85e;
}

.about-heading div span {
    color: rgba(255,255,255,0.5);
}

.about-heading div a.about-tag-a {
  color: #fcb85e;
}


/* ----------------------------------------- */
/* ABOUT US SECTION                          */
/* ----------------------------------------- */
.about-us-container {
  padding: 40px 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  background: #ffffff;
}

.about-left {
  width: 48%;
  position: relative;
}

.about-left img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 20px 20px 0 rgba(228, 93, 37, 0.15), 0 25px 50px rgba(0,0,0,0.05);
}

/* Glassmorphic 3D Expert Box */
/* Light Gray Premium 3D Expert Box */
.about-expert-box {
    position: absolute;
    left: -40px; right: auto;
    bottom: -40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    color: #334155;
    padding: 2.2rem;
    box-shadow: 
        0 12px 0 #cbd5e1,
        0 25px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px #ffffff;
    min-width: 290px;
    transform: translateZ(0);
}

.about-expert-box h4 {
    background: #ffffff;
    color: #c8550a;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 0 #ffe0cc;
}

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

.about-expert-box ul li {
    padding: 0.6rem 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}
.about-expert-box ul li:last-child {
    border-bottom: none;
}
.about-expert-box ul li::before {
    content: '✓';
    color: #ffffff;
    background: linear-gradient(135deg, #f58220 0%, #c8550a 100%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
    font-weight: 900;
}

.about-right {
  width: 48%;
}

.about-right span {
  display: inline-block;
  color: #c8550a;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  background: rgba(200, 85, 10, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
}

.about-right > h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-right > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 2rem;
}

/* Premium 3D Extruded Data Box */
.about-right-inner {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fdf6f0 100%);
    border: 1px solid #fbd9c0;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        10px 10px 0 rgba(228, 93, 37, 0.15),
        0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden;
    margin-top: 2rem;
}

.about-right-inner::before {
    content: "🚀";
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.about-right-inner:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        14px 14px 0 rgba(228, 93, 37, 0.25),
        0 30px 50px rgba(228, 93, 37, 0.1);
}

.about-right-inner .increase-heading-div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.about-right-inner .increase-heading-div h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #475569;
}

.about-right-inner .increase-heading-div h2 {
    font-size: 4.5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, #f58220 0%, #e45d25 50%, #c8550a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 10px 20px rgba(200, 85, 10, 0.2);
}

.about-right-inner p {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}


/* ----------------------------------------- */
/* MISSION & PHILOSOPHY SECTION              */
/* ----------------------------------------- */
.mission-container {
  padding: 40px 5%;
  background: #f8fafc; /* Very light cool gray */
}

.row-mission {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.mission-box {
  width: 32%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 0 #cbd5e1, 0 15px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mission-box:hover {
    transform: translateY(-5px);
    border-color: #fca5a5;
    box-shadow: 0 8px 0 #e45d25, 0 25px 40px rgba(228, 93, 37, 0.15);
}

.mission-box img {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(228, 93, 37, 0.3));
}

.mission-headings {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.mission-headings h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
}

.mission-box .mission-headings span {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, #e45d25, transparent);
  border: none;
}

.mission-box p {
  line-height: 1.7;
  color: #475569;
  font-size: 1.05rem;
  margin: 0;
}


/* ----------------------------------------- */
/* STATS SECTION                             */
/* ----------------------------------------- */
.stats-container {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  padding: 40px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper-about {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-heading {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem;
}

.heading-text-black {
  color: #0f172a;
}

.heading-text-pink {
  color: transparent;
  background: linear-gradient(135deg, #f58220 0%, #e45d25 50%, #c8550a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.subheading {
  color: #475569;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.stat-card {
  display: flex;
  justify-content: center;
}

.stat-content {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 240px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #fed7aa;
  box-shadow: 
      0 10px 0 #fed7aa,
      0 20px 40px rgba(0,0,0,0.06),
      inset 0 4px 10px rgba(255,255,255,1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
}

.stat-content:hover {
    transform: translateY(-8px);
    border-color: #f97316;
    box-shadow: 
        0 10px 0 #ea580c,
        0 30px 50px rgba(234, 88, 12, 0.2),
        inset 0 4px 10px rgba(255,255,255,1);
}

.stat-number {
  color: #ea580c;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  color: #334155;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

/* ----------------------------------------- */
/* RESPONSIVE MEDIA QUERIES                  */
/* ----------------------------------------- */
@media screen and (max-width: 1024px) {
  .about-left, .about-right {
    width: 100%;
  }
  .about-us-container {
    flex-direction: column;
    padding: 40px 5%;
  }
  .about-expert-box {
    left: 20px; right: auto;
    bottom: -20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .hero-container-about {
    min-height: 360px;
  }
  .row-mission {
    flex-direction: column;
  }
  .mission-box {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .about-expert-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -40px;
    margin-inline: 15px;
  }
  .about-left img {
      height: 350px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-content {
      max-width: 200px;
  }
}








/* Breadcrumb Mobile Wrap Fix */
@media (max-width: 768px) {
    .about-heading div, .hero-container-about .breadcrumb-nav {
        font-size: 0.75rem !important; /* Smaller font to fit long text */
        padding: 6px 16px !important;
        gap: 4px !important;
        border-radius: 20px !important; /* Ensure it looks like a soft pill even if wrapped */
        line-height: 1.5 !important;
        max-width: 95% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .about-heading {
        margin: auto !important; /* Override that weird margin: 88px 40px in some files */
        padding: 20px 10px !important;
    }
}


