<div class="director-container">
    <div class="director-header-bar">
        <span class="director-header-title">{{ $facility->director_title }}</span>
        <div class="angled-divider"></div>
    </div>
    <div class="director-content">
        <div class="director-content-section">
            <div class="director-img-col">
                <img src="{{ asset('storage/' . $facility->director_image) }}" alt="Director Image">
            </div>
            <div class="director-info-col">
                <div class="director-info-top">
                    <div class="director-info-divider">
                        <div class="director-info-line"></div>
                        <div class="director-info-dot"></div>
                        <div class="director-info-line"></div>
                        <div class="director-info-dot"></div>
                        <div class="director-info-line"></div>
                    </div>
                    <div class="director-info-text">
                        {{ $facility->director_desc }}
                    </div>
                </div>
                <div class="principle-info">
                    <h3 class="principle-name">{{ $facility->director_name }}</h3>
                    <p class="college-name">{{ $facility->director_college }}</p>
                    <p class="designation">{{ $facility->director_position }}</p>
                </div>
                {{-- <div class="director-info-bottom">
                    <div class="director-name">{{ $facility->director_name }}</div>
                    <div class="director-college">{{ $facility->director_college }}</div>
                    <div class="director-position">{{ $facility->director_position }}</div>
                </div> --}}
            </div>
        </div>
    </div>
</div>
<style>
.director-container {
    background: #fff;
    margin-top: 60px;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
}

.director-header-bar {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 0 0 12px;
    font-family: inherit;
}

.director-header-title {
    color: #1E8DD2;
    font-family: Poppins;
    font-weight: 600;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    text-transform: uppercase;
    flex: 1 1 auto;
}

.angled-divider {

    width: 30%;
    height: 120px; /* Adjust height as needed */
    background: #1E8DD2;
    clip-path: polygon(100% 0, 100% 100%, 0 0);

}
.director-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.director-image img {
    width: 200px;
    height: 220px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.director-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.director-desc {
    color: #444;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 32px;
    margin-top: 4px;
}

.director-meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.director-dot {
    width: 10px;
    height: 10px;
    background: #e23d1e;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.director-name {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 2px;
    color: #222;
}

.director-college {
    color: #888;
    font-size: 1rem;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.director-position {
    color: #F3881B;
    font-size: 1rem;
    margin-bottom: 2px;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.director-content-section {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    background: #fff;
    padding: 32px 32px 32px 32px;
    border-radius: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.director-img-col img {
    width: 300px;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.director-info-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.director-info-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.director-info-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 18px;
    margin-top: 8px;
}

.director-info-dot {
    width: 7px;
    height: 7px;
    background: #F3881B;
    border-radius: 50%;
    margin: 0;
}

.director-info-line {
    width: 2px;
    height: 50px;
    background: #F3881B;
    margin: 4px 0;
}

.director-info-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
    letter-spacing: 0.5px;
    min-width: 0;
}

.director-info-bottom {
    margin-top: 24px;
}

.principle-message {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

.principle-info {
    margin-top: 10px;
    margin-left: 20px;
}

.principle-name {
    color: #404040;
    margin: 0 0 15px 0;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.college-name {
    color: #666666;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.designation {
    color: #ff870a;
    margin: 0;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* Enhanced responsive styles */
@media (max-width: 1200px) {
    .director-container {
        margin-top: 50px;
    }
    .director-header-title {
        font-size: 48px;
    }
    .director-content-section {
        max-width: 1000px;
        padding: 28px 28px 28px 28px;
        gap: 40px;
    }
    .director-img-col img {
        width: 280px;
        height: 300px;
    }
    .director-info-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    .principle-name {
        font-size: 28px;
    }
    .designation {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .director-container {
        margin-top: 40px;
    }
    .director-header-title {
        font-size: 42px;
    }
    .angled-divider {
        height: 100px;
    }
    .director-content-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 24px 24px 24px 24px;
    }
    .director-img-col img {
        width: 260px;
        height: 280px;
    }
    .director-info-top {
        flex-direction: column;
        align-items: center;
        margin-bottom: 24px;
    }
    .director-info-divider {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 15px;
        margin-top: 0;
    }
    .director-info-line {
        width: 50px;
        height: 2px;
        margin: 0 4px;
    }
    .director-info-text {
        text-align: center;
        font-size: 0.95rem;
    }
    .principle-info {
        margin-left: 0;
        text-align: center;
    }
    .principle-name {
        font-size: 26px;
    }
    .college-name {
        font-size: 15px;
    }
    .designation {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .director-container {
        margin-top: 30px;
    }
    .director-header-title {
        font-size: 36px;
    }
    .angled-divider {
        height: 80px;
    }
    .director-content-section {
        padding: 20px 20px 20px 20px;
        gap: 25px;
    }
    .director-img-col img {
        width: 220px;
        height: 240px;
    }
    .director-info-top {
        margin-bottom: 20px;
    }
    .director-info-divider {
        margin-bottom: 12px;
    }
    .director-info-line {
        width: 40px;
        margin: 0 3px;
    }
    .director-info-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .principle-name {
        font-size: 24px;
        margin-bottom: 12px;
    }
    .college-name {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .designation {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .director-container {
        margin-top: 25px;
    }
    .director-header-title {
        font-size: 30px;
    }
    .angled-divider {
        height: 60px;
    }
    .director-content-section {
        padding: 16px 16px 16px 16px;
        gap: 20px;
    }
    .director-img-col img {
        width: 180px;
        height: 200px;
    }
    .director-info-top {
        margin-bottom: 18px;
    }
    .director-info-divider {
        margin-bottom: 10px;
    }
    .director-info-line {
        width: 35px;
        margin: 0 2px;
    }
    .director-info-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .principle-name {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .college-name {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .designation {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .director-container {
        margin-top: 20px;
    }
    .director-header-title {
        font-size: 26px;
    }
    .angled-divider {
        height: 50px;
    }
    .director-content-section {
        padding: 12px 12px 12px 12px;
        gap: 16px;
    }
    .director-img-col img {
        width: 160px;
        height: 180px;
    }
    .director-info-top {
        margin-bottom: 15px;
    }
    .director-info-divider {
        margin-bottom: 8px;
    }
    .director-info-line {
        width: 30px;
        margin: 0 2px;
    }
    .director-info-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .principle-name {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .college-name {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .designation {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .director-container {
        margin-top: 15px;
    }
    .director-header-title {
        font-size: 22px;
    }
    .angled-divider {
        height: 40px;
    }
    .director-content-section {
        padding: 10px 10px 10px 10px;
        gap: 14px;
    }
    .director-img-col img {
        width: 140px;
        height: 160px;
    }
    .director-info-top {
        margin-bottom: 12px;
    }
    .director-info-divider {
        margin-bottom: 6px;
    }
    .director-info-line {
        width: 25px;
        margin: 0 1px;
    }
    .director-info-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    .principle-name {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .college-name {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .designation {
        font-size: 13px;
    }
}
</style>
