/* ========== DEPARTMENTS PAGE CSS - FULLY RESPONSIVE - RED THEME ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #2C3E50;
    overflow-x: hidden;
}

/* ========== FLOATING BUTTONS ========== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-wa, .floating-call {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-wa { background: #25D366; color: white; }
.floating-call { background: #007bff; color: white; }
.floating-wa i, .floating-call i { font-size: 24px; }

/* ========== NAVBAR ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0A2B3E;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.55rem;
    color: #C0392B;
    font-weight: 600;
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    list-style: none;
}

.nav-links.show {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #0A2B3E;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #C0392B;
}

.hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: #0A2B3E;
}

/* ========== HERO SECTION ========== */
/* ========== HERO SECTION WITH BACKGROUND IMAGE & OVERLAY ========== */
.dept-hero {
    min-height: 400px;
    position: relative;
    background: url('../assests/department_1.jfif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
}

/* Dark Overlay for better text readability */
.dept-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,43,62,0.85) 0%, rgba(10,43,62,0.65) 100%);
    z-index: 1;
}

.dept-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.dept-hero-content h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.dept-hero-content h1 span {
    color: #C0392B;
}

.dept-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.breadcrumb {
    margin-top: 15px;
    color: white;
}

.breadcrumb a {
    color: #C0392B;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 12px;
    margin: 0 8px;
}
/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== SECTION TAGS ========== */
.section-tag {
    color: #C0392B;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    margin: 10px 0 20px;
}

h2 span {
    color: #C0392B;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* ========== MAIN DEPARTMENT ========== */
.main-department {
    padding: 50px 0;
}

.main-dept-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-dept-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 20px 0;
    color: #4a5568;
}

.dept-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.focus-item {
    background: #FDE8E6;
    padding: 10px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.focus-item i {
    color: #C0392B;
}

.main-dept-image {
    position: relative;
}

.main-dept-image img {
    width: 100%;
    border-radius: 20px;
}

.dept-stats {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: white;
    display: flex;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dept-stat {
    flex: 1;
    padding: 12px;
    text-align: center;
}

.dept-stat span {
    font-size: 1.2rem;
    font-weight: 800;
    color: #C0392B;
}

.dept-stat p {
    font-size: 0.7rem;
}

/* ========== SPECIALTIES ========== */
.nursing-specialties {
    padding: 50px 0;
    background: #F8F9FA;
}

.specialties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.specialty-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: #FDE8E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.specialty-icon i {
    font-size: 1.8rem;
    color: #C0392B;
}

.specialty-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.specialty-card p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.specialty-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-details span {
    background: #F8F9FA;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.specialty-details i {
    color: #C0392B;
    font-size: 0.65rem;
}

/* ========== TEACHING APPROACH ========== */
.teaching-approach {
    padding: 50px 0;
}

.approach-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.approach-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.approach-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.approach-list i {
    color: #C0392B;
    width: 25px;
}

.approach-image img {
    width: 100%;
    border-radius: 20px;
}

/* ========== LABORATORIES ========== */
.laboratories {
    padding: 50px 0;
    background: #F8F9FA;
}

.labs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.lab-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lab-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lab-info {
    padding: 15px;
}

.lab-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.lab-info p {
    font-size: 0.75rem;
    color: #666;
}

/* ========== CLINICAL TRAINING ========== */
.clinical-training {
    padding: 50px 0;
}

.training-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.training-image img {
    width: 100%;
    border-radius: 20px;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.training-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.training-list i {
    color: #C0392B;
}

.training-highlight {
    background: #FDE8E6;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.training-highlight i {
    font-size: 1.2rem;
    color: #C0392B;
}

/* ========== FACULTY ========== */
.faculty-overview {
    padding: 50px 0;
    background: #F8F9FA;
}

.faculty-grid-dept {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.faculty-dept-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.faculty-dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.faculty-dept-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #C0392B;
}

.faculty-dept-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.faculty-dept-card p {
    font-size: 0.8rem;
    color: #666;
}

.faculty-spec {
    display: inline-block;
    background: #FDE8E6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-top: 10px;
}

.faculty-note {
    background: #0A2B3E;
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.faculty-note i {
    font-size: 2rem;
    color: #C0392B;
}

.faculty-note p {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========== ACTIVITIES ========== */
.dept-activities {
    padding: 50px 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.activity-card {
    background: #FDE8E6;
    padding: 25px;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card i {
    font-size: 2rem;
    color: #C0392B;
    margin-bottom: 12px;
}

.activity-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.activity-card p {
    font-size: 0.75rem;
    color: #666;
}

/* ========== STUDENT MENTORSHIP ========== */
.student-mentorship {
    padding: 50px 0;
    background: #F8F9FA;
}

.mentorship-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mentorship-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.mentorship-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.mentorship-list i {
    color: #C0392B;
}

.mentorship-image img {
    width: 100%;
    border-radius: 20px;
}

/* ========== GALLERY ========== */
.activities-gallery {
    padding: 50px 0;
}

.gallery-grid-dept {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item-dept {
    overflow: hidden;
    border-radius: 15px;
    height: 150px;
}

.gallery-item-dept img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item-dept:hover img {
    transform: scale(1.05);
}

/* ========== CTA SECTION ========== */
.cta-section-dept {
    padding: 50px 0;
    background: linear-gradient(135deg, #0A2B3E, #1B4F72);
    color: white;
    text-align: center;
}

.cta-content-dept h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-content-dept p {
    margin-bottom: 25px;
}

.cta-buttons-dept {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary-dept, .cta-btn-secondary-dept {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-primary-dept {
    background: #C0392B;
    color: #FFFFFF;
}

.cta-btn-primary-dept:hover {
    background: #A93226;
    transform: translateY(-3px);
}

.cta-btn-secondary-dept {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn-secondary-dept:hover {
    background: white;
    color: #0A2B3E;
}

/* ========== FOOTER - PROFESSIONAL DESIGN ========== */
footer {
    background: #0A2B3E;
    color: white;
    padding: 50px 0 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 40px;
}

.footer-about {
    text-align: center;
}

.footer-logo {
    width: 60px;
    margin-bottom: 15px;
}

.footer-about h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #C0392B;
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ccc;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 5px;
    line-height: 35px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #C0392B;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    color: #C0392B;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after, .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #C0392B;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin: 12px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #C0392B;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #C0392B;
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item p, .contact-item a {
    color: #ccc;
    font-size: 0.8rem;
    text-decoration: none;
    line-height: 1.4;
}

.contact-item a:hover {
    color: #C0392B;
}

.footer-newsletter p {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 0.8rem;
    outline: none;
}

.newsletter-form button {
    background: #C0392B;
    border: none;
    padding: 0 15px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #A93226;
}

.footer-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-hours i {
    color: #C0392B;
}

.footer-hours p {
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-left p {
    font-size: 0.7rem;
    color: #888;
}

.footer-bottom-right {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: #888;
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #C0392B;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    width: 85%;
    max-width: 350px;
}

.modal-content i {
    color: #C0392B;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: #C0392B;
}

.btn-primary-modal {
    background: #C0392B;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-modal:hover {
    background: #A93226;
}

/* ========== RESPONSIVE - TABLET & DESKTOP ========== */
@media (min-width: 768px) {
    .hamburger { display: none; }
    
    .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        flex-direction: row;
        padding: 0;
        gap: 25px;
        box-shadow: none;
    }
    
    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 15px 30px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h2 {
        font-size: 0.9rem;
    }
    
    .dept-hero-content h1 { font-size: 3rem; }
    
    .main-dept-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .labs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .training-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .faculty-grid-dept {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mentorship-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .gallery-grid-dept {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item-dept {
        height: 200px;
    }
    
    .footer-main {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-about {
        flex: 2;
        text-align: left;
    }
    
    .footer-links {
        flex: 1;
    }
    
    .footer-contact {
        flex: 2;
    }
    
    .footer-newsletter {
        flex: 2;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-bottom-right {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}