/*
===============================================
RENEWABLE ENERGY GRANT CONSULTANCY - MAIN CSS
===============================================
Bootstrap 5 Integration | Conservative Design
Pastel High-Contrast Colors | No Overrides
*/

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Primary Pastel Color Palette - High Contrast */
  --primary-green: #20422f;
  --primary-blue: #1c3464;
  --primary-orange: #dd8123;
  --primary-yellow: #c6b05e;
  --primary-purple: #5c4f75;
  
  /* Light Shades */
  --light-green: #fcfffc;
  --light-blue: #e9eaea;
  --light-orange: #ffe9d5;
  --light-yellow: #fff9ea;
  --light-purple: #f4f1f7;
  
  /* Dark Shades */
  --dark-green: #1b3f2e;
  --dark-blue: #10233c;
  --dark-orange: #7d3212;
  --dark-yellow: #786728;
  --dark-purple: #352a42;
  
  /* Neutral Colors */
  --text-dark: #395266;
  --text-light: #7f8284;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  
  /* Conservative Font Sizes */
  --fs-navbar-brand: 1.1rem;
  --fs-h1: 2.2rem;
  --fs-h2: 1.8rem;
  --fs-h3: 1.4rem;
  --fs-h4: 1.2rem;
  --fs-body: 0.95rem;
  --fs-small: 0.85rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 2rem;
}

/* ==================== GLOBAL STYLES ==================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* ==================== TYPOGRAPHY ==================== */
.navbar-brand {
  font-size: var(--fs-navbar-brand);
  font-weight: var(--font-weight-bold);
  color: var(--primary-green);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

h4 {
  font-size: var(--fs-h4);
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--fs-body);
  color: var(--text-light);
  margin-bottom: 1rem;
}

small {
  font-size: var(--fs-small);
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-green);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--light-orange);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 150px;
}

/* ==================== CARDS ==================== */
.service-card, .feature-card, .team-card, .review-card, .case-card, .process-card {
  background: var(--white);
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  padding: var(--card-padding);
}

.service-card:hover, .feature-card:hover, .team-card:hover, .review-card:hover, .case-card:hover, .process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card .card-header {
  background: var(--light-green);
  border: none;
  border-radius: 0.75rem 0.75rem 0 0;
  text-align: center;
  padding: 1.5rem;
}

.price-tag {
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: var(--font-weight-bold);
  display: inline-block;
  margin-top: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn-primary-custom {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  color: var(--white);
}

.btn-outline-custom {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

/* ==================== FORMS ==================== */
.form-control {
  border: 2px solid #dadada;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: var(--fs-body);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(52, 112, 77, 0.15);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.nav-link {
  color: var(--text-dark);
  font-weight: var(--font-weight-medium);
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-blue);
  margin-bottom: 1rem;
}

.footer p, .footer small {
  color: #a4a7ab;
}

.footer a {
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

/* ==================== BACKGROUND SECTIONS ==================== */
.bg-light-green {
  background-color: var(--light-green);
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-light-orange {
  background-color: var(--light-orange);
}

/* ==================== TEAM SECTION ==================== */
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-green);
  margin-bottom: 1rem;
}

/* ==================== FAQ SECTION ==================== */
.faq-card {
  border: 1px solid var(--light-green);
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: var(--font-weight-medium);
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

/* ==================== GALLERY ==================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  height: 16px;
  width: auto;
}

/* ==================== UTILITIES ==================== */
.text-primary-green {
  color: var(--primary-green);
}

.text-primary-blue {
  color: var(--primary-blue);
}

.text-primary-orange {
  color: var(--primary-orange);
}

.icon-lg {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.icon-md {
  font-size: 1.8rem;
  color: var(--primary-blue);
}

/* ==================== LOADING BAR ==================== */
.nanobar {
  background: var(--primary-green);
  height: 3px;
}

/* ==================== RESPONSIVE HELPERS ==================== */
@media (max-width: 768px) {
  :root {
    --fs-h1: 1.8rem;
    --fs-h2: 1.5rem;
    --section-padding: 2.5rem 0;
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero::before {
    display: none;
  }
}

@media (max-width: 576px) {
  :root {
    --fs-h1: 1.6rem;
    --fs-h2: 1.3rem;
    --card-padding: 1.5rem;
  }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
