/* Root & Variables */
:root {
  --primary: #2a9d8f;
  --secondary: #264653;
  --accent: #e76f51;
  --light: #f9f9f9;
  --dark: #1e1e2f;
  --text: #1e1e2f;
  --popup-bg: rgba(0, 0, 0, 0.8);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Utility Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.3s;
}
.btn:hover {
  transform: scale(1.05);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo img {
  height: 80px;
}
.nav ul {
  display: flex;
  gap: 1.5rem;
}
.nav a {
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--primary);
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: var(--popup-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.popup.show {
  visibility: visible;
  opacity: 1;
}
.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  width: 90%;
  max-width: 400px;
  animation: popupIn 0.5s ease-out;
}
.popup-content .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.popup-content h2 {
  margin: 1rem 0;
  color: var(--accent);
}
@keyframes popupIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  background: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  align-items: center;
  gap: 2rem;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qr-display img {
  width: 120px;
  border: 4px solid var(--accent);
  border-radius: 12px;
}

/* About Section */
.about {
  padding: 4rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
  align-items: start;
}
.about-content h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.about-content p {
  margin-bottom: 1rem;
}
.about-content ul {
  list-style: none;
}
.about-content ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}
.about-content ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Process Section */
.process {
  background: var(--light);
  padding: 4rem 0;
}
.process h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}
.step {
  background: #fff;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.step:hover {
  transform: translateY(-8px);
}
.step img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}
.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
}
.service-card h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

/* FAQs Section */
.faqs {
  background: var(--light);
  padding: 4rem 0;
}
.faq-item {
  max-width: 800px;
  margin: 1rem auto;
  cursor: default;
}
.faq-item h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.faq-item p {
  margin-left: 1rem;
  color: var(--dark);
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: #fff;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}
.footer-info h3 {
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-qr img {
  width: 100px;
  border: 3px solid #fff;
  border-radius: 12px;
  margin-top: 0.5rem;
}
.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav ul { display: none; }
}