/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-x-s__hero-section {
    background: linear-gradient(135deg, #FFD700, #000080);
    color: #fff;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
}

.page-x-s__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-x-s__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__hero-title .page-x-s__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-x-s__hero-title .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #eee;
}

.page-x-s__hero-description .page-x-s__link {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__hero-description .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-x-s__btn--primary {
    background-color: #FFD700;
    color: #000080;
}

.page-x-s__btn--primary:hover {
    background-color: #e6c200;
    color: #00005a;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-x-s__hero-image {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    z-index: 1;
}

.page-x-s__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-x-s__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-x-s__section-title {
    font-size: 2.5em;
    color: #000080;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-x-s__section-title .page-x-s__link {
    color: #000080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-x-s__section-title .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s__section-description .page-x-s__link {
    color: #000080;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__section-description .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-x-s__grid-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-x-s__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s__grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s__item-title {
    font-size: 1.8em;
    color: #000080;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-x-s__item-text {
    color: #444;
    font-size: 1em;
}

.page-x-s__item-text .page-x-s__link {
    color: #000080;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__item-text .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: left;
}

.page-x-s__step-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-x-s__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s__step-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-x-s__step-text {
    color: #444;
    font-size: 1em;
}

.page-x-s__step-text .page-x-s__link {
    color: #000080;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__step-text .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-x-s__promo-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-x-s__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s__card-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-x-s__card-text {
    color: #444;
    font-size: 0.95em;
}

.page-x-s__card-text .page-x-s__link {
    color: #000080;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__card-text .page-x-s__link:hover {
    color: #FFD700;
}

.page-x-s__cta-promo {
    margin-top: 50px;
    background-color: #000080;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-x-s__cta-text {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
}

.page-x-s__cta-text .page-x-s__link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__cta-text .page-x-s__link:hover {
    color: #e6c200;
}

.page-x-s__btn--secondary {
    background-color: #FFD700;
    color: #000080;
    border: 2px solid #FFD700;
}

.page-x-s__btn--secondary:hover {
    background-color: #e6c200;
    color: #00005a;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-x-s__tips-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-x-s__tip-item {
    background-color: #fff;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-x-s__tip-title {
    font-size: 1.5em;
    color: #000080;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-x-s__tip-text {
    color: #555;
    font-size: 0.95em;
}

.page-x-s__tips-image {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s__tips-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-x-s__conclusion {
    background-color: #000080;
    color: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 80px;
}

.page-x-s__conclusion .page-x-s__section-title {
    color: #FFD700;
}

.page-x-s__conclusion .page-x-s__section-title .page-x-s__link {
    color: #FFD700;
    text-decoration: none;
}

.page-x-s__conclusion .page-x-s__section-title .page-x-s__link:hover {
    color: #fff;
}

.page-x-s__conclusion .page-x-s__section-description {
    color: #eee;
    margin-bottom: 30px;
}

.page-x-s__conclusion .page-x-s__section-description .page-x-s__link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-x-s__conclusion .page-x-s__section-description .page-x-s__link:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-x-s__hero-title {
        font-size: 2.8em;
    }
    .page-x-s__section-title {
        font-size: 2.2em;
    }
    .page-x-s__grid-item img, .page-x-s__step-item img, .page-x-s__promo-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-x-s__hero-section {
        padding: 60px 20px;
    }
    .page-x-s__hero-title {
        font-size: 2.2em;
    }
    .page-x-s__hero-description {
        font-size: 1em;
    }
    .page-x-s__section {
        margin: 40px auto;
    }
    .page-x-s__section-title {
        font-size: 1.8em;
    }
    .page-x-s__section-description {
        font-size: 0.95em;
    }
    .page-x-s__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-x-s__grid-container, .page-x-s__steps-container, .page-x-s__promos-grid {
        grid-template-columns: 1fr;
    }
    .page-x-s__grid-item, .page-x-s__step-item, .page-x-s__promo-card {
        padding: 20px;
    }
    .page-x-s__item-title, .page-x-s__step-title, .page-x-s__card-title, .page-x-s__tip-title {
        font-size: 1.4em;
    }
    .page-x-s__grid-item img, .page-x-s__step-item img, .page-x-s__promo-card img {
        height: 180px;
    }
    .page-x-s__cta-promo {
        padding: 20px;
    }
    .page-x-s__cta-text {
        font-size: 1em;
    }
    .page-x-s__tips-list {
        grid-template-columns: 1fr;
    }
    .page-x-s__conclusion {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .page-x-s__hero-section {
        padding: 40px 15px;
    }
    .page-x-s__hero-title {
        font-size: 1.8em;
    }
    .page-x-s__section-title {
        font-size: 1.5em;
    }
    .page-x-s__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-x-s__grid-item img, .page-x-s__step-item img, .page-x-s__promo-card img {
        height: 150px;
    }
    .page-x-s__item-title, .page-x-s__step-title, .page-x-s__card-title, .page-x-s__tip-title {
        font-size: 1.2em;
    }
    .page-x-s__item-text, .page-x-s__step-text, .page-x-s__card-text, .page-x-s__tip-text {
        font-size: 0.85em;
    }
}