/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    overflow-x: hidden;
}

/* Top Bar Section */

.top-bar-section {
    width: 100%;
    background-color: #4fb649;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 70px;
    position: sticky;
    top: 0px;
    z-index: 1001;
}

.top-bar-section a {
    color: white;
    height: auto;
    text-decoration: none;
}

.top-bar-social-icons a {
    height: 20px;
}

.top-bar-content-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-content-section p {
    font-size: 16px;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social-icons i {
    font-size: 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    /* background-color: #fff; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    background-color: black;
    position: sticky;
    top: 34px;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 170px;
    height: auto;
}

.logo span {
    color: #ffc107;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

/* Blog Section */

.blog-section {
    background-color: #f8faff;
    padding: 20px 50px 40px 50px;
}

.blog-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
    color: #2d3e50;
}

.blog-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-section-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.blog-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-section-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-section-content {
    padding: 15px;
}

.blog-section-category {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-bottom: 5px;
}

.blog-section-date {
    display: block;
    font-size: 12px;
    color: #bbbbbb;
    margin-bottom: 10px;
}

.blog-section-title {
    font-size: 18px;
    color: #333333;
    margin: 0 0 15px;
    line-height: 1.4;
}

.blog-section-link {
    font-size: 20px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
}

.blog-section-link:hover {
    color: #0056b3;
}

.blog-section .blog-para {
    margin-bottom: 20px;
    text-align: justify;
}

/* Footer Section */

.footer-section {
    background-color: #2C2C2C;
    color: #ffffff;
    padding: 60px 20px;
    background-image: url("./images/footer-background.webp");
    background-size: cover;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0px 50px;
}

.footer-brand {
    width: 50%;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    width: 60%;
    margin-bottom: 10px;
}

.footer-socials a {
    margin-right: 10px;
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0px;
}

.footer-logo-section img {
    width: auto;
    height: 60px;
    border-radius: 5px;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.footer-below-box {
    width: 100%;
    padding: 10px;
    background-color: #4fb649;
}

.footer-below-box h3 {
    width: 100%;
    text-align: center;
    color: white;
}

/* Responsive Code */

@media (max-width: 1200px) {

    /* Footer */
    .footer-brand {
        width: 45%;
    }
}

@media (max-width: 1050px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 769px) {

    /* Top Section */
    .top-bar-section {
        flex-direction: column;
        padding: 5px 10px;
        gap: 10px;
    }

    .top-bar-content-section {
        flex-direction: column;
        gap: 2px;
    }

    /* Navbar */
    .navbar {
        padding: 15px 20px;
        align-items: center;
        top: 90px;
    }

    .nav-links {
        display: none;
    }

    .logo {
        width: 100%;
    }

    /* Blog Section */

    .blog-section {
        padding: 20px 15px 40px 15px;
    }

    .blog-section h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    /* Footer Section */
    .footer-section {
        padding: 20px;
    }

    .footer-middle {
        flex-direction: column;
        padding: 0px 10px;
        justify-content: center;
        gap: 25px;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer-links h3 {
        margin-bottom: 10px;
    }

    .footer-item .footer-icon i {
        font-size: 30px;
    }

    .footer-links ul li {
        text-align: center;
    }

    .footer-item p {
        font-size: 14px;
    }

    .footer-item h3 {
        font-size: 18px;
    }

    .footer-below-box h3 {
        font-size: 14px;
    }

    .footer-brand p {
        width: 100%;
        text-align: center;
    }

    .footer-brand {
        width: auto;
    }

    .footer-logo-section {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-section img {
        height: 65px;
    }
}

/* Sidebar */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 2000;
}

.sidenav a {
    padding: 8px 8px 8px 22px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidebar-logo-img {
    width: 150px;
    margin-top: 10px;
}

.sidebar-open {
    display: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width:900px) {
    .sidebar-open {
        display: block !important;
    }
}

.sidebar-nav {
    color: white;
    font-size: 25px;
    display: none !important;
    cursor: pointer;
}

@media (max-width:1050px) {
    .sidebar-nav {
        display: block !important;
    }
}

/* Whatsapp Button */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
}

.whatsapp-btn img {
    width: 70px;
    height: auto;
}

@media (max-width: 600px) {
    .whatsapp-btn img {
        width: 60px;
        height: auto;
    }
}


/* Banner Section */

.banner-section {
    width: 100%;
    height: 300px;
    background-image: url("/banner-images/banner-img-10.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: -1;
}

/* .banner-section::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    background: #5f5f5f;
    mix-blend-mode: multiply;
    z-index: 2;
} */

.banner-section h2 {
  font-size: 40px;
  color: white;
  font-weight: 600;
  z-index: 10;
  position: absolute;
  bottom: 10px;
  left: 0%;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0px 15px 0px 50px;
  border-radius: 0px 10px 10px 0px;
}

@media (max-width: 769px) {
  /* Banner Section */

  .banner-section {
    height: 160px;
  }

  .banner-section h2 {
    font-size: 30px;
    text-align: center;
    bottom: 10px;
    left: auto;
    padding: 0px 10px;
    border-radius: 10px;
  }
}