body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    background-color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.logo img {
    margin-bottom: 5px;
    height: 15vh;
    width: 11vw;
}

.logo-underline {
    width: 30px;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: 5px;
    left: 55%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    width: 50vw;
    margin-left: 9%;
    gap: 15px;
    margin-top: 1%;
    margin-bottom: 0;
}

.nav-links li {
    margin: 0 20px;
    padding: 1%;
    text-align: center;
}



.nav-links li {
    position: relative; 
    margin: 0 15px; 
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    position: relative; 
    padding-bottom: 5px; 
    display: inline-block; 
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #000;
}

.icons {
    display: flex;
    align-items: center;
    gap: 27px;
    width: 20vw;
}

.icons i {
    font-size: 18px;
    margin-left: 16px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }
}
/* Search Container Styles */
.search-container {
    display: none;
    position: absolute;
    top: 80%;
    right: 15%;
    width: 300px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.315);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.479);
    z-index: 1000;
}

.search-container.active {
    display: block;
}

.search-input {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Ensuring logo and underline stay centered */
    .logo {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo img {
        height: 12vh; 
        width: auto;
    }

    .icons{
        order: 2;
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 20px;
        cursor: pointer;
        position: absolute;
        top: 61.7%;
        left: 2%;
        margin-top: 4%;

    }

    .icons {
        display: flex;
        margin-left: 28%;
        margin-top: 4%;
    }

    .icons i {
        font-size: 18px;
        cursor: pointer;
    }

    /* Nav links should appear when toggled */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 110px;
        left: 0%;
        width: 50%;
        background-color: rgba(255, 255, 255, 0.932);
        text-align: center;
        box-shadow: 0 2px 5px rgba(20, 20, 20, 0.507);
        padding: 20px 0;
        z-index: 100;
        color: #008000;
        font-weight: 800;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        margin-top: -1%;
    }

    .search-container {
        top: 100px;
        right: 10px;
        background-color: rgba(255, 255, 255, 0.87);
    }
}

/* Blog Slideshow */
.article-card {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    padding: 4%;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.568);
    margin-top: 1%;
    background-size: cover; 
    background-position: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: relative;
    overflow: hidden;
    min-height: 400px; 
}

.article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.397), rgba(0, 0, 0, 0.5));
    border-radius: 15px;
    pointer-events: none;
    z-index: 1;
}

.article-card > * {
    position: relative;
    z-index: 2;
}

.article-content {
    flex: 1;
    padding-right: 20px;
    color: white; 
}

.tag {
    color: #c95d06;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.time-badge {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    color: #555;
}

.article-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
    color: white; 
}

.article-content p {
    font-size: 16px;
    color: rgb(252, 244, 244);
    margin-bottom: 12px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: #008000;
    font-size: 16px;
}

.btn-read svg {
    margin-left: 5px;
}

.author-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.author-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
}

.author-info span {
    font-size: 14px;
    color: white; 
}

.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: #008000;
}

.dot:not(.active) {
    background-color: #c95d06;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
        text-align: center;
        max-height:400px;
        width: 98%;
    }

    .article-content {
        padding-right: 0;
        padding-bottom: 15px;
    }

    .tag {
        margin-top: 4%;
    }
}

/* Blog Layout */
.blog-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Sidebar Styling */
.sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    font-size: 22px;
    font-weight: bold;
    color: #054715;
    margin-bottom: 15px;
    font-weight: bold;

}

.latest-post, .popular-post {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
}

.latest-post img, .popular-post img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Main Featured Section */
.featured {
    position: relative;
}

.featured img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 85%;
    bottom: 18%;
}

.featured-content h2 {
    font-size: 24px;
    font-weight: 800;
    font-weight: bold;

}

.featured-content p {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .featured-content {
        max-width: 100%;
    }
}


/* Full-width Exclusive Blog Section */
.third-exclusive-blog-wrapper {
    display: flex;
    gap: 25px;
    padding: 25px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Main Standout Blog Post */
.third-standout-blog-post {
    position: relative;
    width: 85%;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
}

.third-standout-blog-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column Additional Blog Posts */
.third-extra-blog-list {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.third-extra-blog-card {
    position: relative;
    width: 110%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-left:-20%;
}

.third-extra-blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Overlay Styles */
.third-standout-blog-content,
.third-extra-blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.third-standout-blog-title,
.third-extra-blog-title {
    font-size: 24px;
    margin: 6px 0;
}

.third-standout-blog-desc,
.third-extra-blog-desc {
    font-size: 15px;
    max-width: 92%;
}

.third-standout-blog-date,
.third-extra-blog-date {
    font-size: 13px;
    opacity: 0.85;
}

.third-standout-blog-category,
.third-extra-blog-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.35);
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 18px;
}

/* Author Info */
.third-standout-author-info,
.third-extra-author-info {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.third-standout-author-info img,
.third-extra-author-info img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 12px;
}

.third-standout-author-info a,
.third-extra-author-info a {
    color: white;
    font-size: 15px;
    text-decoration: none;
}

.third-standout-author-info a:hover,
.third-extra-author-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .third-exclusive-blog-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        width: 100%;
    }

    .third-standout-blog-post,
    .third-extra-blog-list {
        width: 100%;
    }
    
    .third-extra-blog-card{
        margin-left:1%;
        width:100%;
    }

    .third-standout-blog-post {
        height: 400px;
    }

    .third-extra-blog-card {
        height: 250px;
    }

    .third-standout-blog-title,
    .third-extra-blog-title {
        font-size: 20px;
    }

    .third-standout-blog-desc,
    .third-extra-blog-desc {
        font-size: 14px;
    }

    .third-standout-blog-content,
    .third-extra-blog-content {
        padding: 15px;
    }
}

/* Final Blog Section */
.section-title {
    font-size: 28px; 
    font-weight: bold;
    color: #054715;
    margin-bottom: 20px; 
    text-decoration: underline; 
    text-decoration-color: rgba(0, 0, 0, 0.842); 
    text-underline-offset: 8px; 
}
.unique-design-articles {
    gap: 25px;
    padding: 25px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    position: relative;
}

.unique-design-articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    /* max-width: 1200px;
    margin: 0 auto; */
}

.unique-design-article-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-design-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.unique-design-article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.unique-design-article-content {
    padding: 20px;
}

.unique-design-article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.unique-design-article-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.unique-design-article-author {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.unique-design-article-link {
    display: inline-block;
    font-size: 14px;
    color: #008000;
    text-decoration: none;
    font-weight: bold;
}

.unique-design-article-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .unique-design-articles {
        width: 100%; 
        top: 0; 
        left: 0; 
        padding: 15px; 
    }

    .unique-design-articles-container {
        grid-template-columns: 1fr; 
        gap: 15px; 
    }

    .unique-design-article-card {
        margin-bottom: 15px; 
    }

    .unique-design-article-image img {
        height: 160px; 
    }

    .unique-design-article-content h3 {
        font-size: 18px; 
    }

    .unique-design-article-content p {
        font-size: 13px; 
    }

    .section-title {
        font-size: 24px; 
        text-align: center; 
        margin-bottom: 15px; 
    }
}

/* Footer Base Styles */
.footer {
  background-color: #0b3d2e;
  color: #fff;
  padding: 50px 0 20px;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Footer Column Styles */
.footer-column {
  margin-bottom: 0;
}

.footer-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 3px;
}

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

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

.footer-links a {
  color: #d1d1d1;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -10px;
}

/* Footer Bottom Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  color: #aaa;
  font-size: 14px;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  
  .footer-heading {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-column {
    margin-bottom: 0;
  }
  
  .footer-heading {
    margin-bottom: 12px;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
}