

body {
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
}
/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Main container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%; /* Ensure it takes the full width */
}

/* Flexbox for blog content and sidebar */
.content {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping for better mobile layout */
    gap: 20px;
    margin-top: 50px;
}

/* Blog list section takes more space */
.blog-list {
    flex: 2;
    width: 100%; /* Default to 100% width on small devices */
}

/* Sidebar section */
.right-sidebar {
    flex: 1;
    width: 100%; /* Default to 100% width on small devices */
    position: relative;
}

/* Sticky box for the sidebar */
.sticky-box {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px; /* Stick the sidebar 100px from the top */
    padding: 15px;
    text-align: center;
}

/* Blog main content styling */
.main-content {
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    color: #333;
}

.main-content h1 {
    font-size: 32px;
    color: #000;
    font-weight: bold;
    line-height: 1.2;
}

.post-info {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Text content styling */
p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Ordered list styling */
ol {
    margin-left: 20px;
    font-size: 16px;
    line-height: 1.6;
}

ol li {
    margin-bottom: 10px;
    color: #333;
}

.blog-heading {
    font-size: 18px;
    font-weight: bold;
}

/* Form Section */
.form-section {
    flex: 1;
    /* padding: 30px; */
    border-radius: 10px;
    max-width: 100%; /* Allow it to expand fully on smaller screens */
}

.form-section input,
.form-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    border: 1px solid #ccc;
}

/* Button styling */
.form-section button {
    width: 100%;
    padding: 15px;
    background-color: #62975f;
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.form-section button:hover {
    background-color: #005b33;
}

/* Mobile and tablet responsiveness */
@media (max-width: 768px) {
    .content {
        flex-direction: column; /* Stack elements vertically */
        margin-top: 0px;
    }

    .blog-list {
        flex: 1;
        width: 100%; /* Take full width */
    }

    .right-sidebar {
        flex: 1;
        width: 100%; /* Take full width */
    }

    /* Adjust heading sizes for mobile */
    .main-content h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-content h1 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }
}

/* Ensuring responsiveness for very small screens */
@media (max-width: 360px) {
    .form-section button {
        padding: 10px; /* Make buttons smaller for tiny screens */
        font-size: 1rem;
    }
}

/* NAvbar */
/* Common styles */
/* Navbar styling */
.navbar-connect {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
    background-color: white;
    border-bottom: 1px solid #eee;
    height: 75px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease; /* Smooth transition for the shadow */
}

/* Add shadow when the page is scrolled */
.navbar-connect.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .navbar-connect {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Logo styling */
.navbar-logo img {
    height: 230px; /* Logo size for larger screens */
    display: block;
    margin: 0;
    padding: 0;
    max-width: 1500px;
}

/* Center Menu Styling */
.navbar-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center; /* Center the menu items */
    flex-grow: 1; /* Makes the menu grow to fill available space */
}

.navbar-menu li {
    margin: 0 15px; /* Space between menu items */
}

.navbar-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.navbar-menu li a:hover {
    color: #2c9ec6;
}

/* Login Button */
.navbar-login a {
    text-decoration: none;
    color: white;
    background-color: #62975f;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
}

.navbar-login a:hover {
    background-color: #005b33;
    color: white;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #000;
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        text-align: center;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu li {
        margin: 15px 0;
    }

    /* Logo size adjustment for mobile */
    .navbar-logo img {
        height: 130px; /* Logo size for mobile */
    }

    /* Place the login button above the menu */
    .navbar-login {
        display: flex;
        justify-content: center;
        /* margin-bottom: 20px; */
    }

    .navbar-menu.active .navbar-login {
        order: -1; /* Moves the login button above the menu items */
    }
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .navbar-connect {
        padding: 0 20px;
    }

    .navbar-login a {
        padding: 10px 15px;
        font-size: 16px;
    }

    .navbar-logo img {
        height: 130px;
    }
}

/* navbar end
 */


 .blog-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}