/* ============================================
   INDEX-SPECIFIC STYLES
   Shared styles moved to new-templates.css
   ============================================ */

/* HERO SECTION - Index-specific */
.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    margin-bottom: 2rem;
}

.cta-buttons {
    margin: 2rem 0;
}

.cta-buttons .btn {
    margin: 0.5rem;
}

/* ============================================
   VALUE PROPOSITIONS
   ============================================ */
.value-prop-card {
    padding: 2rem 1rem;
    transition: transform 0.2s ease;
}

.value-prop-card:hover {
    transform: translateY(-5px);
}

.value-prop-card i {
    color: #003399;
    margin-bottom: 1rem;
}

.value-prop-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.value-prop-card p {
    color: #666;
    line-height: 1.6;
}

/* FEATURE CARDS - Index-specific variations */
.feature-card-header {
    display: flex;
    align-items: center;
}

.feature-card-header i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.feature-card-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.feature-card-body {
    padding: 1.5rem;
    align-items: center;
}

.feature-card-body p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-container {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-container h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.video-container .ratio {
    border-radius: 4px;
    overflow: hidden;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
section h2 {
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #003399, #2196f3);
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

/* ============================================
   AUTHENTICATED USER CARD
   ============================================ */
.auth-user-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
}

.auth-user-card h6 {
    color: #666;
    margin-bottom: 0.5rem;
}

.auth-user-card h5 {
    color: #003399;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-user-card a {
    color: #003399;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem 0;
}

.auth-user-card a:hover {
    color: #2196f3;
    text-decoration: underline;
}

/* ============================================
   BACKGROUND SECTIONS
   ============================================ */
.bg-light-custom {
    background-color: #f8f9fa;
}

/* ============================================
   IMAGE STYLING
   ============================================ */
.img-fluid.rounded {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shadow-sm:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #003399, #2196f3);
    border: none;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.btn-outline-primary {
    border-color: #003399;
    color: #003399;
}

.btn-outline-primary:hover {
    background: #003399;
    color: white;
}

/* ============================================
   COOKIE NOTICE
   ============================================ */
#footer-div {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 51, 153, 0.95);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

#footer-div a {
    color: white;
    font-weight: 600;
    margin-left: 1rem;
}

#footer-div a:hover {
    color: #ffd700;
}

/* RESPONSIVE - Index-specific */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }

    .value-prop-card {
        margin-bottom: 2rem;
    }
}

/* ============================================
   STATISTICS BADGES - HORIZONTAL LAYOUT
   ============================================ */
.stats-badges-horizontal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stats-badge-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 200px;
}

.stats-badge-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.stats-badge-horizontal i {
    font-size: 2.5rem;
    color: #003399;
    min-width: 40px;
    text-align: center;
}

.stats-content {
    text-align: left;
}

.stats-badge-horizontal .stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #003399;
    line-height: 1.2;
    margin: 0;
}

.stats-badge-horizontal .stats-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.text-muted.lead {
    font-size: 1rem;
    color: #666 !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .stats-badges-horizontal {
        gap: 1rem;
    }

    .stats-badge-horizontal {
        min-width: 160px;
        padding: 1rem 1.5rem;
    }

    .stats-badge-horizontal i {
        font-size: 2rem;
    }

    .stats-badge-horizontal .stats-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .stats-badges-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .stats-badge-horizontal {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
