/* New About Us Hero Section Styling */
/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.page-hero-banner {
  position: relative;
  background: url('../../images/homepage/Banner-1.jpg') center/cover no-repeat;
  padding: 7rem 0 6rem 0;
  text-align: center;
  margin-bottom: 4rem;
}

/* Beautiful Semi-Transparent Gradient Overlay */
.page-hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(35, 82, 147, 0.85) 0%, rgba(94, 18, 94, 0.9) 100%);
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-tagline {
  color: var(--bg-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  color: var(--bg-white);
  font-family: 'Times New Roman', Times, serif;
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-breadcrumbs a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hero-breadcrumbs a:hover {
  color: var(--bg-white);
}

.hero-breadcrumbs i {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   BIOGRAPHY SECTION
   ========================================================================== */
.new-about-container {
  display: block;
}

.new-about-container::after {
  content: "";
  display: table;
  clear: both;
}

/* Left Column */
.new-about-left {
  float: left;
  width: 45%;
  max-width: 480px;
  margin-right: 4rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.about-image-card {
  position: relative;
  width: 100%;
}

.about-main-img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: var(--radius-sm);
}

.about-image-card:hover .about-main-img {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* 40+ Years Badge with Diagonal Cut-Out */
.experience-badge {
  position: absolute;
  bottom: -1rem;
  right: -2rem; /* Overlap right side slightly */
  background-color: #0c1527; /* Deep Navy Blue */
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Top-left corner diagonal slice */
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  min-width: 250px;
}

.exp-number {
  color: #e63946; /* Bright Red */
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.exp-text {
  color: #e63946; /* Bright Red */
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
}


/* Right Column / Content Flow */
.new-about-content {
  display: block;
}

.about-headers {
  margin-bottom: 2rem;
}

.about-subtitle {
  color: #72bdd0; /* Light Medical Teal/Blue from screenshot */
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 80%;
}

.about-tagline {
  color: #e63946; /* Bright Red */
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.about-title {
  color: #0f172a; /* Deep Navy */
  font-family: 'Times New Roman', Times, serif;
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.about-bio-content {
  display: block;
}

.bio-text-card {
  background: var(--bg-white);
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-teal);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1; /* Keep it above background if needed, but not forming restrictive BFC */
}

.bio-text-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

/* Optional subtle background tint on hover */
.bio-text-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0), rgba(72,192,192,0.03));
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bio-text-card:hover::after {
  opacity: 1;
}

.bio-text-card p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 2;
  margin: 0;
  text-align: justify;
}

/* Special highlight card style */
.highlight-card {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-purple-light) 100%);
  border-left-color: var(--primary-purple) !important;
}

/* Signature Block at Bottom */
.about-signature-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.sig-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 4px; /* Square with slightly rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sig-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sig-name {
  color: #0c1527;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.sig-title {
  color: #e63946;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   WHAT WE DO HERE SECTION
   ========================================================================== */
.about-services-section {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.about-services-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.8rem;
  color: #0c1527;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4rem;
  letter-spacing: 1px;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.about-service-card {
  background-color: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Outer cards get a dark border */
.outer-card {
  border: 1.5px solid #23112c; /* Very dark purple/blue from screenshot */
}

/* Middle card gets the distinct red border highlight */
.middle-card {
  border: 1.5px solid #e63946; /* Red */
}

.card-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-bottom: 1px solid #eaeaea;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-service-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-content {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.5rem;
}

.btn-ghost {
  display: inline-block;
  padding: 0.6rem 2.25rem;
  border-radius: 50px;
  border: 1px solid #482352; /* Dark purple border from screenshot */
  color: #111;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background-color: #482352;
  color: #fff;
}

/* ==========================================================================
   CTA BANNER & SEAMLESS GALLERY
   ========================================================================== */
.about-cta-gallery-section {
  display: block;
}

.about-massive-cta {
  display: block;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  padding: 4rem 0;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-massive-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-purple) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.about-massive-cta:hover::before {
  opacity: 1;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner-icon {
  position: relative;
  font-size: 4rem;
  color: #ffffff;
  line-height: 1;
  transition: transform 0.4s ease;
}

.about-massive-cta:hover .cta-banner-icon {
  transform: scale(1.1) rotate(-5deg);
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

.cta-banner-text {
  display: flex;
  flex-direction: column;
  color: #ffffff !important;
}

.cta-banner-small {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: #ffffff !important;
}

.cta-banner-large {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;
  color: #ffffff !important;
}

/* Seamless Gallery */
.about-seamless-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* Seamless edge-to-edge */
}

.gallery-img-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-img-wrapper:hover img {
  transform: scale(1.08);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .page-hero-banner {
    padding: 4rem 0 3.5rem 0;
    margin-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }

  .new-about-left {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 4rem auto;
  }
  
  .experience-badge {
    right: -1rem;
    padding: 2rem;
    min-width: 220px;
  }
  
  .about-subtitle {
    font-size: 1.75rem;
    max-width: 100%;
  }
  
  .about-title {
    font-size: 2.5rem;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-seamless-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .about-services-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .about-seamless-gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery-img-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .page-hero-banner {
    padding: 3rem 1rem 2.5rem 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }

  .experience-badge {
    right: 0;
    bottom: -2rem;
    padding: 1.5rem;
  }
  
  .about-title {
    font-size: 2rem;
  }

  .cta-banner-large {
    font-size: 2.2rem;
  }
}
