body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #eef4fd;
    color: #333;
}
.header {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #4a00e0, #8e2de2);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
}

.logo {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.sidebar {
    width: 250px;
    background: #fff;
    color: #333;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-250px);
    transition: transform 0.3s ease;
    z-index: 1002;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar.show {
    transform: translateX(0);
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar a:hover,
.sidebar a.active {
    background: #f5f5f5;
}

.sidebar i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #4a00e0;
}

.content {
    margin-top: 60px;
    padding: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1001;
    display: none;
}

.overlay.show {
    display: block;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 10px;
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

.grid-item {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.grid-item a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.grid-item p {
    margin-top: 8px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.grid-item:hover p {
    color: #007BFF;
}

.load-more-container {
    text-align: center;
    margin: 20px;
}

.load-more-btn {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.load-more-btn:hover {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

.site-footer {
    margin-top: 10px;
    background: #fff;
    color: #333;
    padding: 30px 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

.site-footer .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.site-footer .footer-logo {
    font-size: 24px;
    font-weight: bold;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.site-footer .footer-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.site-footer .footer-links a:hover {
    color: #007BFF;
}

.site-footer .footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.site-footer .footer-social a {
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.site-footer .footer-social a:hover {
    color: #007BFF;
}

.site-footer .footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 13px;
}

.site-footer .footer-description {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.site-footer .footer-policies {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer .footer-policies a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer .footer-policies a:hover {
    color: #007BFF;
}

.site-footer .footer-copy {
    color: #555;
}







.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 100px auto; /* Adds top & bottom spacing */
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.contact-left, .contact-right {
    flex: 1 1 400px;
}

.contact-left h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.contact-left p {
    margin-bottom: 25px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #007BFF;
}

.submit-btn {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.contact-right img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.contact-details h3 {
    margin-bottom: 10px;
    color: #333;
}

.contact-details p {
    margin: 5px 0;
    color: #555;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 20px;
    }
}


/* Blog Container Styling */
.blog-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.blog-container h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

/* Blog Cards */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.card-text {
    color: #555;
    font-size: 15px;
    flex-grow: 1;
}

.btn-primary {
    background: linear-gradient(90deg, #b85df5 0%, #f52d3a 100%);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

.alert-warning {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}




