/* General section spacing */
section {
    padding: 40px 20px;
}

/* Flex container for hero and services */
.hero-container,
.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Text background only */
.hero-text {
    max-width: 500px;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.7); /* perfect readability */
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    font-size: larger;
}

.side-image {
    width: 300px; /* set a consistent width */
    height: auto;
    border-radius: 10px;
}

.hero-text {
    max-width: 500px;
    margin-top: 10px;
}


/* Alternate layout for reverse sections */
.reverse {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .side-image {
        width: 80%;
    }
}

/* Navigation horizontal layout */
.nav-list {
    list-style: none; /* remove bullets */
    display: flex; /* horizontal layout */
    justify-content: center; /*center */
    gap: 15px; /* space between buttons */
    padding: 0;
    margin: 0;
    flex-wrap: wrap; /* allow buttons to wrap on small screens */
}

.nav-list li button {
    padding: 10px 20px;
    background-color: #0073e6; /* adjust color as needed */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.nav-list li button:hover {
    background-color: #005bb5; /* hover effect */
}

/* Content container for About and Contact sections */
.content-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* stack on small screens */
}

.text-block {
    max-width: 500px;
}


/* Responsive for small screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        text-align: center;
    }

    .side-image {
        width: 80%;
    }
}


body {
    background-image: url('https://img.freepik.com/free-vector/gradient-black-technology-background_23-2149209060.jpg?semt=ais_hybrid&w=740&q=80');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
}

body {
    color: #ffffff; /* white text for all sections */
    font-family: Arial, sans-serif;
}

.text-block {
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

/* Highlights section */
.highlight-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    text-align: center;
}

.highlight-item img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Hero button styling (already in nav-list) */
.hero-text button {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero-text button:hover {
    background-color: #005bb5;
}

/* Responsive for highlights */
@media (max-width: 768px) {
    .highlight-grid {
        flex-direction: column;
        align-items: center;
    }
}


.waiver-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(255,255,255,0.95);
    border-radius: 10px;
    color: #000;
    font-family: Arial, sans-serif;
}

.waiver-container h1, .waiver-container h2 {
    text-align: center;
}

.waiver-container ol {
    margin-left: 20px;
}

.waiver-container hr {
    margin: 40px 0;
}

.iframe-container {
    display: flex;
    justify-content: center; /* centers horizontally */
    margin: 20px 0;          /* optional spacing */
}

.iframe-container iframe {
    width: 100%;
    max-width: 800px;  /* keeps it from being too wide */
    height: 1700px;    /* adjust as needed to fit the form */
    border: none;
}

.social-button {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.social-button:hover {
    background-color: #005bb5;
}

#contact .text-block {
    background-color: rgb(68, 68, 68);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: xx-large;
    line-height: 1.6; /* adds spacing between lines */
}

#about .text-block {
    background-color: rgb(68, 68, 68); /* full opacity to block background distractions */
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.3rem;  /* slightly bigger text */
    line-height: 1.8;   /* more spacing for readability */
    max-width: 600px;   /* ensures it doesn’t stretch too wide */
}

#faq {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgb(68, 68, 68); /* solid dark background */
    border-radius: 10px;
    color: #ffffff; /* white text */
    font-weight: bold;
    font-size: 1.2rem; /* larger font for easier reading */
    line-height: 1.8; /* spacing between lines */
}

#faq h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 25px; /* spacing between FAQ items */
}

.faq-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1.2rem;
    margin-left: 10px; /* slight indentation for readability */
}

nav {
    width: 100%;
    text-align: center;
}

.policy-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgb(68, 68, 68); /* matches About/Contact/Faq */
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: bold;
}

.policy-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.policy-container h2 {
    margin-top: 30px;
    font-size: 1.6rem;
}

.policy-container hr {
    border: 0;
    height: 1px;
    background: #ffffff;
    margin: 30px 0;
}

/* Services page text readability */
#services .service-text {
    background-color: rgba(0, 0, 0, 0.6);  /* semi-transparent dark overlay */
    backdrop-filter: blur(5px);            /* soft blur to separate text from background */
    padding: 20px 25px;                     /* comfortable spacing */
    border-radius: 12px;                    /* rounded corners */
    color: #ffffff;                         /* white text */
    font-size: 1.4rem;                      /* slightly larger for readability */
    font-weight: bold;
    line-height: 1.8;                       /* space between lines */
    max-width: 600px;                        /* don’t let text stretch too wide */
    text-align: center;                      /* center text */
    margin: 0 auto;                          /* horizontally center the block */
}

/* Optional: add spacing between the service-text and images on small screens */
@media (max-width: 768px) {
    #services .service-text {
        margin-top: 15px;
    }
}
