/* ================= COLOR SYSTEM ================= */
:root {
  --primary: #e29578;
  --secondary: #83c5be;
  --background: #edf6f9;
  --accent: #ffddd2;
  --deep-accent: #006d77;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--deep-accent);
  padding-top: 70px; /* offset for fixed navbar */
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 55px; /* fixed compact height */
  background: var(--background);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem; /* horizontal only */
  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-light {
  color: var(--primary);
}

.brand-dark {
  color: var(--deep-accent);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--deep-accent);
  border-radius: 2px;
}

.nav-links {
  position: absolute;
  top: 60px;
  right: 0;
  background: white;
  width: 100%;
  display: none;
  flex-direction: column;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.nav-links a {
  padding: 0.8rem 0;
  text-decoration: none;
  color: var(--deep-accent);
  font-weight: 500;
}

.nav-links.active {
  display: flex;
}

/* ================= HERO ================= */

.hero {
  padding: 3rem 1rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.5rem;
  color: #345;
}

.cta-btn {
  padding: 0.8rem 1.6rem;
  background: var(--primary);
  border: none;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: var(--deep-accent);
}

.hero-svg {
  margin-top: 2.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= SECTIONS ================= */

.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  font-size: 2rem;
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 2rem;
    background: transparent;
    width: auto;
    box-shadow: none;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 5rem 6rem;
  }

  .hero-content {
    flex: 1;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-svg {
    flex: 1;
    max-width: 500px;
  }
}

/* ================= ABOUT SECTION ================= */

.about {
  padding: 4rem 1.5rem;
  background: var(--background);
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: #345;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.about-svg {
  max-width: 350px;
  margin: auto;
}

/* DESKTOP */
@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 6rem;
  }

  .about-text {
    flex: 1;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }

  .about-svg {
    flex: 1;
    max-width: 500px;
  }
}

.brand-main {
  color: var(--primary);
  font-weight: 700;
}

.brand-sub {
  color: var(--deep-accent);
  font-weight: 600;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .about-text p {
    font-size: 1.1rem;
  }
}

/* ================= SERVICES (Premium Structured Layout) ================= */

.services {
  padding: 5rem 1.5rem;
  background: white;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* LEFT INTRO */
.services-intro h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: var(--deep-accent);
}

.services-intro p {
  color: #345;
  line-height: 1.6;
  max-width: 500px;
}

/* RIGHT LIST */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.service-item:hover {
  transform: translateX(10px);
}

.service-item h3 {
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 600;
}

.service-item p {
  color: #345;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* DESKTOP */
@media (min-width: 768px) {
  .services {
    padding: 6rem;
  }

  .services-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .services-intro {
    flex: 1;
  }

  .services-intro h2 {
    font-size: 2.6rem;
  }

  .services-list {
    flex: 1;
  }
}
/* ================= PREMIUM CONTACT ================= */

.contact {
  padding: 6rem 1.5rem;
  background: var(--deep-accent);
  color: white;
  position: relative;
  overflow: hidden;
}

/* subtle background glow */
.contact::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 221, 210, 0.3),
    transparent 70%
  );
  top: -100px;
  right: -100px;
  z-index: 0;
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* LEFT */
.contact-left h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.contact-left p {
  color: #dff3f5;
  max-width: 400px;
}

/* FLOATING CARD */
.contact-card {
  background: white;
  color: #123;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.contact-details h4 {
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-details a {
  color: var(--deep-accent);
  font-weight: 600;
  text-decoration: none;
}

/* FORM */
.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  outline: none;
  font-family: inherit;
}

.contact-form button {
  padding: 0.9rem;
  border: none;
  border-radius: 30px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: var(--deep-accent);
}

/* DESKTOP */
@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .contact-left {
    flex: 1;
  }

  .contact-left h2 {
    font-size: 3rem;
  }

  .contact-card {
    flex: 1;
    max-width: 500px;
  }
}
/* ================= FOOTER ================= */

.footer {
  background: var(--deep-accent);
  color: white;
  position: relative;
  margin-top: 4rem;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* MAIN CONTENT */
.footer-container {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand h3 {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #dff3f5;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: #dff3f5;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.15);
  font-size: 0.85rem;
}

/* DESKTOP */
@media (min-width: 768px) {

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 4rem 6rem;
  }
}