/* === ROOT VARIABLES === */
:root {
  /* Color Scheme */
  --primary-color: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #5393ff;
  --secondary-color: #ff6b6b;
  --secondary-dark: #c62828;
  --secondary-light: #ff9a9a;
  --accent-color: #7c4dff;
  --accent-dark: #512da8;
  --accent-light: #b39ddb;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-radius: 16px;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  
  /* Text Colors */
  --text-dark: #2c3e50;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Animation */
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 2rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Z-index */
  --z-back: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* === RESET & BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f8f9fa;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

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

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

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

h4 {
  font-size: 1.5rem;
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

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

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

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

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

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

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

.full-width {
  width: 100%;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
  padding: var(--space-lg);
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  transition: all var(--transition-fast);
  position: relative;
}

.read-more::after {
  content: "→";
  margin-left: 6px;
  transition: transform var(--transition-fast);
}

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

.read-more:hover::after {
  transform: translateX(4px);
}

/* === BUTTONS === */
.btn, button, input[type='submit'] {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
  color: white;
}

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

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

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all var(--transition-fast);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  transition: all var(--transition-fast);
}

.header.scrolled .logo img {
  height: 50px;
}

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

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

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

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

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all var(--transition-fast);
  background-color: var(--text-dark);
  border-radius: 3px;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: var(--z-back);
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-back);
}

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

.hero-content {
  max-width: 800px;
  z-index: var(--z-normal);
  margin: 0 auto;
  text-align: center;
}

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

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  color: white;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: white;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* === SERVICES SECTION === */
.services-section {
  padding: var(--space-xxl) 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--glass-bg);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: var(--z-back);
}

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

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.card-image {
  width: 100%;
  height: 240px;
  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-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
}

.card-content .btn {
  margin-top: auto;
}

/* === METHODOLOGY SECTION === */
.methodology-section {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.methodology-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: var(--glass-bg);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: var(--z-back);
}

.methodology-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.methodology-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  z-index: var(--z-normal);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.2);
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

/* === WHY US SECTION === */
.why-us-section {
  padding: var(--space-xxl) 0;
  background-color: #f8f9fa;
  position: relative;
}

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

.feature-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

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

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

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

/* === CASE STUDIES SECTION === */
.case-studies-section {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  width: 100%;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary-light);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.15);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.metric-label {
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.9;
}

/* === SUCCESS STORIES SECTION === */
.success-stories-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #f6f9fc, #eef1f5);
  position: relative;
  overflow: hidden;
}

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

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

.testimonial-content {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--space-md);
  border: 4px solid #f0f0f0;
}

.author-details h4 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.author-details p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.testimonial-navigation button {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-navigation button:hover {
  background: var(--primary-color);
  color: white;
}

/* === INSIGHTS SECTION === */
.insights-section {
  padding: var(--space-xxl) 0;
  background-color: #f8f9fa;
  position: relative;
}

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

.insight-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.insight-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

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

.insight-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.insight-content h3 {
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.insight-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
}

.insights-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* === STATISTICS SECTION === */
.statistics-section {
  padding: var(--space-xxl) 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
}

.statistics-section .section-title {
  color: white;
}

.statistics-section .section-title::after {
  background: white;
}

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

.statistic-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statistic-card:hover {
  transform: translateY(-5px);
}

.statistic-value {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  margin-bottom: var(--space-sm);
}

.statistic-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === RESOURCES SECTION === */
.resources-section {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  position: relative;
}

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

.resource-card {
  padding: var(--space-lg);
  background: #f8f9fa;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-medium);
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

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

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

.resource-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.resource-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

.resource-link:hover::after {
  transform: translateX(3px);
}

/* === EVENTS SECTION === */
.events-section {
  padding: var(--space-xxl) 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.event-card {
  display: flex;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

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

.event-date {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.event-day {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.event-month {
  font-size: 1.2rem;
  font-weight: 600;
}

.event-details {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-details h3 {
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.event-location, .event-time {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.icon-location, .icon-time {
  margin-right: var(--space-sm);
  font-size: 0.9em;
}

.event-description {
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
}

/* === FAQ SECTION === */
.faq-section {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  position: relative;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.faq-question:hover {
  background: #f1f3f5;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: var(--space-lg);
  max-height: 1000px;
}

/* === GALLERY SECTION === */
.gallery-section {
  padding: var(--space-xxl) 0;
  background-color: #f8f9fa;
  position: relative;
}

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

.gallery-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: var(--z-normal);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover::before {
  opacity: 1;
}

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

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

/* === CONTACT SECTION === */
.contact-section {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

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

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.info-item p {
  color: var(--text-muted);
}

.contact-form-container {
  background: #f8f9fa;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group.full-width {
  grid-column: span 2;
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-dark);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-md);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

textarea {
  resize: vertical;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  border-radius: 12px;
  background-color: #ddd;
  cursor: pointer;
  transition: all var(--transition-fast);
}

input[type="checkbox"] {
  display: none;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  transition: all var(--transition-fast);
}

input[type="checkbox"]:checked + .switch {
  background-color: var(--primary-color);
}

input[type="checkbox"]:checked + .switch::after {
  left: 28px;
}

.form-submit {
  grid-column: span 2;
  text-align: center;
  margin-top: var(--space-lg);
}

.map-container {
  margin-top: var(--space-xxl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* === FOOTER === */
.footer {
  background: #2c3e50;
  color: #f8f9fa;
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-info p {
  margin-top: var(--space-md);
  opacity: 0.8;
}

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

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

.footer-contact a {
  color: #f8f9fa;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-contact a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

.footer-column h3 {
  color: #f8f9fa;
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
  position: relative;
}

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

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

.footer-column ul li a {
  color: #f8f9fa;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-links li a {
  display: flex;
  align-items: center;
  color: #f8f9fa;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

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

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

.footer-bottom p {
  opacity: 0.7;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: #f8f9fa;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* === SUCCESS PAGE === */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-xl);
}

.success-container {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xxl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out forwards;
}

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

.success-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: white;
}

.success-message {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

/* === PRIVACY & TERMS PAGES === */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--space-xxl);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  font-size: 1.8rem;
}

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

.legal-section ul {
  list-style: disc;
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-section ul li {
  margin-bottom: var(--space-sm);
}

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

/* === RESPONSIVE STYLES === */
@media (max-width: 1200px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
  :root {
    --container-padding: 1.25rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-info {
    margin-bottom: var(--space-lg);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  :root {
    --container-padding: 1rem;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .navigation {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: var(--space-lg) 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links li {
    margin: var(--space-sm) 0;
  }
  
  .navigation.active {
    display: block;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .form-submit {
    grid-column: auto;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    padding: var(--space-md);
    flex-direction: row;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  :root {
    --container-padding: 0.75rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .case-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .footer-legal {
    justify-content: center;
  }
}