/* Basic Resets and Body Styles */
body {
    font-family: Arial, sans-serif; /* A clean, readable font */
    margin: 0; /* Remove default body margin */
    padding: 0; /* Remove default body padding */
    background-color: #f4f7f6; /* Light background color */
    color: #333; /* Dark gray text color */
    line-height: 1.6; /* Improve readability of text */
}

/* Header Styles */
header {
    background-color: #007bff; /* A nice blue for the header */
    color: white; /* White text for contrast */
    padding: 1.5rem 0; /* Top/bottom padding */
    text-align: center; /* Center the text */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header h1 {
    margin: 0; /* Remove default margin for h1 */
    font-size: 3.2em; /* Larger font size for the main title */
}

header p {
    font-size: 1.1em; /* Slightly larger font for the tagline */
    margin-top: 0.5rem;
}

/* Navigation Styles */
nav {
    background-color: #0056b3; /* A darker blue for navigation */
    padding: 0.8rem 0;
    text-align: center;
}

nav ul {
    display: flex;
    flex-wrap: wrap;   /* Allows items to wrap to the next line */
    justify-content: center; /* Optional: centers the nav items */
    gap: 1em; /* Optional: adds space between items */
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    margin: 0.5em 0;
}

nav ul li a {
    color: white; /* White text for navigation links */
    text-decoration: none; /* Remove underline from links */
    font-weight: bold; /* Make links bold */
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease; /* Smooth transition on hover */
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #004085; /* Darker blue on hover/focus */
    border-radius: 4px; /* Slightly rounded corners on hover */
}

/* Main Content Styles */
main {
    max-width: 1000px; /* Limit content width for readability */
    margin: 20px auto; /* Center the main content with top/bottom margin */
    padding: 20px;
    background-color: white; /* White background for content sections */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Lighter shadow for content */
}

.hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background-color: #e9f0f8; /* Light blue background for hero section */
    border-radius: 8px;
}

.hero h2 {
    color: #0056b3; /* Blue heading */
    font-size: 2.2em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 20px auto; /* Center paragraph and add margin below */
}

.hero img {
    max-width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Light separator between sections */
}

.content-section:last-child {
    border-bottom: none; /* No border for the last section */
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-section h3 {
    color: #007bff; /* Blue heading for content sections */
    font-size: 1.8em;
    margin-bottom: 15px;
}

.content-section ul {
    list-style-type: disc; /* Default bullet points */
    margin-left: 20px; /* Indent list items */
}

.content-section li {
    margin-bottom: 8px;
}

/* Call to Action Section */
.call-to-action {
    text-align: center;
    background-color: #d1ecf1; /* Light cyan background */
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.call-to-action h3 {
    color: #0c5460; /* Darker cyan heading */
    font-size: 2em;
    margin-bottom: 15px;
}

.call-to-action p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.button {
    display: inline-block; /* Allows padding and margin */
    background-color: #28a745; /* Green button */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px); /* Slight lift effect */
}


/* Footer Styles */
footer {
    background-color: #343a40; /* Dark gray for the footer */
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 40px; /* Space above the footer */
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #8c8c8c; /* Lighter gray for footer links */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white; /* White on hover */
}

/* Responsive adjustments (basic) */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column; /* Stack navigation items vertically on small screens */
    }

    nav ul li {
        margin: 10px 0; /* Add vertical spacing */
    }

    main {
        margin: 15px; /* Reduce side margin on smaller screens */
        padding: 15px;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .content-section h3 {
        font-size: 1.5em;
    }

    .call-to-action h3 {
        font-size: 1.7em;
    }
}

/* Add to your style.css */

.sheet-embed {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff; /* White background for the iframe container */
    border: 1px solid #ddd; /* Light border around the embedded sheet */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures content stays within rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* A bit more prominent shadow */
}

.sheet-embed iframe {
    display: block; /* Removes any extra space below the iframe */
}

/* You might want to adjust the height of the iframes for responsiveness */
@media (max-width: 768px) {
    .sheet-embed iframe {
        height: 400px; /* Adjust height for smaller screens if needed */
    }
}

.card-image {
    width: 300px;   /* or any size you want */
    height: auto;   /* keeps aspect ratio */
}

.readable-paragraph {
    font-size: x-large;
    line-height: 2.1;
    max-width: 700px;
    margin: 1.5em auto;
    padding: 1em;
    text-align: left;
}

/* Add this to your style.css */

.video-container {
    position: relative; /* Establish a positioning context for the iframe */
    max-width: 800px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (height / width = 9/16 = 0.5625) */
    height: 0; /* Remove height from the container itself */
    overflow: hidden; /* Hide anything that overflows */
    background-color: #000; /* Optional: Black background while loading/if no video */
    margin: 20px auto; /* Add some margin above/below the video */
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Optional: Shadow */
}

.video-container iframe {
    position: absolute; /* Position the iframe absolutely within the container */
    top: 0;
    left: 0;
    width: 100%; /* Make the iframe fill the container's width */
    height: 100%; /* Make the iframe fill the container's height */
    border: 0; /* Remove any potential default border */
}

/* Ensure headings in video section match other content sections */
.video-section h2 {
    color: #007bff; /* Match blue heading from content-section */
    font-size: 2.2em; /* Match font size from hero section h2, or adjust as needed */
    text-align: center; /* Center the heading if you like */
}

.video-section p {
    text-align: center; /* Center text if you like */
    max-width: 700px;
    margin: 0 auto 20px auto;
}
