/* Custom colors */
:root {
    --coffee-dark: #3a2618;
    --coffee-medium: #6f4e37;
    --coffee-light: #b18f6a;
    --coffee-cream: #f5f0e1;
}
body{
    font-family:Calibri Light;
    font-size:18px;
}
.lead {
    font-size: 1.1rem;
    font-weight: 300;
}
.p{
    colour:#212529
}

/* Topbar code */
.top-bar {
    background-color: rgb(230, 218, 200);
    color: rgb(82, 62, 34);
    font-size: 15px;
}

.top-bar i {
    margin-right: 5px;
}

.list-inline-item a {
    color: rgb(82, 62, 34);
    text-decoration: none;
}

.list-inline-item a:hover {
    color: #98FB98;
}

.social-icons .list-inline-item {
    margin-right: 15px;
}

.social-icons .list-inline-item:last-child {
    margin-right: 0;
}

.social-icons a {
    color: rgb(82, 62, 34);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #98FB98;
}

/* Mobile responsiveness for topbar */
@media (max-width: 768px) {
    .top-bar .row > div {
        text-align: center;
    }
    
    .top-bar .list-inline {
        justify-content: center !important;
        margin-top: 5px;
    }
}

/* Navbar code */
.custom-navbar {
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: rgb(82, 62, 34) !important;
    margin: 0 10px;
    font-weight: bold;
    position: relative;
    padding: 8px 0;
}

.navbar-nav .nav-link:hover {
    color: #800000 !important;
}

/* Underline effect for nav links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #800000;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Dropdown styling */
.dropdown-menu {
    background-color: rgb(230, 218, 200);
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: rgb(82, 62, 34);
    font-size: 16px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(152, 251, 152, 0.3);
    color: #2E8B57;
}

/* Nested dropdown (submenu) styling */
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
    background-color: rgb(230, 218, 200);
    border-radius: 0.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.dropend .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dropend .dropdown-toggle::after {
    margin-left: auto;
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    vertical-align: middle;
}

/* Mobile navbar styling */
.navbar-toggler {
    border: 1px solid rgb(82, 62, 34);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2882, 62, 34, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile dropdown adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-item {
        color: rgb(82, 62, 34);
        padding: 0.5rem 1rem;
    }
    
    .dropdown-menu .dropdown-submenu {
        position: static;
        display: none;
        margin-left: 1rem;
        box-shadow: none;
    }
    
    .dropdown-menu > li:hover > .dropdown-submenu {
        display: block;
    }
    
    .dropend .dropdown-toggle::after {
        transform: rotate(90deg);
    }
    
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* ==================== Unique Coffee Stages Carousel ==================== */

.carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    height: 500px; /* Adjust as needed */
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 20px;
    max-width: 80%;
    margin: 0 auto;
    bottom: 40px;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px; /* Add padding to match carousel controls */
    margin-bottom: 20px;
}

.timeline-track {
    position: relative;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    overflow: visible;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
}

.timeline-step {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-step.active {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }
    
    .timeline-container {
        padding: 0 40px;
    }
}
/* ==================== Feature cards styling ================================== */
.features-section {
  background-color: #fff;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 1.5rem;
color: rgb(175 143 94);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #343a40;
  font-weight: 600;
}

.feature-card p {
  font-size: 1.1rem;
  color: #212529;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-card {
    text-align: center;
  }
  
  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
    .feature-hover {
        position: static;
        opacity: 1;
        background: transparent;
        padding: 0;
        margin-top: 1rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
    }
}


/* ====================Services section styling ================================*/
.services-section {
  background-color: #fff;
}

.service-card {
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  text-align: center;
}

.service-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f8f9fa;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 1.8rem;
  color: #d4a76a;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #343a40;
  font-weight: 600;
}

.service-card p {
  font-size: 1.1rem;
color: #212529;;
  margin-bottom: 1.5rem;
}

.btn-outline-primary {
  color: #d4a76a;
  border-color: #d4a76a;
}

.btn-outline-primary:hover {
  background-color: #d4a76a;
  border-color: #d4a76a;
  color: white;
}

.btn-primary {
  background-color: #d4a76a;
  border-color: #d4a76a;
}

.btn-primary:hover {
  background-color: #c09559;
  border-color: #c09559;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
}

/*===================== Partners section styling=============================== */
/* Partners section styling */
.partners-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.partner-logo {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-logo img {
  max-height: 70px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 1;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-10px);
}

/* Partner name hover effect */
.partner-name {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  background-color: rgba(212, 167, 106, 0.9);
  color: white;
  text-align: center;
  padding: 8px 5px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0;
}

.partner-logo:hover .partner-name {
  bottom: 0;
  opacity: 1;
}

/* Mobile partner name always visible */
.partner-name.mobile {
  position: static;
  background-color: rgba(212, 167, 106, 0.9);
  color: white;
  margin-top: 10px;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.85rem;
  opacity: 1;
}

/* Carousel styling for mobile */
#partnerCarousel .carousel-item {
  padding: 1rem 3rem;
}

#partnerCarousel .carousel-indicators {
  margin-bottom: 0;
}

#partnerCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d4a76a;
  opacity: 0.5;
}

#partnerCarousel .carousel-indicators button.active {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .partners-section {
    padding: 2rem 0;
  }
  
  .partner-logo {
    height: auto;
    flex-direction: column;
    padding: 1rem;
  }
  
  .partner-logo img {
    max-height: 60px;
    margin-bottom: 10px;
  }
}

/* ==============================Footer styling================================ */
.footer {
  background-color: rgb(82, 62, 34);
  color: #e0e0e0;
}

.footer-logo {
  max-width: 180px;
}

.footer-section p {
  font-size: 1.0rem;
  opacity: 0.9;
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #d4a76a;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.0rem;
}

.footer-links a:hover {
  color: #d4a76a;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #d4a76a;
  color: #fff;
}

address {
  font-style: normal;
  opacity: 0.9;
  font-size: 1.0rem;
}

.btn-primary {
  background-color: #d4a76a;
  border-color: #d4a76a;
}

.btn-primary:hover {
  background-color: #c09559;
  border-color: #c09559;
}

.btn-outline-light:hover {
  background-color: #d4a76a;
  border-color: #d4a76a;
}

.copyright {
  font-size: 1.2rem;
  opacity: 0.8;
}

.border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-section {
    margin-bottom: 1rem;
  }
  
  .footer-heading {
    margin-bottom: 1rem;
  }
}
/*===================================News & Articles Section============================*/
/* ==================== News and Articles Section ==================== */
.news-section {
    background-color: #fff;
    position: relative;
}

/* Featured Articles Carousel */
.featured-carousel {
    position: relative;
    display: flex;
    overflow-x: hidden;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.featured-item {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.featured-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.featured-image {
    flex: 1;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--coffee-dark, #3a2618);
    font-weight: 600;
}

.featured-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--coffee-light, #b18f6a);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    align-self: flex-start;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coffee-light, #b18f6a);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--coffee-light, #b18f6a);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: var(--coffee-medium, #6f4e37);
}

.carousel-control i {
    font-size: 14px;
}

/* Article Grid */
.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--coffee-dark, #3a2618);
    font-weight: 600;
    line-height: 1.4;
}

.article-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pagination */
.pagination-container {
    margin-top: 40px;
}

.pagination .page-link {
    color: var(--coffee-medium, #6f4e37);
    border-color: #e9ecef;
    margin: 0 3px;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: var(--coffee-light, #b18f6a);
    border-color: var(--coffee-light, #b18f6a);
    color: white;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--coffee-dark, #3a2618);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .featured-card {
        flex-direction: column;
        height: auto;
    }
    
    .featured-image, .featured-content {
        flex: none;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-content h4 {
        font-size: 1.1rem;
    }
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 4px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: rgb(184, 162, 114);
    border-color: rgb(184, 162, 114);
    color: white !important;
}

/* ================================Counter Section============================== */
.counter-section {
    background-image: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 0;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 20, 10, 0.85);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.counter-section .container {
    position: relative;
    z-index: 1;
}

.counter-item {
    color: #d4a76a;
    padding: 1rem;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}

.counter-plus, .counter-unit {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    vertical-align: top;
    line-height: 1.2;
}

.counter-title {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .counter-value {
        font-size: 2.5rem;
    }
    
    .counter-plus, .counter-unit {
        font-size: 1.5rem;
    }
    
    .counter-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .counter-section {
        padding: 3rem 0;
    }
}