

.headmaster-section-sumana {

    padding: 0px 0px 100px 0px;
    font-family: 'Poppins', sans-serif;
}

.headmaster-section-sumana .container {
    width: 95%;
    margin: 0 auto;
    padding-top: 30px;
}

.headmaster-section-sumana .container .headmaster-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap:85px;
}

/* ======= Image Styles ======= */
.headmaster-section-sumana .container .headmaster-content .headmaster-image {
    position: relative;
    overflow: hidden;
}

.headmaster-section-sumana .container .headmaster-content .headmaster-image::after{
  content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 20%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    transition: all 1.6s ease;
    z-index: 1;
}
.headmaster-section-sumana .container .headmaster-content .headmaster-image:hover::after{
  left: 120%;
}






.headmaster-section-sumana .container .headmaster-content .headmaster-image .hs{
    width: 100%;
    max-width: 420px;
    height: 480px;
    border-radius: 20px;
}


.experience-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
      /* background: linear-gradient(45deg,#164261, #4097f8, #164261); */
      background-color: var(--orange);
    color: #fff;
    font-weight: 600;
    /* height: 100px;
    width: 150px; */
    padding: 15px 25px;
    border-radius: 0px 10px 0px 10px;
    border-top: 5px solid white;
    border-right: 5px solid white;
    z-index: 99;
    /* animation: sr 3s ease-in-out infinite alternate; */
}

/* @keyframes sr {
    0% {
        transform: translateY(22px);
    }

    100% {
        transform: translateY(0.10px);
    }
} */

/* ======= Text Styles ======= */
.headmaster-text {
    flex: 2 20 50%;
    padding: 20px 0px;
}

.section-subtitle {
    color:var(--orange);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.headmaster-text h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 15px 0;
}

.headmaster-text h2 span {
    color: #004aad;
}

.headmaster-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: var(--paragraph);
    font-family: var(--font-family);
    text-align: justify;
}

.headmaster-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 5px;
}

.headmaster-position {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* ======= Button ======= */
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg,#164261, #4097f8, #164261);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(-10%);
    border-radius: 25px 25px 25px 0px;
}

.btn-primary::before {
    content: " ";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: -100%;
    transition: .5s;
    z-index: -1;
        border-radius: 25px 25px 25px 0px;
    background: linear-gradient(45deg,var(--orange),var(--orange),var(--white));
   
}

.btn-primary:hover::before {
    left: 0;
    top: 0;

    transition: .5s;
}
.btn-primary:hover{
       color: #1a1a1a;

}
