/* ===== Custom CSS Variables ===== */
:root {
    --primary-green: #32A064;
    --primary-green-dark: #2a8a56;
    --primary-green-light: rgba(50, 160, 100, 0.1);
    --bg-light-green: #EAF3EE;
    --bg-light-gray: #F2F2F2;
}

p {
    margin-bottom: 0;
}

/* ===== Base Styles ===== */
body {
    font-family: 'Poppins', sans-serif;
}

.main-logo {
    min-width: 100px;
    max-width: 150px;
    width: 100%;
    height: auto;
}

/* ===== Custom Color Classes ===== */
.text-primary-green {
    color: var(--primary-green) !important;
}

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

.bg-primary-green-light {
    background-color: var(--primary-green-light) !important;
}

.bg-light-green {
    background-color: var(--bg-light-green) !important;
}

.bg-light-gray {
    background-color: var(--bg-light-gray) !important;
}

/* ===== Button Styles ===== */
.btn-primary-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

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

.lightBtn{
    background:#539E69;
    border-radius:7px;
    color:#fff;
    display:block;
    position:relative;
    padding-right:30px;
    max-width: 350px;
    margin:auto;
}

.lightBtn::after{
    content:"→";
    font-size:2rem;
    position:absolute;
    right:5px;
    top:55%;
    transform:translate(0, -50%);
}

/* ===== Navbar ===== */
.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.75rem;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.625rem;
    opacity: 0.8;
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    background: url('../images/head-bg.png')no-repeat top left/40%, linear-gradient(to right, #d4fae6 0%, #2d8f5a 30%, #2d8f5a 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-img {
    max-width: 400px;
}

/* ===== Gradient Banner ===== */
.gradient-banner {
    background: linear-gradient(90deg,
            rgba(50, 160, 100, 0.05) 0%,
            rgba(253, 243, 55, 0.05) 100%);
    border: 1px solid rgba(50, 160, 100, 0.2);
    border-radius: 5px;
}

/* ===== Video Section ===== */
.video-placeholder {
    background: linear-gradient(135deg, #8B7355 0%, #A08060 100%);
    background-image: url('https://images.unsplash.com/photo-1518843875459-f738682238a6?w=900');
    background-size: cover;
    background-position: center;
}

.video-text-box {
    z-index: 1;
}

.play-btn {
    width: 64px;
    height: 64px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn-sm {
    width: 48px;
    height: 48px;
}

.fluffy-text {
    right: 60px;
    bottom: 80px;
    font-weight: 500;
}

/* ===== Testimonial Section ===== */
.testimonial-bg {
    background-image: url('https://images.unsplash.com/photo-1518843875459-f738682238a6?w=1440');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.95);
}

.tictok-block {
    margin: auto;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.video-v2-Card-CardContainer {
    display: none !important;
}

.video-thumbnail {
    aspect-ratio: 2/3;
}

.video-thumbnail img {
    height: 100%;
    object-fit: cover;
}

/* ===== Pairings Section ===== */
.pairing-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
}

/* ===== Company Section ===== */
.company-section {
    background:
        linear-gradient(to right, rgb(255 255 255/0.4)),
        url('../images/main-logo.svg')no-repeat top 20px right 20px/20%;
}

/* ===== Icon Styles ===== */
.icon-box {
    width: 40px;
    height: 40px;
}

.svg-icon {
    max-height: 24px;
    max-width: 24px;
}

.icon-circle {
    width: 32px;
    height: 32px;
}

.icon-circle-outline {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-green);
    background: transparent;
}

.note-icon-circle {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-green);
    background: transparent;
}

/* ===== Specs Table ===== */
.specs-table {
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #dee2e6;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.specs-table td:nth-child(1) {
    width: 18%;
}

.specs-table td:nth-child(2) {
    width: 32%;
    text-align: end;
}

/* ===== Buyer Item ===== */
.buyer-item {
    transition: box-shadow 0.3s ease;
}

.buyer-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Note Card ===== */
.note-card {
    border-left: 4px solid var(--primary-green) !important;
}

.note-card-green {
    background-color: #f8faf9;
    border: 1px solid var(--primary-green) !important;
}

/* ===== Unique Card (Company Introduction) ===== */
.unique-card {
    border-left: 4px solid var(--primary-green) !important;
    background-color: #f9fafb;
}

.unique-card:hover {
    transform: none;
}

.unique-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.unique-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* ===== Form Styles ===== */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(50, 160, 100, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* ===== Badge Styles ===== */
.badge.rounded-circle {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ===== Card Styles ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .hero-section {
        background:
            linear-gradient(to right, rgb(0 0 0/.4) 0%, rgb(0 0 0/.4) 100%),
            url('../images/head-bg.png')no-repeat top left/90%,
            linear-gradient(to right, #d4fae6 0%, #2d8f5a 30%, #2d8f5a 100%);
    }

    .hero-section .row {
        flex-direction: column-reverse;
    }

    .hero-section .col-lg-7 {
        text-align: center;
    }

    .fluffy-text {
        right: 20px;
        bottom: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .video-text-box {
        display: none !important;
    }

    .pairing-img {
        height: 220px;
    }

    /* ===== Company Section ===== */
    .company-section {
        background:
            linear-gradient(to right, rgb(255 255 255/0.6)),
            url('../images/main-logo.svg')no-repeat top 20px right 20px/40%;
        backdrop-filter: blur(10px);
    }

    .table-responsive {
        flex-wrap: wrap;
    }

    .table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .hero-img {
        max-width: 250px;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection Color ===== */
::selection {
    background-color: var(--primary-green);
    color: white;
}