/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Color Palette - Complementary Colors */
  --primary-color: #FF6B35;
  --primary-light: #FF8A65;
  --primary-dark: #E65100;
  --secondary-color: #35B8FF;
  --secondary-light: #64C5FF;
  --secondary-dark: #0288D1;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --black: #000000;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  
  /* Accent Colors */
  --accent-green: #4CAF50;
  --accent-yellow: #FFC107;
  --accent-red: #F44336;
  --accent-purple: #9C27B0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --gradient-neutral: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Shadows */
  --shadow-neumorphic: 8px 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
  --shadow-neumorphic-inset: inset 4px 4px 8px rgba(0,0,0,0.1), inset -4px -4px 8px rgba(255,255,255,0.8);
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.15);
  --shadow-strong: 0 12px 40px rgba(0,0,0,0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-100);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

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

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

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

/* ===== GLOBAL BUTTON STYLES ===== */
.btn {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--border-radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-neumorphic);
  background: var(--gradient-primary);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  color: var(--white);
}

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

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

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

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

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

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  box-shadow: none;
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ===== FORM STYLES ===== */
.form-control {
  border: none;
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  font-size: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-neumorphic-inset);
  transition: var(--transition-medium);
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  box-shadow: var(--shadow-neumorphic-inset), 0 0 0 3px rgba(255, 107, 53, 0.2);
  border-color: transparent;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--spacing-xs);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
  transition: var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

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

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

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  transition: var(--transition-medium);
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand img {
  margin-right: var(--spacing-sm);
  border-radius: 50%;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--gray-700);
  margin: 0 var(--spacing-sm);
  transition: var(--transition-fast);
  position: relative;
}

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

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(255, 107, 53, 0.3));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: var(--white) !important;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xl);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  color: var(--white) !important;
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease var(--transition-medium);
}

.animate-fade-in-delay {
  animation: fadeInUp 1s ease 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 1s ease 0.6s both;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
}

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

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-neumorphic);
}

/* ===== PROGRESS INDICATORS ===== */
.progress-indicators {
  margin-top: var(--spacing-lg);
}

.progress-item {
  margin-bottom: var(--spacing-md);
}

.progress-item span {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--gray-700);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.progress {
  height: 12px;
  background: var(--gray-200);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-neumorphic-inset);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  height: 100%;
  border-radius: var(--border-radius-sm);
  transition: width 1s ease;
  position: relative;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology-section {
  background: var(--gray-100);
}

.methodology-card {
  height: 100%;
  margin-bottom: var(--spacing-lg);
}

.methodology-card .card-image {
  height: 200px;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background: var(--white);
}

.event-card {
  height: 100%;
  position: relative;
}

.event-date {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.event-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
}

.duration, .price {
  font-family: var(--font-heading);
  font-weight: 600;
}

.price {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies-section {
  background: var(--gray-100);
}

.case-study-card {
  height: 100%;
}

.case-study-card .card-image {
  height: 250px;
}

.case-study-results {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
}

.case-study-results span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ===== EXTERNAL RESOURCES SECTION ===== */
.external-resources-section {
  background: var(--white);
}

.resource-card {
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition-medium);
}

.resource-card:hover {
  border-color: var(--primary-color);
}

.resource-card h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories-section {
  background: var(--gray-100);
}

.story-card {
  height: 100%;
}

.story-card .card-image {
  height: 200px;
}

.story-card .card-image img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-top: var(--spacing-md);
}

.rating {
  color: var(--accent-yellow);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.story-meta {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: var(--spacing-sm);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: var(--gray-100);
}

.partners-section img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: var(--transition-medium);
  border-radius: var(--border-radius-sm);
}

.partners-section img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ===== BEHIND THE SCENES SECTION ===== */
.behind-scenes-section {
  background: var(--white);
}

.behind-scenes-main {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-neumorphic);
}

.behind-scenes-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-dark);
  color: var(--white);
  padding: var(--spacing-lg);
  transform: translateY(100%);
  transition: var(--transition-medium);
}

.behind-scenes-main:hover .behind-scenes-overlay {
  transform: translateY(0);
}

.stat-item {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
  margin-bottom: var(--spacing-md);
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability-section {
  background: var(--gray-100);
}

.sustainability-content h3 {
  color: var(--accent-green);
  margin-bottom: var(--spacing-md);
}

.sustainability-features {
  margin-top: var(--spacing-lg);
}

.feature-toggle {
  margin-bottom: var(--spacing-md);
}

/* ===== TOGGLES ===== */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 60px;
  color: var(--gray-700);
}

.slider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 26px;
  background: var(--gray-300);
  border-radius: 26px;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-neumorphic-inset);
}

.slider::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-soft);
}

input:checked + .slider::before {
  background: var(--gradient-primary);
}

input:checked + .slider::after {
  transform: translateY(-50%) translateX(24px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--white);
}

.contact-form-wrapper {
  background: var(--gray-100);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
}

.contact-info {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
}

.contact-info h5 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.footer h5, .footer h6 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer .list-unstyled li {
  margin-bottom: var(--spacing-xs);
}

.footer .list-unstyled a {
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer .list-unstyled a:hover {
  color: var(--primary-color);
}

.social-links a {
  color: var(--gray-300);
  margin-right: var(--spacing-md);
  font-family: var(--font-heading);
  font-weight: 500;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  background: rgba(0, 0, 0, 0.95) !important;
  border-top: 3px solid var(--primary-color);
}

.cookie-consent button {
  background: var(--primary-color);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-consent button:hover {
  background: var(--primary-dark);
}

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

.success-content {
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-strong);
}

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

.success-content p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
}

/* ===== CONTENT PAGES ===== */
.content-page {
  padding-top: 120px;
  min-height: 100vh;
  background: var(--white);
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.content-page h2 {
  color: var(--secondary-color);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.content-page p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.content-page ul, .content-page ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.content-page li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.7rem; }
  
  .behind-scenes-overlay {
    position: relative;
    transform: translateY(0);
    background: var(--gradient-dark);
  }
  
  .card-image {
    height: 200px;
  }
  
  .story-card .card-image img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-form-wrapper {
    padding: var(--spacing-lg);
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

/* ===== PARALLAX EFFECT ===== */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
  outline: none;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.rounded-neumorphic {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-neumorphic);
}

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

/* ===== READ MORE LINKS ===== */
.read-more {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: var(--transition-fast);
}

.read-more::after {
  content: '→';
  transition: var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

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