/* style/resources-apk-installation-guide.css */

/* Base styles for the page content */
.page-resources-apk-installation-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text color for assumed light body background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-resources-apk-installation-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #F8F8F8; /* Light background for hero */
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    min-height: 60vh;
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-apk-installation-guide__hero-content {
    max-width: 900px;
    z-index: 10;
    margin-bottom: 30px;
}

.page-resources-apk-installation-guide__hero-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-apk-installation-guide__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-resources-apk-installation-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

/* General Section Styles */
.page-resources-apk-installation-guide__section {
    padding: 60px 20px;
    border-bottom: 1px solid #EEEEEE;
    background-color: #FFFFFF;
}

.page-resources-apk-installation-guide__section:last-of-type {
    border-bottom: none;
}

.page-resources-apk-installation-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-resources-apk-installation-guide__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-apk-installation-guide__sub-title {
    font-size: 1.6em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-apk-installation-guide__paragraph,
.page-resources-apk-installation-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

.page-resources-apk-installation-guide__highlight {
    font-weight: bold;
    color: #26A9E0; /* Highlight important keywords */
}

.page-resources-apk-installation-guide__link {
    color: #26A9E0;
    text-decoration: underline;
}

/* Buttons */
.page-resources-apk-installation-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 30px;
}

.page-resources-apk-installation-guide__cta-buttons--center {
    justify-content: center;
}

.page-resources-apk-installation-guide__btn-primary,
.page-resources-apk-installation-guide__btn-secondary,
.page-resources-apk-installation-guide__download-button {
    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;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-apk-installation-guide__btn-primary,
.page-resources-apk-installation-guide__download-button {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-resources-apk-installation-guide__btn-primary:hover,
.page-resources-apk-installation-guide__download-button:hover {
    background-color: #1F8CC0;
    border-color: #1F8CC0;
}

.page-resources-apk-installation-guide__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-apk-installation-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Image styles */
.page-resources-apk-installation-guide__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* List styles */
.page-resources-apk-installation-guide__feature-list,
.page-resources-apk-installation-guide__security-list,
.page-resources-apk-installation-guide__ordered-list,
.page-resources-apk-installation-guide__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources-apk-installation-guide__feature-item,
.page-resources-apk-installation-guide__security-item,
.page-resources-apk-installation-guide__list-item,
.page-resources-apk-installation-guide__step-item {
    background-color: #F9F9F9;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333333;
}

.page-resources-apk-installation-guide__ordered-list .page-resources-apk-installation-guide__list-item {
    counter-increment: list-counter;
    position: relative;
    padding-left: 40px;
}

.page-resources-apk-installation-guide__ordered-list .page-resources-apk-installation-guide__list-item::before {
    content: counter(list-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #26A9E0;
    color: #FFFFFF;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-resources-apk-installation-guide__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-resources-apk-installation-guide__security-sub-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

/* Features Grid */
.page-resources-apk-installation-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-apk-installation-guide__feature-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-resources-apk-installation-guide__feature-card:hover {
    transform: translateY(-5px);
}

.page-resources-apk-installation-guide__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-apk-installation-guide__card-description {
    color: #555555;
    font-size: 1em;
}

/* FAQ Section */
.page-resources-apk-installation-guide__faq-list {
    margin-top: 40px;
}

.page-resources-apk-installation-guide__faq-item {
    background-color: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-apk-installation-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    transition: background-color 0.3s ease;
}

.page-resources-apk-installation-guide__faq-question:hover {
    background-color: #F0F0F0;
}

.page-resources-apk-installation-guide__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
    flex-grow: 1;
}

.page-resources-apk-installation-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-resources-apk-installation-guide__faq-item.active .page-resources-apk-installation-guide__faq-toggle {
    transform: rotate(45deg); /* For '-' visual */
}

.page-resources-apk-installation-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #F9F9F9;
    color: #555555;
}

.page-resources-apk-installation-guide__faq-item.active .page-resources-apk-installation-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value for expansion */
    padding: 15px 25px;
}

/* Conclusion Section */
.page-resources-apk-installation-guide__conclusion {
    text-align: center;
    background-color: #F0F8FF; /* Lighter background for conclusion */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-apk-installation-guide__hero-title {
        font-size: 2.5em;
    }

    .page-resources-apk-installation-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-apk-installation-guide__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
    }

    .page-resources-apk-installation-guide__hero-title {
        font-size: 2em;
    }

    .page-resources-apk-installation-guide__hero-description {
        font-size: 1em;
    }
}