.elementor-1746 .elementor-element.elementor-element-20b4d171{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(min-width:768px){.elementor-1746 .elementor-element.elementor-element-20b4d171{--width:63%;}}/* Start custom CSS for text-editor, class: .elementor-element-5f6039bc *//* --- Design Variables --- */
:root {
    --brand-red-dark: #800000;
    --brand-red-light: #a40e1b;
    --brand-red-accent: #e53935;
    --text-dark: #212121;
    --text-light: #616161;
    --bg-light: #f7f9fc;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* --- General Styles --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

/* --- Main Content --- */
.main-content {
    /* CORRECTED: Removed top padding to prevent gap below header */
    padding: 0 0 40px 0;
}

.hero-image-container {
            margin-bottom: 70px;
            /* ADDED: border-radius for rounded corners */
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
        }
        .hero-image-container img {
            width: 100%;
            display: block;
        
}

.page-intro {
    text-align: center;
    margin-bottom: 50px;
}
.page-intro h1 {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--brand-red-dark);
    margin-bottom: 10px;
}
.page-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    color: var(--text-light);
}

/* Section Titles (Head of Program, Faculty) */
.section-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--brand-red-dark);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--brand-red-light);
    display: inline-block;
}
.section-title-wrapper {
     text-align: center;
     margin-bottom: 30px;
}


/* --- Lecturer Grid &amp; Cards --- */
.head-of-program {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.lecturer-grid {
    /* UPDATED: Switched from grid to flexbox for better justification */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.lecturer-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* UPDATED: Added flex-basis to control card width in a flex context */
    flex: 0 1 250px;
}
.lecturer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.lecturer-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    background-color: #f0f0f0;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.lecturer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lecturer-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
}
.lecturer-info .title {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 10px;
    min-height: 30px; /* Placeholder for consistent height */
}
.lecturer-info .expertise {
    color: var(--brand-red-dark);
    font-size: 0.9em;
    font-weight: 600;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-primary {
    background-color: var(--brand-red-light);
    color: white;
    border: 2px solid var(--brand-red-light);
}
.btn-primary:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
}
.btn-secondary {
    background-color: transparent;
    color: var(--brand-red-light);
    border: 2px solid var(--brand-red-light);
}
.btn-secondary:hover {
    background-color: var(--brand-red-light);
    color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .page-intro h1 {
        font-size: 2.4em;
    }
}
@media (max-width: 768px) {
     .lecturer-grid {
        /* No change needed, flexbox handles this well */
    }
}/* End custom CSS */