/* Environmental Impact Assessment Consulting - Main CSS */
:root {
  --primary-forest: #3c694a;
  --primary-sage: #70975a;
  --primary-earth: #ca7360;
  --primary-ocean: #497d8c;
  --primary-sky: #7fd2ff;
  --light-forest: #547b5f;
  --light-sage: #a9d77d;
  --light-earth: #d77b6c;
  --light-ocean: #6a98b1;
  --light-sky: #add8e2;
  --dark-forest: #203a2b;
  --dark-sage: #56864d;
  --dark-earth: #9b484e;
  --dark-ocean: #48929a;
  --dark-sky: #7ad1e0;
  --text-dark: #192437;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --border-light: #e8e8e8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-forest), var(--primary-sage));
  box-shadow: 0 7px 20px rgba(40, 69, 48, 0.10);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--text-light) !important;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-sky) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background: none;
}

.navbar-toggler-icon i {
  color: var(--text-light);
  font-size: 1.33rem;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-forest) 0%, var(--primary-ocean) 50%, var(--primary-sage) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FOM_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero-section .lead {
  font-size: 1.21rem;
  color: var(--light-sky);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 19px 30px rgba(0, 0, 0, 0.2);
}

/* Decorative Elements */
.blob-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--primary-sky), var(--primary-sage));
  border-radius: 50% 30% 70% 40%;
  opacity: 0.1;
  z-index: 1;
}

.blob-2 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--primary-earth), var(--primary-ocean));
  border-radius: 30% 50% 40% 70%;
  opacity: 0.1;
  z-index: 1;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 6px 17px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-7px);
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.15);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

.about-feature h4 {
  font-size: 1.29rem;
  font-weight: 600;
  margin-bottom: 0.61rem;
  color: var(--primary-forest);
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-sky), var(--light-sage));
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-11px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.64rem;
}

.service-card h5 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

.service-card .price {
  font-size: 1.57rem;
  font-weight: 700;
  color: var(--primary-earth);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.service-features li::before {
  content: "âœ“";
  color: var(--primary-sage);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  background: white;
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--light-forest), var(--light-sage));
  color: white;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: scale(1.05);
}

.feature-item i {
  font-size: 2.64rem;
  margin-bottom: 1rem;
}

.feature-item h5 {
  font-size: 1.21rem;
  font-weight: 600;
  margin-bottom: 0.57rem;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--bg-light);
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured {
  border: 3px solid var(--primary-sage);
  transform: scale(1.05);
}

.price-card h5 {
  font-size: 1.49rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

.price-card .price {
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--primary-earth);
  margin-bottom: 1.58rem;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, var(--light-ocean), var(--light-sky));
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-sage);
}

.team-member h5 {
  font-size: 1.21rem;
  font-weight: 600;
  margin-bottom: 0.67rem;
  color: var(--primary-forest);
}

.team-member .role {
  color: var(--primary-ocean);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: white;
}

.review-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.review-author {
  font-weight: 600;
  color: var(--primary-forest);
}

/* Case Study Section */
.casestudy-section {
  background: var(--bg-light);
}

.case-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-card h5 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, var(--light-sage), var(--light-sky));
}

.process-step {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step .step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-earth);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.53rem;
  font-weight: bold;
  margin: 0 auto 1rem auto;
}

/* Timeline Section */
.timeline-section {
  background: white;
}

.timeline-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-sage);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-item h5 {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 0.60rem;
  color: var(--primary-forest);
}

/* Career Section */
.career-section {
  background: var(--bg-light);
}

.career-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-3px);
}

.career-item h5 {
  font-size: 1.44rem;
  font-weight: 600;
  margin-bottom: 0.69rem;
  color: var(--primary-forest);
}

.career-role {
  color: var(--primary-ocean);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  background: linear-gradient(135deg, var(--light-ocean), var(--light-earth));
}

.coreinfo-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item h5 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

/* Contact Section */
.contact-section {
  background: white;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(140, 194, 116, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-sage), var(--primary-ocean));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-sage), var(--dark-ocean));
}

.contact-info {
  background: var(--primary-forest);
  color: white;
  padding: 2rem;
  border-radius: 15px;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-sky);
}

/* Blog Section */
.blog-section {
  background: var(--bg-light);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card h5 {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

.blog-card .excerpt {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--primary-sage);
  text-decoration: none;
  font-weight: 500;
}

.blog-card .read-more:hover {
  color: var(--dark-sage);
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-item {
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: var(--primary-forest);
  color: white;
  padding: 1rem;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--dark-forest);
}

.faq-answer {
  padding: 1rem;
  background: white;
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-light);
  padding: 4rem 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-forest), var(--dark-ocean));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-sky);
}

.footer p {
  margin-bottom: 0.73rem;
}

.footer a {
  color: var(--light-sky);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer .copyright {
  border-top: 1px solid var(--primary-ocean);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 1.03rem;
  color: var(--light-sky);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-sage), var(--primary-ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.scale-on-hover {
  transition: transform 0.3s ease;
}

.scale-on-hover:hover {
  transform: scale(1.05);
}

/* Additional Section Styling */
.fade-in-up-active {
  opacity: 1;
  transform: translateY(0);
}

/* Team Section Responsive Fix */
@media (max-width: 768px) {
  .team-member {
    margin-bottom: 2rem;
  }
  
  .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Process Section Responsive */
@media (max-width: 768px) {
  .process-step {
    margin-bottom: 2rem;
  }
  
  .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Invalid form styling */
.is-invalid {
  border-color: #e83030 !important;
}

.is-invalid:focus {
  border-color: #f3405a !important;
  box-shadow: 0 0 0 0.2rem rgba(227, 75, 73, 0.25) !important;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
