/* Root Variables and Base Styles */
:root {
  /* Primary Colors */
  --primary-100: #1a5f7a; /* Deep teal blue */
  --primary-200: #387184; /* Medium teal blue */
  --primary-300: #57858f; /* Light teal blue */
  --primary-400: #76999a; /* Pale teal blue */

  /* Complementary Colors */
  --complementary-100: #7a331a; /* Deep terracotta */
  --complementary-200: #84583e; /* Medium terracotta */
  --complementary-300: #8f7a57; /* Light terracotta */
  --complementary-400: #9a9176; /* Pale terracotta */

  /* Accent Colors */
  --accent-100: #e6b17e; /* Golden sand */
  --accent-200: #f0c397; /* Light sand */
  --accent-300: #f8d4b0; /* Pale sand */

  /* Neutral Colors */
  --neutral-100: #151515; /* Almost black */
  --neutral-200: #2a2a2a; /* Dark grey */
  --neutral-300: #404040; /* Medium grey */
  --neutral-400: #555555; /* Grey */
  --neutral-500: #808080; /* Light grey */
  --neutral-600: #d0d0d0; /* Very light grey */
  --neutral-700: #f0f0f0; /* Almost white */
  --neutral-800: #ffffff; /* White */

  /* Glass Effect Colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-100), var(--primary-300));
  --gradient-complementary: linear-gradient(135deg, var(--complementary-100), var(--complementary-300));
  --gradient-accent: linear-gradient(135deg, var(--accent-100), var(--accent-300));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index layers */
  --layer-base: 0;
  --layer-above: 10;
  --layer-modal: 100;
  --layer-toast: 1000;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-200);
  background-color: var(--neutral-700);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--primary-100);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  padding: var(--space-xl);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

/* Button Styles (GLOBAL) */
.btn,
button:not([class]),
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-200);
  color: var(--neutral-800);
}

.btn:hover,
button:not([class]):hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background-color: var(--primary-100);
}

.btn:active,
button:not([class]):active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--neutral-800);
}

.btn-secondary {
  background: var(--gradient-complementary);
  color: var(--neutral-800);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--neutral-200);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Read More Links */
a.read-more, 
.btn-sm {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--primary-100);
  padding-bottom: 0.2rem;
  transition: all var(--transition-medium);
}

a.read-more:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-100);
  transition: width var(--transition-medium);
}

a.read-more:hover {
  color: var(--primary-100);
}

a.read-more:hover:after {
  width: 100%;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--primary-100);
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0.5rem auto 1rem;
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--neutral-400);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--layer-modal);
  box-shadow: var(--shadow-md);
  transition: background var(--transition-medium);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo a {
  color: var(--primary-100);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
}

.logo span {
  color: var(--complementary-100);
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-desktop a {
  font-weight: 600;
  color: var(--neutral-300);
  transition: color var(--transition-medium);
  position: relative;
}

.nav-desktop a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-100);
  transition: width var(--transition-medium);
}

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

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  width: 2rem;
  height: 0.25rem;
  background-color: var(--primary-100);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile li {
  margin-bottom: var(--space-md);
}

.nav-mobile a {
  font-weight: 600;
  color: var(--neutral-300);
  transition: color var(--transition-fast);
  display: block;
  padding: var(--space-sm) 0;
}

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

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-4xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--neutral-800);
}

.hero-content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--neutral-800);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  color: var(--neutral-800);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  color: var(--neutral-800);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Features Section */
.features {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-700);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: var(--space-xl);
  transition: all var(--transition-medium);
}

.feature-icon {
  margin-bottom: var(--space-lg);
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.feature-card h3 {
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--primary-100);
}

.feature-card p {
  color: var(--neutral-300);
}

/* Mission Section */
.mission {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-800);
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: center;
}

.mission-text {
  flex: 1;
  min-width: 280px;
}

.mission-text p {
  margin-bottom: var(--space-md);
  color: var(--neutral-300);
}

.mission-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.image-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Sustainability Section */
.sustainability {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-700);
}

.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: center;
}

.sustainability-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.sustainability-text {
  flex: 1;
  min-width: 280px;
}

.sustainability-timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  z-index: 1;
}

.timeline-marker:before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + var(--space-xl));
  background-color: var(--primary-300);
}

.timeline-item:last-child .timeline-marker:before {
  display: none;
}

.timeline-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-100);
}

.timeline-content p {
  color: var(--neutral-300);
}

/* Portfolio/Catalog Section */
.portfolio {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-800);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  color: var(--primary-200);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-200);
  color: var(--neutral-800);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  background-color: var(--neutral-800);
  display: flex;
  flex-direction: column;
}

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

.card-image {
  height: 250px;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary-100);
}

.card-content p {
  margin-bottom: var(--space-lg);
  color: var(--neutral-300);
  flex-grow: 1;
}

.portfolio-item {
  opacity: 1;
  transition: opacity var(--transition-medium);
}

.portfolio-item.hidden {
  display: none;
  opacity: 0;
}

/* Resources Section */
.resources {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-700);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.resource-card {
  text-align: center;
  padding: var(--space-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

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

.resource-card p {
  margin-bottom: var(--space-lg);
  color: var(--neutral-300);
}

.resource-card .btn {
  margin-top: auto;
  margin: var(--space-sm);
}

/* Pricing Section */
.pricing {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-800);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.pricing-card {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-featured {
  transform: scale(1.05);
  z-index: 1;
}

.pricing-tag {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--gradient-complementary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.pricing-header {
  margin-bottom: var(--space-lg);
}

.pricing-header h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-100);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-100);
  margin-bottom: var(--space-xs);
}

.pricing-header p {
  color: var(--neutral-400);
  font-size: 0.875rem;
}

.pricing-features {
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  color: var(--neutral-300);
  position: relative;
}

.pricing-features li:before {
  content: '✓';
  color: var(--primary-200);
  margin-right: var(--space-sm);
}

.pricing-footer {
  width: 100%;
}

/* Clientele/Testimonials Section */
.clientele {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-700);
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-item {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.testimonial-item.active {
  opacity: 1;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.testimonial-content {
  flex-grow: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--neutral-300);
}

.testimonial-author {
  margin-top: auto;
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-100);
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--neutral-400);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-200);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-100);
}

/* Blog Section */
.blog {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-800);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--neutral-400);
  margin-bottom: var(--space-sm);
}

/* Careers Section */
.careers {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-700);
}

.careers-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: center;
}

.careers-text {
  flex: 1;
  min-width: 280px;
}

.careers-text p {
  margin-bottom: var(--space-md);
  color: var(--neutral-300);
}

.careers-benefits {
  margin: var(--space-xl) 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--glass-border);
}

.careers-benefits h3 {
  margin-bottom: var(--space-md);
  color: var(--primary-100);
}

.careers-benefits ul {
  list-style: none;
}

.careers-benefits li {
  padding: var(--space-xs) 0;
  color: var(--neutral-300);
  position: relative;
  padding-left: var(--space-lg);
}

.careers-benefits li:before {
  content: '✓';
  color: var(--primary-200);
  position: absolute;
  left: 0;
}

.careers-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

/* Contact Section */
.contact {
  padding: var(--space-4xl) 0;
  background-color: var(--neutral-800);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary-100);
}

.contact-details {
  margin-bottom: var(--space-lg);
  width: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.contact-item .icon {
  margin-right: var(--space-md);
  font-size: 1.5rem;
  color: var(--primary-200);
}

.contact-item p {
  margin: 0;
  color: var(--neutral-300);
}

.contact-map {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: auto;
}

.contact-map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  min-width: 320px;
}

.form-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-card h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary-100);
}

.form-card form {
  width: 100%;
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--neutral-300);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-500);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-200);
  box-shadow: 0 0 0 3px rgba(56, 113, 132, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: var(--space-sm);
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
}

/* Footer */
.footer {
  background-color: var(--neutral-200);
  color: var(--neutral-600);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo h3 {
  font-size: 1.75rem;
  color: var(--neutral-800);
  margin: 0;
}

.footer-logo span {
  color: var(--accent-100);
}

.footer-column p {
  color: var(--neutral-600);
  line-height: 1.6;
}

.footer-column h4 {
  color: var(--neutral-800);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.footer-column h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-100);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--neutral-600);
  transition: color var(--transition-fast);
  position: relative;
  padding-left: var(--space-md);
  display: inline-block;
}

.footer-links a:before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neutral-800);
  padding-left: var(--space-lg);
}

.footer-links a:hover:before {
  opacity: 1;
  transform: translateX(5px);
}

.footer-subscribe {
  display: flex;
  margin-top: var(--space-md);
}

.footer-subscribe input {
  flex-grow: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.footer-subscribe button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: none;
  background-color: var(--accent-100);
  color: var(--neutral-200);
  padding: 0 var(--space-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.footer-subscribe button:hover {
  background-color: var(--complementary-100);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-social p {
  margin: 0;
  margin-right: var(--space-sm);
}

.footer-social a {
  color: var(--neutral-600);
  transition: color var(--transition-fast);
  font-size: 0.9rem;
  position: relative;
  text-decoration: none;
}

.footer-social a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-100);
  transition: width var(--transition-medium);
}

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

.footer-social a:hover:after {
  width: 100%;
}

.footer-copyright {
  margin-top: var(--space-md);
}

.footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
}

/* Animation Classes */
.animate__animated {
  opacity: 0;
}

.animate__animated.animate__fadeIn {
  animation-duration: 1s;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background-color: var(--neutral-800);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-100);
  margin-bottom: var(--space-xl);
}

.success-content {
  max-width: 600px;
}

.success-content h1 {
  margin-bottom: var(--space-lg);
  color: var(--primary-100);
}

.success-content p {
  margin-bottom: var(--space-xl);
  color: var(--neutral-300);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* Privacy and Terms Pages */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--space-4xl);
  background-color: var(--neutral-800);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-xl);
  color: var(--primary-100);
}

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

.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--neutral-300);
}

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

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

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .pricing-featured {
    transform: scale(1);
  }
  
  .hero-content {
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .nav-mobile.active {
    display: block;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social {
    margin-bottom: var(--space-md);
    justify-content: center;
  }
  
  .hero-content {
    padding: var(--space-lg) 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .filter-btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }
  
  .timeline-item {
    padding-left: var(--space-xl);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item .icon {
    margin-bottom: var(--space-xs);
  }
  
  .testimonial-image {
    width: 80px;
    height: 80px;
  }
  
  .portfolio-filters {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
}