/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Bar */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    border-bottom: 4px solid black;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px; /* Space between logo and links */
}

.navbar-content {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Divider line */
.divider {
    width: 100%;
    max-width: 900px;
    height: 4px;
    background-color: black;
    margin: 20px 0;
}

/* Nav link styling */
.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007acc;
    border-bottom: 2px solid #007acc;
}

/* Logo */
.logo {
    max-width: 80px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.8rem;
    }
}
/* Logo */
.logo {
    max-width: 80px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.8rem;
    }
}
.logo {
    max-width: 80px;
    height: auto;
}

header {
    text-align: center;
    padding: 20px 0;
}

.logo img {
    max-width: 60px;
}

.logo h1 {
    font-size: 2rem;
    margin-top: 15px;
}

.divider {
    height: 4px;
    background-color: black;
    margin: 20px 0;
}


/* Blog Section */
.blog-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.blog-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Blog Section */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center the grid */
}

/* Make the entire blog-post-link clickable */
.blog-post-link {
    text-decoration: none;
    color: inherit;
    flex: 1 1 350px; /* Set maximum width */
    max-width: 300px; /* Limit each box to 350px wide */
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.blog-post-link:hover {
    transform: scale(1.02); /* Slight scaling on hover */
}

/* Blog Post Styling */
.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #dddddd; /* Add a subtle separator line */
}

.blog-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px;
}

.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0 15px;
}

.blog-preview {
    font-size: 1rem;
    margin: 15px;
    color: #555;
}

.read-more {
    display: block;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    margin: 15px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #C3B1E1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-link {
        flex: 1 1 calc(50% - 20px); /* On smaller screens, make each post half-width */
    }
}

@media (max-width: 480px) {
    .blog-post-link {
        flex: 1 1 100%; /* On very small screens, each post is full-width */
    }
}

body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade-out transition */
}

/* Invisible starting state for initial load */

/* Fade-In effect */
body.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease; /* Controls fade-out timing */
}

/* Fade-Out effect for navigation */
body.fade-out {
    opacity: 0; /* Invisible */
}

.welcome-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    max-width: 648px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer Section */
.footer {
    background-color: #ffffff;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #007acc;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.footer-divider {
    width: 2px;
    height: 60px;
    background-color: #333;
}

.footer-hosting {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.content-divider {
    height: 4px; /* Match the thickness of the navbar line */
    background-color: black; /* Match the color of the navbar line */
    margin: 40px 0 20px 0; /* Add extra space above */
}







