/* Homepage background */
body#top {
    background-image: url('/user/themes/quark/images/background.png');
    background-size: cover;        /* make the image cover the full page */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;  /* optional: keeps background fixed when scrolling */
}

/* Make all text inside section-box beige on dark background */
.section-box {
    color: #E8DCC2; /* soft beige for body text */
}

/* Make headings inside section-box brighter beige-gold */
.section-box h1,
.section-box h2,
.section-box h3,
.section-box h4,
.section-box h5,
.section-box h6 {
    color: #F2E4C7; /* bright beige-gold for headings */
}

/* Optional: links inside the box */
.section-box a {
    color: #FFDDAA; /* subtle gold for links */
    text-decoration: underline;
}

.section-box a:hover {
    color: #FFEFC0;
}
 
.section-box {
    background: rgba(0, 0, 0, 0.45);
    padding: 45px 40px;
    border-radius: 20px;
    border: 1px solid rgba(124,199,255,0.28);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Wrapper */
.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Section title + subtitle */
.section-title {
    font-size: 42px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(124,199,255,0.5);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #dcdcdc;
    margin-bottom: 45px;
    text-shadow: 0 0 6px rgba(124,199,255,0.3);
}

/* Grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Service cards */
.service-card {
    background: linear-gradient(145deg, rgba(30,30,60,0.8), rgba(60,30,60,0.85));
    border-radius: 18px;
    padding: 35px 25px;
    border: 1px solid rgba(124,199,255,0.25);
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 8px rgba(124,199,255,0.1);
}

/* Card title + paragraph */
.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #7DC9FF;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #e0e0e0;
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-10px);
    border-color: #7dc9ff;
    box-shadow: 0 0 25px rgba(124,199,255,0.45), 0 0 50px rgba(124,199,255,0.25);
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    animation: revealAnim 1s ease forwards;
    animation-play-state: paused;
}

@keyframes revealAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
