/* ========== Global Branding ========== */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfaf6; /* Cream background */
  color: #3d2b1f; /* Coffee text */
  margin: 0;
  padding-top: 80px; /* Adjust if your header height changes */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  background-color: rgb(253, 246, 246);
  color: #bd3314f3; /* Deep brown */
  font-weight: 600;
}

a {
  color: #6d4c41; /* Mocha */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4e342e; /* Darker mocha */
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* ========== Primary Buttons ========== */
.btn-primary {
  background-color: #6f4e37; /* Coffee brown */
  border-color: #6f4e37;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #5e3e2d;
  border-color: #5e3e2d;
  outline: none;
}

/* ========== Outline Button ========== */
.btn-outline-secondary {
  border-color: #a1887f; /* Taupe */
  color: #5d4037;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: #a1887f;
  color: #fff;
  outline: none;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-text {
  max-width: 640px;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .hero-text {
    font-size: 1.25rem;
  }
}

/* ========== Quick Facts Section ========== */
.quick-facts {
  background-color: #f5eee6;
  padding: 3rem 0;
  text-align: center;
}

.quick-facts .fact-icon {
  font-size: 2rem;
  color: #6f4e37;
}

.quick-facts .fact-value {
  font-size: 2rem;
  font-weight: bold;
  color: #4e342e;
}

/* ========== Section Titles ========== */
.section-title {
  color: #5e3a2c;
  border-left: 4px solid #c6a27e;
  padding-left: 10px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: #5d4037;
}
/* about-style.css */

body {
  background-color: #f8f4f0;
  font-family: 'Inter', sans-serif;
  color: #4e342e;
}

/* Timeline styles */
.timeline {
  position: relative;
  margin-left: 2rem;
  padding-left: 1.5rem;
  border-left: 4px solid #a5682a;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 0.4rem;
  width: 1rem;
  height: 1rem;
  background-color: #a5682a;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #a5682a;
}

/* Video responsive */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Swiper overrides */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Typography */
h1, h2, h3, h4 {
  color: #4e342e;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .timeline {
    margin-left: 1rem;
  }
  .timeline-item {
    margin-bottom: 2rem;
  }
}
#coffee-sources {
  background-color: #f8f4f0;
}
#coffee-sources h2 {
  color: #4e342e;
}
#coffee-sources .grid > div:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* ========== Contact Info ========== */
.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #6f4e37;
  margin-right: 10px;
  font-size: 1.2rem;
}
#partners iframe {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========== Footer ========== */
footer {
  background-color: #3e2723;
  color: #fff8f0;
  padding: 2rem 0;
}

footer a {
  color: #e0c7b5;
  transition: color 0.3s ease;
}

footer a:focus {
  color: #fff;
  outline: none;
}
footer a:hover {
  color: #c0a16b !important;
  text-decoration: underline;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* ========== Footer ========== */
.footer-custom {
  background-color: #4e342e;
  color: #ffffff;
  padding: 24px 0;
  text-align: center;
  margin-top: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-custom p {
  margin: 6px 0;
}
/* ========== Scroll to Top Button ========== */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #8CC63E;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #6ca62e;
}

/* ========== Forms ========== */
form label {
  font-weight: 500;
  color: #4e342e;
}

form input,
form textarea,
form select {
  border-radius: 8px;
  border: 1px solid #d7ccc8;
  padding: 10px;
  background-color: #fff;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #6f4e37;
  box-shadow: 0 0 5px rgba(111, 78, 55, 0.3);
  outline: none;
}

/* ========== Cards ========== */
.card {
  border-radius: 10px;
  border: 1px solid #e0d7cd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  background-color: #fff;

  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

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

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(111, 78, 55, 0.15);
}

.card-title {
  color: #4e342e;
  font-weight: 600;
}

.card-text {
  color: #6d4c41;
}

/* ========== Navbar ========== */
.navbar-dark {
  background-color: #4e342e;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff8f0;
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #c6a27e;
  outline: none;
}

/* Custom coffee button */
.btn-coffee {
  color: #fff;
  background-color: #6f4e37;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-coffee:hover,
.btn-coffee:focus {
  background-color: #5a3f2b;
  outline: none;
  box-shadow: 0 0 8px rgba(111, 78, 55, 0.6);
}

/* Custom menu links hover */
#customMenu a:hover,
#customMenu a:focus {
  color: #6b4c2f; /* Earthy brown */
  text-decoration: underline;
  outline: none;
}

/* Fullscreen Overlay Menu Style */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d2d2d;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.4s ease-in-out;
}

.menu-overlay a {
  font-size: 2rem;
  margin: 1rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-overlay a:hover,
.menu-overlay a:focus {
  color: #c0a16b; /* Coffee-like accent */
  outline: none;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
  color: #c0a16b;
  outline: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .quick-facts .fact-value {
    font-size: 1.5rem;
  }
}
.logo-container {
  width: 315px;
  height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 70px solid #fff;
  border-right: 90px solid transparent;
}

.logo-img {
  height: 50px;
  position: absolute;
  top: -60px;
  left: 1.5rem; /* equivalent to left-6 in Tailwind */
}

@media (min-width: 768px) {
  .logo-img {
    left: 5rem; /* equivalent to md:left-20 */
  }
}
.csr-hero-bg {
  background-image: url('../assets/images/coffee/csr-environment.jpg');
}
.coffee-hero-bg {
  background-image: url('../assets/images/coffee/csr-environment.jpg');
}
