/* ========== PREMIUM HOME PAGE STYLES ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* ===== HERO SLIDER PREMIUM ===== */
.hero-slide {
    height: 92vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(var(--primary-rgb), 0.7) 100%);
}

.hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #fff;
    width: 85% !important;
    max-width: 900px !important;
    z-index: 10 !important;
}

.hero-content h1 {
    text-align: center !important;
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-content p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.92;
    max-width: 650px;
    line-height: 1.7;
}

.hero-content .btn-hero {
    display: inline-block;
    padding: 14px 38px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-radius: 50px;
    margin-top: 10px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-content .btn-hero:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content.text-center,
.hero-content.text-left,
.hero-content.text-right {
    text-align: center !important;
}

.hero-content.text-center p,
.hero-content.text-left p,
.hero-content.text-right p {
    margin-left: auto !important;
    margin-right: auto !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--primary-rgb), 0.3);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    bottom: 25px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    margin: 0 5px;
    opacity: 0.6;
    transition: all 0.3s;
}

.carousel-indicators .active {
    background: #fff;
    opacity: 1;
    transform: scale(1.2);
}

/* ===== HIGHLIGHTS (FLOATING CARDS) ===== */
.hp-highlights {
    padding: 0;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.hp-highlight-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hp-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: height 0.4s ease;
    z-index: 0;
}

.hp-highlight-card:nth-child(1)::before,
.hp-highlight-card.hl-1::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.hp-highlight-card:nth-child(2)::before,
.hp-highlight-card.hl-2::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.hp-highlight-card:nth-child(3)::before,
.hp-highlight-card.hl-3::before {
    background: linear-gradient(90deg, #2980b9, #3498db);
}

.hp-highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.hp-highlight-card:hover::before {
    height: 100%;
    opacity: 0.06;
}

.hp-hl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hl-1 .hp-hl-icon {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.2));
    color: #e74c3c;
}

.hl-2 .hp-hl-icon {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.2));
    color: #27ae60;
}

.hl-3 .hp-hl-icon {
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1), rgba(41, 128, 185, 0.2));
    color: #2980b9;
}

.hp-highlight-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.hp-highlight-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== ABOUT & ANNOUNCEMENTS ===== */
.hp-about-section {
    padding: 90px 0 70px;
    background: #fff;
}

.hp-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hp-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hp-section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-bottom: 25px;
}

.hp-about-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
}

.hp-about-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hp-about-img:hover img {
    transform: scale(1.05);
}

.hp-about-img .hp-exp-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hp-exp-badge .num {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.hp-exp-badge .txt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hp-about-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
}

.hp-about-text .btn-about-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.hp-about-text .btn-about-link:hover {
    padding-bottom: 5px;
}

/* Announcements card */
.hp-announce-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hp-announce-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 18px 25px;
}

.hp-announce-header h4 {
    color: #fff;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURES SECTION ===== */
.hp-features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fc 0%, #eef1f8 100%);
}

.hp-feature-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.4s ease;
}

.hp-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hp-feature-card .feat-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-feature-card:hover .feat-img {
    transform: scale(1.08);
}

.hp-feature-card .feat-img-wrap {
    overflow: hidden;
    position: relative;
}

.hp-feature-card .feat-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
    z-index: 1;
}

.hp-feature-card .feat-body {
    padding: 22px 20px 25px;
}

.hp-feature-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hp-feature-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== STATS / COUNTERS ===== */
.hp-stats-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hp-stats-section .stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../uploads/stats_bg.png') center/cover no-repeat fixed;
}

.hp-stats-section .stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(var(--primary-rgb), 0.88));
    z-index: 1;
}

.hp-stat-item {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 30px 15px;
}

.hp-stat-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.hp-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.hp-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ===== LATEST NEWS AJAX ===== */
.hp-news-section {
    padding: 80px 0;
    background: #fff;
}

.hp-news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.hp-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.hp-news-card .news-date-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hp-news-card .news-body {
    padding: 20px;
}

.hp-news-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.5;
}

.hp-news-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.hp-news-card .read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 12px;
    transition: 0.3s;
}

.hp-news-card .read-more:hover {
    letter-spacing: 1px;
}

/* ===== GALLERY PREVIEW ===== */
.hp-gallery-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fc, #eef1f8);
}

.hp-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hp-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-gallery-item:hover img {
    transform: scale(1.1);
}

.hp-gallery-item .gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.hp-gallery-item:hover .gallery-hover {
    opacity: 1;
}

.hp-gallery-item .gallery-hover i {
    color: #fff;
    font-size: 2rem;
}

/* ===== CTA PREMIUM ===== */
.hp-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.hp-cta-section .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
}

.hp-cta-section:hover .cta-bg {
    transform: scale(1.05);
}

.hp-cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(var(--primary-rgb), 0.75));
    z-index: 1;
}

.hp-cta-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hp-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.hp-cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.btn-cta-premium {
    display: inline-block;
    padding: 16px 45px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-cta-premium:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.hp-cta-ribbon {
    position: absolute;
    top: 25px;
    right: -30px;
    z-index: 3;
    width: 160px;
    text-align: center;
    transform: rotate(45deg);
}

.hp-cta-ribbon span {
    display: block;
    background: #43a047;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 0;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== SKELETON LOADERS ===== */
.hp-skeleton {
    border-radius: 12px;
    background: linear-gradient(110deg, #eee 30%, #f5f5f5 50%, #eee 70%);
    background-size: 200% 100%;
    animation: hpShimmer 1.5s infinite;
}

@keyframes hpShimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .hero-slide {
        height: 65vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hp-highlights {
        margin-top: -40px;
    }

    .hp-section-title {
        font-size: 1.8rem;
    }

    .hp-stat-number {
        font-size: 2.4rem;
    }

    .hp-cta-content h2 {
        font-size: 1.8rem;
    }
}