/* ====================================
   1. BASE STYLES & RESET
   ==================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6; /* Very light gray background */
    color: #333; /* Dark gray text */
}

/* Ensure main content is centered on large screens */
main {
    max-width: 1200px;
    margin: 0 auto;
}

/* ====================================
   2. HEADER & NAVIGATION
   ==================================== */
header {
    background-color: #ffffff;
    border-bottom: 2px solid #007bff; /* Primary color border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #007bff; /* Primary brand color */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0056b3; /* Darker primary color on hover */
}

/* ====================================
   3. HERO SECTION & IFRAME CONTAINER
   ==================================== */
.hero {
    background-color: #e6f0ff; /* Light blue/primary accent */
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Styles for the container holding the Round Sky form */
.iframe-container {
    background-color: white;
    max-width: 450px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.iframe-container h2 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* ====================================
   4. FEATURES SECTION
   ==================================== */
.features {
    padding: 60px 20px;
    text-align: center;
}

.features h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    flex-basis: calc(50% - 15px); 
    max-width: 350px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* ====================================
   5. COMPLIANCE & DISCLOSURE
   ==================================== */
#disclosure {
    /* Styles extracted from the inline HTML for cleaner code */
    padding: 30px 20px; 
    font-size: 0.8rem; 
    line-height: 1.6; 
    color: #666; 
    background-color: #f0f0f0; /* Light gray background to distinguish from hero */
    border-top: 2px solid #ddd;
    text-align: left;
    margin-top: 40px;
}

#disclosure h3 {
    font-weight: bold; 
    margin-bottom: 15px; 
    color: #333;
}

#disclosure p {
    margin-bottom: 10px; /* Space between paragraphs */
}


/* ====================================
   6. FOOTER
   ==================================== */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid white;
}

footer a:hover {
    border-bottom: 1px solid transparent;
}

/* ====================================
   7. MEDIA QUERIES (Responsiveness)
   ==================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-basis: 100%; /* Stack features vertically on smaller screens */
        max-width: 100%;
    }
}