/* The basics for all .css codes */

@font-face { 
  font-family: Arial; 
} 

html {
  height: auto;
  background-color: #fefefe;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing:border-box;
}

body {
  font: normal 100% Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 20px;
  background-color: #ffffff;
}

/* HTML5 elements as block */
article, aside, figure, footer, header, hgroup, nav, section { 
  display: block;
}

/* For all paragraphs */
p {
  padding: 0 0 10px 0;
  color: #000000;
  line-height: 1.7em;
  font-size: 110%;
}

/* For all headers  */
h1, h2, h3, h4, h5, h6 {
  font-family: 'News Cycle', Arial, sans-serif;
  color: #333; /* Dark color for headers */
}

h2 {
  font: bold 165% 'News Cycle', Arial, sans-serif;
}

h3 {
  font: bold 130% 'News Cycle', Arial, sans-serif;
}

h4 {
  margin: 0;
  padding: 0;
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #000000;
  line-height: 1.5em;
  list-style-type: square;
}

h5 {
  font-size: 1.3em;
  font-weight: bold;
  color: #007512;
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase; /* Optional: Makes text all caps */
}


/* ul is unordered lists and ol is ordered lists */

/* List and list items styles for better readability */
ul {
  margin-left: 20px;
  list-style-type: square; /* Square bullet style */
}

ul li {
  font-size: 16px; /* Slightly smaller font size for list items */
  color: #333; /* Darker color for list items */
}

ol {
  margin: 8px 0 22px 20px;
}

ol li {
  margin: 0 0 11px 0;
}

/* For all parts of the html website */
#main, header, #banner, #menubar, #site_content, footer, #content_grey, nav {
  margin-left: auto; 
  margin-right: auto;
}

#main {
  background: #ffffff ;
}

header { 
  text-align: center;
  background-color: white;

}

/* For the banner at the top of the webpage */
.banner-container {
  width: auto; /* Full page width */
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  height: 450px; /* Set a fixed height for the banner container */
}

.banner-img {
  width: 100%; /* Change the width to make the banner smaller */
  height: auto; /* Ensure it scales proportionally */
}

#banner {
  text-align: center;
  background-color: rgb(255, 255, 255)
}
/* Close banner CSS */



/* Navigation Bar underneath banner */
.navbar {
  overflow: hidden;
  background-color: #0077c3;
  display: flex;
  flex-wrap:wrap;
  justify-content: space-around;
  padding: 4px 4px; 
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #035e97;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Highlight the current page link */
/* Style for regular active links */
.navbar a.active {
  background-color: #035e97; /* Slightly darker shade for current page */
  color: white; /* Ensure text remains visible */
}

/* Style for active dropdown buttons */
.dropdown .dropbtn.active {
  background-color: #035e97; /* Slightly darker shade for current page */
  color: white; /* Ensure text remains visible */
}

/*End of Navigation Bar CSS*/
/* Container for the Contact Form */
.contact-container {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;      /* Center iframe vertically */
  flex-direction: column;   /* Ensure content is stacked */

}

/* Heading Style */
h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

/* Paragraph Style */
.contact-container p {
  font-size: 1.2rem;
  color: #303030;
  width: 80%;
  margin-bottom: 30px;
}

/* Iframe Style for Form */
iframe {
  width: 100%;
  max-width: 640px;
  height: 907px;
  border: none;
  border-radius: 8px;
  justify-content: center;
}

footer {
  width: 100%;
  margin-top: auto;
  max-width: 1600px;
  background: #007F3E; /* Dark green background */
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
}

.footer-container {
  max-width: 1600px; /* Controls width */
  margin: 0 auto; /* Center-aligns the footer */
  margin-bottom: 10px;
}

.footer-links {
  margin-bottom: 10px; /* Space between links and copyright */
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.footer-links a:hover {
  text-decoration: underline; /* Hover effect */
}

footer p {
  font-size: 18px;
  margin-top: 10px;
}

/* Large screens - up to 1600px */
@media screen and (min-width: 1600px) {
  body {
    background-color: #ffffff; /* Clean background for larger screens */
  }

  #main {
    max-width: 1600px; /* Restrict content width */
    margin: 0 auto;

  }

  .navbar {
    padding: 5px; /* Balanced padding */
  }




  .contact-form {
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }

  .contact-details {
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }

  .secondary-header h1 {
    font-size: 80px; /* Larger header size for impact */
  }

  footer {
    max-width: 1600px;
    margin: 0 auto;
  }
}

/* Small screens - phones */
@media screen and (max-width: 768px) {
  body {
    background-color: #f9f9f9; /* Subtle background color */
  }

  #main {
    max-width: 768px;
    margin: 0 auto;
  }

  .navbar {
    flex-direction: column; /* Stack navbar links vertically */
    padding: 8px; /* Adjust padding */
  }

  .contact-container {
    display: flex;
    flex-direction: column; /* Single-column layout */
    gap: 20px; /* Smaller spacing between sections */
    padding: 15px;
  }

  .contact-form {
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }

  .contact-details {
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }

  .secondary-header h1 {
    font-size: 40px; /* Scale down header size */
  }

  footer {
    max-width: 768px;
    margin: 0 auto;
    font-size: 14px; /* Smaller footer text */
  }

  .footer-links a {
    font-size: 14px; /* Adjust font size for smaller links */
  }
}
