 .text-para{
     color: #374151;
 }
 .counter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-value {
  min-width: 100px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.static-slider1 {
  padding: 30px 0;
}

.static-slider1 .title1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.static-slider1 .img-anim img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .static-slider1 {
    padding: 20px 0;
  }

  .static-slider1 .title1 {
    font-size: 28px;
  }

  .static-slider1 img {
    max-height: 200px;
    margin-top: 20px;
    border-radius: 20px;
  }
}
/* --- Premium Compact Section with Animations --- */

.spacer.feature6 {
    padding: 30px 0 !important; /* Shrunk vertical area */
    background: #ffffff;
}

.steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    
    /* Initial subtle shadow */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04);
    
    /* Smooth transition for all properties */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* --- Hover Animation: Lift & Deep Shadow --- */
.step-card:hover {
    transform: translateY(-12px); /* Moves card up */
    border-color: #ff6a5b; /* Changes border to the end-color of your gradient */
    
    /* Deep, soft premium shadow on hover */
    box-shadow: 0 25px 50px rgba(0, 45, 98, 0.15), 0 10px 20px rgba(255, 106, 91, 0.1);
}

/* --- Gradient Number Badge --- */
.step-number-colorful {
    width: 42px;
    height: 42px;
    /* Your requested Gradient: Blue to Orange */
    background: -webkit-linear-gradient(left, #002D62 0%, #ff6a5b 100%);
    background: linear-gradient(to right, #002D62 0%, #ff6a5b 100%);
    
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 45, 98, 0.2);
    transition: transform 0.3s ease;
}

.step-card:hover .step-number-colorful {
    transform: scale(1.1); /* Subtle pulse on the number */
}

/* --- Gradient Icon --- */
.step-icon {
    font-size: 30px;
    margin-bottom: 15px;
    background: -webkit-linear-gradient(left, #002D62, #ff6a5b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.step-title {
    font-size: 19px;
    font-weight: 700;
    color: #002D62; /* Using the deep blue for titles */
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #8d97ad;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Mobile Fix --- */
@media (max-width: 767px) {
    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .step-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ================================
   NAVBAR MAIN CONTAINER
================================ */

.h16-infobar {
    padding: 0;
}

.h16-info-bar {
    height: 100px;          /* Slightly taller navbar */
    display: flex;
    align-items: center;
    padding: 0;
}


/* ================================
   LOGO STYLING
================================ */

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main-logo {
    height: 145px;                /* Adjust between 60–75px */
    width: auto;
    transition: all 0.3s ease;
}

/* Optional hover effect */
.main-logo:hover {
    transform: scale(1.05);
}

/* ================================
   NAV ITEMS ALIGNMENT
================================ */

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0;
}

/* Fix icon alignment */
.navbar-nav .nav-link i {
    font-size: 22px;
}

/* Remove extra spacing from Bootstrap */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 991px) {
    
    .h16-info-bar {
        height: 110px;
    }

    .main-logo {
        height: 100px;
    }

    .navbar-nav {
        margin-top: 15px;
    }
}
/* ============================
   TEACHER GRID & WRAPPER
   ============================ */

.col-lg-4,
.col-md-6 {
    display: block; /* allow independent hover expansion */
}

.teacher-card-wrapper {
    position: relative;
    width: 100%;
    display: flex; /* keep floating shapes relative inside wrapper */
}

/* ============================
   FLOATING SHAPES
   ============================ */

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
    animation: float 6s ease-in-out infinite alternate;
}

.floating-shapes .circle1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, #002D62, #ff6a5b);
    top: -20px;
    left: -20px;
    animation-duration: 7s;
}

.floating-shapes .circle2 {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #ff6a5b, #002D62);
    bottom: 10px;
    right: 10px;
    animation-duration: 5s;
}

.floating-shapes .circle3 {
    width: 30px;
    height: 30px;
    background: linear-gradient(to right, #002D62, #ff6a5b);
    top: 40%;
    left: 80%;
    animation-duration: 8s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ============================
   TEACHER CARD
   ============================ */

.teacher-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    z-index: 1;

    display: flex;
    flex-direction: column;
    width: 100%;
    transform-origin: center top;
}

/* ============================
   PROFILE IMAGE
   ============================ */

.pro-pic-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
}

.pro-pic-wrapper .circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: linear-gradient(to right, #002D62, #ff6a5b);
    opacity: 0.22;
    filter: blur(10px);
    transition: all 0.4s ease;
}

.pro-pic-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ============================
   CONTENT STRUCTURE
   ============================ */

.teacher-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ============================
   TITLES
   ============================ */

.teacher-card .title {
    color: #111827;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 28px; /* equal title height */
}

.teacher-card .subtitle {
    color: #002D62;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;

    min-height: 48px; /* equal subtitle height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* ============================
   DETAILS (Expandable)
   ============================ */

.teacher-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    color: #374151;
    line-height: 1.6;
    margin-top: auto;
}

.teacher-details ul {
    padding-left: 20px;
}

.teacher-details li {
    margin-bottom: 6px;
}

/* ============================
   HOVER EFFECT (DESKTOP ONLY)
   ============================ */

@media (min-width: 768px) {

    /* Only hovered card expands */
    .teacher-card:hover {
        transform: translateY(-8px) scale(1.05);
        z-index: 10; /* hover above neighbors */
        box-shadow: 0 28px 70px rgba(0,0,0,0.22);
    }

    .teacher-card:hover img {
        transform: scale(1.06);
        box-shadow: 0 12px 28px rgba(0, 45, 98, 0.25);
    }

    .teacher-card:hover .circle-bg {
        opacity: 0.32;
        transform: translate(-50%, -50%) scale(1.05);
    }

    .teacher-card:hover .title {
        background: linear-gradient(to right, #002D62, #ff6a5b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .teacher-card:hover .teacher-details {
        max-height: 600px;
        opacity: 1;
    }
}

/* ============================
   MOBILE
   ============================ */

@media (max-width: 767px) {
    .teacher-card .teacher-details {
        transition: all 0.4s ease;
    }
}
