body {
    background-color: #F5F5DC;
    color: #FFA500;
}
.navbar {
    background-color: rgba(27,27,27,255);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.5);
}

.navbar-brand img {
    height: 50px; /* Adjust logo size */
    width: auto;
}
.navbar-nav .nav-link {
    color: #FFA500 !important;
    transition: color 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover {
    color: white !important;
}
.dropdown-menu {
    background-color: black;
}
.dropdown-item {
    color: #FFA500;
}
.dropdown-item:hover {
    background-color: #333;
    color: white;
}
.home-section {
    background: linear-gradient(to bottom, rgba(27,27,27,255), rgba(27,27,27,255));
    padding: 50px 0;
}
.carousel-inner img {
    width: 100%;
    height: 93vh;
    object-fit: cover;
}
.carousel-caption {
    color: #FFA500;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
}
.product-section {


    border-radius: 10px;
    border-bottom: 5px solid #FFA500;
}

.branch-section {


    border-radius: 10px;
    border-bottom: 5px solid #FFA500;
}


.about-section .outline {
    border: 2px solid #FFA500;
    padding: 20px;
    border-radius: 10px;

    transition: transform 0.3s ease-in-out;
}

.about-section .outline:hover {
    background: #333;
    color:#F5F5DC;
    transform: scale(1.05);
}

.img-about{
    width: 500px;
    height: inherit;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.img-about.show {
    opacity: 1;
    transform: scale(1);
}



.about-section h2 {
    font-size: 2rem;
    padding: 20px;
    display: inline-block;
    position: relative;
    border: 4px dashed transparent;
}

/* Animated intermittent border */

        /* Dashed border with animation */
        .about-section h2::after {
            content: "";
            position: absolute;
            top: -8px;
            left: -8px;
            width: calc(100% + 16px);
            height: calc(100% + 16px);
            border: 2px dashed #FFA500;
            border-radius: 10px;
            animation: moveBorder 5s linear infinite;
        }
        @keyframes moveBorder {
            0% { clip-path: inset(0 100% 0 0); }
            25% { clip-path: inset(0 0 100% 0); }
            50% { clip-path: inset(100% 0 0 0); }
            75% { clip-path: inset(0 0 0 100%); }
            100% { clip-path: inset(0 100% 0 0); }
        }


.product-section, .branch-section, .discount-section,.about-section ,.contact-section {
    background-color: #F5F5DC;
    padding: 50px 0;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    position: relative;
    overflow: hidden;



}
.product-card, .branch-card, .discount-card {
    background-color: rgba(27,27,27,255);
    border: 1px solid #FFA500;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    width: 100%;

    position: relative;
    z-index: 10;
}
.product-card img, .branch-card img, .discount-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.discount-price {
    color: red;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}
.original-price {
    text-decoration: line-through;
    color: grey;
    font-size: 20px;
    transition: transform 0.3s ease-in-out;
}

.show-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.original-price:hover ,.discount-price:hover{
    transform: scale(2.5);
    font-size: 32px;
}
.product-card:hover, .branch-card:hover {
    transform: scale(1.05);
}

.background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.ball {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 165, 0, 0.7);
    border-radius: 50%;
    opacity: 0.7;
    animation: moveBall linear infinite;
}
.ball.black {
    background-color: rgba(0, 0, 0, 0.7);
}
@keyframes moveBall {
    0% { transform: translate(0, 0); }
    25% { transform: translate(50px, 100px); }
    50% { transform: translate(100px, 50px); }
    75% { transform: translate(50px, -50px); }
    100% { transform: translate(0, 0); }
}
@media (max-width: 768px) {

    .navbar {
        padding: 5px 0;
    }
    .product-card, .branch-card ,.discount-card {
        width: 80%;
        margin: 0 auto;
    }



    .about-section{
        width: 90%;
    }

    .about-section .img-about {

        opacity: 0;
        height: 0px;

    }






}
