@import url('../resources/main.css');



.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}


.health {
    text-align: center;
}


.hero-section {
    width: 100%;
    height: 70vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(50, 50, 50, 0.4); 
}

.dept-heading {
    color: white;
    z-index: 2;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(38px, 2em, 48px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.health-intro {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--light_primary); /* Green accent for health theme */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.health-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Fitness Page Styles */
.fitness {
    text-align: center;
}

.fitness-intro {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--light_primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fitness-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Facility Section */
.facility-section {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.facility-section:nth-child(odd) .facility-content {
    flex-direction: row;
}

.facility-section:nth-child(even) .facility-content {
    flex-direction: row-reverse;
}

.facility-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.facility-text {
    flex: 1;
    text-align: left;
}

.facility-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: transform 0.2s ease;
}

.facility-list li:hover {
    transform: translateX(5px);
}

.facility-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.facility-image {
    flex: 1;
    max-width: 450px;
}

.facility-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Timing Section */
.timing-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 12px;
}

.timing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.timing-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.timing-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light_primary);
}

.timing-card .timing {
    font-weight: 600;
    color: #333;
    margin: 15px 0 5px;
}

.timing-card .time {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .facility-content {
        flex-direction: column !important;
    }
    
    .facility-text, 
    .facility-image {
        max-width: 100%;
    }
    
    .facility-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    .dept-heading {
        font-size: 36px;
    }

    .fitness-intro {
        font-size: 16px;
        padding: 15px;
    }

    .section-heading {
        font-size: 24px;
    }

    .facility-section {
        padding: 20px;
    }

    .facility-text p {
        font-size: 15px;
    }

    .facility-list li {
        font-size: 14px;
    }

    .timing-cards {
        flex-direction: column;
        align-items: center;
    }

    .timing-card {
        width: 100%;
        max-width: 350px;
    }

    .incharge-container {
        flex-direction: column;
        align-items: center;
    }

    .incharge-item {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }

    .dept-heading {
        font-size: 28px;
    }

    .fitness-intro {
        font-size: 14px;
        padding: 10px;
    }

    .facility-section {
        padding: 15px;
        margin: 25px 0;
    }

    .section-heading {
        font-size: 22px;
    }

    .facility-list li {
        font-size: 13px;
    }

    .timing-section {
        padding: 20px;
    }

    .timing-card {
        padding: 20px;
        min-width: auto;
    }
}

/* Health Image */
.health-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Heading */
.section-heading {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-heading i {
    color: var(--primary-color);
}

/* Incharge Section */
.incharge-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.incharge-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

.incharge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.incharge-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.incharge-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 5px;
}

.incharge-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}


@media screen and (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    .dept-heading {
        font-size: 36px;
    }

    .health-intro {
        font-size: 16px;
        padding: 15px;
    }

    .health-img {
        max-width: 400px;
    }

    .section-heading {
        font-size: 24px;
    }

    .incharge-img {
        width: 120px;
        height: 120px;
    }

    .incharge-item {
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }

    .dept-heading {
        font-size: 28px;
    }

    .health-intro {
        font-size: 14px;
        padding: 10px;
    }

    .health-img {
        max-width: 100%;
    }

    .incharge-container {
        flex-direction: column;
        align-items: center;
    }

    .incharge-item {
        max-width: 100%;
    }
}