/* CSS Variables for Retro Design with Dynamic Color Transitions */
:root {
  /* Analogous Color Scheme - Retro Theme */
  --primary-color: #FF6B35;
  --primary-light: #FF8C5A;
  --primary-dark: #E55A2B;
  --secondary-color: #FFA500;
  --secondary-light: #FFB84D;
  --secondary-dark: #E6940A;
  --accent-color: #FF4500;
  --accent-light: #FF6B35;
  --accent-dark: #CC3700;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, #FF6B35, #FFA500, #FF4500);
  --gradient-secondary: linear-gradient(45deg, #FFA500, #FF8C5A, #FFB84D);
  --gradient-accent: linear-gradient(90deg, #FF4500, #FF6B35, #E55A2B);
  --gradient-retro: linear-gradient(45deg, #FF6B35 0%, #FFA500 25%, #FF4500 50%, #FF8C5A 75%, #FFB84D 100%);
  
  /* 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;
  
  /* Text Colors */
  --text-primary: #222222;
  --text-secondary: #495057;
  --text-light: #6C757D;
  --text-white: #FFFFFF;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-dark: #212529;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-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: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

/* Global Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-retro);
  transition: left var(--transition-medium);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

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

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

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

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

.btn-hero {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: var(--border-radius-lg);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Header Styles */
.header-section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: var(--spacing-sm) 0;
  background: rgba(255, 255, 255, 1);
}


@media (max-width: 992px) {
  .navbar {
    background: #000;
  }
}


.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary) !important;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.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-md);
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* Parallax Effect */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

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

/* Mission Section */
.mission-section {
  background: var(--bg-secondary);
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* Services Section */
.services-section {
  background: var(--bg-primary);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

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

.card-content p {
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Innovation Section */
.innovation-section {
  background: linear-gradient(135deg, var(--bg-secondary), var(--white));
}

.innovation-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.stats-widget {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 150px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Section */
.projects-section {
  background: var(--bg-primary);
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

.resources-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.resource-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.resource-card .card-content {
  padding: var(--spacing-lg);
}

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

.resource-card h4 a:hover {
  color: var(--primary-dark);
}

/* Clientele Section */
.clientele-section {
  background: var(--bg-primary);
}

.clientele-item {
  padding: var(--spacing-lg);
  text-align: center;
  transition: transform var(--transition-medium);
}

.clientele-item:hover {
  transform: translateY(-5px);
}

.clientele-item img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.clientele-item:hover img {
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.clientele-item h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.clientele-item p {
  color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-secondary);
}

.custom-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.active {
  display: block;
  opacity: 1;
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h5 {
  margin: 0;
  color: var(--text-primary);
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.slider-btn {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-md);
}

.slider-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Customer Stories Section */
.customer-stories-section {
  background: var(--bg-primary);
}

.story-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  border-left: 5px solid var(--primary-color);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

.story-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

.accordion-item {
  border: none;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  background: var(--white);
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  padding: var(--spacing-lg);
  transition: all var(--transition-fast);
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  background: var(--white);
  color: var(--text-secondary);
  padding: var(--spacing-lg);
  line-height: 1.8;
}

/* Contact Section */
.contact-section {
  background: var(--bg-primary);
}

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

.form-control {
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-500);
}

/* Footer */
.footer-section {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-section h5 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

.social-links a {
  color: var(--gray-400);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  font-weight: 500;
}

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

.footer-divider {
  border-color: var(--gray-700);
  margin: var(--spacing-lg) 0;
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
  color: var(--gray-400);
}

.contact-info strong {
  color: var(--white);
}

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

.success-content {
  background: var(--white);
  padding: var(--spacing-xxl);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 100%;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

/* Page Content Styles */
.page-content {
  padding-top: 100px;
  min-height: calc(100vh - 100px);
}

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

.content-section {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

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

.content-section p {
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.content-section ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.content-section li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

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

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

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

/* 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;
  }
  
  .stats-widget {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-hero {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: var(--spacing-lg);
  }
  
  .contact-form {
    padding: var(--spacing-md);
  }
}

/* Print Styles */
@media print {
  .header-section,
  .hero-section,
  .footer-section {
    display: none;
  }
  
  .page-content {
    padding-top: 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #000000;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFFFFF;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .card {
    border: 2px solid #000000;
  }
}

/* Focus Styles for Accessibility */
button:focus,
.btn:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }

.overflow-hidden { overflow: hidden; }

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.retro-border {
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius-lg);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

section {
  overflow-x: hidden;
}

@media (max-width: 992px) {
  .nav-link {
    color: #fff !important;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand  img {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
}