/* =====================================
   GLOBAL COLOR VARIABLES
===================================== */
:root {

     --header-bg: #22252A;
    --footer-bg: #22252A;

    --primary: #7FA33E ;
    --primary-hover: #485729;
    --secondary-hover-bg: linear-gradient(135deg, #7FA33E, #485729) ;

    --white: #FFFFFF;
    --light-bg: #f3f8dd;

    --text-dark: #22252A;
    --text-light: #FFFFFF;
    --text-muted: #6B7280;

    --icon-muted: #ECF3D1;

    /* Gradients */
    --hero-gradient: linear-gradient(
        135deg,
        #7FA33E 0%,
        #485729 40%,
        #D7F2E3 100%);
}

/* FONTS ONLYYYY TEXT STYLES */
/* Base body font */
body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

/* Strong display headings */
h1, h2, .hero-title, .section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Logo / brand text – use in your navbar brand */
.dg-brand {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Optional: nav links a bit more “trading / industrial” */
.dg-navbar .nav-link {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* --------------------------------------------- */

/* =====================
   GLOBAL STYLES
===================== */
body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.justify {
    text-align: justify;
}


a {
    text-decoration: none;
    color: inherit;
}

/* =====================
   NAVBAR
===================== */
/* Modern Glass Morphism Navbar */
.dg-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 80px;
    width: 90%;
    max-width: 1300px;
    margin: 20px auto 0;
    padding: 8px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Scrolled state */
.dg-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    /* margin-top: 10px; */
    padding: 5px 24px;
}

/* Brand styling */
.navbar-brand {
    position: relative;
    overflow: hidden;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    /* background: var(--secondary-hover-bg); */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.nav-logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .nav-logo {
    transform: rotate(5deg) scale(1.05);
}

/* Modern nav links */
.nav-link {
    position: relative;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 0 !important;
    color:#003016 !important;
    transition: color 0.3s ease;
}

/* Underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-hover-bg);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* Contact button styling */
.btn-contact {
    background: var(--secondary-hover-bg);
    color: white !important;
    padding: 8px 24px !important;
    border-radius: 50px;
    margin-left: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
    background: var(--primary-hover);
}

/* Active link styling */
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .dg-navbar {
        border-radius: 0 0 20px 20px;
        width: 100%;
        margin-top: 0;
        padding: 12px 20px;
    }
    
    .nav-link {
        text-align: center;
        margin: 8px 0;
    }
    
    .nav-link::after {
        bottom: -4px;
    }
    
    .btn-contact {
        /* margin: 16px auto 8px; */
        display: inline-block;
        width: fit-content;
        
    }
}

/* =====================
   HERO SECTION - FIXED
===================== */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-cell {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.inner {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
    max-width: 650px;
    width: 90%;
    margin: 0 auto 0 10%;
    padding: 20px;
}

.tag {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #ffffff;
}

.subheading {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary-custom {
    border: 2px solid white;
    padding: 14px 28px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s ease;
    display: inline-block;
    background: transparent;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Flickity Arrows */
.flickity-prev-next-button {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.flickity-prev-next-button:hover {
    background: var(--primary);
}

.flickity-prev-next-button .arrow {
    fill: white;
}

/* Dots */
.flickity-page-dots {
    bottom: 30px;
}

.flickity-page-dots .dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    margin: 0 5px;
}

.flickity-page-dots .dot.is-selected {
    background: var(--primary);
}



/* =====================
   ABOUT SECTION
===================== */
.about-section {
    padding: 60px 0;

}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-hover);
}

.section-text {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #555;
}

.about-image {
    border-radius: 10px;
    /* max-width: 480px; */
}

.about-list {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
}

/* ===============================
   ABOUT LIST ICON STYLE
================================== */

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 16px;
    color: #333;
}

/* Icon Style */
.about-list li i {
    width: 28px;
    height: 28px;
    background-color: #0f3d2e;   /* DG dark green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: 0.3s ease;
}

/* Optional Hover Effect */
.about-list li:hover i {
    background-color: #145c42;
    transform: scale(1.1);
}

/* =====================
   EXPERTISE SECTION
===================== */
.expertise-section {
    padding: 60px 0;

}

.expertise-box {
    background: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    height: 100%;
}

.expertise-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.expertise-box p {
    color: #555;
    font-size: 1rem;
}

.expertise-card {
    padding: 30px 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-6px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #e9f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 15px;
}

.expertise-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: #666;
}


/* ITEM */
.benefit-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}
.benefit-item:hover .benefit-icon {
    transform: rotate(5deg) scale(1.05);
}

/* ROUNDED PILL BACKGROUND */
.benefit-text {
    background: var(--light-bg);
    padding: 25px 40px 25px 140px;
    border-radius: 80px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #222;
    width: 100%;
}

/* ICON */
.benefit-icon {
    position: absolute;
    left: 0;
    width: 160px;
    height: 160px;
}

.benefit-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

/* Slight hover lift */
.benefit-item:hover .benefit-text {
    background: rgba(163, 200, 108, 0.4);
    transition: 0.4s ease;
}


.benefit-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.benefit-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

#benefit-card-1.animate-in { transition-delay: 0.1s; }
#benefit-card-2.animate-in { transition-delay: 0.3s; }
#benefit-card-3.animate-in { transition-delay: 0.5s; }
#benefit-card-4.animate-in { transition-delay: 0.7s; }

/* ============================= */
/* BUYERS SECTION */
/* ============================= */

.buyers-section {
    padding: 60px 0;
    background: #f5f7f2;
}

/* ROW */
.buyers-row {
    display: flex;
    gap: 20px;
}

/* CARD */
.buyer-card-new {
    position: relative;
    width: 20%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.buyer-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.card-image {
    position: absolute;
    inset: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.buyer-card-new:hover img {
    transform: scale(1.05);
}

/* GREEN OVERLAY */
.buyers-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgb(72, 87, 41) 0%,    
        rgba(72, 87, 41, 0.70) 20%,
        rgba(72, 87, 41, 0.30) 40%,
        rgba(72, 87, 41, 0) 60% 
    );
}

/* TEXT AREA */
.card-text {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

/* TITLE + ICON */
.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-title i {
    font-size: 20px;
}

.card-title h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* DESCRIPTION */
.card-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    font-size: 14px;
    line-height: 1.6;
}

/* SHOW DESCRIPTION ON HOVER */
.buyer-card-new:hover .card-desc {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}


/* =====================
   KEY PRODUCTS SECTION
===================== */
.key-products-section {
    background: var(--white);
    padding: 60px 0;
}

/* LEFT BAND */
.key-products-band {
    background: var(--light-bg);
    justify-content: center;
    align-items: center;
}

.band-inner span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 30px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--text-dark);
}

/* RIGHT CONTENT */
.key-products-content {
    padding: 0 60px;
}

.product-row {
    margin-bottom: 80px;
}

/* CARD */
.product-brochure-card {
    position: relative;
    height: 460px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.product-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* BOTTOM OVERLAY */
.product-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 40px;
    /* background: linear-gradient(
    to top,

    rgba(72, 87, 41, 0.95) 0%,     

    rgba(92, 125, 51, 0.75) 40%, 

    rgba(127, 163, 62, 0.35) 70%,  

    rgba(127, 163, 62, 0.05) 100%   */

    background: linear-gradient(
    to bottom,
    rgba(127, 163, 62, 0) 0%,
    rgba(72, 87, 41, 0.85) 40%,
    rgba(0, 0, 0, 1) 100%

    
);
}

/* CONTENT */
.product-content {
    color: #ffffff;
}

.product-code {
    font-size: 25px;
    letter-spacing: 2px;
    color: #d7f2e3;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}


.product-desc {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

/* TAGS */
.product-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags span {
    font-size: 11.5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(215,242,227,0.15);
    border: 1px solid rgba(215,242,227,0.4);
    color: #d7f2e3;
}


/* =====================
   CTA / PARTNERSHIP
===================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: url("assets/images/dg-bg-img3.jpg") center/cover no-repeat;
    color: #ffffff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 42, 0.352);
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ddd;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
        border-radius: 50px;
}

/* =====================
   CONTACT SECTION
===================== */
.contact-section {
    padding: 60px 0;
}

.contact-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-box p{
    margin-bottom: auto;
}


.contact-form .form-control {
    padding: 12px;
    border-radius: 6px;
}

.error {
    color: red;
    font-size: 0.85rem;
}

.form-success {
    display: none;
    color: green;
    font-weight: 600;
}

/* =====================
   map
===================== */
.map-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 500px; /* adjust height as needed */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    padding: 50px;
}

/* ================= FOOTER ================= */
.dg-footer {
    font-family: 'Inter', sans-serif;
}

.footer-main-band .footer-brand img{
    width:auto;
    height: 100px;
    padding-bottom: 20px;
}


.footer-cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-cta-text {
    font-size: 16px;
    opacity: 0.95;
}

.footer-cta-btn {
    padding: 14px 28px;
    font-weight: 600;
}

/* MAIN BAND */
.footer-main-band {
    background: #22252A;
    padding: 80px 0 60px;
    color: #d1d5db;
}

.footer-brand {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 30px;
    margin-top: 15px;
}

.footer-item {
    margin: 0;
}

.footer-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
}

.footer-item a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 8px 0;
    }
}


.footer-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-text a {
    color: #d7f2e3;
}

.footer-note {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 10px;
}

/* BOTTOM BAND */
.footer-bottom-band {
    background: #1b1e22;
    padding: 20px 0;
    font-size: 13px;
    color: #b0b6c3;
}

.footer-bottom-band a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom-band a:hover {
    color: #ffffff;
}




/* =====================
   SCROLL ANIMATIONS
===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.6s; }


/* =====================
   SCROLL TO TOP BUTTON
===================== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
     background-color: var(--primary);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}


.about-section,
.buyers-section,
.contact-section {
    background: var(--light-bg);
}

.expertise-section,
.key-products-section {
    background: var(--white);
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
}

.section-title {
    color: var(--text-dark);
}

.section-text {
    color: var(--text-muted);
}

.icon-circle {
    background: var(--secondary-hover-bg);
    color: var(--primary);
}

.expertise-card i {
    color: var(--icon-muted);
}

.buyer-icon i{
    color: var(--secondary-hover-bg);
}

.cta-section {
    position: relative;
    padding: 120px 0;
    color: var(--text-light);
}

.cta-overlay {
    background: rgba(34, 37, 42, 0.75);
}
