:root {
  --primary: #061E29;
  --secondary: #1D546D;
  --accent: #5F9598;
  --light: #F3F4F4;
  --text-dark: #061E29;
  --text-light: #F3F4F4;
  --shadow-sm: 0 2px 8px rgba(6, 30, 41, 0.1);
  --shadow-md: 0 8px 24px rgba(6, 30, 41, 0.15);
  --shadow-lg: 0 16px 48px rgba(6, 30, 41, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 1199px) {
  body {
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.875rem;
  }
}

header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

@media (max-width: 320px) {
  header {
    padding: var(--space-md) var(--space-sm);
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: var(--transition);
}

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

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }
}

@media (max-width: 320px) {
  .logo {
    font-size: 1.1rem;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
  transition: var(--transition);
  position: relative;
  z-index: 1000;
}

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

.nav-toggle .fa-bars {
  display: block;
}

.nav-toggle .fa-times {
  display: none;
}

.nav-toggle.active .fa-bars {
  display: none;
}

.nav-toggle.active .fa-times {
  display: block;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}

nav {
  display: flex;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 999;
    transition: opacity 0.3s ease;
  }

  nav.active {
    display: flex;
  }
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

@media (max-width: 768px) {
  nav a {
    display: block;
    padding: var(--space-lg);
    font-size: 1.5rem;
    text-align: center;
    border-bottom: none;
  }

  nav a::after {
    display: none;
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 320px) {
  main {
    padding: 0 var(--space-sm);
  }
}

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

@media (max-width: 768px) {
  section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 320px) {
  section {
    padding: var(--space-lg) 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  h4 {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  h4 {
    font-size: 0.95rem;
  }
}

p {
  margin-bottom: var(--space-md);
  color: #333;
  font-size: 0.95rem;
}

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

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

button, .btn {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--light);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

button:active, .btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  button, .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  button, .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--light);
  padding: var(--space-3xl) var(--space-md);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../pictures/team-collaboration.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(95, 149, 152, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(95, 149, 152, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(30px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--light);
  margin-bottom: var(--space-lg);
  font-size: 3.5rem;
}

.hero p {
  color: rgba(243, 244, 244, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.hero .btn {
  display: inline-block;
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
    padding: var(--space-2xl) var(--space-md);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 300px;
    padding: var(--space-xl) var(--space-md);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  .hero {
    min-height: 250px;
    padding: var(--space-lg) var(--space-sm);
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.875rem;
  }

  .hero::before,
  .hero::after {
    width: 300px;
    height: 300px;
  }
}

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

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 320px) {
  .grid-2 {
    gap: var(--space-lg);
  }
}

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

@media (max-width: 1199px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card h3 {
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

@media (max-width: 480px) {
  .card {
    padding: var(--space-lg);
  }
}

@media (max-width: 320px) {
  .card {
    padding: var(--space-md);
  }
}

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

.section-title h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-title p {
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 320px) {
  .section-title {
    margin-bottom: var(--space-xl);
  }

  .section-title p {
    font-size: 0.9rem;
  }
}

.asymmetric-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 1199px) {
  .asymmetric-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .asymmetric-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 320px) {
  .asymmetric-layout {
    gap: var(--space-lg);
  }
}

.overlap-element {
  position: relative;
  z-index: 1;
}

.overlap-element::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: rgba(95, 149, 152, 0.1);
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 320px) {
  .overlap-element::after {
    top: -10px;
    right: -10px;
  }
}

.angled-section {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(135deg, rgba(29, 84, 109, 0.05) 0%, rgba(95, 149, 152, 0.05) 100%);
  border-radius: var(--radius-lg);
  transform: skewY(-2deg);
}

.angled-section > * {
  transform: skewY(2deg);
}

@media (max-width: 480px) {
  .angled-section {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 320px) {
  .angled-section {
    padding: var(--space-lg) var(--space-sm);
    transform: skewY(-1deg);
  }

  .angled-section > * {
    transform: skewY(1deg);
  }
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: var(--space-md) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: #333;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

@media (max-width: 480px) {
  .product-image {
    height: 200px;
  }
}

@media (max-width: 320px) {
  .product-image {
    height: 180px;
  }
}

.product-info {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.product-info p {
  flex-grow: 1;
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: #666;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

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

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

@media (max-width: 480px) {
  .contact-form {
    padding: var(--space-xl);
  }
}

@media (max-width: 320px) {
  .contact-form {
    padding: var(--space-lg);
  }
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 149, 152, 0.1);
}

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

.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 {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

footer {
  background: var(--primary);
  color: var(--light);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  margin-top: var(--space-3xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: left;
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: var(--light);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.footer-section a {
  color: rgba(243, 244, 244, 0.8);
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(243, 244, 244, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(243, 244, 244, 0.7);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section a {
    display: inline;
    margin: 0 var(--space-sm);
  }
}

@media (max-width: 320px) {
  footer {
    padding: var(--space-lg) var(--space-sm);
  }

  .footer-section h4 {
    font-size: 0.9rem;
  }

  .footer-section a {
    font-size: 0.8rem;
  }
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

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

@media (max-width: 480px) {
  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 320px) {
  .map-container iframe {
    height: 250px;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease-out;
}

@media (max-width: 480px) {
  .modal-content {
    padding: var(--space-lg);
    width: 95%;
  }
}

@media (max-width: 320px) {
  .modal-content {
    padding: var(--space-md);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  padding: 0;
  width: auto;
  box-shadow: none;
}

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

.modal h2 {
  margin-top: 0;
  color: var(--primary);
}

.modal p {
  margin-bottom: var(--space-md);
  color: #555;
}

.modal-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 320px) {
  .modal-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

.modal-buttons button {
  flex: 1;
}

.modal-buttons .btn-secondary {
  background: #ddd;
  color: var(--primary);
}

.modal-buttons .btn-secondary:hover {
  background: #ccc;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  display: none;
}

.success-message.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  display: none;
}

.error-message.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: var(--space-sm);
  vertical-align: middle;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .stat-item h3 {
    font-size: 1.5rem;
  }

  .stat-item p {
    font-size: 0.85rem;
  }
}

.stat-item h3 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.stat-item p {
  color: #666;
  font-size: 0.9rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

@media (max-width: 480px) {
  .cta-section {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 320px) {
  .cta-section {
    padding: var(--space-lg) var(--space-sm);
  }
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: rgba(243, 244, 244, 0.9);
  margin-bottom: var(--space-lg);
}

.cta-section .btn {
  background: white;
  color: var(--secondary);
}

.cta-section .btn:hover {
  background: var(--light);
}

.breadcrumb {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

@media (max-width: 320px) {
  .breadcrumb {
    font-size: 0.85rem;
  }
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb span {
  color: #999;
}

.not-found {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.not-found h1 {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

@media (max-width: 480px) {
  .not-found h1 {
    font-size: 3rem;
  }
}

@media (max-width: 320px) {
  .not-found h1 {
    font-size: 2.5rem;
  }
}

.not-found p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: var(--space-xl);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--secondary);
}

.legal-content ol, .legal-content ul {
  margin-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: #555;
}

.thank-you-container {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.thank-you-container h1 {
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.thank-you-container p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.thank-you-container .btn {
  display: inline-block;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .gallery-item img {
    height: 200px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--light);
  fill: none;
  stroke-width: 2;
}

/* Global Image Responsive Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.overlap-element img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1199px) {
  .overlap-element img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .overlap-element img {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .overlap-element img {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 320px) {
  .overlap-element img {
    border-radius: var(--radius-sm);
  }
}

/* Product Images */
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .product-card img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .product-card img {
    height: 200px;
  }
}

@media (max-width: 320px) {
  .product-card img {
    height: 180px;
  }
}

/* Card Images */
.card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

@media (max-width: 480px) {
  .card img {
    border-radius: var(--radius-sm);
  }
}

/* Content Images */
section img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  section img {
    width: 100%;
  }
}

/* Asymmetric Layout Images */
.asymmetric-layout img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  .asymmetric-layout img {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .asymmetric-layout img {
    max-width: 100%;
  }
}

/* Gallery Images - Already handled above */

/* Testimonial/Feature Images */
.testimonial-card img,
.feature-card img {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
}

@media (max-width: 480px) {
  .testimonial-card img,
  .feature-card img {
    max-width: 80px;
  }
}

@media (max-width: 320px) {
  .testimonial-card img,
  .feature-card img {
    max-width: 60px;
  }
}

/* Hero Background Images */
@media (max-width: 768px) {
  .hero {
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 480px) {
  .hero {
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 320px) {
  .hero {
    background-size: cover;
    background-position: center;
  }
}

/* Logo Images */
.logo img {
  max-height: 40px;
  width: auto;
}

@media (max-width: 480px) {
  .logo img {
    max-height: 35px;
  }
}

@media (max-width: 320px) {
  .logo img {
    max-height: 30px;
  }
}

/* Icon Images */
.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Image Container */
.img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

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

@media (max-width: 768px) {
  .img-container {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .img-container {
    border-radius: var(--radius-sm);
  }
}

/* Figure Elements */
figure {
  margin: var(--space-xl) 0;
  text-align: center;
}

figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

figcaption {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  figure img {
    border-radius: var(--radius-md);
  }
  
  figcaption {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  figure {
    margin: var(--space-lg) 0;
  }
  
  figure img {
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 320px) {
  figcaption {
    font-size: 0.8rem;
  }
}

/* Responsive Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

table img {
  max-width: 100px;
  height: auto;
}

@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }
  
  table th,
  table td {
    padding: var(--space-sm) !important;
  }
  
  table img {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  table {
    font-size: 0.85rem;
  }
  
  table th,
  table td {
    padding: var(--space-xs) var(--space-sm) !important;
  }
  
  table img {
    max-width: 60px;
  }
}

@media (max-width: 320px) {
  table {
    font-size: 0.8rem;
  }
  
  table th,
  table td {
    padding: var(--space-xs) !important;
  }
  
  table img {
    max-width: 50px;
  }
}

/* Responsive Iframe (for maps, videos) */
iframe {
  max-width: 100%;
}

/* Responsive SVG */
svg {
  max-width: 100%;
  height: auto;
}

/* Background Images Responsive */
.bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .bg-image {
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 480px) {
  .bg-image {
    background-size: cover;
    background-attachment: scroll;
  }
}

/* Lazy Loading Images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}
