





/* =================================== FAQ SECTION */
.faq-container {
    background: linear-gradient(90deg, #991d15, #6e3e2b) !important;
    padding: 30px;
    /* border-radius: 10px; */
    text-align: center;
}
.accordion-body {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
.accordion-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.accordion-button {
    border-radius: 10px !important;
    font-size: 20px;
}
h2.text-center {
    font-size: 28px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
}
h2.text-center::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #fbff00;
    left: 0;
    bottom: 0;
    animation: slide-in 1.5s ease-in-out infinite alternate;
}
@keyframes slide-in {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


/*  =================== SLIDER */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0;
    color: #7e1811;
}
.slider {
    width: 90%;
    margin: 40px auto;
}
.slider .card {
    margin: 10px;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    border: none;
}
.slider .card:hover {
    transform: scale(1.05);
}
.slider .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7e1811 0%,  #f8b400 100%);
    border-radius: 50%;
    z-index: 1000;
}
.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}
.slick-prev:before, .slick-next:before {
    font-size: 20px;
    color: #fff;
}
.slick-dots {
    display: none !important;
}
.card h5{
    padding: 10px 0px;
    color: #7e1811;
    font-weight: 700;
}
p{
  text-align: justify;
}
@media (max-width: 768px) {
    .slider .card img {
        height: 180px;
    }
    .slider .card {
        padding: 15px;
    }
}




/* ========================== TAB SECTION */

/* Responsive Font Size for Small Screens */
@media (max-width: 375px) {
    .custom-nav-item .custom-nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Image Layout */
.tab-pane img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: auto;
}

.paras {
    text-align: justify;
    font-size: 20px;
}

/* 768px View: Stack Content & Image */
@media (max-width: 768px) {
    p {
        font-size: 15px;
    }
}




/* Button-like Tab Styling */
.custom-nav-item .custom-nav-link {
    background: #f8f9fa;
    color: #ff0000;
    font-weight: bold;
    border-radius: 5px;
    margin: 5px;
    padding: 10px 20px;
    border: 1px solid #ff0000;
    transition: all 0.3s ease-in-out;
}

.custom-nav-item .custom-nav-link.active {
    background: #ff8800;
    color: rgb(0, 0, 0);
    border: 1px solid #ff0000;
}

/* Background Image Container with Overlay */
.content-container {
    position: relative;
    background-image: url("/assets/images/service/background.webp");
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    /* Ensures overlay doesn't go outside */
}

.content-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay with 50% opacity */
    z-index: 1;
}

.content-container p {
    position: relative;
    font-size: 20px;
    color: white;
    text-align: justify;
    padding: 10px;
    z-index: 2;
    /* Ensures text is above the overlay */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-container p {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .custom-nav-item .custom-nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
}


/* Tab Content Heading Animation */
.tab-pane h2 {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    color: #7e1811;
    /* Heading color */
    padding-bottom: 10px;
}

/* Bottom Border Animation */
.tab-pane h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #f8b400, #ff5733);
    /* Border color */
    animation: slideBorder 2s infinite linear;
}

/* Keyframes for Automatic Sliding Animation */
@keyframes slideBorder {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 100%;
    }
}






