/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ============================================
   MODERN HERO SECTION - Purple/Yellow Theme
   ============================================ */
.modern-hero {
    position: relative;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #9333ea 100%);
    min-height: 85vh;
    overflow: hidden;
    padding: 80px 0 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #fbbf24;
    top: -200px;
    left: -150px;
    clip-path: ellipse(60% 70% at 30% 30%);
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #fcd34d;
    bottom: -250px;
    right: -100px;
    clip-path: ellipse(65% 75% at 60% 70%);
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: #fde68a;
    bottom: 100px;
    left: 20%;
    opacity: 0.4;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle,
.deco-plus,
.deco-wave,
.deco-ring,
.deco-plane {
    position: absolute;
    color: #fbbf24;
}

.deco-1 {
    width: 60px;
    height: 60px;
    border: 3px solid #fbbf24;
    border-radius: 50%;
    top: 15%;
    left: 5%;
}

.deco-2 {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    top: 60%;
    right: 15%;
}

.deco-3 {
    font-size: 48px;
    font-weight: 700;
    bottom: 150px;
    left: 40%;
}

.deco-4 {
    font-size: 36px;
    top: 25%;
    left: 45%;
}

.deco-5 {
    width: 100px;
    height: 100px;
    border: 4px dashed #fde68a;
    border-radius: 50%;
    top: 50%;
    right: 5%;
}

.deco-6 {
    font-size: 32px;
    top: 35%;
    right: 25%;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 60px auto 0;
}

.hero-text-side {
    color: white;
}

.modern-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-text {
    color: #fbbf24;
    position: relative;
    display: inline-block;
}

.modern-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 30px;
    opacity: 0.95;
}

.enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fbbf24;
    color: #1e293b;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.enroll-btn:hover {
    background: #fcd34d;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(251, 191, 36, 0.6);
}

.hero-image-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 10;
    overflow: hidden;
    border-radius: 50%;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.8s ease;
    transform: scale(0.95);
}

.hero-carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-carousel-slide.prev {
    opacity: 0;
    transform: scale(1.05);
}

.hero-child-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 20;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fbbf24;
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
    border: 8px solid rgba(255, 255, 255, 0.2);
}

.image-circle-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: #fde68a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0.3;
}

.hero-bottom-actions {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.action-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: white;
}

.action-icon {
    font-size: 28px;
}

.action-text {
    font-size: 15px;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stat-count {
    font-size: clamp(36px, 8vw, 48px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: system-ui, -apple-system, sans-serif;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   GALLERY CAROUSEL
   ============================================ */
.gallery-carousel {
    display: flex;
    gap: 12px;
}

.gallery-item {
    min-width: 248px;
    max-width: 248px;
    flex: 0 0 248px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.gallery-item-content {
    padding: 8px 10px;
}

.gallery-item-title {
    font-weight: 600;
    font-size: clamp(12px, 3vw, 14px);
}

.gallery-item-description {
    font-size: clamp(10px, 2.5vw, 12px);
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose-section {
    background: linear-gradient(180deg, #f8f4ff 0%, #ffffff 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-item {
    text-align: center;
    position: relative;
    padding: 10px;
}

.why-choose-frame {
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 15px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.frame-dashed-purple {
    border: 3px dashed #a855f7;
    border-radius: 20px;
}

.frame-dashed-yellow {
    border: 3px dashed #fbbf24;
    border-radius: 50%;
}

.why-choose-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-deco {
    position: absolute;
    font-size: 32px;
    z-index: 2;
}

.deco-flower {
    top: -10px;
    left: 20%;
    color: #a855f7;
    transform: rotate(-15deg);
}

.deco-flower-small {
    top: -5px;
    right: 20%;
    color: #fbbf24;
    font-size: 24px;
}

.deco-scribble {
    bottom: 25%;
    right: 10%;
    color: #a855f7;
    font-size: 28px;
}

.why-choose-title {
    font-size: clamp(16px, 2.8vw, 20px);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.why-choose-desc {
    font-size: clamp(12px, 2.3vw, 14px);
    color: #64748b;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

.why-choose-lines {
    max-height: 300px;
    opacity: 0.6;
}

/* ============================================
   NOTICE BOARD
   ============================================ */
/* Modern Notice Board */
.notice-board-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    gap: 16px;
    flex-wrap: wrap;
}

.notice-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-filter label {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.notice-filter select {
    padding: 8px 36px 8px 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.3s ease;
}

.notice-filter select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.notice-filter select option {
    background: white;
    color: #0f172a;
}

.view-all-notices {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #7c3aed;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-all-notices:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notice-content {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.notice-loading {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-size: 14px;
}

.notice-item {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #7c3aed;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notice-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notice-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-top: 6px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.notice-link {
    flex: 1;
    text-decoration: none;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    display: block;
}

.notice-link:hover {
    color: #7c3aed;
}
    overflow: hidden;
    font-size: clamp(12px, 3vw, 14px);
}

.notice-link:hover {
    color: var(--primary-color);
}

.notice-date {
    margin-left: auto;
    color: #dc2626;
    white-space: nowrap;
    font-size: clamp(10px, 2.5vw, 12px);
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE
   ============================================ */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text-side {
        order: 2;
    }

    .hero-image-side {
        order: 1;
    }

    .hero-carousel-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .modern-hero-title {
        font-size: clamp(28px, 4vw, 42px);
    }

    .enroll-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .carousel-dots {
        bottom: -40px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-image-container {
        max-width: 300px;
    }

    .blob-1,
    .blob-2,
    .blob-3 {
        width: 300px;
        height: 300px;
    }

    .hero-bottom-actions {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .action-card {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .deco-5,
    .deco-6 {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .stats-card {
        padding: 18px 14px;
        border-radius: 14px;
    }
    
    .stat-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .stat-count {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .why-choose-frame {
        max-width: 180px;
    }
    
    .why-choose-lines {
        display: none;
    }
}

@media (max-width: 480px) {
    .modern-hero-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .hero-image-container {
        max-width: 250px;
    }

    .enroll-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .action-card {
        padding: 16px 30px;
        font-size: 14px;
    }

    .action-icon {
        font-size: 24px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose-frame {
        max-width: 240px;
    }
}

/* ============================================
   GALLERY CAROUSEL SECTION
   ============================================ */
.gallery-carousel-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    overflow: hidden;
}

.gallery-scroll-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.gallery-scroll-track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform 0.1s linear;
    padding: 0 20px;
}

.gallery-scroll-item {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.gallery-scroll-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-scroll-item:hover::before {
    opacity: 1;
}

.gallery-scroll-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.gallery-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-scroll-item:hover img {
    transform: scale(1.1);
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #7c3aed;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.view-gallery-btn:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

@media (max-width: 768px) {
    .gallery-scroll-item {
        width: 280px;
        height: 200px;
    }
    
    .gallery-carousel-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .gallery-scroll-item {
        width: 240px;
        height: 180px;
    }
}
