:root {
  --primary-color: #3D5A80;
  --secondary-color: #98C1D9;
  --accent-color: #EE6C4D;
  --dark-color: #293241;
  --light-color: #E0FBFC;

  --text-color: #333333;
  --bg-color: #ffffff;
  --border-color: #dddddd;

  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Outfit', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-sm);
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

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

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

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  font-weight: 500;
  font-family: var(--font-primary);
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  color: white;
}

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

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

/* Header & Navigation */
.header {
  position: relative;
  z-index: 100;
  transition: transform var(--transition-medium);
}

.header.hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: var(--space-md);
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-medium);
}

.nav-link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
  z-index: 110;
}

.burger .line {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px;
  transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--light-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, var(--secondary-color) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1.2s ease-out;
}

.hero-btns {
  display: flex;
  gap: var(--space-sm);
  animation: fadeInUp 1.4s ease-out;
}

/* Features Section */
.features {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

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

.feature-item {
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  background-color: var(--light-color);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  margin-bottom: var(--space-xs);
}

.product-price {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: var(--space-sm);
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 70%;
  height: 140%;
  background-color: var(--secondary-color);
  opacity: 0.3;
  border-radius: 50%;
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.contact-form {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

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

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

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

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-text {
  flex: 1;
}

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

/* Footer */
.footer {
  padding: var(--space-md) 0;
  background-color: var(--dark-color);
  color: white;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-link {
  color: var(--light-color);
}

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

.copyright {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Policy Popup */
.cookie-popup {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  z-index: 1000;
  display: none;
}

.cookie-popup.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* 404 Page */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
}

.error-code {
  font-size: 8rem;
  font-weight: bold;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* Thank You Page */
.thank-you-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--light-color);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

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

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-medium);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: 0;
  }

  .burger {
    display: block;
  }

  .burger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.active .line:nth-child(2) {
    opacity: 0;
  }

  .burger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .footer-container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .form-wrapper {
    padding: 0 !important;
  }
}

/* Unique animations for elements */
.feature-icon {
  animation: float 4s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon {
  animation-delay: 1s;
}

.feature-item:nth-child(3) .feature-icon {
  animation-delay: 2s;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 1s ease;
}

.product-card:hover::after {
  left: 100%;
}