:root {
  --primary: #c81d25;
  --secondary: #ffb800;
  --background: #F3F4F6;
  --card-bg: #E5E7EB;
  --text-dark: #1e293b;
  --text-light: #64748b;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--background);
  line-height: 1.6;
  font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

p { margin-bottom: var(--space-sm); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.7rem 1.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #a01419;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: #e0a400;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

header {
  background: white;
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--background) 0%, white 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  color: var(--text-dark);
}

.hero-text .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geometric-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--primary), #a01419);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
  box-shadow: var(--shadow-lg);
}

.shape-2 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--secondary), #e0a400);
  bottom: 15%;
  left: 5%;
  animation-delay: 2s;
  box-shadow: var(--shadow-md);
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--card-bg), #d1d5db);
  top: 50%;
  left: 40%;
  animation-delay: 4s;
  box-shadow: var(--shadow-sm);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

section {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  height: 100%;
}

.card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.feature-section {
  background: white;
  position: relative;
  overflow: hidden;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.feature-image {
  position: relative;
  height: 400px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.stat-card {
  background: linear-gradient(135deg, var(--primary), #a01419);
  color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.form-section {
  background: linear-gradient(135deg, var(--background) 0%, white 100%);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  border: 2px solid var(--card-bg);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  background: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.4;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--text-dark);
  color: white;
  padding: var(--space-md) 0;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-text {
  flex: 1;
  min-width: 250px;
}

.privacy-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.privacy-actions {
  display: flex;
  gap: var(--space-sm);
}

.thankyou-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--background) 0%, white 100%);
}

.thankyou-content {
  text-align: center;
  max-width: 600px;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.thankyou-content h1 {
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.error-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--background) 0%, white 100%);
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-code {
  font-family: 'Sora', sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero-content,
  .feature-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-visual {
    height: 300px;
    margin-top: var(--space-md);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 9998;
    padding: var(--space-lg) var(--space-md);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .privacy-content {
    flex-direction: column;
    text-align: center;
  }
  
  .privacy-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .privacy-actions .btn {
    width: 100%;
  }
  
  .error-code {
    font-size: 4rem;
  }
}

.image-section {
  position: relative;
  overflow: hidden;
}

.image-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.image-section.reverse {
  background: var(--background);
}

.image-section.reverse .image-section-content {
  direction: rtl;
}

.image-section.reverse .image-section-content > * {
  direction: ltr;
}

.image-section-image {
  position: relative;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-section-image:hover img {
  transform: scale(1.05);
}

.image-section-text {
  padding: var(--space-md);
}

.image-section-text h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.image-section-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.image-section-list {
  list-style: none;
  margin-top: var(--space-md);
}

.image-section-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-light);
}

.image-section-list li::before {
  content: '\f633';
  font-family: 'bootstrap-icons';
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.full-image-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.full-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(200, 29, 37, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.full-image-section-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg);
}

.full-image-section-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: white;
}

.full-image-section-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
  line-height: 1.8;
}

.alternating-section {
  padding: var(--space-xl) 0;
}

.alternating-section:nth-child(even) {
  background: white;
}

.alternating-section:nth-child(odd) {
  background: var(--background);
}

.alternating-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.alternating-content.reverse {
  direction: rtl;
}

.alternating-content.reverse > * {
  direction: ltr;
}

.alternating-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.alternating-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.alternating-image-wrapper:hover img {
  transform: scale(1.08);
}

.alternating-text h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.alternating-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.benefit-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.testimonial-section {
  background: linear-gradient(135deg, var(--text-dark) 0%, #0f172a 100%);
  color: white;
  padding: var(--space-xl) 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 968px) {
  .image-section-content,
  .alternating-content {
    grid-template-columns: 1fr;
  }
  
  .image-section.reverse .image-section-content {
    direction: ltr;
  }
  
  .alternating-content.reverse {
    direction: ltr;
  }
  
  .full-image-section {
    background-attachment: scroll;
    min-height: 400px;
  }
  
  .full-image-section-content h2 {
    font-size: 2rem;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 550px) {
  .section-header h2{
    font-size: 1.5rem;
  }
  .image-section-content, .alternating-content{
    display: flex;
    flex-direction: column;
  }
  .image-section-text h2{
    font-size: 1.5rem;
  }
  .image-section-text p{
    font-size: 1rem;
  }
  .image-section-list li{
    font-size: 1rem;
  }
  .image-section-list li::before{
    font-size: 1rem;
  }
}
@media (max-width: 350px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 0.75rem;
  }
}
