/* style/x-s.css */
.page-x-s {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark gray for main text, good contrast on light backgrounds */
    background-color: #f8f8f8; /* Light background for the page */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-x-s .page-content {
    flex-grow: 1;
}

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

.page-x-s__hero-section {
    background: linear-gradient(135deg, #FFD700, #00008B); /* Gold to Dark Blue gradient */
    color: #FFFFFF; /* White text on dark gradient background */
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s__hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-x-s__hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-x-s__section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-x-s__section h2 {
    color: #00008B; /* Dark blue for main headings */
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #FFD700; /* Gold underline */
    padding-bottom: 15px;
    display: block; /* Changed to block for full width underline effect */
    width: fit-content; /* Adjust width to content */
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.page-x-s__section h3 {
    color: #FFD700; /* Gold for subheadings */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-x-s__section p {
    margin-bottom: 15px;
    color: #555555;
}

.page-x-s__section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #555555;
}

.page-x-s__section ul li {
    margin-bottom: 8px;
}

.page-x-s__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block; /* Center images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-x-s__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin: 10px 10px 10px 0;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-x-s__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #00008B; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-x-s__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-x-s__btn--secondary {
    background-color: #00008B; /* Dark blue background */
    color: #FFD700; /* Gold text */
    border: 2px solid #00008B;
}

.page-x-s__btn--secondary:hover {
    background-color: #000066;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-x-s__btn--large {
    font-size: 1.3em;
    padding: 15px 35px;
}

/* Links within text */
.page-x-s p a, .page-x-s li a {
    color: #00008B; /* Dark blue for links in text */
    text-decoration: underline;
    font-weight: bold;
}

.page-x-s p a:hover, .page-x-s li a:hover {
    color: #FFD700;
    text-decoration: none;
}

.page-x-s__cta-section {
    margin-top: 50px;
    padding: 60px 20px;
}

.page-x-s__cta-section h2 {
    color: #FFFFFF;
    border-bottom-color: #FFD700;
}

.page-x-s__cta-section p {
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-x-s__hero-section h1 {
        font-size: 2.5em;
    }
    .page-x-s__hero-section p {
        font-size: 1em;
    }
    .page-x-s__section h2 {
        font-size: 2em;
    }
    .page-x-s__section h3 {
        font-size: 1.5em;
    }
    .page-x-s__btn {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 8px 5px;
    }
    .page-x-s__btn--large {
        font-size: 1.1em;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .page-x-s__hero-section h1 {
        font-size: 2em;
    }
    .page-x-s__section h2 {
        font-size: 1.8em;
    }
    .page-x-s__section h3 {
        font-size: 1.3em;
    }
    .page-x-s__btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page-x-s__hero-section, .page-x-s__section, .page-x-s__cta-section {
        padding: 30px 15px;
    }
}