/* ==========================================================================
   Carbon-Negative Concrete R&D Firm - Main Styles
   Bootstrap 5 + Custom Theme
   ========================================================================== */

/* Color Variables - Pastel High-Contrast Palette */
:root {
  --primary-green: #50a183;
  --secondary-blue: #6a91d0;
  --accent-orange: #d28d6f;
  --neutral-gray: #6c8784;
  --highlight-yellow: #fff3c1;
  
  --light-green: #ade1d3;
  --light-blue: #aad2ef;
  --light-orange: #ddc8b0;
  --light-gray: #b9cfcc;
  --light-yellow: #fdf0c3;
  
  --dark-green: #2d5a4a;
  --dark-blue: #35446b;
  --dark-orange: #d08d69;
  --dark-gray: #405652;
  --dark-yellow: #beb163;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: #ffffff;
}

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

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

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

/* Header Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-green);
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  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;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: var(--light-orange);
  border-radius: 50%;
  opacity: 0.1;
  transform: rotate(15deg);
}

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

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

/* About Section */
.about-section {
  background-color: #f8f9fa;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--primary-green);
}

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

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

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--light-green);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Features Section */
.features-section {
  background: linear-gradient(45deg, var(--light-gray) 0%, var(--light-blue) 100%);
}

/* Price Plan Section */
.priceplan-section {
  background-color: #f8f9fa;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

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

.pricing-card.featured {
  border-color: var(--secondary-blue);
  transform: scale(1.05);
}

/* Team Section */
.team-section {
  background-color: white;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light-green);
  margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-orange) 100%);
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-orange);
  height: 100%;
}

/* Case Studies Section */
.casestudy-section {
  background-color: #f8f9fa;
}

.case-study-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

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

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

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

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.process-container {
  counter-reset: step-counter;
}

/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-gray) 100%);
}

.timeline-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--secondary-blue);
}

/* Career Section */
.career-section {
  background-color: #f8f9fa;
}

.career-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

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

/* Core Info Section */
.coreinfo-section {
  background-color: white;
}

.coreinfo-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.coreinfo-card:hover {
  background: var(--light-green);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-blue) 100%);
  color: white;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

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

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

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

/* Blog Section */
.blog-section {
  background-color: #f8f9fa;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

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

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

.faq-card {
  background: white;
  border: 1px solid var(--light-green);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* Gallery Section */
.gallery-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

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

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

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

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

.breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 


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

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

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

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

.x-link i {
    display: none;
}

/* Animation Fallback - Ensure content is always visible */
.sal-animate {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Ensure all text content is visible by default */
h1, h2, h3, h4, h5, h6, p, span, div, li, a {
  opacity: 1;
  visibility: visible;
}

/* Override any Sal.js hidden states */
[data-sal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    
    /* Ensure mobile content is always visible */
    * {
        opacity: 1 !important;
    }
}
