:root {
    --primary: #6366f1;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: var(--light);
}

/* --- Uniiversal Button--- */

.btn-un {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-un::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.6s;
}

.btn-un:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    color: white;
}

.btn-un:hover::before {
    left: 100%;
}


/* Navigation bar Styles */
.navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: 80px;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.navbar-brand img {
    height: 3em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav_text {
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant: small-caps;
    letter-spacing: 1px;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    position: relative;
    color: var(--dark);
    font-weight: 600;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    text-decoration: none;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: rgba(99, 102, 241, 0.05);
}

.search-toggle {
    position: relative;
    color: var(--dark);
    transition: color 0.3s ease;
    cursor: pointer;
}

.search-toggle:hover {
    color: var(--primary);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: none;
    z-index: 1000;
    animation: fadeInDown 0.3s ease forwards;
}

.search-dropdown.show {
    display: block;
}

.dropdown-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.btn-contact,
.btn-un {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn-contact:hover,
.btn-un:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    background-color: transparent;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 102, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-brand {
        align-items: center;
        gap: 12px;
    }

    .nav_text {
        font-size: 0.9em;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 15px;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        margin: 5px auto;
        width: fit-content;
    }

    .navbar-collapse {
        background-color: white;
        padding: 20px 0;
        border-radius: 15px;
        margin-top: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .search-dropdown {
        position: static;
        width: 100%;
        margin-top: 15px;
        box-shadow: none;
        border: 2px solid var(--border-color);
    }

    .btn-contact,
    .btn-un {
        margin-top: 15px;
        display: inline-block;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        height: auto;
        min-height: 70px;
        padding: 8px 0;
    }

    .navbar-brand {
        gap: 10px;
    }

    .navbar-brand img {
        height: 2.5em;
    }

    .nav_text {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .search-dropdown {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        min-height: 65px;
        padding: 6px 0;
    }

    .navbar-brand {
        gap: 8px;
        flex: 1;
    }

    .navbar-brand img {
        height: 2.2em;
    }

    .nav_text {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
        line-height: 1.1;
    }

    .navbar-toggler {
        margin-left: auto;
        padding: 3px 6px;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .container {
        padding: 0 12px;
    }

    .dropdown-search-input {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .navbar {
        min-height: 60px;
    }

    .nav_text {
        font-size: 0.7rem;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: wrap;
    }

    .navbar-brand img {
        height: 2em;
    }

    .search-dropdown {
        padding: 12px;
    }

    .btn-contact,
    .btn-un {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Additional utility classes */
.text-primary {
    color: var(--primary) !important;
}

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

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}


/* Products Section */
    .products-section {
        padding: 50px 0 30px;
        background: linear-gradient(135deg, #ffffff 0%, #bacae0 100%);
        position: relative;
        overflow: hidden;
    }

    .products-section h2 {
        text-align: center;
        margin-bottom: 40px;
        font-weight: 800;
        color: var(--dark);
        position: relative;
        font-variant: small-caps;
    }

    .products-section h2::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

    /* Products container for positioning navigation */
    .products-container {
        padding: 0 50px;
    }

    /* Product item styles */
    .product-item {
        background: white;
        border-radius: 15px;
        padding: 15px;
        text-align: center;
        box-shadow: 0 10px 15px rgba(90, 107, 180, 0.1);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .product-image-container {
        height: 180px;
        background: #f8f9fa;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        margin-bottom: 20px;
    }

    .product-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

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

    .product-item h5 {
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--dark);
        font-size: 1.3rem;
        flex-grow: 1;
    }

    .btn-un {
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: auto;
    }

    
    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .product-col {
            width: 280px;
        }
    }

    @media (max-width: 992px) {
        .products-container {
            padding: 0 45px;
        }
        
        .product-col {
            width: 260px;
        }
    }

    @media (max-width: 768px) {
        .products-container {
            padding: 0 40px;
        }
        
        .product-col {
            width: 240px;
        }
        
        .product-carousel-control-prev,
        .product-carousel-control-next {
            width: 35px;
            height: 35px;
        }
        
        .product-image-container {
            height: 160px;
        }
        
        .product-item h5 {
            font-size: 1.1rem;
        }
        
        .btn-un {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .products-container {
            padding: 0 5px;
        }
        
        .product-col {
            width: 200px;
        }
        
        .product-carousel-control-prev {
            left: 5px;
        }
        
        .product-carousel-control-next {
            right: 5px;
        }
        
        .product-carousel-control-prev,
        .product-carousel-control-next {
            width: 30px;
            height: 30px;
        }
        
        .product-image-container {
            height: 140px;
        }
        
        .product-item {
            padding: 10px;
        }
        
        .product-item h5 {
            font-size: 1rem;
            margin-bottom: 10px;
        }
        
        .btn-un {
            padding: 6px 12px;
            font-size: 0.8rem;
        }
    }

    /* For very small screens */
    @media (max-width: 380px) {
        .product-col {
            width: 180px;
        }
        
        .product-image-container {
            height: 120px;
        }
    }


    /* Footer */
footer {
    color: white;
    padding: 80px 0 20px;
    background: linear-gradient(135deg, #111253 0%, #127957 100%);
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}



.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 767px) {

    footer {
        text-align: center;
    }

    .footer-links {
        margin-top: 30px;
    }
}

/* Social contact Buttons*/

.social-contact-container {
    position: fixed;
    right: 20px;
    top: 80%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;

}

.social-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-contact-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn {
    background: linear-gradient(145deg, #25D366, #008145);
    box-shadow: inset 2px 3px 10px #013615;
}
.phone-btn {
    background: linear-gradient(145deg, #347cda, #022f55) !important;
    box-shadow: inset 2px 3px 10px #023864 !important;
}
.social-contact-btn i {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.social-contact-btn:hover {
    transform: scale(1.1) translateZ(20px);
}

@media (max-width: 768px) {
    .social-contact-container {
        right: 10px;
        top: 92%;
    }

    .social-contact-btn {
        width: 40px;
        height: 40px;
    }
}


