/* style/download.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --accent-color: #EA7C07; /* From custom colors for "Login" */
}

.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default dark text for light body background */
    background: var(--secondary-color); /* Explicitly set for clarity, matches default */
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, var(--primary-color) 0%, #3ebee7 100%); /* Adjusted gradient for visual appeal */
    color: var(--text-light); /* Light text on dark/gradient background */
    overflow: hidden; /* Prevent content overflow */
}

.page-download__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-download__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-download__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-download__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-download__main-title {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-light);
}

.page-download__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-download__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.page-download__cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: var(--accent-color); /* Using login color for CTA for prominence */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    max-width: 300px; /* Limit individual button width */
    width: 100%; /* Ensure width is respected */
    justify-content: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-download__cta-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.page-download__cta-button:hover {
    background: #c76706; /* A slightly darker orange */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-download__section {
    padding: 80px 20px;
    text-align: center;
}

.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for content */
    box-sizing: border-box;
}

.page-download__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-download__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}