/* ============================
   HOMEPAGE.CSS - Home Page Styles
   International Science Journal
   ============================ */

/* ============================
   BANNER SLIDER
   ============================ */
#heroBannerSlider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

#heroBannerSlider .carousel-inner {
    border-radius: 20px;
}

#heroBannerSlider .carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* Indicators */
#heroBannerSlider .carousel-indicators {
    bottom: 20px;
    z-index: 5;
}

#heroBannerSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 5px;
}

#heroBannerSlider .carousel-indicators button.active {
    background: white;
    opacity: 1;
    transform: scale(1.2);
}

/* Controls */
.carousel-control-custom {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-custom,
.carousel-control-next:hover .carousel-control-custom {
    background: rgba(255,255,255,0.4) !important;
    transform: scale(1.1);
}

#heroBannerSlider .carousel-control-prev,
#heroBannerSlider .carousel-control-next {
    width: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

#heroBannerSlider:hover .carousel-control-prev,
#heroBannerSlider:hover .carousel-control-next {
    opacity: 1;
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

/* Slide 1 - Science Journal */
.hero-slide-1 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
}

/* Slide 2 & 3 - Banner Images */
.banner-slide-link {
    display: block;
    text-decoration: none;
}

.banner-slide-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================
   HERO ILLUSTRATION
   ============================ */
.hero-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.hero-icon-wrapper {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: pulse 3s ease-in-out infinite;
}

.hero-main-icon {
    font-size: 80px;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.floating-icon.icon-1 {
    top: 10%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

.floating-icon.icon-2 {
    top: 5%;
    right: 15%;
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-icon.icon-3 {
    bottom: 15%;
    left: 5%;
    animation: float 4.5s ease-in-out infinite 1s;
}

.floating-icon.icon-4 {
    bottom: 10%;
    right: 10%;
    animation: float 5.5s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ============================
   STATISTICS CARDS
   ============================ */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   FEATURE CARDS
   ============================ */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    border-color: #2a5298;
    box-shadow: 0 8px 25px rgba(42,82,152,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

/* ============================
   ARTICLE CARDS
   ============================ */
.article-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2a5298;
    transition: all 0.3s ease;
}

.article-card:hover {
    background: #f8f9ff;
    transform: translateX(5px);
}

/* ============================
   HERO BUTTONS
   ============================ */
.btn-hero {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: white;
    color: #1e3c72;
}

.btn-hero-primary:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-hero-outline:hover {
    background: white;
    color: #1e3c72;
}

/* ============================
   SECTION TITLE
   ============================ */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    color: white;
    text-align: center;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 991px) {
    .hero-illustration {
        min-height: 220px;
        margin-top: 30px;
    }

    .hero-icon-wrapper {
        width: 160px;
        height: 160px;
    }

    .hero-main-icon {
        font-size: 60px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .hero-illustration {
        min-height: 180px;
    }

    .hero-icon-wrapper {
        width: 140px;
        height: 140px;
    }

    .hero-main-icon {
        font-size: 50px;
    }

    #heroBannerSlider .carousel-indicators {
        bottom: 10px;
    }

    #heroBannerSlider .carousel-indicators button {
        width: 8px;
        height: 8px;
    }

    #heroBannerSlider .carousel-control-prev,
    #heroBannerSlider .carousel-control-next {
        display: none;
    }
}
