@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
  --primary: rgb(36, 41, 48);
  --secondary: rgb(212, 236, 0);
  --background: #F9FAFB;
  --text-primary: #181424;
  --text-secondary: #6B7280;
  --accent: rgb(15, 143, 182);
  
  --font-main: 'Poppins', sans-serif;
  --font-display: 'Syne', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.9rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  margin-bottom: var(--space-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background: var(--primary);
  color: white;
  padding: var(--space-md) 0;
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: var(--transition-fast);
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
}

.logo:hover {
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav a {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--secondary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  padding: var(--space-xs);
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(36, 41, 48, 0.95) 100%);
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: var(--space-lg);
  color: white;
}

.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border: 2px solid var(--secondary);
}

.btn:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.image-text-section {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.image-text-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.image-text-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.text-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.text-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-section {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 143, 182, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 400;
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: var(--primary);
  color: white;
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.footer-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--text-secondary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.popup-close:hover {
  background: var(--primary);
}

.popup h3 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.popup p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.popup-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.popup-actions button {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.error-page,
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-content,
.thankyou-content {
  max-width: 500px;
}

.error-content h1,
.thankyou-content h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.error-content p,
.thankyou-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.contact-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.contact-card h4 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.step {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -15px;
  left: var(--space-lg);
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-display);
  box-shadow: var(--shadow-md);
}

.step h4 {
  margin-top: var(--space-md);
  color: var(--primary);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: var(--space-xxl) var(--space-lg);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    width: 100%;
    padding: var(--space-md);
    text-align: center;
  }
  
  .burger {
    display: flex;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .image-text-content {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.6rem;
    --space-md: 0.8rem;
    --space-lg: 1.2rem;
    --space-xl: 1.5rem;
    --space-xxl: 2rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .contact-info,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .logo{
    font-size: 0.9rem;
  }
  html {
    font-size: 14px;
  }
  
  .hero h1 {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: var(--space-xs) var(--space-lg);
    font-size: 0.85rem;
  }
}