/* single_blog.css */
body {
    font-family: "Montserrat", sans-serif;
    margin-top: 60px;
    /* Adjust this value according to your navbar height */
}

/* Navbar adjustments */
/* .navbar {

    opacity: 0;
    animation: fadeIn 1s forwards;
    z-index: 1000;
} */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* .navbar-brand {
    padding: 0;
}

.navbar-brand img {
    width: 150px;
    height: 150px;
}

.navbar-toggler {
    display: block;
}

.navbar-nav .nav-item {
    margin: 10px 10px;
}

.navbar-nav .nav-link {
    color: black;
    font-weight: 300;
    font-size: 15px;
    padding: 10px 20px;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler.show {
    display: block;
}

.btn-success.navbar-btn {
    padding: 15px 40px;
} */

.btn-success {
    border-radius: 10px;
    background-color: #1E943D;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #1E943D;
}

.btn-lg.custom-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Jumbotron */
.jumbotron {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 1s ease-out;
}

.jumbotron img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.jumbotron .jumbotron-content {
    z-index: 1;
}

.jumbotron.visible {
    transform: translateX(0);
    opacity: 1;
}

/* Content Section */
.content-section {
    margin-top: 5rem;
}

.content-section .row {
    margin-bottom: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 1s ease-out;
}

.content-section .row.visible {
    transform: translateY(0);
    opacity: 1;
}

.content-section img {
    width: 100%;
    height: auto;
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

@media (max-width: 768px) {
    /* .navbar-brand img {
        width: 120px;
        height: 120px;
    } */

    .jumbotron {
        height: 50vh;
    }

    .jumbotron .container {
        top: 50%;
    }

    .content-section {
        margin-top: 3rem;
    }

    .content-section .row {
        margin-bottom: 1rem;
    }
}

.all_blogs body {
    font-family: "Almarai";
}
.all_blogs {
    margin-top: 95px;
}

.all_blogs .blog-banner1 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    border-radius: 18px;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideInLeft 2s ease-out;
    animation-delay: 0s;
}

.all_blogs .main-banner1 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    background-image: url('../../assets/images/blog6.png');
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.all_blogs .blog-banner6 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    border-radius: 18px;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideInRight 1s ease-out;
    animation-delay: 0s;
}

.all_blogs .blog-banner2,
.all_blogs .blog-banner3 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    border-radius: 18px;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideInRightRotate 1s ease-out;
    animation-delay: 0s;

}

.all_blogs .blog-banner4,
.all_blogs .blog-banner5 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    border-radius: 18px;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideInLeftRotate 1s ease-out;
    animation-delay: 0s;
}

.all_blogs .blog-heading::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    background: linear-gradient(to right,
            #EBCD00,
            #CDAF00,
            #FFFFFF,
            #CDAF00,
            #FFFFFF,
            #CDAF00,
            #EBCD00,
            #FFFFFF,
            #EBCD00);
    margin: 15px 4px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    z-index: 10;
    position: relative;
}

.all_blogs .button-blog {
    background-color: white;
    color: green;
    align-self: flex-start;
    font-weight: 700;
}

@media (max-width: 767.98px) {

    .all_blogs .blog-banner1,
    .all_blogs .blog-banner6 {
        height: 30vh;
    }

    .all_blogs .blog-banner2,
    .all_blogs .blog-banner3 {
        height: 40vh;
    }

    .all_blogs .blog-banner4,
    .all_blogs .blog-banner5 {
        height: 40vh;
    }

    .all_blogs .button-blog-margin2 {
        margin-top: 20%;
    }
}

.all_blogs .bold {
    font-weight: bold;
}



@media (min-width: 992px) {
    .all_blogs .blog-section {
        width: 90%;
        margin: auto;
    }
}
@media (max-width: 768px) {
    .all_blogs .blog-section {
        margin-top: 0rem;
        padding-top: 0rem;
    }
}
.single-blog-main-heADING{
    font-weight: 700;
    font-size: 63px;
    font-family: Helvetica;
    color: white;

}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideInRightRotate {
    from {
        transform: translateX(100%) rotate(50deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

@keyframes slideInLeftRotate {
    from {
        transform: translateX(-100%) rotate(270deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) rotate(360deg);
        opacity: 1;
    }
}

.all_blogs .mt-10 {
    margin-top: 30%;
}

@media (max-width: 767.98px) {
    .all_blogs .mt-10 {
        margin-top: 40%;
    }
}


.blog-subheading{
    font-family: Helvetica;
font-size: 13px;
font-weight: 400;
}
