/* Base Variables and Reset */
:root {
  /* Color Scheme - Gradient */
  --color-primary: #3a86ff;
  --color-primary-light: #4a94ff;
  --color-primary-dark: #2a78ff;
  --color-secondary: #ff6b6b;
  --color-secondary-light: #ff7a7a;
  --color-secondary-dark: #ff5c5c;
  --color-accent: #4ecdc4;
  --color-accent-light: #5ed9d1;
  --color-accent-dark: #3ebfb7;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-light: #f8f9fa;
  --color-light-gray: #e9ecef;
  --color-gray: #adb5bd;
  --color-dark-gray: #6c757d;
  --color-dark: #343a40;
  --color-black: #212529;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  --gradient-light: linear-gradient(135deg, var(--color-light), var(--color-white));
  --gradient-dark: linear-gradient(135deg, var(--color-dark), var(--color-black));
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-round: 50%;
  
  /* Shadows - Neomorphic style */
  --shadow-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  --shadow-outset-sm: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.5);
  --shadow-outset-md: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.5);
  --shadow-outset-lg: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.5);
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Container width */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-light);
  overflow-x: hidden;
}

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Section Styles */
section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--color-dark-gray);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-light);
  color: var(--color-dark);
  box-shadow: var(--shadow-outset-sm);
}

.btn:hover, .btn:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow-outset-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-inset);
}

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

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

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

button, input[type='submit'] {
  font-family: var(--font-body);
  cursor: pointer;
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo a {
  color: var(--color-primary);
  text-decoration: none;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--color-dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding-top: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
}

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

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

.hero-description {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  animation: fadeInUp 1.4s ease-out;
}

.hero-content .btn {
  margin-right: var(--space-sm);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1.6s ease-out;
}

/* About Section */
.about-section {
  background-color: var(--color-light);
}

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

.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

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

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

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

.about-text {
  flex: 1 1 400px;
}

.about-text h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

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

.about-text .btn {
  margin-top: var(--space-sm);
}

/* Process Section */
.process-section {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.05) 0%, rgba(78, 205, 196, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

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

.process-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-outset-sm);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 550px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

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

/* Gallery Section */
.gallery-section {
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  position: relative;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s ease;
  padding: var(--space-sm) 0;
}

.gallery-card {
  min-width: calc(33.333% - var(--space-md));
  flex: 0 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-outset-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.gallery-prev,
.gallery-next {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-round);
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-outset-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-prev:hover,
.gallery-next:hover {
  box-shadow: var(--shadow-outset-md);
  transform: scale(1.1);
}

/* Resources Section */
.resources-section {
  background-color: var(--color-white);
}

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

.resource-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-outset-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-link {
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color var(--transition-fast);
}

.resource-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-medium);
}

.resource-link:hover {
  color: var(--color-primary-dark);
}

.resource-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Team Section */
.team-section {
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 107, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

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

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-outset-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.team-card .card-image {
  width: 100%;
  height: 300px;
}

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

.team-position {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

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

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

.contact-info {
  flex: 1 1 400px;
}

.info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-outset-sm);
  margin-bottom: var(--space-md);
}

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

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

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

.contact-form-container {
  flex: 1 1 500px;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

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

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

.form-checkbox label {
  font-weight: 400;
}

/* Footer Section */
.main-footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-lg) 0;
}

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

.footer-info {
  flex: 1 1 300px;
}

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

.footer-logo h2 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

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

.footer-nav, .footer-legal, .footer-social {
  flex: 1 1 180px;
}

.footer-links h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-gray);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
  /* border-radius: var(--radius-md); */
  /* background-color: var(--color-white); */
  /* box-shadow: var(--shadow-outset-md); */
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

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

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

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

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

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

@keyframes drawLine {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

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

  .hero-title {
    font-size: 3rem;
  }
  
  .about-content, .contact-content {
    gap: var(--space-md);
  }
  
  .gallery-card {
    min-width: calc(50% - var(--space-md));
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    width: 70%;
    height: 100vh;
    background: var(--color-white);
    padding-top: 80px;
    gap: var(--space-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    align-items: center;
  }

  .nav-links.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .gallery-card {
    min-width: 100%;
  }
  
  .process-steps, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .hero-content {
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: var(--space-md);
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

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

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

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

.mt-sm {
  margin-top: var(--space-sm);
}

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

.mt-lg {
  margin-top: var(--space-lg);
}

@media (max-width: 576px) {
  section {
    overflow-x: hidden;
  }
  
  .logo h1 {
    font-size: 28px;
    margin-bottom: 0;
  }
}
