@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --primary: #294766; 
  --accent: #f44336; 
  --muted: #666;
  --light: #f9f9f9;

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* ---------- HEADER ---------- */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- Topbar --- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
}

.topbar .contact-info a {
  font-weight: bold;
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
}

.topbar .social {
  display: flex;
  gap: 12px;
}

.topbar .social a {
  color: var(--primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.topbar .social a:hover {
  color: var(--accent);
}

/* --- Logo Bar --- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.logo-bar img {
  max-width: 200px;
  height: auto;
  width: 100%;
}

/* --- Navigation --- */
/* --- Navigation --- */
nav {
  background: var(--primary);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0;
  position: relative;
}

nav ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 30%;
  height: 40%;
  width: 1px;
  background: rgba(255, 255, 255, 0.6);
}

nav ul li a {
  display: block;
  padding: 14px 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

/* ✅ Red underline only for menu items, not search */
nav ul li:not(:last-child) a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav ul li:not(:last-child) a:hover::after {
  width: 100%;
}

/* ---------- MAIN CONTENT ---------- */
main {
  max-width: 1100px;
  margin: 20px 35px auto;
  padding: 30px 0 30px 0; /* No left/right padding */
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

h2, h3 {
  color: var(--primary);
  margin: 20px 0 10px;
}

p {
  margin-bottom: 15px;
  color: #5555558c;
}

.download {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin: 5px 0;
}

.download:hover {
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: #fff;
  margin-top: 40px;
  padding: 30px 40px 0; /* Increased side padding */
  font-size: 15px;      /* Slightly larger font */
}
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

footer h4 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-weight: 600;
}

footer p,
footer a,
footer strong,
footer em {
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.6;
  display: block;
  padding-bottom: 0;
  margin-bottom: 10px;
}

footer a:hover {
  text-decoration: underline;
}

footer .map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-size: 18px;
}

.footer-links i {
  font-size: 20px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablets */
@media (max-width: 992px) {
  h1 {
    font-size: 24px;
  }
  nav ul li a {
    padding: 12px 10px;
    font-size: 15px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .logo-bar img {
    max-width: 160px;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li:not(:last-child)::after {
    display: none;
  }
  main {
    padding: 20px 5vw;
  }
  footer {
    padding: 24px 7vw 0; /* More side margin on mobile */
    font-size: 14px;
  }
  footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  .topbar .contact-info a {
    font-size: 0.9rem;
  }
  nav ul li a {
    font-size: 14px;
    padding: 10px;
  }
  h1 {
    font-size: 20px;
  }
  footer {
    padding: 16px 4vw 0;
    font-size: 13px;
  }
  footer p, footer a {
    font-size: 13px;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  margin: 0 auto 0 10px;
}
.nav-toggle span {
  display: block;
  height: 4px;
  width: 28px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  nav {
    position: relative;
  }
  nav ul {
    display: none !important;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  nav ul.open {
    display: flex !important;
  }
  nav ul li {
    width: 100%;
    text-align: left;
  }
}
