:root {
  --primary: #9d7cbf; /* Soft Lavender */
  --primary-light: #f3e8ff;
  --accent: #ffb7b2; /* Soft Coral/Peach */
  --text: #2d3436;
  --text-muted: #636e72;
  --bg: #ffffff;
  --bg-light: #fcf8ff;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
}

h1,
h2,
h3,
.logo {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.hidden {
  display: none;
}

/* Typography */
h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #8a69ac;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(157, 124, 191, 0.3);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fefefe 0%, #f3e8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.tagline {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Form */
.quote-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

input,
select,
textarea {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fafafa;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(157, 124, 191, 0.1);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 60px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: #2d3436;
  color: #dfe6e9;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.footer-contact p,
.footer-social a {
  margin-bottom: 12px;
}

.footer-contact a,
.footer-social a {
  color: #dfe6e9;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover,
.footer-social a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .hero {
    height: auto;
    padding: 120px 0 60px;
    text-align: center;
  }
  .nav-links {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section {
    padding: 60px 0;
  }
}

/* Custom Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 52, 54, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  animation: modalFade 0.25s ease;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 40px 32px 32px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: var(--primary);
}

.modal-overlay.is-error .modal-icon {
  background: var(--accent);
  color: var(--text);
}

.modal-overlay.is-success .modal-icon {
  background: var(--primary);
}

.modal-title {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 10px;
}

.modal-message {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn:hover {
  background: #8a69ac;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(157, 124, 191, 0.35);
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
