/* === VARIABLES & RESET === */
:root {
  --primary-blue: #0078d7;
  --dark-blue: #005fa3;
  --light-blue: #f0f8ff;
  --text-dark: #333;
  --text-medium: #444;
  --text-light: #666;
  --border-color: #e1e5e9;
  --background: #f4f4f4;
  --white: #fff;
  --transition: all 0.3s ease;
}

/* === BASE STYLES === */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #fdfdfd 0%, #f5f6f7 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 18px;
}

/* === TYPOGRAPHY === */
h1 {
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 2.5em;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  color: var(--primary-blue);
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 2em;
  font-weight: 500;
  line-height: 1.3;
}

h3 {
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.4;

p {
  color: var(--text-dark);
  font-size: 1.1em;
  line-height: 1.4;
}
}


/* === LAYOUT === */
main {
  flex: 1;
  padding: 40px 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #e1f5fe 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(225, 229, 233, 0.2);
  padding: 16px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.header-nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0 16px;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 6px;
}

.header-nav a:hover {
  color: var(--primary-blue);
  background-color: var(--light-blue);
}

.header-nav a.active {
  color: var(--white);
  background-color: var(--primary-blue);
}

/* === NAVIGATION DROPDOWN === */
.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.services-dropdown {
  position: relative;
  display: inline-block;
}

.services-btn {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0;
  font-weight: 500;
  transition: var(--transition);
  padding: 9px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.services-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.services-btn:hover {
  color: var(--primary-blue);
  background-color: rgba(0, 120, 215, 0.1);
  text-decoration: none;
}

.services-btn:hover::before {
  left: 100%;
}

.services-btn.active {
  color: var(--white);
  background-color: var(--primary-blue);
}

.arrow-down {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* Arrow rotation now controlled by JavaScript */

.services-dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  top: 100%;
  left: 0;
}

.services-dropdown-content a {
  color: var(--text-dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.services-dropdown-content a:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  text-decoration: none;
}

/* Removed hover behavior - now controlled by JavaScript */

/* === HAMBURGER MENU === */
.hamburger-menu {
  position: relative;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  box-sizing: border-box;
}

.hamburger-btn:hover {
  background-color: var(--light-blue);
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease-in-out;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-btn span:nth-child(1) {
  top: 12px;
}

.hamburger-btn span:nth-child(2) {
  top: 19px;
}

.hamburger-btn span:nth-child(3) {
  top: 26px;
}

.hamburger-btn.active span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* === HEADER NAVIGATION === */
.header-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex-direction: column;
  padding: 10px 0;
}

.header-nav.active {
  display: flex;
}

.header-nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0;
  font-weight: 500;
  transition: var(--transition);
  padding: 12px 20px;
  border-radius: 0;
}

.header-nav a:hover {
  color: var(--primary-blue);
  background-color: var(--light-blue);
}

.header-nav a.active {
  color: var(--white);
  background-color: var(--primary-blue);
}

/* Remove old dropdown styles */
.dropdown {
  display: none;
}

.dropdown-content {
  display: none;
}

/* === LIST STYLES === */

/* Main content lists: no bullets, consistent font size, margin between items */
main ul:not(.city-list):not(.footer-cities-list):not(.service-card ul) {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
main li:not(.city-list li):not(.footer-cities-list li):not(.service-card li) {
  list-style: none !important;
  margin-bottom: 10px !important;
  color: var(--text-dark) !important;
  line-height: 1.4 !important;
}

p {
  margin-bottom: 16px;
  line-height: 1.6;
}

ul {
  list-style: none !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}

li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Content lists with bullets - ONLY for service cards on homepage */
.service-card ul:not(.city-list):not(.footer-cities-list) {
  list-style: disc !important;
  margin: 0 0 20px 0 !important;
  padding-left: 20px !important;
}

.service-card li:not(.city-list li):not(.footer-cities-list li) {
  margin-bottom: 8px !important;
  line-height: 1.5;
  list-style: disc !important;
}

/* === FOOTER === */
.footer {
  background: #333;
  color: var(--white);
  padding: 32px 0 16px 0;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid transparent;
}

.footer-section a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary-blue);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  color: #ccc;
  font-size: 0.9em;
}

/* === FOOTER CITIES SECTION === */
.cities-served-section {
  margin-top: 30px;
  padding: 20px 20px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cities-served-section h4 {
  color: var(--white);
  margin-bottom: 15px;
  text-align: center;
}

.footer-cities-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 15px;
}

.footer-cities-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.footer-cities-list a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9em;
}

.footer-cities-list a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* === PROFILE IMAGES === */
.profile {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 4px solid var(--primary-blue);
}

.profile-large {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  margin: 32px auto 32px auto;
  display: block;
  border: 3px solid var(--primary-blue);
}

/* === PROJECT CARDS === */
.project-links {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 120, 215, 0.2);
  border-color: var(--primary-blue);
  text-decoration: none;
}

.project-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.project-card h3 {
  margin: 0 0 8px 0;
  color: var(--primary-blue);
  font-size: 1.1em;
}

.project-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9em;
  line-height: 1.4;
}

/* === CONTENT CARDS === */
.contact-card {
  margin-top: 48px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border-left: 4px solid var(--primary-blue);
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card h3 {
  margin: 0 0 12px 0;
  color: var(--primary-blue);
  font-size: 1.1em;
}

.contact-card a {
  color: var(--white);
  background-color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 6px;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 4px 8px 4px 0;
}

.contact-card a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.contact-card a:hover {
  background-color: rgba(0, 120, 215, 0.9);
  color: var(--white);
}

.contact-card a:hover::before {
  left: 100%;
}

/* === SPECIALIZED CONTENT === */
.bio {
  font-size: 1.1em;
  color: var(--text-medium);
  margin-bottom: 18px;
  text-align: left;
}

.about-content {
  text-align: left;
}

.contact-content,
.terms-content {
  text-align: left;
}

.contact-methods {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.contact-method h4 {
  color: var(--primary-blue);
  margin: 0 0 8px 0;
}

.contact-method p {
  margin: 4px 0 0 0;
  font-size: 0.9em;
  color: var(--text-light);
}

.terms-section {
  margin-bottom: 32px;
}

.terms-section h2 {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 8px;
}

.terms-content ul {
  margin: 12px 0 !important;
  padding-left: 24px !important;
  list-style: disc !important;
}

.terms-content li {
  margin-bottom: 8px !important;
  list-style: disc !important;
}

/* === HIDDEN ELEMENTS === */
.navigation {
  display: none;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-size: 1.5em;
}

.service-card p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card ul {
  margin-bottom: 20px !important;
  padding-left: 20px !important;
  list-style: disc !important;
}

.service-card li {
  margin-bottom: 8px !important;
  line-height: 1.5;
  list-style: disc !important;
}

.service-link {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.service-link:hover {
  background-color: rgba(0, 120, 215, 0.9);
  color: var(--white);
  text-decoration: none;
}

.service-link:hover::before {
  left: 100%;
}

/* === HOMEPAGE SPECIFIC STYLES === */
.profile {
  display: block;
  margin: 0 auto;
}

main h1,
main h2 {
  text-align: center;
}

/* === CITY LIST STYLES === */
.city-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 20px;
}

.city-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.city-list a, a {
  color: var(--primary-blue);
  text-decoration: none;
}

.city-list a:hover, a:hover {
  text-decoration: none;
  color: var(--dark-blue);
}

/* === SERVICES GRID === */
