.page-download {
    color: #333333; /* Default text color for light background */
}

.page-download__hero-section {
    background-color: #0A2463; /* Dark blue background */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 80px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-download__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-download__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E3B23C; /* Gold for emphasis */
    line-height: 1.2;
    font-weight: 700;
}

.page-download__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-download__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 220px;
    text-align: center;
}

.page-download__button--primary {
    background-color: #E3B23C;
    color: #0A2463;
    border: 2px solid #E3B23C;
}

.page-download__button--primary:hover {
    background-color: #ffc95e;
    transform: translateY(-3px);
}

.page-download__button--secondary {
    background-color: transparent;
    color: #E3B23C;
    border: 2px solid #E3B23C;
}

.page-download__button--secondary:hover {
    background-color: rgba(227, 178, 60, 0.1);
    transform: translateY(-3px);
}

.page-download__hero-image-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    opacity: 0.2;
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.page-download__benefits-section, 
.page-download__how-to-download-section, 
.page-download__notes-section, 
.page-download__faq-section, 
.page-download__cta-final-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for content */
}

.page-download__how-to-download-section, .page-download__faq-section {
    background-color: #ffffff;
}

.page-download__section-title {
    font-size: 2.8em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-download__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
    color: #555555;
}

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

.page-download__benefit-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-download__benefit-image {
    width: 250px; /* Minimum 200px */
    height: 187px; /* Maintain aspect ratio */
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 8px;
}

.page-download__benefit-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__benefit-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.7;
}

.page-download__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eeeeee;
}

.page-download__cta-bottom p {
    font-size: 1.2em;
    color: #0A2463;
    margin-bottom: 30px;
    font-weight: 500;
}

.page-download__download-platform {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__platform-title {
    font-size: 2.2em;
    color: #0A2463;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-download__download-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-download__download-steps li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    color: #444444;
}

.page-download__download-steps li::before {
    content: attr(data-step-number);
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: #E3B23C;
    color: #0A2463;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9em;
    position: absolute;
    left: 0;
    top: 2px;
}

.page-download__download-steps li strong {
    color: #0A2463;
}

.page-download__download-image-container {
    text-align: center;
    margin-top: 60px;
}

.page-download__download-methods-image {
    width: 600px; /* Example size, adjust as needed */
    height: 450px; /* Example size, adjust as needed */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-download__note-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-download__note-item:hover {
    transform: translateY(-5px);
}

.page-download__note-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__note-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.7;
}

.page-download__security-image-container {
    text-align: center;
    margin-top: 60px;
}

.page-download__security-image {
    width: 400px; /* Example size, adjust as needed */
    height: 300px; /* Example size, adjust as needed */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-download__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #0A2463;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
    background-color: #f0f0f0;
}

.page-download__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: #E3B23C;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-download__faq-item[open] .page-download__faq-toggle {
    transform: rotate(45deg);
}

.page-download__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-download__faq-item[open] .page-download__faq-answer {
    max-height: 500px; /* Arbitrary large value to allow content to expand */
    padding-top: 15px;
}

.page-download__cta-final-section {
    background-color: #0A2463;
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.page-download__cta-final-section .page-download__section-title {
    color: #E3B23C;
    font-size: 3em;
    margin-bottom: 25px;
}

.page-download__cta-final-section .page-download__section-intro {
    color: #f0f0f0;
    font-size: 1.3em;
    margin-bottom: 50px;
}

.page-download__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    min-width: 300px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: 2.8em;
    }
    .page-download__section-title {
        font-size: 2.4em;
    }
    .page-download__benefit-image {
        width: 220px;
        height: 165px;
    }
    .page-download__download-methods-image,
    .page-download__security-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-download__hero-section {
        padding-top: var(--header-offset, 80px);
        padding-bottom: 60px;
    }
    .page-download__hero-title {
        font-size: 2.2em;
    }
    .page-download__hero-description {
        font-size: 1em;
    }
    .page-download__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-download__button {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-download__benefits-section, 
    .page-download__how-to-download-section, 
    .page-download__notes-section, 
    .page-download__faq-section, 
.page-download__cta-final-section {
        padding: 60px 0;
    }
    .page-download__section-title {
        font-size: 2em;
    }
    .page-download__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-download__benefit-card {
        padding: 25px;
    }
    .page-download__benefit-image {
        width: 200px; /* Min size */
        height: 150px; /* Min size */
    }
    .page-download__download-platform {
        padding: 30px;
    }
    .page-download__platform-title {
        font-size: 1.8em;
    }
    .page-download__download-steps li {
        font-size: 1em;
        padding-left: 30px;
    }
    .page-download__download-steps li::before {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
    .page-download__notes-grid {
        grid-template-columns: 1fr;
    }
    .page-download__note-title {
        font-size: 1.5em;
    }
    .page-download__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-download__faq-toggle {
        font-size: 1.3em;
    }
    .page-download__faq-answer {
        padding: 0 20px 18px 20px;
    }
    .page-download__cta-final-section {
        padding: 80px 0;
    }
    .page-download__cta-final-section .page-download__section-title {
        font-size: 2.5em;
    }
    .page-download__cta-final-section .page-download__section-intro {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    .page-download__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
        min-width: unset;
        width: 100%;
        max-width: 280px;
    }
    .page-download__hero-image-container {
        opacity: 0.1;
    }
    /* Ensure all content area images are responsive and not smaller than 200px */
    .page-download img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min- /* Adjust min-height as needed to maintain aspect ratio with min-width */
    }
    .page-download__download-methods-image, .page-download__security-image, .page-download__benefit-image {
        min-width: 200px;
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .page-download__hero-title {
        font-size: 1.8em;
    }
    .page-download__section-title {
        font-size: 1.6em;
    }
    .page-download__platform-title {
        font-size: 1.6em;
    }
    .page-download__button--primary, .page-download__button--secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-download__cta-final-section .page-download__section-title {
        font-size: 2em;
    }
    .page-download__cta-final-section .page-download__section-intro {
        font-size: 1em;
    }
    .page-download__button--large {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-download__benefit-image {
        width: 200px;
        height: 150px;
    }
}