/* Global Styles */
:root {
  --primary-color: #1a5f7a;
  --secondary-color: #f39c12;
  --text-color: #333;
  --background-color: #f4f4f4;
  --footer-color: #2c3e50;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 0;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  margin-top: -40px;
    padding-right: 100px;
    padding-left: 30%;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Search Box Styles */
.search-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-box input[type="text"] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.search-box button {
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-box button:hover {
  background-color: #e67e22;
}

/* Content Section Styles */
.content {
  padding: 4rem 0;
}

.main-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.main-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.main-content p {
  margin-bottom: 1rem;
}

.main-content ul,
.main-content ol {
  margin-bottom: 1rem;
  padding-left: 20px;
}

/* Footer Styles */
footer {
  background-color: var(--footer-color);
  color: #fff;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin-bottom: 1rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: var(--primary-color);
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
    padding-top: 20px;
    top: 100px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
    margin-top: -40px; 
    margin-bottom: 60px; 
    padding-left: 300px; 
  }
  

  .search-box form {
    flex-direction: column;
  }

  .search-box input[type="text"],
  .search-box button {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
