/* CSS Variables - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-color: #2c3e50;        /* Dark blue-gray */
  --secondary-color: #e74c3c;      /* Red */
  --accent-color: #f39c12;         /* Orange */
  --success-color: #27ae60;        /* Green */
  --info-color: #8e44ad;           /* Purple */
  
  /* Light Shades */
  --primary-light: #34495e;
  --secondary-light: #e67e22;
  --accent-light: #f1c40f;
  --success-light: #2ecc71;
  --info-light: #9b59b6;
  
  /* Dark Shades */
  --primary-dark: #1a252f;
  --secondary-dark: #c0392b;
  --accent-dark: #d68910;
  --success-dark: #229954;
  --info-dark: #7d3c98;
  
  /* Neutral Colors */
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --border-color: #dee2e6;
  
  /* Conservative Font Sizes */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --h5-size: 1.125rem;
  --navbar-brand-size: 1.25rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --card-padding: 2rem;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Typography */
h1 { font-size: var(--h1-size); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: var(--h2-size); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: var(--h3-size); font-weight: 600; margin-bottom: 0.875rem; }
h4 { font-size: var(--h4-size); font-weight: 500; margin-bottom: 0.75rem; }
h5 { font-size: var(--h5-size); font-weight: 500; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 1rem 0;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 12px !important;
  font-size: var(--navbar-brand-size);
  font-weight: 700;
  color: var(--text-light) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: var(--border-radius);
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 50%, var(--accent-color) 100%);
  color: var(--text-light);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

/* Cards and Components */
.service-card,
.pricing-card,
.blog-card,
.case-study-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--card-padding);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover,
.pricing-card:hover,
.blog-card:hover,
.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.service-card .card-img-top,
.blog-card img,
.case-study-card img {
  border-radius: var(--border-radius);
  max-width: 100%;
  height: auto;
}

/* Pricing Cards */
.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
  color: var(--text-light);
  transform: scale(1.05);
  border: 3px solid var(--accent-color);
}

.price-big {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 1rem 0;
}

.pricing-card.featured .price-big {
  color: var(--text-light);
}

/* Feature Items */
.feature-box,
.feature-item,
.tech-card,
.compliance-card,
.infrastructure-card,
.process-card,
.transform-card,
.api-card,
.analytics-card,
.mobile-card,
.support-card,
.info-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 2rem 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  text-align: center;
}

.feature-box:hover,
.feature-item:hover,
.tech-card:hover,
.compliance-card:hover,
.infrastructure-card:hover,
.process-card:hover,
.transform-card:hover,
.api-card:hover,
.analytics-card:hover,
.mobile-card:hover,
.support-card:hover,
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.feature-box i,
.feature-item i,
.tech-card i,
.compliance-card i,
.infrastructure-card i,
.transform-card i,
.api-card i,
.analytics-card i,
.mobile-card i,
.support-card i,
.info-card i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Process Steps */
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Team Members */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
}

/* Testimonials Swiper */
.testimonials-swiper {
  padding: 2rem 0;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial-card h5 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
  border-left-color: var(--accent-color);
}

.timeline-year {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: inline-block;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Career Cards */
.career-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.career-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  border-color: var(--accent-color);
}

/* Forms */
.contact-form {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--info-dark) 100%);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Gallery */
.gallery-img {
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow);
}

/* FAQ Accordion */
.accordion-button {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
  color: var(--text-light);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
  margin-top: 76px;
}

.breadcrumb-img {
  max-width: 40px;
  height: auto;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
}

footer h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* Space page styling */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  margin-top: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
} 