


        /* HOD'S MESSAGE */
        .hod-message-modern {
            background: var(--bg-color);
            padding: 80px 20px;
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #1a237e;
        }

        .hod-flex {
            display: flex;
            align-items: center;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .hod-photo {
            flex: 1 1 300px;
            max-width: 350px;
            text-align: center;
        }

        .hod-photo img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 87, 179, 0.2);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .hod-photo img:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 60px rgba(0, 87, 179, 0.35);
        }

        .hod-content {
            flex: 2 1 500px;
        }

        .hod-content .section-title {
            font-size: 3rem;
            font-weight: 900;
            color: #0d47a1;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .hod-content .section-title::after {
            content: "";
            display: block;
            width: 60px;
            height: 4px;
            background: #64b5f6;
            margin: 10px 0;
            border-radius: 2px;
        }

        .hod-content .hod-subtitle {
            font-size: 1.2rem;
            font-weight: 600;
            color: #37474f;
            margin-bottom: 30px;
            letter-spacing: 1px;
        }

        .hod-content .message-box {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 40px 50px;
            box-shadow: 0 15px 50px rgba(0, 87, 179, 0.15);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
            text-align: justify;
            line-height: 1.9;
            font-size: 1.15rem;
            color: #37474f;
        }

        .hod-content .message-box:hover {
            box-shadow: 0 25px 80px rgba(0, 87, 179, 0.3);
            transform: translateY(-5px);
        }
/* Responsive */
        @media (max-width: 900px) {

            .hod-flex {
                flex-direction: column;
                text-align: center;
            }

            .hod-content .section-title {
                font-size: 2.2rem;
            }

            .hod-content .hod-subtitle {
                font-size: 1rem;
            }

            .hod-content .message-box {
                padding: 30px 25px;
                font-size: 1rem;
                text-align: left;
            }
}



        /* Faculties */
        .faculty-container {
            background-color: var(--bg-color);
            padding: 70px 15px;
        }

        .faculty-wrapper {
            max-width: 1200px;
            margin: 0 auto;
        }

        .faculty-title {
            text-align: center;
            font-size: 2.8rem;
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 50px;
        }

        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
            gap: 30px;
        }

        .faculty-card {
            background-color: var(--card-bg);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--card-border);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .faculty-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--card-shadow-hover);
        }

        .faculty-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-bottom: 3px solid var(--primary-color);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
            filter: brightness(95%);
        }

        .faculty-card:hover .faculty-image {
            transform: scale(1.06);
            filter: brightness(105%);
        }

        .faculty-info {
            padding: 20px;
            flex-grow: 1;
            text-align: center;
            display: flex;
            flex-direction: column;
        }

        .faculty-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 10px 0 5px;
            color: var(--text-color);
        }

        .faculty-position,
        .faculty-qual,
        .faculty-title-small {
            font-size: 0.95rem;
            margin: 2px 0;
            color: var(--text-muted);
        }

        .faculty-info p {
            font-size: 0.9rem;
            margin: 5px 0;
            color: var(--text-color);
        }

        .faculty-profile-btn {
            display: inline-block;
            margin-top: auto;
            align-self: center;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
        }

        .faculty-profile-btn:hover {
            background-color: #0056b3;
        }

@media (max-width: 768px) {
    .hod-message-modern {
        padding: 40px 15px;
    }

    .hod-flex {
        gap: 25px;
    }

    .hod-photo {
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
        flex: none;
    }

    .hod-content {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .hod-content .message-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .faculty-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faculty-container {
        padding: 40px 10px;
    }

    .faculty-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}