:root {
  /* Primary Color Palette - High contrast pastels for EV theme */
  --primary-electric: #12dbaa;
  --primary-electric-light: #47fff7;
  --primary-electric-dark: #00b47a;
  
  --secondary-energy: #ffa54f;
  --secondary-energy-light: #ffe2a6;
  --secondary-energy-dark: #fdc41b;
  
  --accent-power: #a866bf;
  --accent-power-light: #cbb0d7;
  --accent-power-dark: #823b96;
  
  --neutral-tech: #3b5363;
  --neutral-tech-light: #8196a3;
  --neutral-tech-dark: #1d2930;
  
  --success-green: #149b5e;
  --success-green-light: #70e59f;
  --success-green-dark: #158a4d;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1rem;
  
  /* Shadows and Effects */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 0.5rem;
  --border-radius-large: 1rem;
  
  /* Transitions */
  --transition-base: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--neutral-tech-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--neutral-tech-dark);
}

h1 { font-size: 2.65rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.90rem; }
h4 { font-size: 1.60rem; }
h5 { font-size: 1.37rem; }
h6 { font-size: 1.21rem; }

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

.lead {
  font-size: var(--font-size-large);
  font-weight: 400;
  color: var(--neutral-tech);
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-electric-dark));
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
}

.navbar-brand {
  font-size: 1.56rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-electric-light), var(--primary-electric), var(--secondary-energy));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--neutral-tech-dark);
  font-size: 3rem;
  margin-bottom: 1.56rem;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-content p {
  color: var(--neutral-tech);
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--neutral-tech-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--accent-power);
  font-size: var(--font-size-large);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--neutral-tech);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition-base);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--neutral-tech-dark);
  font-size: 1.39rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--neutral-tech);
  margin-bottom: 1rem;
}

/* Services Cards */
.service-card {
  background: linear-gradient(135deg, white, var(--primary-electric-light));
  border: 2px solid var(--primary-electric);
}

.service-price {
  font-size: 1.51rem;
  font-weight: 700;
  color: var(--primary-electric-dark);
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--neutral-tech);
}

.service-features li:before {
  content: '⚡';
  color: var(--primary-electric);
  margin-right: 0.5rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-electric);
}

.team-name {
  color: var(--neutral-tech-dark);
  font-size: 1.38rem;
  margin-bottom: 0.74rem;
}

.team-role {
  color: var(--accent-power);
  font-weight: 500;
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border: 1px solid var(--primary-electric-light);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: linear-gradient(135deg, var(--primary-electric-light), white);
  padding: 1.5rem;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  color: var(--neutral-tech-dark);
  transition: var(--transition-base);
  position: relative;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-electric-light));
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.52rem;
  font-weight: 300;
  transition: var(--transition-base);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--neutral-tech);
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

/* Testimonials */
.review-card {
  background: linear-gradient(135deg, var(--accent-power-light), white);
  border-left: 4px solid var(--accent-power);
}

.review-text {
  font-style: italic;
  color: var(--neutral-tech);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--neutral-tech-dark);
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-energy), var(--secondary-energy-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.52rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-title {
  color: var(--neutral-tech-dark);
  margin-bottom: 0.69rem;
}

.process-desc {
  color: var(--neutral-tech);
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, var(--primary-electric-light), white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-soft);
}

.form-control {
  border: 2px solid var(--primary-electric-light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary-electric);
  box-shadow: 0 0 0 0.2rem rgba(0, 226, 198, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--neutral-tech-dark);
  margin-bottom: 0.74rem;
}

.form-check-input:checked {
  background-color: var(--primary-electric);
  border-color: var(--primary-electric);
}

.form-check-input:focus {
  border-color: var(--primary-electric-light);
  box-shadow: 0 0 0 0.2rem rgba(7, 204, 186, 0.25);
}

.form-check-label {
  color: var(--neutral-tech);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-electric-dark));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition-base);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-electric-dark), var(--neutral-tech-dark));
  transform: translateY(-2px);
  color: white;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(12, 188, 142, 0.25);
  color: white;
}

.btn-primary:active {
  background: linear-gradient(135deg, var(--primary-electric-dark), var(--neutral-tech-dark));
  color: white;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-tech-dark), var(--neutral-tech));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-electric-light);
  margin-bottom: 1rem;
}

.footer p, .footer small {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.59rem;
}

.footer a {
  color: var(--primary-electric-light);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Gallery */
.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Price Plans */
.price-card {
  background: white;
  border: 2px solid var(--primary-electric-light);
  transition: var(--transition-base);
  position: relative;
}

.price-card:hover {
  border-color: var(--primary-electric);
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--secondary-energy);
  background: linear-gradient(135deg, var(--secondary-energy-light), white);
}

.price-header {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-electric-dark));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.price-amount {
  font-size: 2.65rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.price-period {
  opacity: 0.8;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-electric);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
  color: white;
  text-decoration: none;
}

/* Improved Text Contrast */
.text-primary {
  color: var(--primary-electric-dark);
}

.bg-light {
  background: linear-gradient(135deg, #f8f9fa, #e4e4e4);
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-electric), var(--accent-power));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-electric), var(--primary-electric-dark));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-energy), var(--secondary-energy-dark));
}

.bg-light-gradient {
  background: linear-gradient(135deg, var(--primary-electric-light), white);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus visible for better accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-electric);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar, .hero, .footer, .btn {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #c4c4c4;
  }
}

/* Space Animation */
.space-content {
  min-height: 100vh;
  background: linear-gradient(135deg, #23253a, #233053, #113869);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.space-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/space-bg.webp') center/cover no-repeat;
  opacity: 0.3;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
  content: '⚡';
  position: absolute;
  color: var(--primary-electric);
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-elements::after {
  top: 70%;
  right: 15%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
