:root {
    --primary-dark: #0c2f43;
    --primary-green: #00744a;
    --accent: #d9452b;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* =====================================
   NAVBAR
===================================== */

.main-navbar {
    transition: all .3s ease;
    background: transparent;
}
.brandName{
    color: #000;
    font-size: 28px;
    font-weight: 700;
}

/* Nav links */
.navbar .nav-link {
    color: #000 !important;
    position: relative;
    margin-left: 18px;
    padding: 8px 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Wrap link text for underline (keeps arrow separate) */
.navbar .nav-link-text {
    position: relative;
    display: inline-block;
}

/* Underline for all links including dropdown toggle */
.navbar .nav-link-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

/* Hover + Active underline */
.navbar .nav-link:hover .nav-link-text::after,
.navbar .nav-link.active .nav-link-text::after,
.navbar .nav-item.dropdown.active-parent > .nav-link .nav-link-text::after {
    width: 100%;
}

/* Hover color */
.navbar .nav-link:hover {
    color: var(--accent) !important;
}

/* Active link color */
.navbar .nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
}

/* Dropdown arrow spacing (kept separate) */
.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}
.navbar-light .navbar-toggler-icon {
    filter: invert(28%) sepia(98%) saturate(591%) hue-rotate(96deg) brightness(90%) contrast(88%);
}
/* =======================================
   DROPDOWN MENU STYLING
======================================== */
.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Desktop hover animation */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Dropdown items */
.navbar .dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: var(--primary-green);
    color: #fff;
    padding-left: 25px;
}

/* Active dropdown item */
.dropdown-item.active-dropdown {
    background-color: var(--primary-green);
    color: #fff;
}

/* Sticky shadow when scroll */
.main-navbar.scrolled {
    background:#ffffff;
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
}

/* ===================================
   PREMIUM HERO
=================================== */

.hero-premium{
    position:relative;
    height:95vh;
    overflow:hidden;
}

/* Background */

.hero-bg{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
}

/* Gradient Overlay */

.hero-premium::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(120deg,
    rgba(12,47,67,0.85),
    rgba(13,112,71,0.85));
    z-index:1;
}

/* Content */

.hero-content{
    position:relative;
    z-index:2;
    height:95vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Title */

.hero-title{
    font-size:56px;
    font-weight:700;
    animation: fadeUp 1s ease;
}

/* Subtitle */

.hero-subtitle{
    font-size:20px;
    margin-top:20px;
    animation: fadeUp 1.5s ease;
}

/* Button */

.btn-hero{
    margin-top:25px;
    padding:12px 30px;
    border-radius:40px;
    background:#d43f28;
    color:white;
    font-weight:600;
    transition:0.3s;
    animation: fadeUp 2s ease;
}

.btn-hero:hover{
    background:#b83720;
}

/* Animation */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.shape{
    position:absolute;
    border-radius:50%;
    filter: blur(80px);
    opacity:0.4;
    animation: float 8s infinite ease-in-out;
}

/* shapes */

.shape1{
    width:250px;
    height:250px;
    background:#2596be;
    top:10%;
    left:10%;
}

.shape2{
    width:200px;
    height:200px;
    background:#d43f28;
    bottom:10%;
    right:15%;
}

.shape3{
    width:300px;
    height:300px;
    background:#0d7047;
    top:40%;
    right:30%;
}

/* floating animation */

@keyframes float{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-40px);
    }
    100%{
        transform:translateY(0);
    }
}
@media (max-width:768px){

.hero-title{
    font-size:32px;
}

.hero-subtitle{
    font-size:16px;
}

.hero-content{
    padding:20px;
}

}
/*======================================
    About Us
=======================================*/
.about-img-box{
    width:90%;
    height:380px;
    overflow:hidden;
    border-radius:10px;
}

.about-img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.about-trivex img{
    transition:0.4s;
}

.about-trivex img:hover{
    transform:scale(1.03);
}
/* =====================================
   OTHER
===================================== */

.section-title {
    font-weight: bold;
    color: var(--primary-dark);
}

.product-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}
.btn-brand{
    background: linear-gradient(135deg,#0d7047,#2596be);
    color:#fff;
    padding:10px 28px;
    border-radius:30px;
    font-weight:600;
    border:none;
    text-decoration:none;
    display:inline-block;
    transition:all .3s ease;
}

/* Hover Effect */

.btn-brand:hover{
    background: linear-gradient(135deg,#0c5a3b,#1d7fa0);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
/* =====================================
   FEATURED PRODUCTS
===================================== */

.featured-products{
    background: linear-gradient(180deg,#f6f9fc,#eef3f7);
}
@media (max-width:768px){

.section-divider{
    max-width:90px;
}

}
.section-subtitle{
    color:#666;
    max-width:600px;
    margin:auto;
}

/* Card */

.product-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    transition:all .35s ease;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    height:100%;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

/* Image */

.product-img{
    height:200px;
    overflow:hidden;
}

.product-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s;
}

.product-card:hover img{
    transform:scale(1.08);
}

/* Content */

.product-content{
    padding:20px;
}

.product-content h5{
    font-weight:600;
    color:#0c2f43;
}

.product-content p{
    font-size:14px;
    color:#666;
}
/* WHY TRIVEX */

.why-trivex{
    background:#f6f9fb;
}

.why-card{
    background:#fff;
    padding:30px;
    border-radius:10px;
    transition:0.3s;
    height:100%;
}

.why-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.why-icon{
    font-size:35px;
    margin-bottom:15px;
}

/* SUPPLY */

.supply-network{
    background:#ffffff;
}

.supply-img{
    max-height:380px;
    border-radius: 10px;;
}

/* BRANDS */

.our-brands{
    background:#f9fbfd;
}

.brand-card{
    background:#fff;
    padding:20px;
    border-radius:10px;
    transition:0.3s;
}

.brand-card:hover{
    transform:scale(1.05);
}

/* NEWS */

.news-events{
    background:#ffffff;
}

.news-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    transition:0.3s;
}

.news-card:hover{
    
    transform:translateY(-8px);
}

.news-content{
    padding:20px;
}

.news-content a{
    text-decoration:none;
    color:#0d7047;
    font-weight:600;
}
/* page about us */
/* Page Header */

.page-header{
    background:#0E5E48;
    padding:50px 0;
}

.page-header h1{
    font-weight:700;
    color: #fff;
}

.breadcrumb{
    background:none;
    color: #fff;
}
.breadcrumb-item a{
    color: #fff;

}
.breadcrumb-item.active{
    color: #ffffff;
}
/* Mission Vision */

.mv-card{
    background:#ffffff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    height:100%;
}
.company-goals{
    background:#f8fafc;
}

.goal-card{
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:all .3s ease;
    height:100%;
}

.goal-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.goal-list{
    list-style:none;
    padding:0;
    margin:0;
}

.goal-list li{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
    font-size:15px;
    line-height:1.6;
}

.goal-list i{
    font-size:22px;
    color:#0d7047;
    margin-top:3px;
}
.import-products{
    background:#f8fafc;
}

.import-card{
    background:#ffffff;
    padding:30px 20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:all .3s ease;
    height:100%;
}

.import-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,0.1);
}

.import-icon{
    width:60px;
    height:60px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#eaf7f2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.import-icon i{
    font-size:26px;
    color:#0d7047;
}

.import-card h6{
    font-weight:600;
    margin-top:10px;
}
.core-values{
    background:#f8fafc;
}

.value-card{
    background:#ffffff;
    padding:30px 20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:all .3s ease;
    height:100%;
}

.value-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,0.1);
}

.value-icon{
    width:60px;
    height:60px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#eaf7f2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.value-icon i{
    font-size:26px;
    color:#0d7047;
}

.value-card h6{
    font-weight:600;
    margin-top:10px;
    line-height:1.5;
}
/* Why */

.why-card{
    background:#ffffff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    transition:0.3s;
}

.why-card:hover{
    transform:translateY(-6px);
}

/* CTA */

.cta-section{
    background:linear-gradient(135deg,#0d7047,#2596be);
    padding:70px 0;
}
.mission-card{
    background:#eaf7f2;   /* light green */
}
.vision-card{
    background:#e8f4fb;   /* light blue */
}
/* page board Members */
.board-members{
    background:#f8fafc;
}

.member-card{
    background:#ffffff;
    padding:30px 20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:all .3s ease;
    height:100%;
}

.member-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,0.1);
}

.member-img{
    width:220px;
    height:220px;
    margin:auto;
    overflow:hidden;
    border-radius:50%;
}

.member-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.member-position{
    color:#2596be;
    font-weight:600;
    margin-bottom:10px;
}

.member-desc{
    font-size:14px;
    color:#555;
}
/* page message from chairman */
.chairman-img img{
    max-width: 320px;
}

.chairman-content p{
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.chairman-content h2{
    font-weight: 600;
}
/* page contact us */
.contact-section h2 {
        color: #0c2f43;
        font-weight: 700;
    }
    .contact-info i {
        font-size: 1.2rem;
    }
    .page-header {
        background: linear-gradient(to right, #00744a, #0c2f43);
    }
    .btn-primary {
        background-color: #00744a;
        border: none;
    }
    .btn-primary:hover {
        background-color: #005936;
    }
    /* Contact Info Icons */
.contact-info i {
    font-size: 1.3rem;          /* slightly larger for better visibility */
    color: var(--primary-green); /* brand green */
    margin-right: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect: icon slightly grows and changes accent color */
.contact-info i:hover {
    transform: scale(1.2);
    color: var(--accent);
}
.contact-info .info-box {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info .info-box i {
    font-size: 1.5rem;
    color: var(--primary-green);
    flex-shrink: 0;
    margin-right: 1rem;
}

.contact-info .info-box .info-text {
    flex: 1;
    font-size: 1rem;
    color: var(--primary-dark);
}

.contact-info .info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* Gallery Page Clean Layout */
.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* fixed height for all images */
    object-fit: cover; /* crop images to fit perfectly */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* page products list */
.product-card {
        background-color: var(--white);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    }

    .product-card:hover img {
        transform: scale(1.05);
    }

    .product-details {
        background-color: #ffffff;
    }

    .product-title {
        font-weight: 600;
        color: var(--primary-dark);
    }

    .product-description {
        font-size: 0.9rem;
        color: #555;
    }

    .btn-success {
        background-color: var(--primary-green);
        border: none;
        color: var(--white);
    }

    .btn-success:hover {
        background-color: var(--primary-dark);
    }

    .btn-outline-primary {
        border-color: var(--primary-green);
        color: var(--primary-green);
    }

    .btn-outline-primary:hover {
        background-color: var(--primary-green);
        color: var(--white);
    }
/* =====================================
   footer
===================================== */

.footer-section {
    background-color: #013042; /* dark primary background */
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-green);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    color: var(--primary-green);
}