body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-image: linear-gradient(16deg, rgba(116, 116, 116,0.02) 0%, rgba(116, 116, 116,0.02) 25%,transparent 25%, transparent 96%,rgba(177, 177, 177,0.02) 96%, rgba(177, 177, 177,0.02) 100%),linear-gradient(236deg, rgba(148, 148, 148,0.02) 0%, rgba(148, 148, 148,0.02) 53%,transparent 53%, transparent 59%,rgba(56, 56, 56,0.02) 59%, rgba(56, 56, 56,0.02) 100%),linear-gradient(284deg, rgba(16, 16, 16,0.02) 0%, rgba(16, 16, 16,0.02) 46%,transparent 46%, transparent 71%,rgba(181, 181, 181,0.02) 71%, rgba(181, 181, 181,0.02) 100%),linear-gradient(316deg, rgba(197, 197, 197,0.02) 0%, rgba(197, 197, 197,0.02) 26%,transparent 26%, transparent 49%,rgba(58, 58, 58,0.02) 49%, rgba(58, 58, 58,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));

}

/* sidebar */
.sidebar h3 {
    margin-top: 0;
    color: #737373;
}

.sidebar ul {
    list-style:none;
    padding: 0;
}

.sidebar li {
    padding: 8px 0;
    cursor: pointer;
    color:rgb(255, 255, 255);
    margin-bottom: 10px;
    
}

.sidebar li:hover {
    color: #d5eaff ;
}



/* MAIN LAYOUT */
.main-container {
    display: flex;
    flex: 1; /* makes content push footer down */
}

.sidebar {
    width: 250px;
    background-image: linear-gradient(23deg, rgba(202, 202, 202,0.02) 0%, rgba(202, 202, 202,0.02) 13%,transparent 13%, transparent 80%,rgba(11, 11, 11,0.02) 80%, rgba(11, 11, 11,0.02) 100%),linear-gradient(42deg, rgba(98, 98, 98,0.02) 0%, rgba(98, 98, 98,0.02) 36%,transparent 36%, transparent 77%,rgba(252, 252, 252,0.02) 77%, rgba(252, 252, 252,0.02) 100%),linear-gradient(286deg, rgba(173, 173, 173,0.02) 0%, rgba(173, 173, 173,0.02) 2%,transparent 2%, transparent 12%,rgba(59, 59, 59,0.02) 12%, rgba(59, 59, 59,0.02) 100%),linear-gradient(77deg, rgba(87, 87, 87,0.02) 0%, rgba(87, 87, 87,0.02) 18%,transparent 18%, transparent 55%,rgba(247, 247, 247,0.02) 55%, rgba(247, 247, 247,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-radius: 10px;
}
.sidebar a {
    color: #09324c;
    font-size: 18px;
    font-family:'Times New Roman', Times, serif;
}
.sidebar a:hover {
    color: rgb(98, 121, 144);

}

.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 0; 
    padding: 20px;
    line-height: 1.6;
    font-size: medium;
}



/* Footer Styles */
.footer {
    background-color: #09324c;
    color: white;
    padding: 30px 0;
    margin-top: auto;
    width: 100%;
    position: sticky;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  padding: 0 20px;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background: #3498db;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}


/* Replace previous .article-container with this */
.article-container {
    display: flex;
    justify-content: center;
    margin-left: 270px; /* Pushes right of sidebar */
    padding: 20px;
    width: calc(100% - 270px); /* Full width minus sidebar */
    
}

.article-box {
    width: 80%;
    max-width: 800px;
    background-image: linear-gradient(134deg, rgba(1, 1, 1,0.02) 0%, rgba(1, 1, 1,0.02) 16%,transparent 16%, transparent 76%,rgba(58, 58, 58,0.02) 76%, rgba(58, 58, 58,0.02) 100%),linear-gradient(215deg, rgba(166, 166, 166,0.02) 0%, rgba(166, 166, 166,0.02) 33%,transparent 33%, transparent 79%,rgba(111, 111, 111,0.02) 79%, rgba(111, 111, 111,0.02) 100%),linear-gradient(303deg, rgba(215, 215, 215,0.02) 0%, rgba(215, 215, 215,0.02) 7%,transparent 7%, transparent 90%,rgba(192, 192, 192,0.02) 90%, rgba(192, 192, 192,0.02) 100%),linear-gradient(302deg, rgba(113, 113, 113,0.02) 0%, rgba(113, 113, 113,0.02) 34%,transparent 34%, transparent 73%,rgba(65, 65, 65,0.02) 73%, rgba(65, 65, 65,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255)) ;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto; /* Centers the box */
    overflow-y: auto;
    font-family: 'Georgia', serif;
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
    
    
}

.article-box p {
    text-align: justify;
}


/*search bar*/

.d-flex {
    display: flex;
    margin-left: auto; /* Pushes search to right */
}

.d-flex input {
    padding: 8px;
    border: 1px solid #020202;
    border-radius: 4px 0 0 4px;
}

.d-flex button {
    padding: 8px 12px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor:pointer;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    
}


/* Search Results Styling */
.search-results-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;

}

.article-result {
    background-image: linear-gradient(134deg, rgba(1, 1, 1,0.02) 0%, rgba(1, 1, 1,0.02) 16%,transparent 16%, transparent 76%,rgba(58, 58, 58,0.02) 76%, rgba(58, 58, 58,0.02) 100%),linear-gradient(215deg, rgba(166, 166, 166,0.02) 0%, rgba(166, 166, 166,0.02) 33%,transparent 33%, transparent 79%,rgba(111, 111, 111,0.02) 79%, rgba(111, 111, 111,0.02) 100%),linear-gradient(303deg, rgba(215, 215, 215,0.02) 0%, rgba(215, 215, 215,0.02) 7%,transparent 7%, transparent 90%,rgba(192, 192, 192,0.02) 90%, rgba(192, 192, 192,0.02) 100%),linear-gradient(302deg, rgba(113, 113, 113,0.02) 0%, rgba(113, 113, 113,0.02) 34%,transparent 34%, transparent 73%,rgba(65, 65, 65,0.02) 73%, rgba(65, 65, 65,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255)) ;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-result h3 {
    color: #000000;
    margin-bottom: 10px;
}

.article-result p {
    color: #000000;
    line-height: 1.6;
    
}

.article-result .category {
    color: #7f8c8d;
    font-size: 14px;
    font-style: italic;
}


/* Foorm */

#foorm{
     
background-image: linear-gradient(41deg, rgba(107, 107, 107, 0.04) 0%, rgba(107, 107, 107, 0.04) 8%,rgba(31, 31, 31, 0.04) 8%, rgba(31, 31, 31, 0.04) 100%),linear-gradient(9deg, rgba(228, 228, 228, 0.04) 0%, rgba(228, 228, 228, 0.04) 62%,rgba(54, 54, 54, 0.04) 62%, rgba(54, 54, 54, 0.04) 100%),linear-gradient(124deg, rgba(18, 18, 18, 0.04) 0%, rgba(18, 18, 18, 0.04) 37%,rgba(233, 233, 233, 0.04) 37%, rgba(233, 233, 233, 0.04) 100%),linear-gradient(253deg, rgba(201, 201, 201, 0.04) 0%, rgba(201, 201, 201, 0.04) 55%,rgba(47, 47, 47, 0.04) 55%, rgba(47, 47, 47, 0.04) 100%),linear-gradient(270deg, rgba(172, 172, 172, 0.04) 0%, rgba(172, 172, 172, 0.04) 33%,rgba(26, 26, 26, 0.04) 33%, rgba(26, 26, 26, 0.04) 100%),linear-gradient(64deg, rgba(11, 11, 11, 0.04) 0%, rgba(11, 11, 11, 0.04) 38%,rgba(87, 87, 87, 0.04) 38%, rgba(87, 87, 87, 0.04) 100%),linear-gradient(347deg, rgba(199, 199, 199, 0.04) 0%, rgba(199, 199, 199, 0.04) 69%,rgba(4, 4, 4, 0.04) 69%, rgba(4, 4, 4, 0.04) 100%),linear-gradient(313deg, rgba(36, 36, 36, 0.04) 0%, rgba(36, 36, 36, 0.04) 20%,rgba(91, 91, 91, 0.04) 20%, rgba(91, 91, 91, 0.04) 100%),linear-gradient(90deg, rgb(10, 17, 72),rgb(35, 148, 228));

color: #ffffff;
height: 400px;
width: 400px;
padding: 20px;
margin:0 auto;
margin-top: 90px;
text-align: center;
border-radius: 10px;

}


/* categories */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-card h3 {
    padding: 15px;
    text-align: center;
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.category-card a {
    color: #000000;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
}
.category-card a:hover {
    color: rgb(107, 137, 167) ;
}




/* About Section */
.about-section {
    padding: 60px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    color: #000000;
    
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature h4 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: #4e4e4e;
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    flex: 0 0 300px;
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 4rem;
}


/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        margin-top: 30px;
    }
}

.about-contact {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
   background-color: #09324c;
    color:white;
    border-radius: 10px;
}


    /*img used in articles */

.category-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}




 /*     Header   */

.main-header {
   background-color: #09324c;
   color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover, .main-nav .active {
    opacity: 1;
    text-decoration: underline;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    padding: 0.3rem;
}

.search-box input {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    outline: none;
    width: 200px;
}

.search-box button {
    background: #667eea;
    border: none;
    border-radius: 50%;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
}

.auth-buttons {
    gap: 1rem;
    display: flex;
    margin-left: 520px;
    
    
}

.login-btn, .register-btn {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 40%;
    transition: background 0.3s;
}



.register-btn {
    background: #5b6b73;
    
    
}

.register-btn:hover {
    background:rgb(255, 103, 103);
}

/* Mobile Responsive Styles */

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .article-container {
        margin-left: 0;
        width: 100%;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-buttons {
        margin-left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}






/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 800px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card p {
    color: #666;
    margin: 5px 0;
}

.email-address {
    font-weight: bold;
    color: #000000 !important;
    font-size: 1.1rem;
    margin-top: 15px !important;
}

.direct-email {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
}

.direct-email p {
    margin: 10px 0;
    color: #333;
}

.direct-email strong {
    color: #000000;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
}

/* quote box */
.quote {
  background:  #e0eeff;
  padding: 30px;
  border-left: 4px solid #3B82F6;
  margin: 50px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} 



/*welcome message*/
.welcome-message{
    padding: 40px 20px;
    margin: 20px 0;
}

.welcome-message h2  {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.welcome-message p, h3 {
    text-align: center;
}

/* latest articles */
/* Mobile-first responsive */
.latest-articles {
    width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.latest-articles h2 {
     text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #0f172a;
    padding: 40px 20px;
    margin: 20px 0;
}

.article-row {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 1.2rem;
}

@media (min-width: 768px) {
    .article-row {
        flex-direction: row; /* Row on tablet/desktop */
        flex-wrap: wrap;
        justify-content: center;
    }
}

.article-card {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 4px solid #09324c;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .article-card {
        flex: 1;
        min-width: 250px;
        max-width: 300px;
    }
}

.article-card:hover {
    transform: translateY(-5px);
}

.tag {
    background: #09324c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.article-card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.article-card p {
    color: black;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.latest-articles h2{
    text-align: center;
}

.meta {
    color: black;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* disclaimer */
 .article-disclaimer {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.disclaimer-icon {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    
}




/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    max-height: 400px;
}

.slide {
    display: none;
    width: 100%;
    height: 400px;  /* Fixed height container */
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* This crops to fit exactly */
    object-position: center;  /* Centers the crop */
}

/* Caption text */
.slide-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.3);
    padding: 15px;
    width: 100%;
}

/* Dots/circles */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active-dot, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

@media (max-width: 768px) {
    .slide img {
        height: 250px;
    }
}



/* Latest Posts Section */
.latest-posts {
    padding: 60px 0;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 16px;
    color: #64748b;
}

/* Grid Layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Post Card */
.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Post Image */
.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Post Content */
.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-content h3 a {
    color: #0f172a;
    text-decoration: none;
}

.post-content h3 a:hover {
    color: #2563eb;
}

.post-content p {
    font-size: 14px;
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-link:hover {
    gap: 8px;
}

/* View All Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 20px;
}

.view-all {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #2563eb;
    border-radius: 40px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.view-all:hover {
    background: #2563eb;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading h2 {
        font-size: 28px;
    }
}



