.blog-wrapper {
    margin-top: -50px;
}

.row {
    margin-right: -36px !important;
    margin-left: -36px !important;
}

.blog-image {
    margin: -25px 0 !important;
}

.blog-left-content {
    margin-left: 10px !important;
    margin-right: 20px !important;
}

.img-fluid {
    width: 273px !important;
    height: 273px !important;
    object-fit: cover !important;
    /* Ensures the image covers the given dimensions without distortion */
}

.blog-author-image {
    width: 35px;
    height: 35px;
}

.sub-title {
    font-size: 40px;
    margin-bottom: 20px;
}

@media (min-width: 767px) and (max-width: 991px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 700px) and (max-width: 767px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 600px) and (max-width: 700px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (min-width: 400px) and (max-width: 600px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: -10px -10px !important;
    }
    .light-blue-section {
        margin: 100px 20px 50px 20px !important;
        height: 200px !important;
    }
    .search h1 {
        font-size: 2.0em !important;
    }
    .search-container {
        width: 350px !important;
    }
    #search {
        width: 90% !important;
        font-size: 14px !important;
    }
    #search-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
}

@media (min-width: 0px) and (max-width: 400px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 300px !important;
        height: 300px !important;
    }
    .sub-title {
        margin-bottom: -10px !important;
    }
    .sub-title {
        font-size: 30px;
        margin-bottom: 10px !important;
    }
}

.light-blue-section {
    margin: 100px 50px 0px 50px;
    background-color: #f7da67;
    /* Light blue background ADD8E6 */
    max-width: 100%;
    /* Adjust the width as needed */
    height: 300px;
    /* Adjust height to match the original image's height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: adds a slight shadow for depth */
}

.search h1 {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    text-align: center;
}

.search-container {
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    display: flex;
    width: 600px;
}

#search {
    width: 90%;
    padding: 10px 15px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-family: 'Open Sans', sans-serif;
}

#search-button {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 25px 25px 0;
    background-color: #FCA311;
    color: #fff;
    cursor: pointer;
    display: flex;
}

#search-button i {
    margin-left: 5px !important;
}

.blog-wrapper {
    margin-top: 0px;
}

.row {
    margin-right: -36px !important;
    margin-left: -36px !important;
}

.blog-image {
    margin: -25px 0 !important;
}

.blog-left-content {
    margin-left: 10px !important;
    margin-right: 20px !important;
}

.img-fluid {
    width: 273px !important;
    height: 273px !important;
    object-fit: cover !important;
    /* Ensures the image covers the given dimensions without distortion */
}

.blog-author-image {
    width: 35px;
    height: 35px;
}

@media (min-width: 1400px) and (max-width: 4000px) {
    .row {
        margin-right: -25px !important;
        margin-left: -25px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: -25px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 700px) and (max-width: 767px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 600px) and (max-width: 700px) {
    .row {
        margin-right: -30px !important;
        margin-left: -30px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .light-blue-section {
        margin: 120px 20px 20px 20px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 2.0em;
    }
    .search-container {
        width: 500px;
    }
    #search {
        font-size: 15px;
    }
    #search-button {
        font-size: 15px;
    }
    .blog-author-image {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (min-width: 400px) and (max-width: 600px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .light-blue-section {
        margin: 120px 20px 20px 20px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 2.0em;
    }
    .search-container {
        width: 350px;
    }
    #search {
        font-size: 14px;
    }
    #search-button {
        font-size: 14px;
    }
    .blog-author-image {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (min-width: 0px) and (max-width: 400px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 272px !important;
        height: 272px !important;
    }
    .fs-3 {
        font-size: 15px !important;
    }
    .sub-title {
        margin-bottom: -10px !important;
    }
    .light-blue-section {
        margin: 100px 10px 15px 10px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 1.5em;
    }
    .search-container {
        width: 300px;
    }
    #search {
        font-size: 12px;
    }
    #search-button {
        font-size: 12px;
        padding: 10px 10px;
    }
}


/* Dropdown Styling */

.navbar-nav .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #FCA311;
    color: white;
}

.navbar-nav .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Animation for fading in */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu .dropdown-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0s;
}


/* Dropdown Styling in Offcanvas */

.offcanvas .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.offcanvas .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.offcanvas .dropdown-menu .dropdown-item:hover {
    background-color: #FCA311;
    color: white;
}

.offcanvas .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.offcanvas .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.offcanvas .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Animation for fading in */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offcanvas .dropdown-menu .dropdown-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0s;
}

.dropdown-open .moveable-item {
    transition: transform 0.3s ease;
    transform: translateY(180px);
    /* Adjust the value as needed */
}

.rounded-left {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

.rounded-right {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}