﻿/* ==========================================================================
   Pink Model School - About Us Module UI/UX Refinements
   ========================================================================== */

/* 1. Base Layout & Section Spacing */
.about-refinement-section {
  padding: 100px 0;
  position: relative;
}

.about-refinement-section.bg-light-shade {
  background-color: #fcfdfd;
}

.about-refinement-section.bg-dark-shade {
  background-color: #1e266d;
}

/* 2. Premium Grid Alignment */
.about-refinement-section .site-heading {
  margin-bottom: 45px;
}

.about-refinement-section .site-heading .site-title-tagline {
  background: rgba(200, 155, 44, 0.08) !important;
  color: var(--theme-color2) !important; /* Gold Tagline */
  padding: 8px 18px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(200, 155, 44, 0.15) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 4px 12px rgba(200, 155, 44, 0.04) !important;
}

.about-refinement-section .site-heading .site-title-tagline i {
  font-size: 14px !important;
  color: var(--theme-color2) !important;
}

.about-refinement-section .site-heading .site-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--theme-color) !important; /* Navy Blue */
  letter-spacing: -0.5px !important;
}

.about-refinement-section .site-heading .site-title span {
  background: linear-gradient(135deg, var(--theme-color2) 0%, #e6a756 50%, #b78a22 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

/* 3. Typography & Paragraph Widths */
.about-refinement-section p.lead-text {
  font-size: 17px;
  line-height: 1.75;
  color: #3b4452;
  margin-bottom: 24px;
  font-weight: 500;
}

.about-refinement-section p.body-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: #5f6878;
  margin-bottom: 20px;
}

/* 4. Unified Premium Cards (Vertical alignment, centered shapes) */
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.06);
  border-top: 4px solid var(--theme-color); /* Navy top line */
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 10px 30px rgba(30, 38, 109, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-color) 0%, var(--theme-color2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.about-card:hover::after {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(214, 51, 132, 0.12); /* Soft Pink/Magenta Hover Glow */
  border-color: rgba(214, 51, 132, 0.2);
}

.about-card-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px dashed var(--theme-color2) !important; /* Dashed Gold border matching welcomed circle */
  color: var(--theme-color2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(200, 155, 44, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: static !important;
  transform: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
}

.about-card-icon i {
  color: var(--theme-color2) !important;
  font-size: 24px !important;
  display: block;
}

.about-card-icon img {
  width: 32px;
  height: 32px;
  filter: none;
}

.about-card:hover .about-card-icon {
  transform: scale(1.08) rotate(360deg);
  background: var(--theme-color2) !important;
  border-style: solid !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(200, 155, 44, 0.25);
}

.about-card:hover .about-card-icon i {
  color: #ffffff !important;
}

.about-card-info h4 {
  font-size: 20px;
  color: var(--theme-color);
  margin-bottom: 12px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.about-card:hover .about-card-info h4 {
  color: #d63384; /* Turn pink on hover */
}

.about-card-info p {
  font-size: 14.5px;
  color: #65748a;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Timeline/Year-based Cards */
.about-card-icon.year-icon {
  font-size: 18px !important;
  font-weight: 700 !important;
  font-family: var(--heading-font) !important;
  color: var(--theme-color2) !important; /* Gold text by default */
  transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.about-card:hover .about-card-icon.year-icon {
  color: #ffffff !important; /* Turns white on hover */
}

/* 5. Custom Premium Image Frames (Floating / Layered effects matching homepage welcome grid) */
.about-page-image-leaf,
.about-page-image-rect {
  position: relative;
  margin: 15px 15px 30px 15px;
  z-index: 1;
  display: inline-block;
  width: calc(100% - 30px);
}

.about-page-image-leaf::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed var(--theme-color2); /* Dashed Gold outline matching welcomed circle */
  border-radius: 80px 80px 0 80px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-page-image-rect::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed var(--theme-color2); /* Dashed Gold outline */
  border-radius: 0 80px 80px 80px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-page-image-leaf img {
  width: 100%;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 80px 80px 0 80px !important; /* Matches homepage grid image style */
  box-shadow: 0 15px 35px rgba(7, 29, 59, 0.12);
  border: 6px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.about-page-image-rect img {
  width: 100%;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 0 80px 80px 80px !important; /* Matches homepage grid image style */
  box-shadow: 0 15px 35px rgba(7, 29, 59, 0.12);
  border: 6px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.about-page-image-leaf:hover img,
.about-page-image-rect:hover img {
  transform: translate(-8px, -8px);
  box-shadow: 0 25px 50px rgba(7, 29, 59, 0.22);
}

.about-page-image-leaf:hover::before,
.about-page-image-rect:hover::before {
  transform: translate(6px, 6px);
}

/* 6. List Typography & Bullet Alignments */
.about-page-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 22px;
  margin-bottom: 22px;
}

.about-page-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #5f6878;
}

.about-page-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--theme-color2) !important; /* Gold Icons */
  font-size: 16px !important;
  transition: all 0.3s ease;
}

.about-page-list li:hover i {
  color: var(--theme-color) !important; /* Transitions to Navy on hover */
  transform: scale(1.18);
}

/* 7. Stats & Counter Row Refinement */
.counter-box {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px);
  border-radius: 16px !important;
  padding: 30px 24px !important;
  text-align: center;
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.counter-box:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* 8. KPI blocks (Overview metrics) */
.edu-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.edu-kpi {
  background: #ffffff;
  border: 1px solid rgba(7, 29, 59, 0.06);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(7, 29, 59, 0.03);
  transition: all 0.3s ease-in-out;
}

.edu-kpi:hover {
  border-color: var(--theme-color2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 155, 44, 0.1);
}

.edu-kpi strong {
  display: block;
  font-size: 20px;
  color: var(--theme-color);
  font-weight: 800;
  margin-bottom: 4px;
}

.edu-kpi span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #65748a;
  font-weight: 600;
}

/* 9. Testimonial / Quote Overlay */
.testimonial-area.bg {
  overflow: hidden;
}

.quote-highlight {
  font-size: 26px !important;
  line-height: 1.45 !important;
  font-weight: 700;
  color: #ffffff;
}

/* 10. Responsive Adjustments */
@media (max-width: 991px) {
  .about-refinement-section {
    padding: 70px 0;
  }
  .about-refinement-section .site-heading .site-title {
    font-size: 32px;
  }
  .edu-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page-image-leaf,
  .about-page-image-rect {
    margin: 15px 0 30px 0;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .about-refinement-section {
    padding: 55px 0;
  }
  .about-refinement-section .site-heading .site-title {
    font-size: 28px;
  }
  .edu-kpi-row {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 30px 20px;
  }
}

/* 11. Contrast Adjustments for Dark Backgrounds */
.video-area .site-heading .site-title {
  color: var(--color-white) !important;
}

.video-area .site-heading p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
}

.video-area .site-heading .site-title-tagline {
  color: var(--theme-color2) !important; /* Keep Gold accent */
}

/* 12. Premium Visual Polish Elements */

/* Grid and radial blur backgrounds */
.bg-grid-pattern {
  background-color: #ffffff;
  background-image: 
    linear-gradient(rgba(30, 38, 109, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 38, 109, 0.02) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
}

.bg-gradient-shade {
  background: radial-gradient(circle at 5% 5%, rgba(214, 51, 132, 0.025) 0%, transparent 35%),
              radial-gradient(circle at 95% 95%, rgba(30, 38, 109, 0.025) 0%, transparent 35%);
}

/* Editorial quote styling with low opacity quote watermark */
.editorial-quote {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%) !important;
  border: 1px solid rgba(30, 38, 109, 0.07) !important;
  border-left: 5px solid var(--theme-color2) !important; /* Gold border */
  border-radius: 12px !important;
  padding: 30px 30px 30px 45px !important;
  box-shadow: 0 12px 30px rgba(30, 38, 109, 0.03) !important;
  overflow: hidden;
  z-index: 1;
}

.editorial-quote::before {
  content: "“" !important;
  position: absolute;
  left: 12px !important;
  top: -20px !important;
  font-size: 110px !important;
  font-family: Georgia, serif !important;
  color: var(--theme-color2) !important;
  opacity: 0.15 !important;
  line-height: 1 !important;
  z-index: -1;
}

.editorial-quote.editorial-quote-pink {
  border-left-color: var(--theme-color) !important; /* Navy/Pink border */
}

.editorial-quote.editorial-quote-pink::before {
  color: var(--theme-color) !important;
}

.editorial-quote h5 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--theme-color) !important;
  margin-bottom: 6px !important;
}

.editorial-quote p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  font-style: italic !important;
  color: #4a5464 !important;
  margin-bottom: 0 !important;
}

/* Floating stamp badge for images */
.image-stamp-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: rgba(30, 38, 109, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}

.image-stamp-badge i {
  color: var(--theme-color2) !important;
  font-size: 16px !important;
}

.image-stamp-badge span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* 2x2 Values Mini-Cards */
.value-mini-card {
  background: #ffffff;
  border: 1px solid rgba(30, 38, 109, 0.05);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(30, 38, 109, 0.02);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.value-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(30, 38, 109, 0.08);
  border-color: rgba(200, 155, 44, 0.2);
}

.value-mini-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(200, 155, 44, 0.08);
  color: var(--theme-color2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.3s ease-in-out;
}

.value-mini-card:hover .value-mini-card-icon {
  background: var(--theme-color2);
  color: #ffffff;
  transform: scale(1.05);
}

.value-mini-card-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 6px;
}

.value-mini-card-content p {
  font-size: 13.5px;
  color: #65748a;
  line-height: 1.55;
  margin-bottom: 0;
}

/* 13. Counter Section Visual Contrast Upgrades & Spacing */
.counter-area {
  padding: 100px 0 !important;
}

.counter-area h3,
.counter-area .font-weight-bold {
  color: var(--color-white) !important;
}

.counter-area .text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}


/* ==========================================================================
   Page-Specific Identity Layouts (To satisfy "Every Page Must Look Different")
   ========================================================================== */

/* 1. Vision & Mission (Split gradient panels) */
.vision-panel-card {
  background: linear-gradient(135deg, #1e266d 0%, #0c1033 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 45px 40px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.mission-panel-card {
  background: linear-gradient(135deg, #d63384 0%, #981b57 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 45px 40px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(214, 51, 132, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.vision-panel-card:hover,
.mission-panel-card:hover {
  transform: translateY(-8px);
}

.vision-panel-card h3,
.mission-panel-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.vision-panel-card p,
.mission-panel-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
}

/* 2. Recognition & Affiliation (Certificate badging layout) */
.recognition-badge-card {
  background: #ffffff;
  border: 2px solid var(--theme-color2);
  outline: 4px solid #ffffff;
  outline-offset: -8px;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(200, 155, 44, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.recognition-badge-card::before {
  content: "★ ★ ★";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--theme-color2);
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.recognition-badge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(200, 155, 44, 0.15);
}

.recognition-badge-card h4 {
  font-size: 19px;
  color: var(--theme-color);
  font-weight: 750;
  margin-top: 15px;
  margin-bottom: 12px;
}

.recognition-badge-card p {
  font-size: 14px;
  color: #65748a;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 3. Founder Desk (Editorial Profile Block) */
.founder-editorial-block {
  background: #ffffff;
  border-left: 6px solid var(--theme-color2);
  padding: 40px;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 15px 35px rgba(30, 38, 109, 0.03);
}

/* 4. Principal Desk (Executive message sidebar) */
.principal-sidebar-box {
  background: linear-gradient(135deg, rgba(30, 38, 109, 0.03) 0%, rgba(214, 51, 132, 0.03) 100%);
  border: 1px dashed rgba(30, 38, 109, 0.1);
  border-radius: 20px;
  padding: 30px;
}

/* ==========================================================================
   Global Hero Overlay (60% Black) & Premium Light Background Colors
   ========================================================================== */

/* 60% Black Overlay for Breadcrumb Hero */
.inner-page .site-breadcrumb::before,
.site-breadcrumb::before {
  background: rgba(0, 0, 0, 0.6) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

.site-breadcrumb .container {
  position: relative;
  z-index: 2 !important;
}

/* Premium Alternating Light Background Colors */
.bg-light-blue {
  background-color: #f4f7fc !important;
}

.bg-light-pink {
  background-color: #fff9defa !important;
}

.bg-light-gold {
  background-color: #faf5eb !important;
}

.bg-light-grey {
  background-color: #f7f8fa !important;
}

/* Mobile spacing refinement */
@media (max-width: 767px) {
  .about-refinement-section,
  .leadership-area,
  .objectives-area,
  .why-area,
  .special-feature-area,
  .vision-mission-area,
  .about-cta-area,
  .counter-area,
  .testimonial-area.bg,
  .video-area {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .site-breadcrumb + .about-refinement-section,
  .site-breadcrumb + section {
    padding-top: 38px !important;
  }

  .about-refinement-section .site-heading {
    margin-bottom: 22px !important;
  }
}

@media (max-width: 575px) {
  .about-refinement-section,
  .leadership-area,
  .objectives-area,
  .why-area,
  .special-feature-area,
  .vision-mission-area,
  .about-cta-area,
  .counter-area,
  .testimonial-area.bg,
  .video-area {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .site-breadcrumb + .about-refinement-section,
  .site-breadcrumb + section {
    padding-top: 32px !important;
  }

  .about-refinement-section .site-heading {
    margin-bottom: 18px !important;
  }
}
