/* =========================================================
   PRINCIPAL DESK PAGE
   BIT ITI BALLARPUR
========================================================= */


/* =========================================================
   HERO SECTION
========================================================= */

.principal-hero {

    position: relative;

    min-height: 50px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(3, 25, 60, 0.93),
            rgba(0, 91, 172, 0.78)
        ),
        url("images/college-entrance.jpg")
        center center / cover no-repeat;
}


/* Decorative circle */

.principal-hero::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.07);
}


.principal-hero::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -90px;
    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.05);
}


/* Hero content */

.principal-hero-content {

    position: relative;

    z-index: 2;

    padding: 5px 0;

    color: #ffffff;
}


.principal-hero-content > span {

    display: inline-block;

    margin-bottom: 10px;

    color: #c7e7ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.principal-hero h1 {

    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: 800;
}


.principal-hero p {

    max-width: 650px;

    margin: 0 0 20px;

    color:
        rgba(255,255,255,0.90);

    font-size: 16px;

    line-height: 1.7;
}


/* Breadcrumb */

.principal-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    font-size: 13px;
}


.principal-breadcrumb a {

    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


.principal-breadcrumb a:hover {

    color: #bfe3ff;
}


.principal-breadcrumb strong {

    color: #c7e7ff;
}


/* =========================================================
   PRINCIPAL MESSAGE
========================================================= */

.principal-message {

    padding: 10px 0px;

    background: #ffffff;
}


/* =========================================================
   MESSAGE CONTENT
========================================================= */

.principal-message-content {

    position: relative;

    padding-right: 15px;
}


.principal-section-label {

    display: inline-block;

    margin-bottom: 9px;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.principal-message-content h2 {

    margin: 0 0 12px;

    color: #172238;

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.2;

    font-weight: 800;
}


/* Blue title line */

.principal-title-line {

    width: 65px;

    height: 4px;

    margin-bottom: 25px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #0762bd,
            #25a7ff
        );
}


/* Paragraphs */

.principal-message-content p {

    margin-bottom: 05px;

    color: #5f6b79;

    font-size: 15px;

    line-height: 1.85;
}


.principal-message-content
.principal-opening {

    color: #35465a;

    font-size: 16px;
}


.principal-opening strong {

    color: #075db2;

    font-weight: 800;
}


/* =========================================================
   PRINCIPAL PHOTO
========================================================= */

.principal-photo-area {

    position: relative;

    width: 100%;

    max-width: 700px;

    margin-left: auto;

    padding: 0px;
}


/* Soft decorative background */

.principal-photo-area::before {

    content: "";

    position: absolute;

    width: 88%;
    height: 92%;

    right: -3px;
    bottom: -3px;

    border-radius: 16px;

    background:
        rgba(7,98,189,0.10);

    z-index: 0;
}


/* Small decorative circle */

.principal-photo-area::after {

    content: "";

    position: absolute;

    width: 70px;
    height: 70px;

    top: -12px;
    left: -12px;

    border-radius: 50%;

    background:
        rgba(37,167,255,0.10);

    z-index: 0;
}


/* Actual rectangular photo */

.principal-image {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 500px;

    display: block;

    object-fit: cover;

    object-position: center top;

    border-radius: 12px;

    border: none;

    background: #eef3f8;

    box-shadow:
        0 18px 45px
        rgba(20,60,100,0.17);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Hover */

.principal-photo-area:hover
.principal-image {

    transform: translateY(-5px);

    box-shadow:
        0 25px 55px
        rgba(20,60,100,0.23);
}


/* =========================================================
   PRINCIPAL PHOTO CAPTION
========================================================= */

.principal-photo-caption {

    position: absolute;

    z-index: 4;

    left: 25px;
    right: 25px;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 15px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.91);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 8px 25px
        rgba(0,0,0,0.12);
}


/* Icon */

.principal-photo-icon {

    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #075db2,
            #168bdc
        );

    font-size: 18px;
}


/* Caption text */

.principal-photo-caption
div:last-child {

    display: flex;

    flex-direction: column;
}


.principal-photo-caption strong {

    color: #172238;

    font-size: 14px;

    font-weight: 700;
}


.principal-photo-caption span {

    margin-top: 3px;

    color: #748091;

    font-size: 10px;
}


/* =========================================================
   PRINCIPAL SIGNATURE
========================================================= */

.principal-signature {

    display: flex;

    flex-direction: column;

    margin-top: 30px;

    padding-top: 18px;

    border-top: 1px solid #e5ebf2;
}


.principal-signature-line {

    width: 80px;

    height: 3px;

    margin-bottom: 10px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #075db2,
            #25a7ff
        );
}


.principal-signature strong {

    color: #172238;

    font-size: 18px;

    font-weight: 800;
}


.principal-signature span {

    margin-top: 4px;

    color: #697687;

    font-size: 12px;
}


.principal-signature small {

    margin-top: 5px;

    color: #075db2;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================================
   PRINCIPAL FOCUS
========================================================= */

.principal-focus {

    padding: 80px 0;

    background: #f3f7fc;
}


/* Heading */

.principal-section-heading {

    max-width: 720px;

    margin: auto;

    text-align: center;
}


.principal-section-heading > span {

    display: inline-block;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.principal-section-heading h2 {

    margin: 8px 0 12px;

    color: #172238;

    font-size: clamp(30px,4vw,40px);

    line-height: 1.2;

    font-weight: 800;
}


.principal-section-heading p {

    color: #6b7785;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FOCUS CARDS
========================================================= */

.principal-focus-card {

    height: 100%;

    padding: 32px 25px;

    text-align: center;

    border: 1px solid #e4ebf3;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(20,50,90,0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.principal-focus-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 40px
        rgba(20,50,90,0.12);
}


/* Icon */

.principal-focus-icon {

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    color: #0762bd;

    background: #edf5ff;

    font-size: 26px;

    transition: all 0.3s ease;
}


.principal-focus-card:hover
.principal-focus-icon {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #075db2,
            #168bdc
        );

    transform: scale(1.05);
}


.principal-focus-card h3 {

    margin-bottom: 10px;

    color: #172238;

    font-size: 19px;

    font-weight: 700;
}


.principal-focus-card p {

    margin: 0;

    color: #6b7785;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   PRINCIPAL CTA
========================================================= */

.principal-cta {

    padding: 65px 0;

    background: #ffffff;
}


.principal-cta-box {

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 32px;

    border-radius: 18px;

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #063a72,
            #0878ca
        );

    box-shadow:
        0 15px 40px
        rgba(4,70,130,0.16);
}


/* CTA icon */

.principal-cta-icon {

    width: 70px;
    height: 70px;

    min-width: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.12);

    font-size: 30px;
}


/* CTA content */

.principal-cta-content {

    flex: 1;
}


.principal-cta-content > span {

    color: #bfe3ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.principal-cta-content h2 {

    margin: 5px 0 7px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 800;
}


.principal-cta-content p {

    margin: 0;

    color:
        rgba(255,255,255,0.85);

    font-size: 13px;

    line-height: 1.6;
}


/* CTA button */

.principal-cta-button a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 11px 18px;

    border-radius: 30px;

    color: #075db2;

    background: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}


.principal-cta-button a:hover {

    color: #ffffff;

    background: #064b89;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .principal-message {

        padding: 65px 0;
    }


    .principal-photo-area {

        max-width: 410px;

        margin:
            0 auto 25px;
    }


    .principal-image {

        height: 470px;
    }


    .principal-message-content {

        padding-right: 0;
    }


    .principal-cta-box {

        flex-wrap: wrap;
    }

}


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

@media (max-width: 767px) {

    .principal-hero {

        min-height: 15px;
    }


    .principal-hero-content {

        padding: 15px 15px;
    }


    .principal-hero h1 {

        font-size: 38px;
    }


    .principal-hero p {

        font-size: 14px;
    }


    .principal-message {

        padding: 50px 0;
    }


    .principal-photo-area {

        max-width: 360px;

        margin:
            0 auto 30px;

        padding: 6px;
    }


    .principal-image {

        height: 420px;

        border-radius: 10px;
    }


    .principal-photo-caption {

        left: 18px;
        right: 18px;

        bottom: 18px;

        padding: 10px 12px;
    }


    .principal-photo-icon {

        width: 38px;
        height: 38px;

        min-width: 38px;

        font-size: 16px;
    }


    .principal-message-content h2 {

        font-size: 30px;
    }


    .principal-message-content p {

        font-size: 14px;

        line-height: 1.8;
    }


    .principal-focus {

        padding: 55px 0;
    }


    .principal-cta {

        padding: 45px 0;
    }


    .principal-cta-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }


    .principal-cta-icon {

        width: 55px;
        height: 55px;

        min-width: 55px;

        font-size: 23px;
    }


    .principal-cta-content h2 {

        font-size: 21px;
    }


    .principal-cta-button {

        width: 100%;
    }


    .principal-cta-button a {

        justify-content: center;

        width: 100%;
    }

}


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

@media (max-width: 480px) {

    .principal-hero h1 {

        font-size: 34px;
    }


    .principal-hero-content > span {

        font-size: 10px;

        letter-spacing: 1.5px;
    }


    .principal-breadcrumb {

        font-size: 11px;
    }


    .principal-photo-area {

        max-width: 100%;

        padding: 4px;
    }


    .principal-image {

        height: 380px;

        border-radius: 9px;
    }


    .principal-photo-area::before {

        right: 0;

        bottom: -2px;
    }


    .principal-photo-area::after {

        width: 50px;
        height: 50px;

        left: -5px;
        top: -8px;
    }


    .principal-photo-caption {

        left: 14px;
        right: 14px;

        bottom: 14px;
    }


    .principal-section-heading h2 {

        font-size: 29px;
    }

}