/* Base styles moved to base.css */
/* Button styles moved to button.css */

/* ===== SECTION 1: HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('../images/home/hero-banner.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), rgba(124, 18, 54, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 60px 20px 0;
}

.welcome-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 10px;
    font-style: italic;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-image {
    position: relative;
    z-index: 2;
    max-width: 650px;
    width: 90%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.cta-container {
    position: relative;
    width: 100%;
    background-color: #60060f;
    padding: 20px 0;
    z-index: 3;
    margin-top: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA button styles moved to button.css */

/* Container moved to base.css */

/* ===== SECTION 2: ACADEMICS SECTION ===== */
.academics-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f1f1e9;
    background-image: url('../images/home/news_bg01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-header {
    font-family: 'Brush Script MT', cursive;
    font-size: 28px;
    color: #333;
    font-weight: normal;
}

.section-header-center {
    font-family: 'Brush Script MT', cursive;
    font-size: 28px;
    color: #333;
    font-weight: normal;
    text-align: center;
}

.section-title {
    font-size: 42px;
    line-height: 1.4;
    color: #000;
    margin-bottom: 30px;
    font-weight: bold;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.image-container {
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.content-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* More about button styles moved to button.css */

/* ===== SECTION 3: DEPARTMENTS SECTION ===== */
.department-section {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background-color: #e8e4df;
}

.department-section .section-title {
    padding-bottom: 40px;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1300px;
    margin: 0 auto;
    background-color: #d5d0ca;
}

.department-card {
    background-color: #e8e4df;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.department-card:hover {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    z-index: 10;
    border-radius: 15px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #781921;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.department-card:hover .icon-circle {
    background-color: #F5A623;
}

.icon-circle svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.department-name {
    font-size: 24px;
    color: #000;
    margin-bottom: 10px;
    font-weight: bold;
}

.department-description {
    font-size: 14px;
    color: #777;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== SECTION 4: TOP PROGRAMS SECTION ===== */
.programs-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.programs-section .section-header {
    justify-content: space-between;
    align-items: flex-end;
}

/* View all button styles moved to button.css */

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.category-icon {
    font-size: 16px;
    color: #F5A623;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    border: 2px solid #F5A623;
    padding: 6px 12px;
    border-radius: 20px;
}

.rating-number {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.rating-star {
    font-size: 14px;
    color: #F5A623;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: Georgia, serif;
}

.card-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e8e5e6;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    font-size: 16px;
    color: #999;
}

/* Enroll button styles moved to button.css */

.program-card a {
    text-decoration: none;
}

.program-card a h3.card-title {
    color: #000;
    text-decoration: none;
}

.program-card a h3.card-title:hover {
    color: #333;
}

/* ===== SECTION 5: CAMPUS LIFE SECTION ===== */
.campus-life-section {
    width: 100%;
    padding: 80px 0 100px;
    text-align: center;
    background-color: #f0ebe5;
    background-image: url('../images/home/campus-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.campus-life-section .container {
    max-width: 100%;
    padding: 0;
}

.campusSwiper {
    width: 100%;
    padding: 0 40px 60px 40px;
}

.campusSwiper .swiper-slide {
    height: auto;
}

.campus-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.campus-card:hover {
    transform: translateY(-10px);
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.card-label {
    background-color: white;
    color: #000;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Read more button styles moved to button.css */

.campusSwiper .swiper-button-next,
.campusSwiper .swiper-button-prev {
    color: #8B1A1A;
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.campusSwiper .swiper-button-next:after,
.campusSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.campusSwiper .swiper-button-next:hover,
.campusSwiper .swiper-button-prev:hover {
    background-color: #8B1A1A;
    color: white;
}

.campusSwiper .swiper-pagination {
    bottom: 20px;
}

.campusSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #d0cbc5;
    opacity: 1;
}

.campusSwiper .swiper-pagination-bullet-active {
    background-color: #8B1A1A;
    width: 14px;
    height: 14px;
}

/* ===== SECTION 6: NEWS SECTION ===== */
.news-section {
    width: 100%;
    padding: 80px 0 100px;
    position: relative;
    background-color: #f5f5f5;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.news-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 280px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card.large {
    grid-row: span 2;
    height: 585px;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(23, 0, 6, 0) 0%, #170006 100%);
    z-index: 1;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-card.large .news-card-overlay {
    padding: 40px;
}

.news-tag {
    display: inline-block;
    color: white;
    font-size: 14px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 5px 15px;
    background: rgba(253, 183, 20, 0.3);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-bottom: 15px;
    align-self: flex-start;
}

.news-card a {
    text-decoration: none;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    color: white;
    margin-bottom: 15px;
    text-decoration: none;
}

.news-card a .news-title {
    color: white;
    text-decoration: none;
}

.news-card a .news-title:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.news-card.large .news-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 16px;
}

/* More news button styles moved to button.css */

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 50px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .department-card:nth-child(2n) {
        border-right: none;
    }

    .department-card:nth-child(-n+6) {
        border-bottom: 1px solid #d5d0ca;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .campus-card {
        min-width: calc(33.333% - 14px);
        flex: 0 0 calc(33.333% - 14px);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card,
    .news-card.large {
        height: 300px;
        grid-row: span 1;
    }

    .news-card.large .news-card-overlay {
        padding: 30px;
    }

    .news-card.large .news-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .news-card.large .news-meta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 30px;
    }

    .welcome-text {
        font-size: 18px;
    }

    .hero-image {
        max-width: 95%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 90%;
        max-width: 320px;
        justify-content: center;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .department-card {
        border-right: none;
        border-bottom: 1px solid #d5d0ca;
    }

    .department-card:last-child {
        border-bottom: none;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .campusSwiper {
        padding: 0 20px 60px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card,
    .news-card.large {
        height: 300px;
        grid-row: span 1;
    }

    .news-card.large .news-card-overlay {
        padding: 30px;
    }

    .news-card.large .news-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .news-card.large .news-meta {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-content {
        padding: 40px 20px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .academics-section .section-title {
        font-size: 0;
    }

    .academics-section .section-title::before {
        content: 'Excellence In Nursing Education.';
        font-size: 26px;
    }

    .campusSwiper {
        padding: 0 15px 40px 15px;
    }
}

/* Programs section - course detail view */
.course-detail-hidden { display: none; }
.course-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.btn-back-programs { padding: 14px 32px; border: 2px solid #000; background-color: transparent; color: #000; border-radius: 50px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; }
.course-detail-content { background-color: white; border-radius: 20px; padding: 40px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); }


