/* =============================================
   Corporate Sustainability Reporting Service
   Main CSS - Bootstrap 5 Integration
   ============================================= */

/* CSS Custom Properties - Color Palette */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-green: #174118;
  --primary-blue: #244176;
  --primary-teal: #0a3c39;
  --primary-orange: #a02d0c;
  --primary-purple: #543084;
  
  /* Light Shades */
  --light-green: #f4f9f4;
  --light-blue: #d6e1ed;
  --light-teal: #e7fefc;
  --light-orange: #ece3d5;
  --light-purple: #dcdcdc;
  
  /* Dark Shades */
  --dark-green: #284629;
  --dark-blue: #0a273d;
  --dark-teal: #052e26;
  --dark-orange: #95380b;
  --dark-purple: #20122c;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #868b90;
  --dark-gray: #303639;
  --black: #13161a;
}

/* Base Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  font-size: 16px;
}

/* Conservative Font Sizes */
.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary-green);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  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-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary-teal);
  border-radius: 50%;
  top: 10%;
  right: 15%;
  opacity: 0.1;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--primary-orange);
  border-radius: 50%;
  bottom: 20%;
  left: 10%;
  opacity: 0.1;
  z-index: 1;
}

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

.hero-image {
  z-index: 2;
  position: relative;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

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

.section-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-green);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

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

/* Services Section */
.services-section {
  background-color: var(--white);
}

.service-card {
  background: var(--light-blue);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-top: 1rem;
}

/* Features Section */
.features-section {
  background-color: var(--light-green);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--white);
}

.price-card {
  background: var(--white);
  border: 2px solid var(--light-green);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
}

.team-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--white);
}

.review-card {
  background: var(--light-purple);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-purple);
}

/* Case Studies Section */
.casestudy-section {
  background-color: var(--light-teal);
}

.case-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Process Section */
.process-section {
  background-color: var(--white);
}

.process-step {
  background: var(--light-orange);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  background: var(--primary-orange);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-section {
  background-color: var(--light-gray);
}

.timeline-item {
  background: var(--white);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0 10px 10px 0;
}

/* Career Section */
.career-section {
  background-color: var(--white);
}

.career-card {
  background: var(--light-green);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--light-blue);
}

.info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact Form Section */
.contact-section {
  background-color: var(--white);
}

.contact-form {
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 10px;
}

.form-control {
  border: 2px solid var(--light-green);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 103, 37, 0.25);
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

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

.contact-info {
  background: var(--light-teal);
  padding: 2rem;
  border-radius: 10px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-teal);
  margin-right: 1rem;
  width: 30px;
}

/* Blog Section */
.blog-section {
  background-color: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  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;
}

/* FAQ Section */
.faq-section {
  background-color: var(--white);
}

.faq-card {
  background: var(--light-blue);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

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

.faq-answer {
  color: var(--medium-gray);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-gray);
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
}

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

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

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

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

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

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

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-section {
  background-color: var(--light-gray);
  padding: 1rem 0;
}

.breadcrumb-image {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

/* Utility Classes */
.text-primary-green { color: var(--primary-green); }
.text-primary-blue { color: var(--primary-blue); }
.text-primary-teal { color: var(--primary-teal); }
.text-primary-orange { color: var(--primary-orange); }
.text-primary-purple { color: var(--primary-purple); }

.bg-light-green { background-color: var(--light-green); }
.bg-light-blue { background-color: var(--light-blue); }
.bg-light-teal { background-color: var(--light-teal); }
.bg-light-orange { background-color: var(--light-orange); }
.bg-light-purple { background-color: var(--light-purple); }

/* Custom Bootstrap Extension - 5 Column Layout */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Animation Styles for Sal.js */
[data-sal] {
  transition-duration: 0.5s;
  transition-delay: 0.1s;
  transition-timing-function: ease-out;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-sal] {
    transition: none !important;
  }
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
