/* ========================================
   COLOR VARIABLES
   ======================================== */
:root {
    --main-color: #62c44a;
    --second-color: #ffb30e;
    --link-color: #62c44a;
    --link-hover-color: #3fb024;
    --white-color: #ffffff;
    --green-color: #62c44a;
    --yellow-color: #ffb30e;
    --dark-color: #2c3e50;
    --gray-color: #7f8c8d;
    --light-gray: #f8f9fa;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
    display: inline-block;
}

.contact-info i {
    margin-right: 5px;
    color: var(--white-color);
}

.social-links {
    text-align: right;
}

    .social-links a {
        color: var(--white-color);
        width: 35px;
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        margin-left: 10px;
        transition: all 0.3s ease;
        -webkit-text-decoration: none;
        text-decoration: none;
    }

        .social-links a:hover {
            
            transform: translateY(-3px);
        }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo {
    max-height: 70px;
}

.navbar-brand {
    margin: -15px 0px;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--main-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 80%;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--link-hover-color) !important;
    }

/* ========================================
   SLIDER SECTION
   ======================================== */
.slider-section {
    position: relative;
    margin-bottom: 0;
}

.carousel {
    position: relative;
}

.carousel-item {
    height: 750px;
    position: relative;
}

    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    bottom: 50px;
}

    .carousel-caption h2 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--white-color);
    }

    .carousel-caption p {
        font-size: 1.3rem;
        color: var(--white-color);
    }

/* Thumbnail Navigation Overlay */
.thumbnail-nav {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.thumbnail-item {
    width: 120px;
    height: 80px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--white-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .thumbnail-item:hover {
        border-color: var(--main-color);
        transform: scale(1.05);
    }

        .thumbnail-item:hover img {
            transform: scale(1.1);
        }

    .thumbnail-item.active {
        border-color: var(--main-color);
        box-shadow: 0 0 20px rgba(98, 196, 74, 0.6);
    }

        .thumbnail-item.active::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(98, 196, 74, 0.3);
        }

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background: var(--main-color);
    }

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--white-color);
}

    .about-section .lead {
        font-size: 1.2rem;
        color: var(--gray-color);
        margin-bottom: 20px;
    }

    .about-section p {
        text-align: justify;
        color: #555;
        line-height: 1.8;
    }

/* ========================================
   DOCUMENTS SECTION
   ======================================== */
.document-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .document-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.document-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--main-color), var(--link-hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .document-icon i {
        font-size: 2.5rem;
        color: var(--white-color);
    }

.document-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.document-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.product-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.product-image {
    overflow: hidden;
    height: 300px;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

    .product-info h5 {
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--dark-color);
    }

    .product-info p {
        color: var(--gray-color);
        margin-bottom: 15px;
    }

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background: var(--main-color);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--white-color);
}

    .btn-primary:hover {
        background: var(--link-hover-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(98, 196, 74, 0.3);
    }

.btn-outline-primary {
    border: 2px solid var(--main-color);
    color: var(--link-color);
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--main-color);
        color: var(--white-color);
        transform: translateY(-2px);
    }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    margin-top: 50px;
    background: var(--dark-color);
}

    .footer a {
        text-decoration: none;
        transition: all 0.3s ease;
        color: var(--link-color);
    }

        .footer a:hover {
            color: var(--link-hover-color) !important;
        }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .social-links {
        text-align: left;
        margin-top: 10px;
    }

    /* Hide thumbnail nav on mobile/tablet */
    .thumbnail-nav {
        display: none;
    }
    .navbar-collapse {
    
        border-top: 2px solid;
  
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-caption {
        padding: 15px;
    }

        .carousel-caption h2 {
            font-size: 1.5rem;
        }

        .carousel-caption p {
            font-size: 0.9rem;
        }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */
html {
    scroll-behavior: smooth;
}

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

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

.product-card,
.document-card {
    animation: fadeInUp 0.6s ease-out;
}
