.gpm-cse-container {
    width: 100%;
}

.gpm-cse-container-main {
    width: 90%;
    height: auto;
    margin: auto;
}
.gpm-cse-container-main h2 {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.gpm-cse-container-main .gpm-heading-main {
    color: #c21717;
}

.gpm-cse-section {
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.gpm-cse-section:last-child {
    border-bottom: none;
}

.gpm-cse-section h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin-bottom: 25px;
    border-left: 5px solid #1e40af;
    padding-left: 15px;
    font-weight: 700;
    display: inline-block;
}

.gpm-cse-section p {
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 25px;
    color: black;
    max-width: 100%;
    line-height: 1.8;
}

.gpm-department-cse-hod {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid #e5e7eb;
    background-color: rgba(219, 234, 254, 0.3);
}

.gpm-department-cse-hod img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 8px solid white;
    transition: transform 0.3s ease;
}

.gpm-department-cse-hod img:hover {
    transform: scale(1.05);
}

.gpm-department-cse-hod-details {
    flex: 1;
}

.gpm-department-cse-hod-details h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gpm-department-cse-hod-details h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #1e40af;
    bottom: -5px;
    left: 0;
}

.gpm-department-cse-hod-details p {
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
}

.gpm-cse-faculty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gpm-cse-faculty-card {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.gpm-cse-faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gpm-cse-faculty-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.gpm-cse-faculty-card:hover img {
    transform: scale(1.05);
}

.gpm-cse-faculty-info {
    padding: 20px;
}

.gpm-cse-faculty-card h3 {
    margin: 10px 0 5px;
    font-size: 1.4rem;
    color: #1e40af;
    font-weight: 600;
}

.gpm-cse-faculty-card p {
    font-size: 1rem;
    color: black;
    text-align: center;
    margin-bottom: 15px;
}

.gpm-cse-faculty-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.gpm-cse-faculty-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #dbeafe;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gpm-cse-faculty-social a:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.gpm-cse-courses-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-top: 30px;
}

.gpm-cse-courses-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gpm-cse-courses-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.gpm-cse-courses-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
}

.gpm-department-cse-laboratory {
    padding: 15px 10px;
    border-bottom: 1px solid #e5e7eb;
    background-color: rgba(239, 246, 255, 0.6);
}

.gpm-department-cse-laboratory h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin-bottom: 25px;
    border-left: 5px solid #2563eb;
    padding-left: 15px;
    font-weight: 700;
}

.gpm-department-cse-lab-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gpm-department-cse-lab-card {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.gpm-department-cse-lab-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gpm-department-cse-lab-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gpm-department-cse-lab-card:hover img {
    transform: scale(1.05);
}

.gpm-department-cse-lab-content {
    padding: 25px;
}

.gpm-department-cse-lab-card h3 {
    font-size: 1.6rem;
    color: #1e40af;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gpm-department-cse-lab-card h3::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    background-color: #2563eb;
    bottom: -5px;
    left: 0;
}

.gpm-department-cse-lab-card p {
    font-size: 1rem;
    color: black;
    text-align: justify;
    line-height: 1.7;
}

.gpm-cse-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    margin: 40px 0;
}

.gpm-cse-stat-item {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gpm-cse-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gpm-cse-stat-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    top: 0;
    left: 0;
}

.gpm-cse-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
    line-height: 1;
}

.gpm-cse-stat-label {
    font-size: 1rem;
    color: black;
    font-weight: 500;
}

.gpm-cse-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.gpm-cse-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.gpm-cse-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.gpm-cse-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gpm-cse-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: #4f46e5;
    color: white;
}

.gpm-cse-footer {
    background-color: #1e40af;
    color: #f8fafc;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 992px) {
    .gpm-cse-header h1 {
        font-size: 2.5rem;
    }
    .gpm-cse-nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .gpm-department-cse-lab-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .gpm-cse-container {
        border-radius: 8px;
    }

    .gpm-cse-header {
        padding: 40px 20px;
    }

    .gpm-cse-header h1 {
        font-size: 2rem;
    }

    .gpm-cse-header p {
        font-size: 1.1rem;
    }

    .gpm-cse-section h2,
    .gpm-department-cse-laboratory h2 {
        font-size: 1.8rem;
    }

    .gpm-department-cse-hod {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .gpm-department-cse-hod img {
        width: 70%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .gpm-department-cse-hod-details h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .gpm-cse-nav-container {
        flex-wrap: wrap;
    }

    .gpm-cse-nav-item {
        flex: 1 0 auto;
        width: 33.333%;
        text-align: center;
    }

    .gpm-cse-nav-link {
        padding: 10px;
        font-size: 0.85rem;
    }

    .gpm-cse-courses-list {
        grid-template-columns: 1fr;
    }

    .gpm-cse-faculty-cards,
    .gpm-department-cse-lab-cards {
        grid-template-columns: 1fr;
    }

    .gpm-cse-stats {
        grid-template-columns: 1fr 1fr;
    }

    .gpm-cse-stat-number {
        font-size: 2.5rem;
    }

    .gpm-cse-placement-company {
        flex: 1 0 120px;
        height: 80px;
    }

    .gpm-cse-cta h2 {
        font-size: 2rem;
    }
}