/* Renewable Energy Consulting Template - Main CSS */
/* Import Bootstrap 5 */
@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 Variables */
:root {
  --primary-green: #399255;
  --primary-blue: #4f89e0;
  --primary-orange: #ff9e4a;
  --primary-teal: #28bfbb;
  --primary-gold: #ffcf00;
  
  /* Light shades */
  --light-green: #95df9f;
  --light-blue: #78c8f0;
  --light-orange: #fbc35f;
  --light-teal: #3ce1dd;
  --light-gold: #fff69f;
  
  /* Dark shades */
  --dark-green: #21503c;
  --dark-blue: #1d4e71;
  --dark-orange: #bb4c0d;
  --dark-teal: #2c9980;
  --dark-gold: #a17416;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #F8F9FA;
  --gray-medium: #868d92;
  --gray-dark: #1c2227;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
}

/* Conservative font sizes */
.navbar-brand {
  font-size: 1.14rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.84rem;
  font-weight: 600;
}

h3 {
  font-size: 1.64rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Respect 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 */
.navbar {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  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-gold) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--light-blue);
  font-size: 1.40rem;
  margin-bottom: 1.66rem;
}

.hero-desc {
  font-size: 1.23rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Decorative shapes */
.hero-section .blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-orange), var(--primary-gold));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.blob-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section styling */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--gray-light), var(--light-green));
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 17px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.63rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--white);
}

.service-card {
  background: linear-gradient(135deg, var(--white), var(--light-blue));
  border: 9px solid var(--primary-blue);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-teal));
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-name {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.52rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.67rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.service-features li:before {
  content: 'âœ“ ';
  color: var(--primary-green);
  font-weight: bold;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, var(--light-teal), var(--light-blue));
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-green);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.team-name {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.59rem;
}

.team-role {
  color: var(--primary-blue);
  font-style: italic;
}

/* Reviews/Testimonials */
.reviews-section {
  background: var(--white);
}

.review-card {
  background: linear-gradient(135deg, var(--light-gold), var(--light-orange));
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.22rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-green);
  text-align: right;
}

/* FAQ Section */
.faq-section {
  background: var(--gray-light);
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-green);
  color: var(--white);
  padding: 1rem;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 1rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: 10px;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-control:focus {
  background: rgba(255,255,255,0.3);
  border-color: var(--primary-gold);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(255, 221, 23, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-gold));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-orange), var(--dark-gold));
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--gray-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--gray-medium);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  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 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--gray-medium);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Utility classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} 


/* 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;
    }
}
