html {
  scroll-behavior: smooth;
}

.about-hero{
    margin-top: 70px;
    height:60vh;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
               url('../images/rmmcnewimage.webp');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.hero-content h1{
    font-size:50px;
}

.hero-content p{
    font-size:20px;
    margin-top:10px;
}


.rmmc-section{
    padding:80px 10%;
    background:#f5f8ff;
}

.about-container{
    display:flex;
    align-items:center;
    gap:60px;
}

/* IMAGE */

.about-image{
    flex:1;
    position:relative;
}

.about-image img{
    width:100%;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* BADGE */

.year-badge{
    position:absolute;
    bottom:-25px;
    left:20px;
    background:#0b3d91;
    color:white;
    padding:18px 22px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,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{
    color:#0b3d91;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

.about-content h1{
    font-size:40px;
    margin:10px 0 20px;
    color:#111;
}

.about-content p{
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
}

/* BUTTON */

.about-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 28px;
    background:#0b3d91;
    color:white;
    border-radius:6px;
    text-decoration:none;
    transition:0.3s;
}

.about-btn:hover{
    background:#072a66;
}

@media (max-width:900px){

.about-container{
    flex-direction:column;
}

.about-content h1{
    font-size:32px;
}

.year-badge{
    bottom:-15px;
}

}


.mvc-section{
    padding:50px 10%;
    background:#f4f7ff;
    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:40px;
}

/* 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);
}

.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;
}


/* SECTION */
.goals-section{
  padding:50px 20px;
  background:#f4f7ff;
  font-family:'Poppins', sans-serif;
}

/* CONTAINER */
.goals-container{
  max-width:1200px;
  margin:auto;
  text-align:center;
}

/* TITLE */
.goals-title{
  font-size:38px;
  font-weight:700;
  color:#1e3a8a;
  margin-bottom:50px;
}

/* GRID */
.goals-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

/* CARD */
.goal-card{
  background:#f8fafc;
  padding:30px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.07);
  text-align:left;
  transition:0.3s;
  border-left:5px solid #2563eb;
}

.goal-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 35px rgba(0,0,0,0.15);
}

/* NUMBER */
.goal-number{
  font-size:22px;
  font-weight:700;
  color:#2563eb;
  margin-bottom:12px;
}

/* TEXT */
.goal-card p{
  font-size:15px;
  line-height:1.6;
  color:#444;
}


/* SECTION */
.quality-policy{
  padding: 50px 20px;
  /* background: linear-gradient(135deg,#f5f7fb,#eef2f9); */
  background:#f4f7ff;
  font-family: 'Poppins', sans-serif;
}

/* CONTAINER */
.policy-container{
  max-width: 1200px;
  margin:auto;
  text-align:center;
}

/* TITLE */
.policy-title{
  font-size: 40px;
  font-weight: 700;
  color:#1e3a8a;
  margin-bottom:20px;
}

/* INTRO */
.policy-intro{
  max-width:800px;
  margin:auto;
  font-size:17px;
  line-height:1.7;
  color:#444;
  margin-bottom:50px;
}

/* COMMITMENT TITLE */
.commit-title{
  font-size:26px;
  font-weight:600;
  margin-bottom:40px;
  color:#111;
}

/* GRID */
.policy-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 25px;
}

/* 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.6;
  font-size:15px;
  text-align: justify;
}

/* FOOTER TEXT */
.policy-footer{
  margin-top:50px;
  font-size:15px;
  color:#666;
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
}



.history-section{
    padding:50px 10%;
    background:#f4f7ff;
    text-align:left;
}

.history-section h2{
    font-size:38px;
    color:#0b3d91;
    margin-bottom:40px;
    text-align:center;
}

.history-box{
    max-width:80%;
    margin:auto;
    background:white;
    padding:50px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.05);
}

.history-box p{
    font-size:17px;
    line-height:1.9;
    color:#444;
    text-align: justify;
}

.history-box strong{
    color:#0b3d91;
    font-weight:700;
}



/* 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;
}

