/* ======================================
   EV CHARGING STATION FRANCHISING THEME
   Bootstrap 5 Integration - No Overrides
   ====================================== */

/* Color Palette - Pastel High-Contrast */
:root {
  --primary-electric: #4dc2a7;
  --primary-electric-light: #9be4ea;
  --primary-electric-dark: #278773;
  
  --secondary-green: #a4f3da;
  --secondary-green-light: #aaece0;
  --secondary-green-dark: #68b8b6;
  
  --accent-blue: #b7f4d6;
  --accent-blue-light: #bad8c7;
  --accent-blue-dark: #7ccaa5;
  
  --neutral-mint: #F3F9F7;
  --neutral-mint-light: #F8FCFA;
  --neutral-mint-dark: #dcf6eb;
  
  --text-dark: #3a3f41;
  --text-light: #727e81;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-electric) 0%, var(--secondary-green) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-electric-light) 100%);
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* Conservative Typography */
h1 {
  font-size: 2.60rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.58rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.40rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Navbar */
.navbar-brand {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-electric-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-electric);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

.hero-decorative {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-decorative:nth-child(1) {
  top: 20%;
  right: 10%;
}

.hero-decorative:nth-child(2) {
  bottom: 20%;
  left: 10%;
}

.hero-title {
  color: white;
  margin-bottom: 1.81rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.30rem;
  margin-bottom: 2rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary {
  background: var(--primary-electric);
  border: none;
  padding: 13px 30px;
  font-weight: 600;
  border-radius: 9px;
}

.btn-primary:hover {
  background: var(--primary-electric-dark);
}

.btn-outline-primary {
  color: var(--primary-electric);
  border: 2px solid var(--primary-electric);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
}

.btn-outline-primary:hover {
  background: var(--primary-electric);
  color: white;
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.23rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  border: none;
}

.service-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.86rem;
}

.service-price {
  font-size: 1.60rem;
  font-weight: 700;
  color: var(--primary-electric);
  margin-top: 1rem;
}

/* Feature Section */
.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Team Section */
.team-member {
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 9px solid var(--accent-blue);
}

.team-role {
  color: var(--primary-electric);
  font-weight: 600;
  margin-bottom: 0.81rem;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border: none;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-electric);
  margin-bottom: 0.67rem;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.89rem;
  border: none;
}

.faq-question {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 8px;
  border: 2px solid #dedede;
  padding: 12px 16px;
}

.form-control:focus {
  border-color: var(--primary-electric);
  box-shadow: 0 0 0 0.2rem rgba(78, 186, 173, 0.25);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-electric);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-electric);
}

/* Price Plans */
.price-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  border: none;
}

.price-card.featured {
  border: 3px solid var(--primary-electric);
  transform: scale(1.05);
}

.price-value {
  font-size: 2.52rem;
  font-weight: 700;
  color: var(--primary-electric);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  color: white;
  font-size: 1.63rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-electric);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-item a::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  opacity: 0;
  z-index: 2;
}

.gallery-item a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(93, 197, 177, 0.80);
  opacity: 0;
  z-index: 1;
}

.gallery-item:hover a::before,
.gallery-item:hover a::after {
  opacity: 1;
}

/* Lightbox2 Customizations */
.lightbox .lb-image {
  border-radius: 8px;
}

.lightbox .lb-nav a.lb-prev,
.lightbox .lb-nav a.lb-next {
  background: rgba(70, 197, 188, 0.80);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-nav a.lb-prev:hover,
.lightbox .lb-nav a.lb-next:hover {
  background: var(--primary-electric);
}

.lightbox .lb-data .lb-close {
  background: rgba(70, 194, 183, 0.80);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-data .lb-close:hover {
  background: var(--primary-electric);
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.31rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-electric);
  text-decoration: none;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Responsive Animations - DISABLED */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ALL ANIMATIONS DISABLED */
* {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Allow essential Bootstrap transitions for functionality */
.navbar-collapse,
.collapse,
.collapsing {
  transition: height 0.35s ease !important;
}

.navbar-collapse.show {
  transition: height 0.35s ease !important;
}

.navbar-toggler {
  transition: none !important;
}

/* Ensure navbar collapse works properly */
.navbar-collapse {
  overflow: hidden;
}

/* Allow Bootstrap dropdown transitions */
.dropdown-menu {
  transition: none !important;
}

/* Allow modal transitions but make them instant */
.modal.fade .modal-dialog {
  transition: none !important;
  transform: none !important;
}

.modal.fade {
  transition: opacity 0.15s linear !important;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-electric);
}

.bg-primary {
  background: var(--primary-electric);
}

.bg-light-mint {
  background: var(--neutral-mint);
}

.border-primary {
  border-color: var(--primary-electric);
}

/* Nanobar Progress Indicator */
.nanobar {
  width: 100%;
  height: 3px;
  z-index: 9999;
  top: 0;
}

.nanobar .bar {
  background: var(--gradient-primary);
  height: 100%;
}

/* Lazy Loading Images */
.lozad {
  opacity: 1;
}

.lozad.loaded {
  opacity: 1;
}

/* JustValidate Error Styles */
.just-validate-error-label {
  color: #f56a4c;
  font-size: 0.93rem;
  margin-top: 0.58rem;
}

.just-validate-error-field {
  border-color: #de634e;
}

.just-validate-success-field {
  border-color: var(--primary-electric);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Notification Enhancements */
.notification {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.62rem;
  cursor: pointer;
  opacity: 0.8;
}

.notification-close:hover {
  opacity: 1;
}

/* Additional Pages Sections */
.page-section {
  padding: 4rem 0;
}

.page-section:nth-child(even) {
  background: var(--neutral-mint);
}

.page-element {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.87rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Core Info Section */
.core-info-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.core-info-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Career Section */
.career-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-electric);
}

.career-role {
  color: var(--primary-electric);
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 0.68rem;
}

/* Case Study Section */
.casestudy-item {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.casestudy-title {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
  background: var(--neutral-mint);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.contact-info-item {
  margin-bottom: 1.82rem;
}

.contact-info-item i {
  color: var(--primary-electric);
  font-size: 1.63rem;
  margin-bottom: 0.87rem;
}

.contact-info-item h5 {
  color: var(--text-dark);
  margin-bottom: 0.99rem;
}

.contact-info-item p {
  color: var(--text-light);
  margin: 0;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
