
/* Hero Banner Section */
.hero-message {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero Image */
.hero-message img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay */
.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40vh;
    background-color: #0f174880; /* Semi-transparent overlay */
    width: 100%;
}

/* Hero Text */
.hero-overlay h1 {
    color: aliceblue;
    font-size: 3rem;
    margin: 0;
}

.hero-overlay p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 10px auto 0;
}

/* Principal Message Section */
.principal-message {
max-width: 100%;
padding: 20px;
background-color: #f7f7f7;
display: flex;
justify-content: center;
}

/* Increase the width of the content */
.principal-message-content {
display: flex;
align-items: center;
max-width: 1600px; /* Increased width */
background-color: white;
padding: 30px; /* Optional: Increase padding for more space */
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
flex-direction: row;
}


/* Principal's Image */
.principal-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/* Text Content */
.principal-text {
    max-width: 1400px;
}

.principal-text h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
}

.principal-name {
    font-weight: bold;
    color: #006400;
    margin: 5px 0;
}

.principal-position {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.principal-message-text {
    color: #333;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-banner {
        height: 50vh;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    /* Principal Message Section */
    .principal-message-content {
        flex-direction: column;
        text-align: center;
    }

    .principal-image img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .principal-text h2 {
        font-size: 1.6rem;
    }

    .principal-message-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
    .hero-banner {
        height: 40vh;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }

    /* Principal Message Section */
    .principal-text h2 {
        font-size: 1.4rem;
    }

    .principal-message-text {
        font-size: 0.9rem;
    }

    .principal-message {
        padding: 15px;
    }
}