/* Chancellor Section */
.chancellor-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
/* Background Band */
.chancellor-background-band {
    height: 30px;
    width: 100%;
    background: linear-gradient(135deg, #002855 40%, #C69C6D 100%);
    position: absolute;
    top: 50px; /* Aligning with image overlap */
    left: 0;
    z-index: 0;
}

/* Chancellor Container */
.chancellor-container {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px;
    background:#002855 ;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1;
    margin-top: 60px; /* Ensure text is below image */
}
.chancellor-container::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -50px;
    width: 180px;
    height: 100%;
    background: #C69C6D;
    transform: skewX(-20deg);
}
/* Floating Image */
.chancellor-image-container {
    position: absolute;
    top: 0px; /* Makes it pop out */
    left: 25px;
    width: 25%;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2; /* Above container */
}

.chancellor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chancellor Info */
.chancellor-info {
    margin-left: 350px; /* Push text to the right */
    color: white;
}

.chancellor-name {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chancellor-title {
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    margin: 5px 0;
    color: #C69C6D;
}

.chancellor-institute {
    font-size: 17px;
    font-weight: bold;
    color: #FFD700;
}
/* Responsive Design */
@media (max-width: 768px) {
    .chancellor-section {
        width: 100%;
        padding: 0 15px;
    }

    /* Remove absolute positioning for mobile */
    .chancellor-image-container {
        position: relative;
        width: 80%;
        margin: 0 auto 15px auto; /* Center image and add space below */
        top: 0;
        left: 0;
        box-shadow: none; /* Optional: Remove shadow for clean design */
    }

    .chancellor-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-top: 0; /* No need to push text down */
    }

    .chancellor-container::before {
        display: none; /* Hide diagonal effect */
    }

    .chancellor-info {
        margin-left: 0;
        margin-top: 0;
    }

    .chancellor-name {
        font-size: 24px;
    }

    .chancellor-title {
        font-size: 17px;
    }

    .chancellor-institute {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .chancellor-container {
        padding: 15px;
    }

    .chancellor-image-container {
        width: 100%; /* Full width on very small screens */
    }

    .chancellor-info {
        margin-top: 10px;
    }

    .chancellor-name {
        font-size: 22px;
    }

    .chancellor-title {
        font-size: 14px;
    }

    .chancellor-institute {
        font-size: 12px;
    }
}
/* Chancellor Section */
.chancellor-section {
    padding: 50px 0;
}

/* Chancellor Content Box */
.chancellor-content {
    margin: 0 auto;
}

/* Headings */
.chancellor-content h3 {
    font-size: 25px;
    font-weight: bold;
    color: #002855;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.chancellor-content h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #C69C6D, rgba(255, 215, 0, 0.3));
    box-shadow: 0px 4px 10px rgba(255, 215, 0, 0.6);
}

.chancellor-content h3::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #C69C6D, rgba(255, 215, 0, 0));
}

/* Paragraph Styling */
.chancellor-content p {
    padding-top: 15px;
    font-size: 17px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Highlight Important Text */
.chancellor-content em {
    color: #C69C6D;
    font-weight: bold;
}

.chancellor-content strong {
    color: #C69C6D; /* Gold */
}


/* Responsive Design */
@media (max-width: 768px) {
    .content h2 {
        font-size: 2rem;
    }
    
    .btn-admission {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
