/* Error Pages */
#error-page, #error-post {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 2px solid #d1d1d1;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

#error-page h1, #error-post h1 {
    text-align: center;
    font-size: 36px;
    color: #333;
    font-weight: 700;
    padding: 15px 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ffcc00;
    border-radius: 5px;
}

#error-page p, #error-post p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

#error-page ul, #error-post ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 20px;
}

#error-page ul li, #error-post ul li {
    margin-bottom: 10px;
}

#error-page a, #error-post a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

#error-page a:hover, #error-post a:hover {
    color: #e04e00;
    text-decoration: underline;
}

/* Social Button */
.social-btn {
    display: block;
    position: fixed;
    bottom: 20%;
    right: 1%;
    background: grey;
    padding: 7px;
    border-radius: 10px;
    margin: 0px auto;
    z-index: 999;
}

#globe {
    display: block;
    padding: 10px 2px;
    color: white;
    text-align: center;
}

#close {
    display: none;
    padding: 10px 2px;
    color: white;
    text-align: center;
}

#whatsapp, #facebook, #x, #sms, #share {
    display: none;
    padding: 10px 2px;
    text-align: center;
    color: white;
}

/* Crossed Lines */
.crossed-lines {
    position: relative;
    width: 30px;
    height: 30px;
}

.line {
    position: absolute;
    background-color: white;
    top: 50%;
    left: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%);
}

.line-1 {
    width: 100%;
    height: 2px;
    display: flex;
    justify-content: space-between;
    transform: rotate(55deg);
    border: 2px solid white;
    transform-origin: center;
    top: 50%;
    left: 50%;
    padding: 1px 0px;
    border-radius: 110px 0px;
    position: absolute;
    transform: translate(-50%, -50%) rotate(55deg);
}

.line-1 div {
    width: 2px;
    height: 100%;
}

.line-2 {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, white 20%, transparent 50%, white 80%);
    transform: rotate(-55deg);
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(-55deg);
}

/* Header Above Navigation */
#header-abvnav {
    font-size: 2.0em;
    text-align: center;
    color: white;
    margin: 0 0 -3px 0;
    padding: 30px 15px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 900;
    background: white;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    #header-abvnav {
        font-size: 1.6em;
    }
}

/* Comments */
.comments, .feed-links {
    display: none;
}

.comments .comment-form {
    display: none;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.comments .comment {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments .comment-author {
    font-weight: bold;
    color: #333;
}

.comments .comment-body {
    font-size: 0.95em;
    line-height: 1.4;
    color: #555;
}

@media (max-width: 768px) {
    .comments .comment-form,
    .comments .comment {
        padding: 10px;
        margin: 5px auto;
    }

    .comments .comment-author {
        font-size: 1em;
    }

    .comments .comment-body {
        font-size: 0.9em;
    }
}

/* Hide Author and Title */
.post-author, .page-author {
    display: none;
}

.post-title, .page-title {
    display: none;
}

/* Header Background Animation */
@keyframes headerBgAnimation {
    0% {
        background: radial-gradient(circle, #2466f2, #ffffff);
    }
    25% {
        background: radial-gradient(circle, #3177e8, #b3d1ff);
    }
    50% {
        background: radial-gradient(circle, #1e5ddf, #ffffff);
    }
    75% {
        background: radial-gradient(circle, #2466f2, #dbe9ff);
    }
    100% {
        background: radial-gradient(circle, #9e9906, #c7a614);
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideIn 1s ease-in-out;
}

header.scrolled {
    padding: 0.5rem 1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon i {
    font-size: 1.5rem;
    color: #667eea;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    white-space: nowrap;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    white-space: nowrap;
}

.nav-links a i {
    font-size: 1.1rem;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    position: relative;
}

.hamburger-menu i {
    font-size: 1.5rem;
    color: #667eea;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hamburger-menu.active i.bi-list {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu.active i.bi-x-lg {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.hamburger-menu i.bi-x-lg {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive: Below 850px - Force hamburger menu */
@media screen and (max-width: 850px) {
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 1.5rem 2rem 1.5rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 0.75rem;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
    }
    
    .nav-links.active li {
        animation: slideIn 0.3s forwards;
    }
    
    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.35s; }
    
    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    header {
        padding: 0.75rem 1rem;
        z-index: 1001;
        position: relative;
    }
    
    .site-name {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
    }
    
    .brand-icon i {
        font-size: 1.25rem;
    }
    
    .hamburger-menu {
        width: 44px;
        height: 44px;
    }
    
    .brand-section {
        gap: 0.5rem;
        z-index: 1001;
        position: relative;
    }
}

/* Responsive: 851px to 1200px - Scale fonts but keep desktop layout */
@media screen and (min-width: 851px) and (max-width: 1200px) {
    header {
        padding: 0.75rem 1.5rem;
    }
    
    .site-name {
        font-size: clamp(1rem, 2vw, 1.5rem);
    }
    
    .nav-links a {
        font-size: clamp(0.7rem, 1.2vw, 0.95rem);
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
    }
    
    .nav-links a i {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }
    
    .nav-links {
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .brand-icon {
        width: clamp(40px, 5vw, 44px);
        height: clamp(40px, 5vw, 44px);
    }
    
    .brand-icon i {
        font-size: clamp(1.2rem, 2vw, 1.35rem);
    }
    
    .brand-section {
        gap: 0.6rem;
    }
}

/* Responsive: 1201px to 1400px - Slight scaling for medium-large screens */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
    .nav-links a {
        font-size: clamp(0.85rem, 1vw, 0.95rem);
        padding: 0.6rem 1rem;
    }
    
    .nav-links {
        gap: 0.4rem;
    }
}

/* Responsive: Very small phones */
@media screen and (max-width: 400px) {
    .site-name {
        font-size: clamp(0.8rem, 4.5vw, 1rem);
    }
    
    .brand-icon {
        width: 36px;
        height: 36px;
    }
    
    .brand-icon i {
        font-size: 1.1rem;
    }
    
    .hamburger-menu {
        width: 40px;
        height: 40px;
    }
    
    .hamburger-menu i {
        font-size: 1.3rem;
    }
}
h2 {
    text-align: left;
    font-size: 120%;
    text-transform: uppercase;
    color: black;
    margin: 15px 10px -5px 10px;
}

h3 {
    text-align: left;
    font-size: 90%;
    text-transform: capitalize;
}

.title-intro {
    text-align: left;
    font-size: 70%;
    line-height: 20px;
    letter-spacing: 0.5px;
}

.slider-container {
    width: 90%;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    margin-top: 5px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-wrapper img {
    width: 100%;
    flex-shrink: 0;
    height: 100vh;
    object-fit: cover;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 16px;
    margin: 0px 6px;
}

.navigation button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 500px) {
    .slider-container {
        width: 98%;
        height: 60vh;
        margin-top: -30px;
        margin-bottom: -40px;
    }
    
    .navigation button {
        margin: -10px;
    }
    
    .slider-wrapper img {
        height: 60vh;
        object-fit: scale-down;
    }
}

.middle-section {
    background: linear-gradient(120deg, #a6c0fe, #f68084);
    height: auto;
    padding: 10px;
    margin-bottom: -10px;
    position: relative;
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
    transition: transform 0.5s ease;
    width: calc(100% - 20px);
}

.middle-section.scroll-effect {
    animation: gradientFlow 8s ease infinite, scrollBackground 12s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes scrollBackground {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.middle-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.static-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    margin: 10px auto;
    margin-bottom: 40px;
    width: 90%;
    gap: 2px;
}

.static-post {
    perspective: 1000px;
    flex: 1 1 calc(22% - 15px);
    max-width: 22%;
    height: 350px;
    text-align: center;
    margin: 5px 0;
    position: relative;
    margin-bottom: 40px;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.static-post:hover .card {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 17px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.front {
    background: #96a3a8;
}

.back {
    background: #1fc6f0;
    transform: rotateY(180deg);
    font-size: 100%;
    font-weight: bold;
    margin-left: -30px;
}

.static-post img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.static-post a {
    text-align: center;
    font-size: 1rem;
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-transform: capitalize;
}

@media (max-width: 760px) {
    .static-content {
        gap: 10px;
    }
    
    .static-post {
        flex: 1 1 calc(48% - 15px);
        max-width: 48%;
        height: 250px;
    }
}

@media (max-width: 600px) {
    .static-content {
        gap: 10px;
    }
    
    .static-post {
        flex: 1 1 calc(42% - 25px);
        max-width: 42%;
        margin: 10px 10px 20px -10px;
        height: 250px;
    }
}

/* Homepage Layout */
.nmgtc-homepage {
    width: 90%;
    display: none;
    background: white;
    min-height: 100vh;
    margin: 10px auto;
    box-sizing: border-box;
}

/* Post container styling */
body.post .post-content,
body.static_page .static_page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Ensure images within posts/pages are responsive */
.post-area img,
.page-area img {
    max-width: 100%;
    height: auto;
}

/* Style for Text Content */
.post-area p,
.page-area p {
    line-height: 1.6;
    font-size: 1em;
    color: #333;
}

/* Forms */

/* Overlay styling with semi-transparent background */
.overlay-ms-bx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Message box styling with white background */
.overlay-message-box {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 90%;
    width: 100%;
    max-width: 400px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* Responsive Design: For smaller screens */
@media (max-width: 768px) {
    .overlay-message-box {
        font-size: 1.2rem;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .overlay-message-box {
        font-size: 1rem;
        padding: 12px;
    }
}

#login-form {
    display: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.form-container {
    width: 370px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    display: none;
}

#inside-form {
    margin: 20px 0px;
    background: white;
    width: calc(100% - 20px);
    padding: 15px 10px;
}

.login-form {
    display: none;
    width: 40%;
    margin: 10px auto;
}

form {
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.login-form .form-head {
    font-size: 2em;
    text-align: center;
}

form.active {
    display: block;
    opacity: 1;
}

.login-form label {
    margin: 10px;
    color: #333;
    font-weight: bold;
}

.login-form input, .login-form select {
    width: calc(100% - 18px);
    padding: 8px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    line-height: 20px;
    outline: none;
}

.login-form .login-form input:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Password Visibility Toggle */
.login-form .password-container {
    position: relative;
}

.password-container i {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    color: #555;
}

/* Message Box */
.message-box {
    display: none;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}

.message-box.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit {
    margin: 10px;
    padding: 10px 20px;
    font-size: 100%;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #4caf50;
    color: #fff;
    transition: background-color 0.3s ease;
    width: 100px;
}

#app-btn {
    display: block;
    text-align: center;
    margin: 15px auto;
    padding: 10px;
    background: #6b6b6b;
    color: white;
    width: 75%;
    border-radius: 6px;
    font-size: 90%;
}

#app-btn i {
    font-weight: 900;
}

/* --- This is responsive styling for small device with max width of 500px(phones and some tablets) --- */
@media screen and (max-width: 500px) {
    .form-container {
        width: calc(100% - 30px);
    }

    #inside-form {
        width: calc(100% - 10px);
        margin: 10px 0px;
        background: white;
        width: calc(100% - 20px);
        padding: 15px 10px;
    }

    .login-form {
        width: 90%;
    }

    .submit {
        margin: 10px;
        width: 100px;
    }

    #signup-form input {
        width: calc(100% - 10px);
        padding: 4px;
        margin: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
        position: relative;
        line-height: 9px;
    }

    #signup-form label {
        font-size: 80%;
        margin: 5px 10px;
        color: #333;
        font-weight: bold;
    }

    #signup-form .submit {
        margin: 5px 10px;
        padding: 5px 20px;
        font-size: 80%;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        background-color: #4caf50;
        color: #fff;
        transition: background-color 0.3s ease;
        width: 100px;
    }

    /* Popup container */
    .popup {
        width: 50%;
    }
}

/* Styles for the div button */
.account-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

/* Popup container */
.contact-popup, .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 300px;
    padding: 10px;
    height: 300px;
    background-color: #e6e3e3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-align: center;
}

/* Overlay */
.overlay1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.contactpop-container, .pop-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* Buttons inside the popup */
#contactCall1, #contactCall2 {
    display: block;
    margin: 20px auto;
    width: 60%;
    padding: 15px 30px;
    background-color: grey;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.popup button {
    margin: 10px;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.popup button:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 500px) {
    /* Popup container */
    .popup {
        width: calc(100% - 30px);
    }
}

.footer {
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-around;
    align-items: left;
    padding: 10px;
    background-color: #365c69;
    color: #fff;
    margin: 10px auto;
}

.footer-section {
    flex: 1 1 (33.33% - 40px);
    align-items: left;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f39c12;
    text-align: left;
}

.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #f39c12;
}

a {
    text-decoration: none;
    color: inherit;
}

.footer-bottom {
    text-align: center;
    background-color: black;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    margin-top: -10px;
}

@media screen and (max-width: 600px) {
    .footer {
        width: calc(100% - 40px);
        flex-direction: column;
        padding: 20px;
        background-color: #365c69;
        color: #fff;
    }
}

/* General Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in animation for posts as they "appear" */
.post-container {
    animation: fadeIn 1s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Animation for hover effects */
.post-container:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Add a subtle animation to post title hover */
.post-title:hover {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
}

/* Static Fade for homepage sections */
.welcome-message, .home-page-content {
    animation: fadeIn 1.5s ease-in-out;
    animation-delay: 0.2s;
}

/* Pagination animation */
.pagination button {
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pagination button:hover {
    transform: translateY(-5px);
    background-color: #ffcc00;
}

/* Footer animations */
footer {
    animation: fadeIn 2s ease-in-out;
}

a:hover {
    text-decoration: none;
}
