/* style/index.css */

/* Custom properties for colors from palette */
:root {
    --primary-color: #113B7A; /* Main color */
    --secondary-color: #1D5FD1; /* Auxiliary color */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button specific gradient */
    --card-bg: #10233F; /* Card background */
    --text-main: #F3F8FF; /* Main text color */
    --text-secondary: #AFC4E8; /* Secondary text color */
    --border-color: #244D84; /* Border color */
    --glow-color: #4FA8FF; /* Glow color */
    --gold-color: #F2C14E; /* Gold color */
    --divider-color: #1B3357; /* Divider color */
    --deep-navy: #08162B; /* Deep Navy background color (body background) */
}

/* General page-index styles for main content, ensuring light text on dark body background */
.page-index {
    background-color: var(--deep-navy); /* Body background comes from shared.css, but this ensures consistency for main content area if it's not full width */
    color: var(--text-main); /* Light text on dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Container for consistent content width */
.page-index__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-index__section-title {
    font-size: 2.5em;
    color: var(--gold-color); /* Use gold for emphasis */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

/* General text blocks */
.page-index__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card base styles */
.page-index__card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-index__card-title {
    font-size: 1.5em;
    color: var(--text-main); /* Main text color for card titles */
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index__card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__card-title a:hover {
    color: var(--gold-color);
    text-decoration: underline;
}