* {
    margin: 0;
}

.blog-main {
    width: 100%;
    height: auto;
    /* background-color: turquoise; */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    padding-bottom: 30px;
}

/* ===================== */
/*          Nav          */
/* ===================== */

.navbar-main {
    width: 100%;
    height: 80px;
    position: fixed;
    background-color: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-main.scrolled {
    background-color: #ffffff;
    /* Change to your preferred solid color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    width: 80%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 7rem;
}

.nav-pages {
    width: 700px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-pages ul {
    display: flex;
    gap: 30px;
    list-style-type: none;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
}

.nav-pages a {
    cursor: pointer;
    color: #A75519;
    text-decoration: none;
}

.nav-pages a:hover {
    color: #09717A;
}

.nav-menu {
    display: none;
    align-items: center;
    justify-content: end;
}

.nav-menu i {
    cursor: pointer;
    font-size: 27px;
    color: #A75519;
}

.nav-menu i:hover {
    color: #09717A;
}

/* Slide menu */
.slide-menu {
    position: fixed;
    top: 80px;
    right: -250px;
    width: 250px;
    height: auto;
    background-color: #09717A;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 999;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-menu.active {
    right: 10px;
}

.slide-menu ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    /* justify-content: center; */
    align-items: center;
}

.slide-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
}

.slide-menu ul li a:hover {
    color: #A75519;
}

/* Responsive */
@media (max-width: 850px) {
    .nav-pages {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .navbar-content {
        width: 90%;
    }
}


/* ===================== */
/*          blog         */
/* ===================== */

.blog-content-head{
    padding-top: 100px;
    font-size: 30px;
}


.blog-section {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    gap: 30px;
    margin-top: 120px;
    /* align-items: center; */
    justify-content: center;
}
.blog-section a{
    text-decoration: none;
}

.blog-card {
    width: 350px;
    background: #ffffff;
    border: 2px solid #09717A;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.blog-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-content {
    padding: 20px;
}

.blog-card h2 {
    font-size: 20px;
    color: #09717A;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 15px;
    color: #A75519;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.blog-card:hover img {
    transform: scale(1.05);
}






/* Blog Article Page */
.blog-article {
    margin-top: 120px;
    max-width: 90%;
    background: #ffffff;
    /* padding: 40px; */
    border-radius: 12px;
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.1); */
    font-family: "Montserrat", sans-serif;
    line-height: 1.8;
    color: #333;
}

.blog-article h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #09717A;
}

.blog-article h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #A75519;
}

.blog-article p {
    font-size: 16px;
    margin-bottom: 20px;
}

.blog-article ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-article ul li {
    margin-bottom: 8px;
    color: #09717A;
    font-weight: 500;
}
