/* ==================== Variables ==================== */
:root {
  /* Primary Colors - Tetrad Color Scheme */
  --primary-color: #3a86ff;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  
  --secondary-color: #ff5e5b;
  --secondary-dark: #e03e3b;
  --secondary-light: #ff8a87;
  
  --tertiary-color: #8338ec;
  --tertiary-dark: #6025c0;
  --tertiary-light: #a665ff;
  
  --quaternary-color: #ffbe0b;
  --quaternary-dark: #e6ac00;
  --quaternary-light: #ffd056;
  
  /* Neutral Colors */
  --dark-color: #0f172a;
  --dark-color-50: rgba(15, 23, 42, 0.5);
  --medium-color: #475569;
  --light-color: #f8fafc;
  --light-color-80: rgba(248, 250, 252, 0.8);
  
  /* Glassmorphism */
  --glass-background: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Work Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  --border-radius-full: 9999px;
  
  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container Width */
  --container-width: 1200px;
  
  /* Z-index */
  --z-back: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

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

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
  margin: var(--spacing-sm) auto var(--spacing-md);
  border-radius: var(--border-radius-full);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--medium-color);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== Buttons ==================== */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn.primary,
button.primary,
input[type="submit"] {
  background-color: var(--primary-color);
  color: var(--light-color);
  box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

.btn.primary:hover,
button.primary:hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
}

.btn.secondary,
button.secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
  box-shadow: 0 4px 12px rgba(255, 94, 91, 0.3);
}

.btn.secondary:hover,
button.secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 94, 91, 0.4);
}

.btn.tertiary,
button.tertiary {
  background-color: var(--tertiary-color);
  color: var(--light-color);
  box-shadow: 0 4px 12px rgba(131, 56, 236, 0.3);
}

.btn.tertiary:hover,
button.tertiary:hover {
  background-color: var(--tertiary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(131, 56, 236, 0.4);
}

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

.btn.outline:hover,
button.outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

/* ==================== Glassmorphism Card ==================== */
.glass-card {
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  padding: var(--spacing-md);
  transition: transform var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-10px);
}

/* ==================== Header & Navigation ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 60px;
  width: auto;
}

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

.desktop-nav ul li {
  margin-left: var(--spacing-md);
}

.desktop-nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
  transition: width var(--transition-normal);
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--light-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md) 0;
  z-index: var(--z-fixed);
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0 var(--spacing-md);
}

.mobile-nav ul li {
  margin-bottom: var(--spacing-sm);
}

.mobile-nav ul li a {
  display: block;
  color: var(--dark-color);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.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.5));
  z-index: var(--z-back);
}

.hero-content {
  position: relative;
  z-index: var(--z-normal);
  max-width: 800px;
}

.hero-content h1 {
  color: var(--light-color);
  margin-bottom: var(--spacing-md);
  font-size: 3.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  color: var(--light-color);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  animation: fadeInUp 1.2s ease;
}

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

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

/* ==================== Services Section ==================== */
.servicios {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

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

.service-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.card-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.card-content p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-color);
  flex-grow: 1;
}

.card-content .btn {
  align-self: flex-start;
}

/* ==================== Awards Section ==================== */
.premios {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f6f9fc, #edf2f7);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.award-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.award-card .card-image {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.award-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.award-card p {
  color: var(--medium-color);
}

/* ==================== Clients Section ==================== */
.clientes {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
}

.testimonial {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.testimonial-content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.testimonial-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.testimonial-text p {
  font-style: italic;
  color: var(--medium-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.testimonial-text p::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.3;
}

.testimonial-text h4 {
  font-weight: 600;
  margin-bottom: 0;
  color: var(--dark-color);
}

.testimonial-text span {
  font-size: 0.9rem;
  color: var(--medium-color);
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
}

.logo-item {
  flex: 0 0 180px;
  text-align: center;
  padding: var(--spacing-sm);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  height: auto;
}

/* ==================== Resources Section ==================== */
.recursos {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f0f7ff, #e6f0fd);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.recurso-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.recurso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.recurso-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.recurso-card p {
  color: var(--medium-color);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.recurso-card .btn {
  align-self: flex-start;
}

/* ==================== Portfolio Section ==================== */
.portfolio {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--border-radius-full);
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--spacing-md);
}

.portfolio-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.portfolio-content {
  padding: var(--spacing-md);
}

.portfolio-content h3 {
  margin-bottom: var(--spacing-sm);
}

.portfolio-content p {
  color: var(--medium-color);
}

/* ==================== Behind the Scenes Section ==================== */
.backstage {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f6f9fc, #edf2f7);
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--tertiary-color));
  border-radius: var(--border-radius-full);
}

.timeline-item {
  padding-left: 60px;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

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

.methodology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.methodology-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.methodology-card .card-image {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.methodology-card .card-content {
  padding: var(--spacing-md);
}

.methodology-card h3 {
  margin-bottom: var(--spacing-sm);
}

.methodology-card p {
  color: var(--medium-color);
}

/* ==================== Careers Section ==================== */
.carreras {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.career-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.career-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.career-card p {
  color: var(--medium-color);
  margin-bottom: var(--spacing-md);
}

.requirements {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.requirements li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--medium-color);
}

.requirements li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.career-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ==================== Contact Section ==================== */
.contacto {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f0f7ff, #e6f0fd);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.info-item p {
  font-size: 0.95rem;
  color: var(--medium-color);
  margin-bottom: 0;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  background-color: #f8fafc;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--dark-color);
  transition: all var(--transition-fast);
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

/* ==================== Footer ==================== */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color-80);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  margin-bottom: var(--spacing-sm);
  max-width: 200px;
}

.footer-logo p {
  color: var(--light-color-80);
  line-height: 1.6;
}

.footer h3 {
  color: var(--light-color);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
  margin-top: 0.5rem;
  border-radius: var(--border-radius-full);
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-services ul li a {
  color: var(--light-color-80);
  transition: color var(--transition-normal);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.social-links a {
  color: var(--light-color);
  transition: color var(--transition-normal);
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.social-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
  transition: width var(--transition-normal);
}

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

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

.newsletter {
  margin-top: var(--spacing-md);
}

.newsletter p {
  margin-bottom: var(--spacing-md);
  color: var(--light-color-80);
}

.newsletter form {
  display: flex;
  gap: 0.5rem;
}

.newsletter input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light-color);
  font-family: var(--body-font);
}

.newsletter input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter .btn {
  padding: 0.8rem 1.2rem;
}

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

.copyright p {
  color: var(--light-color-80);
  margin-bottom: 0;
}

.legal-links {
  display: flex;
  gap: var(--spacing-md);
}

.legal-links a {
  color: var(--light-color-80);
  transition: color var(--transition-normal);
}

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

/* ==================== Success Page ==================== */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f7ff, #e6f0fd);
  padding: var(--spacing-md);
  text-align: center;
}

.success-content {
  max-width: 600px;
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.success-content p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-color);
}

.success-content .btn {
  margin-top: var(--spacing-sm);
}

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

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

.privacy-content h1,
.terms-content h1 {
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

.privacy-content h2,
.terms-content h2 {
  font-size: 1.5rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

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

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

.privacy-content li,
.terms-content li {
  margin-bottom: 0.5rem;
  color: var(--medium-color);
}

/* ==================== About Page ==================== */
.about-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-lg);
}

.about-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

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

.about-hero-content {
  position: absolute;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  max-width: 600px;
}

.about-hero-content h1 {
  color: var(--light-color);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-content p {
  color: var(--light-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.about-text h2 {
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-color);
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.team-section {
  margin-bottom: var(--spacing-xl);
}

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

.team-member {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

.team-info {
  padding: var(--spacing-md);
  text-align: center;
  width: 100%;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.team-info span {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.team-info p {
  color: var(--medium-color);
  margin-bottom: var(--spacing-md);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f7ff;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-normal);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ==================== Media Queries ==================== */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .newsletter form {
    flex-direction: column;
  }
}

.mobile-nav.active{
  display: block;
}