/* Base Variables and Resets */
:root {
  /* Neubrufin Design System Colors */
  --primary-color: #ff6b6b;
  --secondary-color: #ff8e53;
  --accent-color: #4ecdc4;
  --dark-accent: #1a535c;
  --light-accent: #f7fff7;
  
  /* Analogous Color Scheme */
  --analog-1: #ff6b6b;
  --analog-2: #ff8e53;
  --analog-3: #ffd166;
  
  /* Text Colors */
  --text-dark: #292f36;
  --text-medium: #4f5d75;
  --text-light: #f7fff7;
  
  /* Neubrutalism Accents */
  --brutal-shadow: 5px 5px 0px #000000;
  --brutal-border: 3px solid #000000;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Container Width */
  --container-width: 1200px;
  
  /* Neomorphism Shadows */
  --neomorphic-light: 8px 8px 16px rgba(209, 217, 230, 0.5),
                      -8px -8px 16px rgba(255, 255, 255, 0.8);
  --neomorphic-pressed: inset 8px 8px 16px rgba(209, 217, 230, 0.5),
                        inset -8px -8px 16px rgba(255, 255, 255, 0.8);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

html, body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
}

body {
  padding-top: 0; /* No padding for the header, we'll handle this separately */
}

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

a {
  color: var(--dark-accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

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

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--analog-1), var(--analog-2));
  border-radius: 2px;
}

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

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

.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); }

/* Button Styles */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 500;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: white;
  border: var(--brutal-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  position: relative;
  box-shadow: var(--brutal-shadow);
  text-align: center;
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #000000;
  background-color: var(--secondary-color);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px #000000;
}

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

.btn-secondary {
  background-color: var(--analog-3);
  color: var(--text-dark);
}

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: block;
}

.logo img {
  width: auto;
  height: 50px;
}

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

.main-nav .nav-list li {
  margin-left: var(--space-md);
}

.main-nav .nav-list a {
  position: relative;
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
}

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-lg) 0;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1.2s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1.5s ease;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  animation: fadeInUp 1.8s ease;
}

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

/* About Section */
.about {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

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

.about-image {
  flex: 1;
  min-width: 300px;
}

.image-container {
  position: relative;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  overflow: hidden;
  border-radius: 8px;
  transition: all var(--transition-medium);
}

.image-container:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px #000000;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-medium);
}

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

.about-text {
  flex: 1;
  min-width: 300px;
}

/* Products Section */
.products {
  padding: var(--space-xl) 0;
  background-color: #f3f4f6;
}

.product-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 350px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

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

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

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

/* Case Studies Section */
.case-studies {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* Customer Stories Section */
.customer-stories {
  padding: var(--space-xl) 0;
  background-color: #f3f4f6;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: white;
  border-radius: 10px;
  padding: var(--space-md);
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.testimonial:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: var(--brutal-border);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

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

/* Resources Section */
.external-resources, .resources-section {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.resource-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.resource-card .card-image {
  width: 100%;
  height: 200px;
}

.resource-card .card-content {
  padding: var(--space-md);
  text-align: center;
}

.resource-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

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

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

.resources-content {
  margin-top: var(--space-md);
}

.resource-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.resource-item:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.resource-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: var(--space-md);
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.resource-content h3 {
  margin-bottom: var(--space-xs);
}

/* Methodology Section */
.methodology {
  padding: var(--space-xl) 0;
  background-color: #f3f4f6;
}

.methodology-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.methodology-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
}

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

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

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

.step {
  display: flex;
  align-items: flex-start;
  padding: var(--space-md);
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.step:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.step-number {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-right: var(--space-md);
  line-height: 1;
}

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

.step-content h3 {
  margin-bottom: var(--space-xs);
}

/* Behind Scenes Section */
.behind-scenes {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

.behind-scenes-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.behind-scenes-text {
  flex: 1;
  min-width: 300px;
}

.behind-scenes-gallery {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
  transition: all var(--transition-fast);
}

.gallery-item:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0px #000000;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.blog-date {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: var(--space-xs);
}

.read-more {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

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

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

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

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

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

.info-item {
  margin-bottom: var(--space-md);
}

.info-item h4 {
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

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

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

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

.checkbox-group input {
  width: auto;
  margin-right: var(--space-xs);
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
}

.submit-btn {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Footer Section */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding-top: var(--space-lg);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

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

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

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

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

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  display: flex;
  align-items: center;
}

.social-links a::before {
  content: '→';
  margin-right: 8px;
  transition: transform var(--transition-fast);
}

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

.footer-bottom {
  padding: var(--space-md) 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: white;
}

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: var(--space-md);
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
}

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

.success-content p {
  margin-bottom: var(--space-lg);
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--space-lg);
  border-radius: 10px;
  box-shadow: var(--brutal-shadow);
  border: var(--brutal-border);
}

.privacy-content h2, .terms-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.privacy-content h3, .terms-content h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.privacy-content p, .terms-content p {
  margin-bottom: var(--space-md);
}

.privacy-content ul, .terms-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.privacy-content li, .terms-content li {
  margin-bottom: var(--space-xs);
}

/* Animation Keyframes */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .methodology-steps .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: var(--space-sm);
  }
  
  .contact-content,
  .about-content,
  .behind-scenes-content {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-container,
  .about-image,
  .about-text,
  .behind-scenes-text,
  .behind-scenes-gallery {
    width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .resource-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .resource-icon {
    margin-bottom: var(--space-sm);
    margin-right: 0;
  }
  
  .behind-scenes-gallery {
    grid-template-columns: 1fr;
  }
}
.mobile-menu-toggle{
  display: none;
}