/* @import "~bootstrap/dist/css/bootstrap.min.css"; */
/* Swiper CSS */
/* @import 'swiper/swiper-bundle.css'; */

 @font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CENTURY.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gothic';
    src: url('../fonts/GOTHIC.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gothic';
    src: url('../fonts/GOTHICB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gothic';
    src: url('../fonts/GOTHICI.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gothic';
    src: url('../fonts/GOTHICBI.woff') format('woff');
    font-weight: bold;
    font-style: italic;
} 

 /* Import all of Bootstrap's CSS */
/* @import url('https://fonts.cdnfonts.com/css/century-gothic-paneuropean'); */


:root {
    --primary-green: #7fb257;
    /* Light green from logo */
    --dark-green: #60a827;
    /* Darker text green */
    --bg-light: #f4f9f1;
    /* Section background */
    --light-green: #e7f2df;

    --text-gray: #7f7f7f;
}

body {
    font-family: 'Gothic','Century Gothic', sans-serif;
    color: var(--text-gray);
}

h1,
h2,
h3,
h4 {
    color: var(--dark-green);
    font-weight: 600;
    
}
h4, p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.text-primary-green {
    color: var(--primary-green) !important;
}

.text-dark-green {
    color: var(--dark-green) !important;
}

.btn-green {
    background-color: var(--dark-green);
    color: white;
    border: none;
     /* padding: 10px 30px; */
    font-weight: 600;
    transition: 0.3s;
    border-radius: 0;
}

.btn-green:hover {
    background-color: var(--primary-green);
    color: white;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-green);
    font-size: 12px;
    color: white;
    padding: 5px 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

/* Navbar */
.navbar-brand {
    height: 60px;
    /* position: absolute; */
}
#logo {
    height: 70px;
    overflow: visible;
    position: relative;
    top: -10px;
    transition: all 0.4s ease-in-out;
}
#logo.ontop {
    height: 120px;
    top: -35px;
}
.nav-link {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--dark-green);
}

/* Dropdown Styles */
.dropdown-item {
    font-size: 14px;
    padding: 6px 20px;
    color: var(--text-gray);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--dark-green); /* Red hover from image */
}

/* Show submenu on hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .dropend:hover > .submenu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        margin-top: -1px;
    }
}

/* Styling the 'active' or highlighted items  */
.active {
    color: var(--primary-green) !important;
    font-weight: 600;
}

/* Adjusting the chevron icons */
.dropdown-item i {
    font-size: 10px;
    color: #ccc;
}

.active i {
    color: var(--primary-green);
}

/* Scrollbar for long submenus like in the image */
.submenu {
    max-height: 300px;
    overflow-y: auto;
    min-width: 200px;
}

/* Desktop: Side-opening on hover */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu { display: block; }
    .dropend:hover > .submenu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        margin-top: -1px;
    }
}

/* Mobile: Vertical stacking on click */
@media (max-width: 991.98px) {
    .dropdown-menu .submenu {
        position: static !important; /* Stack below 'Plastic' */
        display: none;               /* Hidden by default */
        width: 100%;
        box-shadow: none !important;
        background-color: #fcfcfc;    /* Slight highlight for nesting */
        border-left: 3px solid #7dc242 !important; /* Visual guide */
    }
    
    /* Show the submenu when JS adds the 'show' class */
    .dropdown-menu .submenu.show {
        display: block !important;
    }
    
    .dropdown-item {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}


/* Swiper Custom Styles */
.swiper {
    width: 100%;
    /* height: 100%; */
}

.swiper-wrapper {
    max-height: 45vw;
    margin-bottom: 40px;
}

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


.swiper-caption {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-green);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-green) !important;
}

.swiper-pagination-bullet {
    background:var(--primary-green)  !important;
    width: 12px !important;
    height: 12px !important;
}
.swiper-pagination-hero {
    bottom: 60px !important;
}

.swiper-pagination-hero .swiper-pagination-bullet {
    background:var(--bg-light)  !important;
    opacity: 0.7 !important;
    width: 16px !important;
    height: 16px !important;
}
.swiper-pagination-hero .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background:var(--dark-green)  !important;
    width: 16px !important;
    height: 16px !important;
}


/* Footer */
footer {
    font-size: 14px;
}

.footer-title {
    color: var(--text-gray);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    padding: 0;
    list-style: none;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-gray);
    display: block;
    margin-bottom: 8px;
    font-size: .9rem;
}

.footer-links li a:hover {
    color: var(--primary-green);
}

.social-icons a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: #47b24e;
    color: #c0ff4e;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 5px;
}

.copyright {
    background: var(--dark-green);
    color: white;
    padding: 15px 0;
    font-size: 14px;
}



/* Hero for each page */

.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-height: 65vh;
    width: auto;
    display: flex;
    align-items: center;
    color: white;
}

.page-hero {
    width: 100%;
    height: 100%;
    background: #000000;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 49%, rgba(255, 255, 255, 0.3) 100%);
}
.page-hero .container {
    padding: 11.3vw 0;
}




/* Home */


/* What is Section */
.section-padding {
    padding: 80px 0;
}

/* How BioGENIE Works */
.bg-light-green {
    background-color: var(--light-green);
}

.process-card {
    /* padding: 5rem; */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process-card hr {
    margin: 2.5rem 0;
    height: 2px;
    opacity: 0.1;
}


.process-content {
    margin: 0 0 10px;
}

.process-title {
    color: var(--dark-green);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Certification */
#certification .swiper {
    min-height: 356px;
}
.cert-card {
    border: 2px solid #eee;
    height: 100%;
    min-height: 319.8px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cert-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.cert-title {
    color: var(--dark-green);
    font-weight: bold;
    font-size: 1rem;
}

/* Mission Banner */
.mission-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/static/mission-banner-image.webp');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
}

.mission-text {
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.4rem;
}

/* Partners */
.partner-logo {
    width: 100%;
}

/* FAQ */
.faq-header-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 30px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-light);
    color: var(--primary-green);
    box-shadow: none;
}

.accordion-button {
    color: var(--dark-green);
    font-weight: 600;
}

.accordion-item {
    border-width: 1.3px !important;
    border-style: solid !important;
    border-color:  #a5a5a549 !important;
    margin: 10px 0;
    border-radius: 5px !important;
    overflow: hidden;
    box-shadow:  1px 1px 3px 1px rgba(0, 0, 0, 0.034);
    
    
}

/* Contact */
.contact-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #c4ff89;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-green);
    padding: 10px;
    font-size: 1.5rem;
    margin-right: 15px;
}

.form-control {
    background-color: #ffffff;
    border: 1px solid #eee;
    padding: 12px;
}



.map-placeholder {
    width: 100%;
    height: 200px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

/* About Us */

.mission-content {
    height: 100%;
}
.swiper-aboutus-missions {
    min-height: 280px;
}

/* Product Page */
/* tr {
    border-bottom: 1px solid #eee;
    padding: 300px 0;
}
*/
th, td {
    padding: 18px 0 !important;
    color: var(--text-gray) !important;
} 

th:nth-last-child(2), td:nth-last-child(2) {
     padding: 18px 12px !important;
}

/* Brand Partner Page */
#certification-table td,
#certification-table th {
  padding: 6px 12px !important;
}

.dot {
  display: inline-block;
  width: 1rem !important;
  height: 1rem !important;
  background-color: var(--text-gray); /* soft gray like image */
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px;
}