/* ==========================================================
   student-experience.css
   Styles for student_experience.php only
   ========================================================== */

/* ---------- Page banner ---------- */
.page-banner{
  background:
    linear-gradient(90deg, rgba(8,22,56,.92) 30%, rgba(8,22,56,.55) 100%),
    url('../images/STUDENT EXPERIENCE.jpg');
  background-size: cover;
  background-position: right center;
  background-color: var(--navy);
  padding:46px 0;
  color:#fff;
}
.page-banner .breadcrumb{
  font-size:13px;
  color:var(--text-muted);
  margin-bottom:16px;
}
.page-banner .breadcrumb a{ color:var(--text-muted); }
.page-banner .breadcrumb a:hover{ color:var(--gold); }
.page-banner .breadcrumb span{ margin:0 6px; color:#5a6790; }
.page-banner .breadcrumb .current{ color:var(--gold); font-weight:600; }

.page-banner h1{
  font-size:34px;
  font-weight:800;
  letter-spacing:1px;
  margin-bottom:14px;
}
.page-banner h1 span{ color:var(--gold); }
.page-banner p{
  color:var(--text-muted);
  font-size:15px;
  max-width:560px;
  line-height:1.6;
}

/* ---------- Photo gallery ---------- */
.se-gallery{ padding:34px 0; }
.gallery-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap:14px;
  height:420px;
}
.gallery-main{ grid-column:1; grid-row:1 / 3; }
.gallery-item.g2{ grid-column:2; grid-row:1; }
.gallery-item.g3{ grid-column:3; grid-row:1; }
.gallery-item.g4{ grid-column:2; grid-row:2; }
.gallery-item.g5{ grid-column:3; grid-row:2; }

.gallery-main img,
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
  display:block;
  transition:transform .4s ease;
}
.gallery-main:hover img,
.gallery-item:hover img{ transform:scale(1.04); }
.gallery-main, .gallery-item{ overflow:hidden; border-radius:8px; }

/* ---------- Feature highlights row ---------- */
.se-features{
  padding:10px 0 40px;
  border-bottom:1px solid #eee;
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.feature-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:0 16px;
  border-left:1px solid #e8e8e8;
}
.feature-item:first-child{ border-left:none; padding-left:0; }
.feature-icon{
  flex:0 0 auto;
  width:34px; height:34px;
  color:var(--navy);
  font-size:20px;
  margin-top:2px;
}
.feature-item h4{
  font-size:14px;
  color:var(--navy);
  margin-bottom:4px;
}
.feature-item p{
  font-size:12px;
  color:#777;
  line-height:1.4;
}

/* ---------- Section heading (self-contained for this page) ---------- */
.section-heading{
  text-align:center;
  margin:44px 0 34px;
}
.section-heading h2{
  color:var(--navy);
  font-size:22px;
  letter-spacing:1px;
  position:relative;
  display:inline-block;
  padding-bottom:12px;
}
.section-heading h2::after{
  content:"";
  position:absolute;
  left:50%; bottom:0;
  transform:translateX(-50%);
  width:60px; height:3px;
  background:var(--gold);
}

/* ---------- Student stories grid ---------- */
.se-stories{ padding-bottom:20px; }
.stories-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.story-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  transition:transform .3s ease, box-shadow .3s ease;
}
.story-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 28px rgba(11,31,77,.12);
}
.story-img{ height:150px; overflow:hidden; }
.story-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s ease;
}
.story-card:hover .story-img img{ transform:scale(1.08); }
.story-body{ padding:16px; }
.story-body h3{
  font-size:14.5px;
  color:var(--navy);
  margin-bottom:10px;
  line-height:1.35;
}
.story-body p{
  font-size:12.5px;
  color:#777;
  margin-bottom:14px;
  line-height:1.5;
}
.story-meta{ font-size:12px; color:#555; }
.story-meta li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-bottom:7px;
}
.story-meta li i{
  color:var(--gold-dark);
  width:14px;
  margin-top:2px;
}

/* ---------- More stories (wide cards) ---------- */
.se-more-stories{ padding-bottom:20px; background:#fafbfd; padding-top:10px; }
.more-stories-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.more-story-card{
  display:flex;
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.more-story-img{ flex:0 0 220px; }
.more-story-img img{ width:100%; height:100%; object-fit:cover; }
.more-story-body{
  position:relative;
  flex:1;
  padding:22px 90px 22px 22px;
}
.quote-icon{
  color:var(--gold);
  font-size:22px;
  margin-bottom:10px;
  display:block;
}
.more-story-body p{
  font-size:13px;
  color:#555;
  line-height:1.6;
  margin-bottom:14px;
}
.more-story-body .story-meta{ font-size:12px; color:#555; }
.more-story-body .story-meta li{ margin-bottom:5px; }
.more-story-body .story-meta li strong{ color:var(--navy); }
.more-story-avatar{
  position:absolute;
  right:22px;
  bottom:22px;
  width:56px; height:56px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--gold);
}

/* ---------- CTA banner ---------- */
.se-cta{
  background:var(--navy);
  padding:34px 0;
  margin:40px 0 0;
}
.cta-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
}
.cta-item{
  display:flex;
  align-items:center;
  gap:18px;
  color:#fff;
  transition:opacity .3s ease;
}
.cta-item:hover{ opacity:.85; }
.cta-icon{
  flex:0 0 auto;
  width:54px; height:54px;
  border-radius:50%;
  border:2px solid var(--gold);
  color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
}
.cta-item h4{
  font-size:15px;
  letter-spacing:.5px;
  margin-bottom:6px;
}
.cta-item p{
  font-size:12.5px;
  color:var(--text-muted);
  max-width:320px;
  line-height:1.5;
}
.cta-divider{
  width:1px;
  height:70px;
  background:rgba(255,255,255,.2);
}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .gallery-grid{ grid-template-columns:1fr 1fr; grid-template-rows:auto; height:auto; }
  .gallery-main{ grid-column:1 / 3; grid-row:auto; height:260px; }
  .gallery-item{ height:150px; }
  .gallery-item.g2, .gallery-item.g4{ grid-column:1; }
  .gallery-item.g3, .gallery-item.g5{ grid-column:2; }
  .gallery-item.g2, .gallery-item.g3{ grid-row:2; }
  .gallery-item.g4, .gallery-item.g5{ grid-row:3; }

  .features-grid{ grid-template-columns:repeat(2,1fr); row-gap:20px; }
  .feature-item{ border-left:none; padding-left:0; }

  .stories-grid{ grid-template-columns:repeat(2,1fr); }
  .more-stories-grid{ grid-template-columns:1fr; }
  .cta-grid{ grid-template-columns:1fr; }
  .cta-divider{ width:100%; height:1px; }
}
@media (max-width:600px){
  .stories-grid{ grid-template-columns:1fr; }
  .more-story-card{ flex-direction:column; }
  .more-story-img{ flex:0 0 160px; width:100%; }
  .more-story-body{ padding:20px; }
  .more-story-avatar{ position:static; margin-top:10px; }
}

/* =========================================
   MORE STORIES
   ========================================= */

.se-more-stories {
    padding: 70px 0;
    background: #f8f8f8;
}

.se-more-stories .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.se-more-stories .section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: #7a1f2e;
}


/* CAROUSEL */

.stories-carousel {
    position: relative;
    display: flex;
    align-items: center;
}


/* STORY CONTAINER */

.more-stories-wrapper {
    display: flex;
    gap: 30px;

    width: 100%;

    overflow-x: hidden;
    scroll-behavior: smooth;

    padding: 10px 5px 25px;
}


/* CARD */

.more-story-card {
    flex: 0 0 420px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    overflow: hidden;
}


/* CARD CONTENT */

.more-story-body {
    padding: 30px;

    display: flex;
    flex-direction: column;
}


/* QUOTE ICON */

.quote-icon {
    font-size: 28px;
    color: #d4a24c;

    margin-bottom: 15px;
}


/* EXPERIENCE */

.more-story-body p {
    font-size: 15px;

    line-height: 1.8;

    color: #555;

    margin: 0 0 25px;

    white-space: pre-line;
}


/* STUDENT DETAILS */

.story-meta {
    list-style: none;

    margin: 0;

    padding: 18px 0;

    border-top: 1px solid #eeeeee;
}

.story-meta li {
    font-size: 13px;

    line-height: 1.7;

    color: #666;

    margin-bottom: 4px;
}

.story-meta strong {
    color: #7a1f2e;
}


/* STUDENT IMAGE AT BOTTOM */

.story-student-image {
    text-align: center;

    margin-top: 15px;
}

.story-student-image img {
    width: 90px;

    height: 90px;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid #d4a24c;

    display: inline-block;
}


/* ARROWS */

.story-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: #7a1f2e;

    color: #ffffff;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.story-arrow:hover {
    background: #d4a24c;

    color: #ffffff;

    transform: translateY(-50%) scale(1.08);
}


/* LEFT */

.story-arrow-left {
    left: -22px;
}


/* RIGHT */

.story-arrow-right {
    right: -22px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .se-more-stories {
        padding: 50px 0;
    }

    .se-more-stories .section-heading h2 {
        font-size: 24px;
    }

    .more-story-card {
        flex: 0 0 310px;
    }

    .more-story-body {
        padding: 22px;
    }

    .more-story-body p {
        font-size: 14px;
        line-height: 1.7;
    }

    .story-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .story-arrow-left {
        left: -10px;
    }

    .story-arrow-right {
        right: -10px;
    }
}