/* ==========================================================================
   ABOUT US PAGE STYLES - HELAPURI INSTITUTE
   Matches reference image exactly (Outfit + Plus Jakarta Sans)
   ========================================================================== */
body {
    font-family: var(--body-font);
    color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: #222;
}

.section-title {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.container {
    max-width: 1760px;
    padding: 0 80px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.about-hero {
    position: relative;
    height: 400px;
    background: url('images/night view.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #fff;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 0.95rem;
    color: #ddd;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

/* =========================================
   INTRO SECTION
   ========================================= */
.about-intro {
    padding: 60px 0;
    background: #fff;
}

.about-intro-container {
    display: flex;
    max-width: 1760px;
    min-height: 408px;
    margin: 0 auto;
    justify-content: center;
    gap: 130px;
    align-items: center;
}

.intro-image {
    width: 410px;
    height: 410px;
    flex-shrink: 0;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
    width: 864px;
    min-height: 276px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #000;
    font-weight: 500;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* =========================================
   QUOTE SECTION
   ========================================= */
.about-quote {
    padding: 60px 0;
    background: #fff;
}

.quote-box {
    background: #f7f8f5;
    border: 1px solid #eee;
    padding: 50px 60px;
    border-radius: 16px;
    position: relative;
    max-width: 1760px;
    height: 368px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.quote-icon {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 20px;
}

.quote-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 25px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #000;
}

.author-line {
    width: 4px;
    height: 25px;
    background: #d48300;
    /* Orange accent */
}

/* Mission Statement */
.about-statement {
    padding: 60px 0;
    text-align: left;
    max-width: 1760px;
    margin: 0 auto;
    background: #fff;
    opacity: 1;
}

.about-statement p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* =========================================
   DUAL IMAGE BANNER
   ========================================= */
.about-dual-images {
    padding: 60px 0;
    background: #fff;
}

.dual-image-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    max-width: 1760px;
    margin: 0 auto;
}

.dual-img {
    width: 636px;
    height: 393px;
    object-fit: cover;
    border-radius: 12px;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.emblem-img {
    height: 80px;
    width: auto;
}

/* =========================================
   STATS RIBBON
   ========================================= */
.about-stats {
    background: transparent;
    padding: 0;
    margin: 60px 0;
    color: #fff;
}

.stats-flex {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1760px !important;
    height: 216px;
    margin: 0 auto;
    background: url('images/clg\ daytime.jpg') no-repeat center center/cover;
    border-radius: 20px;
    overflow: hidden;
    padding: 0 80px;
}

.stats-flex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 36, 32, 0.84);
    /* #5A2420 at 84% */
    z-index: 1;
}

.stat-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

/* Dividers */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    border-right: 1px dashed rgba(255, 255, 255, 0.4);
}

.stat-item h3 {
    font-size: 2.24rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    color: #fff;
}

/* =========================================
   VISION SECTION
   ========================================= */
.about-vision {
    padding: 60px 0;
    background: #fff;
}

.about-vision .section-title {
    margin-bottom: 20px;
}

.vision-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
    max-width: 100%;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.v-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.v-icon-wrap {
    width: 60px;
    height: 60px;
    background: #fdf2e9;
    color: #4a0e0e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.v-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #111;
}

.v-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* =========================================
   CAMPUS TOUR
   ========================================= */
.about-tour {
    padding: 60px 0;
    background: #fdfdfd;
    text-align: center;
}

.tour-header {
    max-width: 100%;
    margin: 0 auto 40px;
}

.tour-header p {
    color: #666;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
}

.tour-video-box {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tour-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: block;
    object-fit: contain; /* Full visibility, no cutting */
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn-overlay i {
    font-size: 2rem;
    color: #4a0e0e;
    margin-left: 5px;
    /* Visual center adjustment for play icon */
}

/* =========================================
   FEEDBACK / TESTIMONIALS
   ========================================= */
.about-feedback {
    padding: 60px 0;
    background: #fff;
}

.feedback-header {
    text-align: left;
    margin-bottom: 50px;
    max-width: 100%;
}

.feedback-header p {
    color: #555;
    line-height: 1.8;
    max-width: 850px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.f-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.f-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.f-top>i {
    font-size: 2rem;
    color: #ccc;
}

.stars {
    color: #fca311;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.f-card p {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 30px;
}

.f-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-line {
    width: 3px;
    height: 35px;
    background: #4a0e0e;
}

.f-name {
    font-weight: 500;
    color: #222;
}

.f-name small {
    display: block;
    font-weight: 400;
    color: #777;
    font-size: 0.85rem;
    margin-top: 3px;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 992px) {

    .about-intro-container,
    .dual-image-wrap {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .dual-img {
        width: 100%;
    }

    .vision-cards,
    .feedback-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .vision-cards,
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .stats-flex {
        flex-direction: column;
        gap: 40px;
    }

    .quote-box {
        padding: 30px;
    }
}
/* =============================================================
   MOBILE RESPONSIVE OVERRIDES (max-width: 768px)
   ============================================================= */
@media (max-width: 768px) {

  /* CONTAINER */
  .container {
    padding: 0 20px !important;
    max-width: 100% !important;
  }

  /* INTRO */
  .about-intro-container {
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
    padding: 40px 0 !important;
  }

  .intro-image,
  .intro-text {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }

  .intro-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .intro-text h2 {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
  }

  /* QUOTE */
  .quote-box {
    height: auto !important;
    padding: 40px 30px !important;
    margin: 20px auto !important;
  }

  .quote-box p {
    font-size: 1.05rem !important;
  }

  /* DUAL IMAGE */
  .dual-image-wrap {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }

  .dual-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  .center-badge {
    position: static !important;
    transform: none !important;
    margin: 20px auto !important;
    width: fit-content;
  }

  .emblem-img {
    height: 60px !important;
  }

  /* STATS */
  .stats-flex {
    flex-direction: column !important;
    height: auto !important;
    padding: 50px 20px !important;
    gap: 40px !important;
    margin: 40px 0 !important;
  }

  .stat-item {
    width: 100% !important;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-item h3 {
    font-size: 2rem !important;
  }

  /* GRID */
  .vision-cards,
  .feedback-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .v-card, .f-card {
    padding: 30px 20px !important;
  }

  /* VIDEO */
  .tour-poster {
    height: auto !important;
  }

  .about-tour {
    padding: 40px 0 !important;
  }

  /* GENERAL */
  body {
    overflow-x: hidden !important;
  }

  .about-hero {
    height: 300px !important;
  }

  .about-hero-content h1 {
    font-size: 2.2rem !important;
  }

  section {
    padding: 40px 0 !important;
  }
}
