/* Shared CSS */ :root { --primary-color: #003366; --accent-color: #FFCC00; --text-light: #f0f0f0; --text-dark: #333; --bg-dark: #1a1a1a; --bg-light: #ffffff; } body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; box-sizing: border-box; line-height: 1.6; color: var(--text-dark); } .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; } /* Header Styles */ .site-header { background-color: var(--primary-color); padding: 15px 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); color: var(--text-light); } .site-header .container { display: flex; justify-content: space-between; align-items: center; } .site-header .logo { font-size: 2.5em; font-weight: bold; color: var(--accent-color); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s ease; } .site-header .logo:hover { color: #fff; } .main-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; } .main-nav .nav-list li a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 1.05em; padding: 5px 0; position: relative; transition: color 0.3s ease; } .main-nav .nav-list li a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; } .main-nav .nav-list li a:hover::after, .main-nav .nav-list li a.active::after { width: 100%; } .main-nav .nav-list li a:hover, .main-nav .nav-list li a.active { color: var(--accent-color); } .hamburger-menu { display: none; /* Hidden on desktop */ background: none; border: none; cursor: pointer; padding: 0; width: 30px; height: 24px; position: relative; z-index: 100; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--accent-color); margin-bottom: 5px; transition: all 0.3s ease; } .hamburger-menu span:last-child { margin-bottom: 0; } /* Footer Styles */ .site-footer { background-color: var(--primary-color); color: var(--text-light); padding: 40px 0 20px; margin-top: 50px; font-size: 0.95em; } .site-footer h3 { color: var(--accent-color); font-size: 1.4em; margin-bottom: 20px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; } .site-footer a { color: var(--text-light); text-decoration: none; transition: color 0.3s ease; } .site-footer a:hover { color: var(--accent-color); } .footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; gap: 30px; } .footer-col { flex: 1; min-width: 280px; /* Adjust as needed */ } .footer-col p { margin-bottom: 10px; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 8px; } .footer-col .read-more, .footer-col .contact-button { display: inline-block; background-color: var(--accent-color); color: var(--primary-color); padding: 8px 15px; border-radius: 5px; margin-top: 10px; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; } .footer-col .read-more:hover, .footer-col .contact-button:hover { background-color: #fff; color: var(--primary-color); } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; } .footer-bottom .copyright { margin: 0; font-size: 0.9em; color: rgba(255, 255, 255, 0.7); } /* Responsive Styles */ @media (max-width: 768px) { .site-header .container { flex-wrap: wrap; justify-content: center; position: relative; } .site-header .logo { margin-bottom: 15px; width: 100%; text-align: center; } .main-nav { width: 100%; order: 1; /* Puts nav below logo */ } .hamburger-menu { display: block; /* Show hamburger on mobile */ position: absolute; right: 15px; top: 25px; /* Adjust as needed */ } .main-nav .nav-list { flex-direction: column; background-color: var(--primary-color); position: absolute; top: 80px; /* Below the header content */ left: 0; width: 100%; padding: 20px 0; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); display: none; /* Hidden by default */ z-index: 99; text-align: center; } .main-nav .nav-list.active { display: flex; /* Show when active */ } .main-nav .nav-list li { margin-bottom: 15px; } .main-nav .nav-list li:last-child { margin-bottom: 0; } .main-nav .nav-list li a { font-size: 1.2em; padding: 10px 0; display: block; } /* Hamburger animation */ .hamburger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.open span:nth-child(2) { opacity: 0; } .hamburger-menu.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .footer-columns { flex-direction: column; align-items: center; } .footer-col { text-align: center; margin-bottom: 30px; min-width: unset; width: 100%; } .footer-col h3 { border-bottom: none; padding-bottom: 0; margin-bottom: 10px; } .footer-col ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .footer-col ul li { margin-bottom: 0; } .footer-col ul li a { padding: 5px 10px; border-radius: 3px; background-color: rgba(255, 255, 255, 0.1); } .footer-col ul li a:hover { background-color: var(--accent-color); color: var(--primary-color); } } @media (max-width: 480px) { .site-header .logo { font-size: 2em; } .main-nav .nav-list { top: 70px; /* Adjust for smaller logo/header height */ } .hamburger-menu { top: 20px; } }