html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.about-hero{
    min-height:60vh;
    padding:100px 5%;
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        url('../images/rmmcnewimage.webp');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.hero-content{
    max-width:900px;
    width:100%;
}

.hero-content h1{
    font-size:clamp(32px, 6vw, 50px);
    line-height:1.2;
    margin-bottom:15px;
}

.hero-content p{
    font-size:clamp(16px, 2.5vw, 20px);
    line-height:1.7;
    max-width:700px;
    margin:0 auto;
}

/* ========================= */
/* Large Tablets */
/* ========================= */
@media (max-width:1024px){

    .about-hero{
        min-height:55vh;
        padding:90px 8%;
    }

}

/* ========================= */
/* Tablets */
/* ========================= */
@media (max-width:768px){

    .about-hero{
        min-height:50vh;
        padding:80px 6%;
    }

    .hero-content h1{
        margin-bottom:12px;
    }

}

/* ========================= */
/* Mobile */
/* ========================= */
@media (max-width:480px){

    .about-hero{
        min-height:45vh;
        padding:70px 5%;
    }

    .hero-content h1{
        line-height:1.3;
    }

    .hero-content p{
        line-height:1.6;
    }

}


.rmmc-section{
    padding:80px 10%;
}


/* CONTAINER */
.about-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}


/* IMAGE */
.about-image{
    flex:1;
    position:relative;
}

.about-image img{
    width:100%;
    display:block;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

/* BADGE */
.year-badge{
    position:absolute;
    bottom:-25px;
    left:20px;
    background:#0b3d91;
    color:#fff;
    padding:18px 22px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.year-badge h2{
    margin:0;
    font-size:28px;
}

.year-badge span{
    font-size:12px;
}

/* TEXT */
.about-content{
    flex:1;
}

.about-tag{
    display:inline-block;
    color:#0b3d91;
    font-size:clamp(14px, 2vw, 16px);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:10px;
}

.about-content h1{
    font-size:clamp(28px, 5vw, 40px);
    line-height:1.2;
    margin:10px 0 20px;
    color:#111;
}

.about-content p{
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
    text-align:justify;
    hyphens:auto;
    overflow-wrap:break-word;
}

/* BUTTON */
.about-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 28px;
    background:#0b3d91;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    transition:.3s;
}

.about-btn:hover{
    background:#072a66;
}

/* ========================= */
/* Large Tablets */
/* ========================= */
@media (max-width:1024px){

    .rmmc-section{
        padding:70px 8%;
    }

    .about-container{
        gap:40px;
    }

    .about-content h1{
        font-size:34px;
    }

    .year-badge{
        padding:15px 18px;
    }

    .year-badge h2{
        font-size:24px;
    }

}

/* ========================= */
/* Tablets */
/* ========================= */
@media (max-width:768px){

    .rmmc-section{
        padding:60px 6%;
    }

    .about-container{
        flex-direction:column;
        gap:50px;
    }

    

    .about-image,
    .about-content{
        width:100%;
    }

    .about-content{
        text-align:center;
    }

    .about-content h1{
        font-size:34px;
    }

    .about-tag{
        font-size:15px;
    }

    .about-content p{
        text-align:justify;
    }

    .year-badge{
        left:50%;
        transform:translateX(-50%);
        bottom:-20px;
    }

}

/* ========================= */
/* Mobile */
/* ========================= */
@media (max-width:480px){

    .rmmc-section{
        padding: 5% 5% 0 5%;
    }

    .about-container{
        gap:10px;
    }
    
    .about-content{
      margin-top: 50px;
    }
    .about-content h1{
      
      font-size:20px;
    }

    .about-content p{
        font-size:15px;
        line-height:1.7;
    }

    .year-badge{
      width: 140px;
      height: 80px;
      left: 23%;
        padding:12px 16px;
        border-radius:8px;
    }

    .year-badge h2{
        font-size:20px;
    }

    .year-badge span{
        font-size:11px;
    }

    .about-btn{
        width:100%;
        text-align:center;
        padding:14px;
    }

    .about-tag{
      font-size: 20px;
    }


}



/* mvc - section */
.mvc-section{
    padding:30px 5%;
    /* background:#f4f7ff; */
    /* background: #f9fafc; */

    text-align:left;
}

.mvc-section h2{
    font-size:38px;
    color:#0b3d91;
    margin-bottom:30px;
    text-align:center;
}

/* Grid */
.mvc-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:30px;
}

/* Card */
.mvc-card{
    background:white;
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.06);
    transition:0.4s ease;
}

.mvc-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.core-box {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: #004080;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  line-height: 35px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  margin: 3px 0;
}
.mvc-card p{
    text-align: justify;   /* ✅ This justifies the paragraph */
}

.mvc-card h3{
    color:#0b3d91;
    margin-bottom:15px;
    font-size:22px;
}

.mvc-card p{
    color:#555;
    line-height:1.8;
    font-size:16px;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */
@media (max-width:414px){

/* CARD */
.mvc-section{
  top: 0%;
}
.mvc-card{
  padding:10px 20px;
  /* border-radius:16px; */
}

/* TITLE */

.mvc-card h3{
  font-size:19px;
  margin-bottom:12px;
}

/* PARAGRAPH */

.mvc-card p{
  font-size:14px;
  line-height:1.7;
}

/* CORE VALUE BOX */

.core-box{
  width:30px;
  height:30px;
  line-height:30px;
  font-size:0.95rem;
  margin-right:10px;
}

}




/* quality policy */
/* SECTION */
.quality-policy{
    /* margin-top: 20px; */
  padding: 10px 20px;
  /* background: linear-gradient(135deg,#f5f7fb,#eef2f9); */
  /* background:#f4f7ff; */
  /* background: #f9fafc; */
  font-family: 'Poppins', sans-serif;
}

/* CONTAINER */
.policy-container{
  max-width: 1200px;
  margin:auto;
  text-align:center;
  background:white;
  /* padding:40px 30px;
  border-radius:14px; */
  /* box-shadow:0 10px 25px rgba(0,0,0,0.08); */

}

/* TITLE */
.policy-title{
  font-size: 40px;
  font-weight: 700;
  color:#1e3a8a;
  margin-bottom:30px;
}

/* INTRO */
.policy-intro{
  max-width:1100px;
  margin:auto;
  font-size:18px;
  line-height:1.6;
  color:#444;
  margin-bottom:20px;
}

/* COMMITMENT TITLE */
.commit-title{
  font-size:26px;
  font-weight:600;
  margin-bottom:20px;
  color:#111;
}

/* GRID */
.policy-grid{
  display: grid;
  max-width: 1100px;
  margin: auto;
  grid-template-columns: repeat(2, 1fr); /* 3 columns */
  gap: 20px;
}

/* CARD */
.policy-card{
  background:white;
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  text-align:left;
  transition:0.3s;
  position:relative;
}

.policy-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* NUMBER BADGE */
.policy-number{
  width:45px;
  height:45px;
  border-radius:50%;
  background:#2563eb;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  margin-bottom:15px;
}

/* TEXT */
.policy-card p{
  color: #555;
  line-height: 1.8;
  font-size: 17px;
  text-align: justify;
}

/* FOOTER TEXT */
.policy-footer{
  margin-top:30px;
  font-size:18px;
  color:#666;
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */
@media (max-width:414px){

/* SECTION */
.quality-policy{
  padding:40px 18px;
}

/* TITLE */
.policy-title{
  font-size:28px;
  margin-bottom:15px;
}

/* INTRO TEXT */
.policy-intro{
  font-size:15px;
  line-height:1.6;
  margin-bottom:25px;
  text-align:justify;
}

/* COMMITMENT TITLE */
.commit-title{
  font-size:20px;
  margin-bottom:25px;
}

/* GRID → STACK CARDS */
.policy-grid{
  grid-template-columns:1fr;
  gap:18px;
}

/* CARD */
.policy-card{
  padding:22px;
  border-radius:12px;
}

/* NUMBER BADGE */
.policy-number{
  width:38px;
  height:38px;
  font-size:14px;
}

/* CARD TEXT */
.policy-card p{
  font-size:14px;
  line-height:1.6;
}

/* FOOTER */
.policy-footer{
  font-size:15px;
  margin-top:35px;
}

}

@media (max-width:768px){
  .policy-grid{
    grid-template-columns:repeat(1,1fr);
  }
  .policy-intro, .policy-footer{
  font-size:16px;
  line-height:1.6;
  /* margin-bottom:20px; */
  padding: 0 20px;
  text-align:justify;
}
}



.history-section{
    padding:20px 5%;
    text-align:left;
}

.history-section h2{
    font-size:clamp(28px, 4vw, 38px);
    color:#0b3d91;
    margin-bottom:40px;
    text-align:center;
}

.history-box{
    width:100%;
    max-width:1100px;
    margin:auto;
    background:#fff;
    padding:50px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

.history-box p{
    font-size:17px;
    line-height:1.9;
    color:#444;
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
    overflow-wrap:break-word;
}

.history-box strong{
    color:#0b3d91;
    font-weight:700;
}

/* Large Tablets */
@media (max-width:1024px){

    .history-section{
        padding:45px 8%;
    }

    .history-box{
        padding:40px;
    }

    .history-box p{
        font-size:16px;
    }

}

/* Tablets */
@media (max-width:768px){

    .history-section{
        padding:40px 6%;
    }

    .history-section h2{
        margin-bottom:30px;
    }

    .history-box{
        padding:30px 25px;
        border-radius:15px;
    }

    .history-box p{
        font-size:15px;
        line-height:1.8;
    }

}

/* Mobile */
/* Mobile */
@media (max-width:480px){

    .history-section{
        padding:30px 5%;
    }

    .history-section h2{
        margin-bottom:25px;
    }

    .history-box{
        padding:22px 18px;
        border-radius:12px;
    }

    .history-box p{
        font-size:14px;
        line-height:1.7;
        text-align:justify;
        text-justify:inter-word;
        hyphens:auto;
    }

}



/* SECTION */
.seal-section{
  padding:50px 20px;
  /* background:#f5f7fb; */
  font-family:'Poppins', sans-serif;
}

/* CONTAINER */
.seal-container{
  max-width:1100px;
  margin:auto;
}

/* GRID */
.seal-grid{
  display:grid;
  grid-template-columns: 350px 1fr;
  align-items:center;
  gap:50px;
}

/* IMAGE */
.seal-image{
  text-align:center;
}

.seal-image img{
  width:280px;
  max-width:100%;
  border-radius:50%;
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
  padding:15px;
  background:white;
}

/* CONTENT */
.seal-content h2{
  font-size:36px;
  color:#1e3a8a;
  margin-bottom:20px;
}

.seal-content p{
  font-size:16px;
  line-height:1.7;
  color:#444;
  margin-bottom:15px;
}

@media (max-width:768px){

  .seal-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .seal-content h2{
    font-size:30px;
  }

}



/* SECTION */
.graduate-section{
  padding:50px 20px;
  /* background:#f5f7fb; */
  font-family:'Poppins', sans-serif;
}

/* CONTAINER */
.graduate-container{
  max-width:1100px;
  margin:auto;
  text-align:center;
}

/* TITLE */
.graduate-title{
  font-size:38px;
  font-weight:700;
  color:#1e3a8a;
  margin-bottom:50px;
}

/* GRID */
.graduate-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

/* CARD */
.graduate-card{
  background:#f8fafc;
  padding:35px 25px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:0.3s;
}

.graduate-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* NUMBER */
.graduate-number{
  width:45px;
  height:45px;
  margin:auto;
  margin-bottom:15px;
  border-radius:50%;
  background:#2563eb;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}

/* TEXT */
.graduate-card h3{
  font-size:17px;
  color:#333;
  line-height:1.5;
}


/* Tablet */
@media (max-width:992px){
  .graduate-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media (max-width:600px){
  .graduate-grid{
    grid-template-columns:1fr;
  }
}



.accreditation{
    padding:80px 10%;
    background:#0b3d91;
    color:white;
    text-align:center;
}

.accreditation h2{
    font-size:36px;
    margin-bottom:40px;
}

/* Logo Wrapper */
.acc-wrapper{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

/* Logos */
.acc-logo img{
    width:160px;
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

/* Hover Effect */
.acc-logo img:hover{
    transform:scale(1.05);
}

/* Text */
.acc-text{
    max-width:800px;
    margin:auto;
    font-size:18px;
    line-height:1.8;
}







.leadership{
    padding:100px 10%;
    /* background:#f4f7ff; */
    text-align:center;
    width: 100%;
    min-width: 100px;
    margin: 0 auto;
}

.leadership h2{
    font-size:40px;
    color:#0b3d91;
    margin-bottom:60px;
}

/* Grid */
.leader-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:50px;
    justify-items:center;
}

/* Card */
.leader-card{
    background:white;
    padding:40px 25px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    transition:0.4s ease;
    position:relative;
    max-width:320px;
    opacity:0;
    transform:translateY(60px);
    transition:all 0.8s ease;
}

.leader-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* When element becomes visible */
.leader-card.show{
    opacity:1;
    transform:translateY(0);
}


/* Image */
.leader-card img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #0b3d91;
    margin-bottom:20px;
}

/* Name */
.leader-card h3{
    font-size:20px;
    margin-bottom:5px;
    color:#111;
}

/* Position Text */
.leader-card p{
    color:#666;
    font-size:14px;
}

/* Social Icons */
.leader-social{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:15px;
}

.leader-social a{
    color:#0b3d91;
    font-size:16px;
    background:#f1f4ff;
    padding:8px 10px;
    border-radius:50%;
    transition:0.3s;
}

.leader-social a:hover{
    background:#0b3d91;
    color:white;
}

