/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1.5rem 0;
  z-index: 100;
}
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }
  .nav-links li a {
    font-size: 1.1rem;
    padding: 1rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .nav-flex {
    flex-wrap: wrap;
    min-width: 0;
  }
  .navbar {
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
}
/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--card);
  box-shadow: var(--shadow);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.95rem;
  }
  .logo {
    font-size: 1.1rem;
  }
}

/* Logo in header */
.logo-header {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
/*
  SwiftWebsite Stylesheet
  Professional, clean, and modern. Premium but approachable.
  Colour scheme: Navy, white, light grey, accent blue.
  Font: Inter (Google Fonts)
*/
:root {
  --primary: #1a2340;
  --secondary: #f5f7fa;
  --accent: #2d8cff;
  --text: #222;
  --muted: #6b7280;
  --card: #fff;
  --border: #e5e7eb;
  --shadow: 0 2px 8px rgba(30,40,90,0.06);
  --radius: 12px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--secondary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header.hero {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0 3rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85em 2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover {
  background: #1767b3;
}
section {
  padding: 3rem 0 2.5rem 0;
}
section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
}
.service-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  border: 1px solid var(--border);
}
.why-choose ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}
.why-choose li {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  border-left: 5px solid var(--accent);
}
.portfolio-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.portfolio-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  border: 1px solid var(--border);
}
.portfolio-img.placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #e5e7eb 60%, #c7d2fe 100%);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.pricing-table {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  border: 1px solid var(--border);
}
.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0 1.5rem 0;
}
.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1.2rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}
input, textarea {
  width: 100%;
  padding: 0.7em;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--secondary);
  color: var(--text);
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1rem;
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .service-list, .portfolio-list, .pricing-table {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .service-card, .portfolio-card, .pricing-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem 0.7rem;
    font-size: 1rem;
  }
  .contact-form {
    padding: 1.2rem 0.7rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 1em 1.5em;
    min-width: 120px;
    min-height: 44px;
  }
  .logo-header {
    font-size: 1.3rem;
  }
  .hero h1 {
    font-size: 1.2rem;
  }
  section h2 {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 0.5rem;
  }
  header.hero {
    padding: 1.5rem 0 1rem 0;
  }
  section {
    padding: 1.2rem 0 1rem 0;
  }
  .hero h1 {
    font-size: 1rem;
  }
  section h2 {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 0.95rem;
    padding: 0.8em 1.2em;
    min-width: 100px;
    min-height: 40px;
  }
  .service-card, .portfolio-card, .pricing-card {
    padding: 0.7rem 0.3rem;
    font-size: 0.95rem;
  }
  .contact-form {
    padding: 0.7rem 0.3rem;
  }
  .navbar {
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .nav-links.open {
    top: 56px;
  }
}
}
