/* Reset and base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}
/* CSS Variables for color palettes */
:root {
  --primary-color: #09e6bb;
  --secondary-color: #222e5c;
  --accent-color: #34b6a4;
  --bg-color: #f7fafb;
  --text-color: #222;
}
/* Elegant Blue palette */
body[data-theme='elegant-blue'] {
  --primary-color: #4169e1;
  --secondary-color: #191970;
  --accent-color: #ff6f61;
  --bg-color: #ffffff;
  --text-color: #333333;
}
/* Warm Neutrals palette */
body[data-theme='warm-neutrals'] {
  --primary-color: #d35400;
  --secondary-color: #8e4b27;
  --accent-color: #f39c12;
  --bg-color: #fff8e1;
  --text-color: #3e2723;
}
/* Modern Grayscale palette */
body[data-theme='modern-grayscale'] {
  --primary-color: #2e2e2e;
  --secondary-color: #757575;
  --accent-color: #2979ff;
  --bg-color: #fff;
  --text-color: #000;
}
/* Fresh Green palette */
body[data-theme='fresh-green'] {
  --primary-color: #2ecc71;
  --secondary-color: #145214;
  --accent-color: #a3e635;
  --bg-color: #ffffff;
  --text-color: #1f2937;
}

header {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.3rem;
}
.logo img {
  border-radius: 8px;
  width: 48px;
  height: auto;
}
.nav-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}
.nav-links li a:hover {
  color: var(--accent-color);
}
.nav-toggle,
.nav-toggle-label {
  display: none;
}
@media screen and (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: -100%;
    width: 180px;
    background: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    font-size: 1.9rem;
    color: white;
  }
}

/* Hero section */
.hero {
  padding: 6vw 2vw;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color) 85%);
  color: white;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.6rem;
  max-width: 650px;
}
.cta-btn {
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 0.9rem 2.4rem;
  border-radius: 7px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease-in-out;
}
.cta-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

main {
  max-width: 1080px;
  margin: 40px auto 80px;
  padding: 0 2rem;
}

section {
  margin-bottom: 48px;
}

section h2 {
  margin-bottom: 20px;
  font-size: 1.9rem;
  color: var(--secondary-color);
}

section ul {
  margin: 0;
  padding-left: 1.3rem;
}

section ul li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.testimonials blockquote {
  font-style: italic;
  border-left: 3px solid var(--accent-color);
  margin: 24px 0;
  padding-left: 18px;
  color: var(--secondary-color);
}

.color-switcher label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.color-switcher select {
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  max-width: 220px;
  outline-offset: 2px;
}

footer {
  background: var(--secondary-color);
  color: white;
  padding: 20px 2rem;
  text-align: center;
  position: fixed;
  width: 100%;
  bottom: 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-content span {
  font-weight: 400;
}
.social-icons {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-icons li img {
  width: 24px;
  height: 24px;
  filter: grayscale(60%) brightness(110%);
  transition: filter 0.3s ease;
}
.social-icons li img:hover {
  filter: grayscale(0%) brightness(90%);
}

.contact-section address {
  font-size: 1.1rem;
  margin-bottom: 22px;
  font-style: normal;
}

.contact-section iframe {
  margin-bottom: 26px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 450px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px var(--primary-color);
  border-color: var(--primary-color);
  outline: none;
}

.contact-form button {
  background-color: var(--accent-color);
  border: none;
  padding: 14px 0;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--primary-color);
}

@media only screen and (max-width: 820px) {
  .features {
    flex-direction: column;
    gap: 18px;
  }
}
@media only screen and (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: -100%;
    width: 180px;
    background: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    font-size: 1.9rem;
    color: white;
  }
}
