/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility Improvements - Focus Styles */
:focus {
    outline: 3px solid #00A1E0; /* Blue outline for focusable elements */
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none; /* Remove focus outline for mouse users */
}

button:focus, input:focus, a:focus {
    border-color: #00A1E0; /* Add focus style for buttons, inputs, and links */
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000000; /* Black background */
    color: #F0F0F0; /* White primary text */
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #222;
    padding: 10px 0;
}

/* Navigation */
nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline-block; /* Inline navigation items */
    margin: 0 10px; /* Space between items */
}

nav ul li a {
    color: #F0F0F0;
    text-decoration: none;
    font-size: 16px;
}

/* Hover and Focus for Navigation Links */
nav ul li a:hover,
nav ul li a:focus {
    text-decoration: underline;
    color: #00A1E0; /* Accent color for hover and focus */
}

/* Contact Section */
.contact {
    padding: 40px 20px;
    background-color: #1e1e1e; /* Dark background for contact section */
    text-align: center;
}

.contact h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00A1E0; /* Accent color for the main heading */
}

.contact h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #00A1E0; /* Accent color for subheadings */
}

.contact p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Contact Info List */
.contact ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    display: inline-block;
}

.contact ul li {
    font-size: 16px;
    margin: 10px 0;
}

.contact a {
    color: #00A1E0; /* Accent color for links */
    text-decoration: none;
}

.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.contact-info {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #f0f0f0;
}

.contact-info li {
  margin: 10px 0;
}

/* Container for the iframe */
.iframe-container {
    width: 100%; /* Make sure it takes up full width */
    height: auto; /* Let the height adjust automatically */
    margin: 0 auto; /* Center align the container */
    padding: 0; /* Remove any padding */
    position: relative; /* Ensure it stays in normal document flow */
    display: block; /* Prevent flex/grid layout from affecting it */
    overflow: hidden; /* Prevent overflow */
}

/* Iframe itself */
.iframe-container iframe {
    width: 100%; /* Ensure iframe takes up the full width of the container */
    height: 100%; /* Make the iframe height adjust to container's height */
    border: none; /* Remove iframe borders */
    display: block; /* Prevent any extra space around iframe */
    max-width: 100%; /* Ensure iframe is responsive */
}

/* Make the iframe container responsive for mobile and desktop */
@media (max-width: 768px) {
    .iframe-container {
        height: 725px; /* Adjust height for mobile devices */
    }
}

@media (min-width: 769px) {
    .iframe-container {
        height: 650px; /* Increased height for larger screens */
    }
}


/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;  /* Adds space between the form elements */
    max-width: 500px; /* Optional: You can control the width of the form */
    margin: 0 auto; /* Centers the form on the page */
}

#contact-form label {
    font-weight: bold;
    margin-bottom: 5px; /* Adds space below the label */
    font-size: 18px; /* Increase font size */
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #45a049;
}

#contact-form input,
#contact-form textarea {
    width: 100%; /* Makes input fields and textarea full-width */
}

#contact-form textarea {
    resize: vertical; /* Allows resizing the textarea vertically */
    min-height: 150px;
}

/* Feedback Message */
#form-feedback {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

#form-feedback.success {
    color: #4CAF50; /* Green for success */
}

#form-feedback.error {
    color: #FF6347; /* Red for error */
}

/* Footer Styles */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer .container {
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 14px;
}
