/* Solar Panel Installation Template - Main Styles */
/* Bootstrap 5 Integration */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Color Palette - High contrast pastels */
:root {
  --primary-blue: #558de4;
  --primary-green: #6bbe27;
  --primary-orange: #fdca11;
  --primary-purple: #6e05ff;
  --primary-teal: #3ecb9d;
  
  /* Light shades */
  --light-blue: #d3e1eb;
  --light-green: #f5f5f5;
  --light-orange: #f5e2c5;
  --light-purple: #f5eff5;
  --light-teal: #f5f5f5;
  
  /* Dark shades */
  --dark-blue: #0a4ece;
  --dark-green: #4d9147;
  --dark-orange: #ff6402;
  --dark-purple: #6216a5;
  --dark-teal: #00655b;
  
  /* Neutral colors */
  --text-dark: #293e4f;
  --text-light: #6b777a;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-medium: #dadada;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Conservative font sizes */
h1 { font-size: 2.63rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.55rem; font-weight: 600; }
h4 { font-size: 1.34rem; font-weight: 500; }
h5 { font-size: 1.15rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }
p { font-size: 1rem; }

/* Prefers 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 {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  padding: 1rem 0;
  box-shadow: 0 9px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.65rem;
  font-weight: 700;
  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 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue), var(--light-teal));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero h1 {
  padding-top: 50px !important;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-dark);
  font-size: 1.33rem;
  margin-bottom: 2rem;
}

/* Decorative shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-purple), var(--primary-orange));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-blob:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-blob:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-21px); }
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.23rem;
}

/* About Section */
.about {
  background: var(--gray-light);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 13px;
  box-shadow: 0 7px 19px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-9px);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--light-green), var(--light-orange));
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 16px 30px rgba(0,0,0,0.1);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 1.55rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-medium);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features {
  background: var(--white);
}

/* Price Plan Section */
.priceplan {
  background: linear-gradient(135deg, var(--light-purple), var(--light-blue));
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 16px 38px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card.featured {
  border: 3px solid var(--primary-orange);
  transform: scale(1.05);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.91rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

/* Team Section */
.team {
  background: var(--gray-light);
}

.team-member {
  text-align: center;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 11px 25px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 8px solid var(--primary-teal);
}

/* Reviews Section */
.reviews {
  background: linear-gradient(135deg, var(--light-teal), var(--light-green));
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.3;
}

.review-stars {
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

/* Case Study Section */
.casestudy {
  background: var(--white);
}

.case-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.case-card:hover {
  background: var(--light-blue);
}

/* Process Section */
.process {
  background: linear-gradient(135deg, var(--light-orange), var(--light-purple));
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.65rem;
}

.process-container {
  counter-reset: step-counter;
}

/* Timeline Section */
.timeline {
  background: var(--gray-light);
}

.timeline-item {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-green);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary-green);
}

/* Career Section */
.career {
  background: var(--white);
}

.career-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-teal);
}

.career-card:hover {
  background: var(--light-teal);
  transform: translateX(5px);
}

/* Core Info Section */
.coreinfo {
  background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
}

.info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2.61rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background: var(--gray-light);
}

.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(59, 110, 212, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(86, 143, 231, 0.30);
}

.contact-info {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.63rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 10px;
}

.contact-info-item i {
  font-size: 1.55rem;
  color: var(--primary-green);
  margin-right: 1rem;
  width: 30px;
}

/* Blog Section */
.blog {
  background: var(--white);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-card h5 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.blog-card .btn {
  background: var(--primary-orange);
  border: none;
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-card .btn:hover {
  background: var(--dark-orange);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq {
  background: var(--gray-light);
}

.faq-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.faq-card h5 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-card p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Gallery Section */
.gallery {
  background: var(--white);
  padding: 5rem 0;
}

.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-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-teal));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-light);
  padding: 1rem 0;
}

.breadcrumb img {
  height: 30px;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
}

/* Image placeholders */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero h1 {
  padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .shape-blob {
    display: none;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.31rem;
  box-shadow: 0 4px 15px rgba(82, 125, 213, 0.30);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 137, 234, 0.40);
}

/* Navbar scrolled state */
.navbar-scrolled {
  background: rgba(82, 134, 211, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Loading spinner */
.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
}

.loading-spinner::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-medium);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Review slider active state */
.review-card.active {
  opacity: 1;
  transform: scale(1.05);
}

.review-card:not(.active) {
  opacity: 0.7;
  transform: scale(0.95);
}

/* Navbar toggle button for mobile */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navbar collapse */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(71, 156, 238, 0.95);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 


/* 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;
    }
}
