/* 
------------------ CSS INDEX--------------------
* # Navigation CSS
* # Carousel CSS
* # Header CSS
* # Modal CSS
* # Community CSS
* # Feature CSS
* # Card [Coffee & Brewing ] CSS 
* # Event CSS
* # Offer CSS
* # Footer CSS
*/ 
/* Import Font from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
	font-weight: normal;
	font-style: normal;
    background-color: #F2F3F4;
}
/* 
* # Navigation CSS - START
*/
.custom-navbar {
    padding: 14px 30px;
    background-color: #348b50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}
.custom-navbar .navbar-brand {
    font-size: 20px;
    letter-spacing: 0.5px;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    filter: invert(1);
}
.custom-nav {
    transition: all 0.3s ease;
}
.custom-nav .nav-link {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.2s ease;
}
.custom-nav .nav-link:hover {
    background-color: #ffffff;
    color: #348b50;
    transform: translateY(-2px);
}
.custom-nav .nav-link.active {
    background-color: #ffffff;
    color: #348b50;
    font-weight: 600;
}
.custom-nav .nav-link::before {
    display: none;
}
@media (max-width: 991px) {
    .custom-nav {
        background-color: #2f7a45;
        margin-top: 12px;
        padding: 12px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    .custom-nav .nav-link {
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 16px;
    }
    .custom-nav .nav-link:hover {
        transform: none;
    }
}
/* 
* # Navigation CSS - END
*/

/* 
* # Carousel CSS - START
*/
.carousel-item .custom-carousel-img {
    height: 550px;
    width: fit-content;
    object-fit: cover;
}
.carousel-item .carousel-caption {
    color: whitesmoke;
}
.carousel-item .carousel-caption h2 {
    font-size: 40px;
    font-weight: 700;
}

/* 
* # Header section CSS - START
*/
.header h1 {
    font-size: 35px;
    font-weight: 600;
}
.header span {
    color: #348b50;
    font-weight: 700;
}
.header p {
    font-size: 14px;
    font-weight: 500;
}
@media (max-width: 991px) {
    .header h1 {
        font-size: 25px !important;
    }
    .header p {
        font-size: 13px;
    }
}
/* 
* # Header section CSS - END
*/

/* 
* # Communityu section CSS - START
*/
.community-section {
    margin-top: 3rem;
}
.community-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.community-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.community-content .content-box {
    max-width: 420px;
    padding: 2rem;
}
.community-content h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}
.community-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
    .community-img img {
        height: 260px;
    }
    .community-content {
        text-align: left;
        padding: 1.5rem;
    }
}
/* 
* # Communityu section CSS - END
*/

/* 
* Feature CSS - START
*/
.feature-box {
    position: relative;
    background: #ffffff;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(52, 139, 80, 0.18);
}
.feature-box img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}
.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}
.feature-btn {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 30px;
    border: 2px solid #348b50;
    color: #348b50;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.feature-btn:hover {
    background-color: #348b50;
    color: #ffffff;
}
/* Animation Borders  */
.feature-box span {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.feature-box::before,
.feature-box::after,
.feature-box span::before,
.feature-box span::after {
    content: "";
    position: absolute;
    background-color: #348b50;
    transition: all 0.45s ease;
}
.feature-box::before {
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
}
.feature-box::after {
    top: 0;
    right: 0;
    width: 2px;
    height: 0;
}
.feature-box span::before {
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
}
.feature-box span::after {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
}
.feature-box:hover::before {
    width: 100%;
}
.feature-box:hover::after {
    height: 100%;
}
.feature-box:hover span::before {
    width: 100%;
}
.feature-box:hover span::after {
    height: 100%;
}

@media (max-width: 768px) {
    .feature-box img {
        width: 150px;
        height: 150px;
    }

    .feature-box h3 {
        font-size: 18px;
    }
}
/* 
* Feature CSS - END
*/

/* 
* Modal CSS - START
*/
.custom-modal {
    border-radius: 15px;
    overflow: hidden;
    height: auto;
}
.modal-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.modal-title span {
    font-weight: 700;
    color: #348b50;
}
.modal-text {
    font-size: 14px;
    color: #555;
}
.custom-close {
    color: #348b50;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
}
.success-message {
    color: #348b50;
    font-weight: 600;
}
.custom-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 1;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    filter: invert(36%) sepia(30%) saturate(600%) hue-rotate(95deg);
}
.custom-close:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
/* 
* Modal CSS - END
*/

/* 
* Card CSS - START
*/
#coffeeList {
    padding-left: 10px;
}
.custom-card {
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    border: 1px solid transparent;
}
.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: #348b50;
}
.custom-card img {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #222;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.custom-body {
    padding: 15px;
    text-align: center;
}
.custom-body h5,
.price {
    color: #348b50;
    font-weight: 600;
}
.custom-card .badge {
    font-size: 12px;
    border-radius: 20px;
    padding: 6px 10px;
}
/* 
* Card CSS - END
*/

/*
Cart CSS - START
*/
.card {
    border-radius: 10px;
}
.table th, .table td {
    vertical-align: middle;
}
button.btn-success {
    border-radius: 25px;
}
/*
Cart CSS - END
*/

/*
Event CSS - START
*/
.event-advanced {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.event-advanced:hover {
    transform: translateY(-6px);
}
.event-img-wrapper img {
    height: 230px;
    object-fit: cover;
}
.enroll-info {
    border-top: 1px dashed #ddd;
    padding-top: 8px;
}
/*
Event CSS - END
*/

/* 
* Offer CSS - START
*/
.offer-card img {
    height: 220px;
    object-fit: cover;
}
.offer-card .card-title {
    font-weight: 600;
}
.discount-circle {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #dc3545;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* 
* Offer CSS - END
*/

/* 
* Footer CSS - START
*/
.footer {
    background-color: #222222;
    font-size: 15px;
}
.footer h5 {
    font-size: 20px;
    font-weight: 700;
    color: #348b50;
}
/* Footer links list */
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}
/* Hover effect */
.footer-links a:hover {
    color: #348b50;
}
.footer span {
    color: #348b50;
    font-size: 15px;
    font-weight: 500;
}
/* 
* Footer CSS - END
*/
