/* style/download.css */

/* Base Styles for .page-download content */
.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #ffffff; /* Default body background */
}

.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-download__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-download__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__sub-title {
    font-size: 2em;
    color: #26A9E0;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-download__text-block {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    text-align: center;
}

.page-download__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-download__link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-download__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.page-download__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken background for text contrast */
}

.page-download__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 900px;
}

.page-download__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-download__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.page-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-download__btn-primary,
.page-download__btn-secondary,
.page-download a[class*="button"],
.page-download a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-download__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-download__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-download__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-download__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Constrain video width */
    width: 100%;
    margin: 40px auto 0;
    border-radius: 10px;
    box-sizing: border-box;
}

.page-download__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Why Download Section */
.page-download__why-download {
    padding: 80px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
}