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


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

.director-hero {
    position: relative;
    min-height: 50px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            rgba(3, 25, 60, 0.93),
            rgba(0, 91, 172, 0.78)
        );

    overflow: hidden;
}


/* Decorative background */

.director-hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

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

    border-radius: 50%;

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


.director-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 */

.director-hero-content {
    position: relative;

    z-index: 2;

    padding: 10px 0;

    color: #ffffff;
}


.director-hero-content > span {
    display: inline-block;

    margin-bottom: 20px;

    color: #c7e7ff;

    font-size: 12px;

    font-weight: 400;

    letter-spacing: 2px;
}


.director-hero h1 {
    margin: 0 0 12px;

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

    line-height: 1.1;

    font-weight: 800;
}


.director-hero p {
    max-width: 650px;

    margin: 0 0 20px;

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

    font-size: 16px;

    line-height: 1.7;
}


/* Breadcrumb */

.director-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    font-size: 13px;
}


.director-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


.director-breadcrumb a:hover {
    color: #bfe3ff;
}


.director-breadcrumb strong {
    color: #c7e7ff;
}


/* =========================================================
   DIRECTOR MESSAGE SECTION
========================================================= */

.director-message {
    padding: 10px 0;

    background: #ffffff;
}


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

.message-content {
    position: relative;

    padding-right: 10px;
}


.section-label {
    display: inline-block;

    margin-bottom: 9px;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.message-content h2 {
    margin: 0 0 12px;

    color: #172238;

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

    line-height: 1.2;

    font-weight: 800;
}


/* Section blue line */

.title-line {
    width: 65px;

    height: 4px;

    margin-bottom: 25px;

    border-radius: 10px;

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


/* Message paragraphs */

.message-content p {
    margin-bottom: 17px;

    color: #5f6b79;

    font-size: 15px;

    line-height: 1.85;
}


.message-content .opening-message {
    color: #35465a;

    font-size: 16px;
}


.message-content .opening-message strong {
    color: #075db2;

    font-weight: 800;
}


/* =========================================================
   LARGE QUOTE ICON
========================================================= */

.quote-icon {
    position: absolute;

    top: -35px;

    right: 0;

    z-index: 0;

    color: #edf5fd;

    font-size: 110px;

    line-height: 1;

    pointer-events: none;
}


.message-content > *:not(.quote-icon) {
    position: relative;

    z-index: 1;
}


/* =========================================================
   DIRECTOR PHOTO - RECTANGULAR
========================================================= */

.director-photo-area {
    position: relative;

    width: 100%;

    max-width: 700px;

    margin-left: auto;

    padding: 0px;
}


/* Soft decorative block behind image */

.director-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;
}


/* Secondary soft decoration */

.director-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 Director Photo */

.director-image {
    position: relative;

    z-index: 2;

    width: 100%;

    height: 500px;

    display: block;

    object-fit: cover;

    object-position: center top;

    /* Rectangle with subtle rounded corners */
    border-radius: 12px;

    /* No hard border */
    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;
}


/* Photo hover */

.director-photo-area:hover .director-image {
    transform: translateY(-5px);

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


/* =========================================================
   DIRECTOR PHOTO CAPTION
========================================================= */

.director-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);
}


/* Caption icon */

.director-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 */

.director-photo-caption
div:last-child {
    display: flex;

    flex-direction: column;
}


.director-photo-caption strong {
    color: #172238;

    font-size: 15px;

    font-weight: 700;
}


.director-photo-caption span {
    margin-top: 3px;

    color: #748091;

    font-size: 11px;
}


/* =========================================================
   DIRECTOR SIGNATURE
========================================================= */

.director-signature {
    display: flex;

    flex-direction: column;

    margin-top: 30px;

    padding-top: 18px;

    border-top: 1px solid #e5ebf2;
}


.signature-line {
    width: 80px;

    height: 3px;

    margin-bottom: 9px;

    border-radius: 10px;

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


.director-signature strong {
    color: #172238;

    font-size: 16px;

    font-weight: 700;
}


.director-signature span {
    margin-top: 3px;

    color: #7a8591;

    font-size: 12px;
}


/* =========================================================
   VISION SECTION
========================================================= */

.director-vision {
    padding: 80px 0;

    background: #f3f7fc;
}


.section-heading {
    max-width: 720px;

    margin: auto;

    text-align: center;
}


.section-heading > span {
    display: inline-block;

    color: #0762bd;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.section-heading h2 {
    margin: 8px 0 12px;

    color: #172238;

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

    font-weight: 800;
}


.section-heading p {
    color: #6b7785;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   VISION CARDS
========================================================= */

.vision-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;
}


.vision-card:hover {
    transform: translateY(-8px);

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


/* Vision icon */

.vision-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;
}


.vision-card:hover .vision-icon {
    color: #ffffff;

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

    transform: scale(1.05);
}


.vision-card h3 {
    margin-bottom: 10px;

    color: #172238;

    font-size: 19px;

    font-weight: 700;
}


.vision-card p {
    margin: 0;

    color: #6b7785;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   WELCOME / CTA SECTION
========================================================= */

.director-welcome {
    padding: 65px 0;

    background: #ffffff;
}


.welcome-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);
}


.welcome-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;
}


.welcome-content {
    flex: 1;
}


.welcome-content > span {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #bfe3ff;
}


.welcome-content h2 {
    margin: 5px 0 7px;

    font-size: 25px;

    font-weight: 800;
}


.welcome-content p {
    margin: 0;

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

    font-size: 13px;

    line-height: 1.6;
}


/* CTA button */

.welcome-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;
}


.welcome-button a:hover {
    color: #ffffff;

    background: #064b89;

    transform: translateY(-2px);
}


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

@media (max-width: 991px) {

    .director-message {
        padding: 65px 0;
    }


    /* Center photo on tablet */

    .director-photo-area {
        max-width: 410px;

        margin:
            0 auto 25px;
    }


    .director-image {
        height: 470px;
    }


    .message-content {
        padding-right: 0;
    }


    .quote-icon {
        right: 10px;
    }


    .welcome-box {
        flex-wrap: wrap;
    }

}


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

@media (max-width: 767px) {

    .director-hero {
        min-height: 15px;
    }


    .director-hero-content {
        padding: 15px 15px;
    }


    .director-hero h1 {
        font-size: 38px;
    }


    .director-hero p {
        font-size: 14px;
    }


    .director-message {
        padding: 50px 0;
    }


    /* Rectangle photo */

    .director-photo-area {
        max-width: 360px;

        margin:
            0 auto 30px;

        padding: 6px;
    }


    .director-image {
        height: 420px;

        border-radius: 10px;
    }


    .director-photo-caption {
        left: 18px;
        right: 18px;

        bottom: 18px;

        padding: 10px 12px;
    }


    .director-photo-icon {
        width: 38px;
        height: 38px;

        min-width: 38px;

        font-size: 16px;
    }


    .director-photo-caption strong {
        font-size: 14px;
    }


    .director-photo-caption span {
        font-size: 10px;
    }


    .message-content h2 {
        font-size: 30px;
    }


    .message-content p {
        font-size: 14px;

        line-height: 1.8;
    }


    .quote-icon {
        top: -20px;

        right: 0;

        font-size: 80px;
    }


    .director-vision {
        padding: 55px 0;
    }


    .director-welcome {
        padding: 45px 0;
    }


    .welcome-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }


    .welcome-icon {
        width: 55px;
        height: 55px;

        min-width: 55px;

        font-size: 23px;
    }


    .welcome-content h2 {
        font-size: 21px;
    }


    .welcome-button {
        width: 100%;
    }


    .welcome-button a {
        justify-content: center;

        width: 100%;
    }

}


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

@media (max-width: 480px) {

    .director-hero h1 {
        font-size: 34px;
    }


    .director-hero-content > span {
        font-size: 10px;

        letter-spacing: 1.5px;
    }


    .director-breadcrumb {
        font-size: 11px;
    }


    .director-photo-area {
        max-width: 100%;

        padding: 4px;
    }


    .director-image {
        height: 380px;

        border-radius: 9px;
    }


    .director-photo-area::before {
        right: 0;
        bottom: -2px;
    }


    .director-photo-area::after {
        width: 50px;
        height: 50px;

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


    .director-photo-caption {
        left: 14px;
        right: 14px;

        bottom: 14px;
    }


    .section-heading h2 {
        font-size: 29px;
    }

}