/* style.css */
/* Olatunde International Limited - Cocoa Export Website */

:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-darker: #14532d;
  --secondary: #f59e0b;
  --light: #f8fafc;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --box-shadow-inner: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ============= Base Styles ============= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============= Typography ============= */
.display-4 {
  font-size: 2.5rem;
  font-weight: 800;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray);
}

.text-success {
  color: var(--primary) !important;
}

/* ============= Layout ============= */
.section {
  padding: 40px 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
  text-align: center;
}

/* ============= Header & Navigation ============= */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.navbar-brand i {
  color: var(--primary);
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:hover::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* ============= Hero Section ============= */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #fef3c7 100%);
  padding: 120px 0;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  color: #475569;
  margin-bottom: 2rem;
}

.carousel-inner img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* ============= Buttons ============= */
.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============= Cards & Content Blocks ============= */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* ============= Value & Why Choose Cards ============= */
.value-card,
.why-choose-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--box-shadow-inner);
}

/* ============= Team Styles ============= */
.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--white);
  box-shadow: var(--box-shadow);
}

/* ============= FAQ Styles ============= */
.accordion-button {
  font-weight: 600;
  color: var(--dark);
  background-color: var(--light);
  border-bottom: 1px solid var(--light-gray);
  padding: 1rem;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: #f0fdf4;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316a34a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: var(--gray);
  padding: 1rem;
  border-top: 1px dashed var(--light-gray);
}

/* ============= Stats Section ============= */
.stats {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.stat-item {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ============= Sustainability Section ============= */
.sustainability-bg {
  background-color: var(--primary);
  color: var(--white);
}

.sustainability-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-card {

  border: 1px solid #e2e8f0;
  border-radius: 12px;
  /* padding: 20px; */
}

.service-card:hover {
  /* background-color: var(--primary); */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  /* color: white; */
  background-color: #b8f0c9ff;
}

.why-choose-item:hover {
  background-color: #b8f0c9ff;
}

.fa-map-marked-alt:hover {
  color: white;
}

/* ============= Contact Form ============= */
.contact-form .form-control {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

/* ============= Footer ============= */
.footer {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.75rem;
  display: block;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links a {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

/* ============= Read More Links ============= */
.read-more {
  color: var(--primary) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

/* ============= Market Segments ============= */
.market-segment {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.8rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.market-segment:hover {
  transform: translateY(-5px);
}

/* ============= Hero Section with Background Image ============= */
.hero-bg {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
  height: 50vh;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/wharehouse4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  /* Black overlay with 60% opacity */
  z-index: -1;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .hero-bg {
    height: 80vh;
    padding: 100px 0;
  }

  .hero-bg::before,
  .hero-bg::after {
    background-attachment: scroll;
  }
}

@media (min-width: 768px) {

  .hero-bg::before,
  .hero-bg::after {
    background-attachment: fixed;
  }
}


/* ============= Responsive Design ============= */

/* Mobile (up to 576px) */
/* ============= Print & Accessibility ============= */
@media print {
  .navbar, .carousel-control-prev, .carousel-control-next, .carousel-indicators {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  body {
    background: white;
    color: black;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}