/* EV Charging Network Template - Main CSS */

/* Color Palette - CSS Variables */
:root {
  --primary-green: #5cbe6a;
  --primary-blue: #2581f3;
  --primary-orange: #ff7300;
  --primary-purple: #9216b2;
  --primary-teal: #01c0de;
  
  --light-green: #e3f9e0;
  --light-blue: #d5e9ff;
  --light-orange: #fffbf7;
  --light-purple: #f2def7;
  --light-teal: #cbdada;
  
  --dark-green: #489644;
  --dark-blue: #045dc6;
  --dark-orange: #fd980f;
  --dark-purple: #5c2282;
  --dark-teal: #046f89;
  
  --text-dark: #2e383f;
  --text-muted: #4f5f67;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.63rem;
  font-weight: bold;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-teal) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../CAF_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.59rem;
  margin-bottom: 1.60rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.16rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.59rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 11px;
  box-shadow: 0 9px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-blue), var(--light-teal));
}

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 17px 37px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.60rem;
}

.service-name {
  font-size: 1.51rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.72rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.56rem;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--text-dark);
}

.service-features li::before {
  content: 'âœ“';
  color: var(--primary-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-price {
  font-size: 1.55rem;
  font-weight: bold;
  color: var(--primary-orange);
}

/* Features Section */
.features-section {
  background: var(--white);
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--light-purple), var(--light-orange));
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
  border: 3px solid var(--primary-green);
}

.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.89rem;
  font-weight: bold;
}

/* Team Section */
.team-section {
  background: var(--light-gray);
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-teal);
}

.team-name {
  font-size: 1.34rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
}

.team-role {
  color: var(--primary-blue);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--light-green), var(--light-blue));
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-green);
  opacity: 0.3;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.60rem;
  color: var(--text-muted);
}

.review-author {
  font-weight: bold;
  color: var(--primary-blue);
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-item {
  background: var(--light-gray);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--dark-blue);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-green));
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 202, 0.25);
}

.contact-info {
  color: var(--white);
}

.contact-info h4 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.18rem;
}

/* Blog Section */
.blog-section {
  background: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.38rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-dark), var(--dark-blue));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--light-gray);
  margin-bottom: 0.57rem;
}

.footer a {
  color: var(--light-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utility Classes */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--dark-teal));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--dark-orange), var(--dark-purple));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Timeline Styles */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--primary-teal);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 85px;
  top: calc(50% + 12px);
  width: 2px;
  height: 60px;
  background: var(--light-teal);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-date {
  background: var(--primary-teal);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
  margin-right: 2rem;
}

.timeline-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.61rem;
  margin-left: 2rem;
}

.timeline-item p {
  color: var(--text-muted);
  margin-left: 2rem;
  margin-bottom: 0;
}

/* Process Number Styles */
.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.61rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Career Role Styles */
.career-role {
  color: var(--primary-purple);
  font-weight: 500;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

/* Case Study Section */
.casestudy-section {
  background: var(--light-gray);
}

/* Process Section */
.process-section {
  background: var(--white);
}

/* Timeline Section */
.timeline-section {
  background: var(--light-teal);
}

/* Career Section */
.career-section {
  background: var(--light-purple);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--light-orange);
}

/* Price Card Price Styles (for consistency) */
.price-card-price {
  font-size: 1.52rem;
  font-weight: bold;
  color: var(--primary-orange);
  margin-top: 1rem;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
