




/* ================= OUR JOURNEY SECTION ================= */
#our-journey {
    font-family: 'Roboto', sans-serif;
    color: #444;
    background-color: #f9f9f9;
    padding: 4rem 0;
}

/* Card styling */
.small-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 2rem 2rem; /* compact padding */
}

/* Hover border animation */
.small-card::before,
.small-card::after,
.small-card::before-right,
.small-card::after-right {
    content: "";
    position: absolute;
    background-color: #e63946;
    transition: all 0.5s ease;
}

.small-card::before { top: 0; left: 0; width: 0; height: 3px; }
.small-card::after { bottom: 0; left: 0; width: 0; height: 3px; }
.small-card::before-right { top: 0; left: 0; width: 3px; height: 0; }
.small-card::after-right { top: 0; right: 0; width: 3px; height: 0; }

.small-card:hover::before,
.small-card:hover::after { width: 100%; }
.small-card:hover::before-right,
.small-card:hover::after-right { height: 100%; }

/* Headings & text */
.section-title {
    font-size: 2.4rem;
    font-weight: 700; 
    color: #e63946;
    margin-bottom: 1rem;
    text-align: left;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #1d3557;
    margin-bottom: 0.8rem;
    text-align: justify;
}

.about-text {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #457b9d;
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title, .about-lead, .about-text { text-align: justify; }
}

@media (max-width: 456px) {
    #our-journey { padding: 3rem 1rem; }
    .section-title { font-size: 1.8rem; }
    .about-lead { font-size: 1rem; }
    .about-text { font-size: 0.9rem; }
}







/* ================= ABOUT YAMINI SECTION WITH CONTAINER BG IMAGE ================= */
#about-yamini {
    font-family: 'Roboto', sans-serif;
    color: #444;
    padding: 6rem 0;
}

/* Container with subtle background image */
.about-container {
    background-image: url('images/aboutus-bg.png'); /* add your image here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 20px 0;
}

/* Box inside container */
.about-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
}


/* Image styling */
.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
}

/* Text styling */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #e63946;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 2;
    color: #1d3557;
    margin-bottom: 1rem;
    text-align: justify;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #457b9d;
        text-align: justify;

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title { font-size: 2.4rem; text-align: center; }
    .about-lead, .about-text { text-align: justify; }
    .about-img { height: 300px; }
}

@media (max-width: 456px) {
    #about-yamini { padding: 4rem 1rem; }
    .section-title { font-size: 2rem; }
    .about-lead { font-size: 1.1rem; }
    .about-text { font-size: 0.95rem; }
    .about-img { height: 250px; }
}










/* ================= MISSION & VISION CARDS ================= */
#mission-vision {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #e63946;
    margin-bottom: 1rem;
    text-align: center;
}

.mission-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}

/* Cards */
.mv-card {
    background-color: #ffffff;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.mv-card .icon {
    transition: transform 0.4s ease;
}

.mv-card:hover .icon {
    transform: scale(1.2);
}

.mv-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.mv-card .card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title { font-size: 2.4rem; }
    .about-text { font-size: 1rem; }
    .mv-card .card-title { font-size: 1.3rem; }
    .mv-card .card-text { font-size: 0.95rem; }
}

@media (max-width: 456px) {
    #mission-vision { padding: 4rem 1rem; }
    .section-title { font-size: 2rem; }
    .about-text { font-size: 0.95rem; }
}



/* ================= OUR TEAM SECTION ================= */
#our-team {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #e63946;
    margin-bottom: 1rem;
    text-align: center;
}

.our-team-sub-heading {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    text-align: center;
}

/* Team Card */
.team-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Team Image */
.team-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e63946;
    transition: transform 0.4s ease, border-color 0.4s ease;
    margin: 0 auto;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
    border-color: #f4a261;
}

/* Team Name & Role */
.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    font-weight: 500;
    color: #1d3557;
    margin-bottom: 1rem;
}

/* Team Bio */
.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

/* Social icons */
.team-social a {
    color: #e63946;
    font-size: 1.2rem;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #f4a261;
}

/* Responsive */
@media (max-width: 992px) {
    .team-img img { width: 130px; height: 130px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.4rem; text-align: center; }
    .about-text { text-align: center; }
}

@media (max-width: 456px) {
    #our-team { padding: 4rem 1rem; }
    .section-title { font-size: 2rem; }
    .about-text { font-size: 1rem; }
    .team-img img { width: 120px; height: 120px; }
}






/* ======================================================
   ACHIEVEMENTS SECTION
====================================================== */

#achievements {
  background: #111;
  color: #fff;
  padding: 80px 0;
}

#achievements h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

#achievements p {
  color: #bbb;
}

#achievements .row > div {
  padding: 25px 10px;
}

#achievements h3 {
  font-size: 42px;
  font-weight: 700;
  color: #b86b77;
}

#achievements p {
  font-size: 15px;
  margin-top: 8px;
}



/* ======================================================
   RESPONSIVE DESIGN
====================================================== */

/* Tablet */
@media (max-width: 992px) {

  .hero-section h1 {
    font-size: 34px;
  }

  #about h2 {
    font-size: 30px;
  }

  #achievements h3 {
    font-size: 32px;
  }
}


/* Mobile */
@media (max-width: 576px) {

  .hero-section {
    text-align: center;
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 26px;
  }

  .hero-section .lead {
    font-size: 15px;
  }

  #about {
    padding: 60px 0;
  }

  #achievements {
    padding: 60px 0;
  }

  #achievements h3 {
    font-size: 26px;
  }
}







