/* ========================================
   MODERN HOMEPAGE STYLES
   Smart Gyan Training Institute
   ======================================== */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a7a 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.modern-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/image/pattern-overlay.png");
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Modern Buttons */
.btn-modern-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 150, 44, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 150, 44, 0.4);
    background: #e5ad3d;
    color: var(--text-dark);
}

.btn-modern-outline {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Modern Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Modern Cards */
.modern-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.modern-card-body {
    padding: 1.5rem;
}

.modern-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.modern-card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 57, 82, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Program Cards */
.program-card-modern {
    position: relative;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 57, 82, 0.3),
        rgba(0, 57, 82, 0.8)
    );
    z-index: 1;
    transition: all 0.3s ease;
}

.program-card-modern:hover::before {
    background: linear-gradient(
        180deg,
        rgba(0, 57, 82, 0.5),
        rgba(0, 57, 82, 0.9)
    );
}

.program-card-modern:hover {
    transform: scale(1.05);
}

.program-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    color: #fff;
}

.program-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.program-card-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #005a7a);
    color: #fff;
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Why Choose Us */
.why-choose-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #e5ad3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--accent-color),
        var(--primary-color)
    );
    color: #fff;
    padding: 5rem 0;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/image/pattern.png");
    opacity: 0.1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
