/*
Theme Name: My Custom Theme
Theme URI: http://example.com
Author: Banti Kumar
Author URI: http://nortalscanner.com/
Description: A custom WordPress theme built from scratch.
Version: 1.1
License: GNU General Public License v2 or later
License URI: #
Tags: custom, theme, responsive, blog
Text Domain: my-custom-theme
*/

/* Tailwind CSS directive */
#nav-menu li a {
    @apply text-gray-800 hover: text-blue-500;
}

/* Default (Desktop) Menu - Horizontal Layout */
.menu-container {
    display: flex;
    /* justify-content: flex-end; */
    align-items: center;
}

/* Navigation menu */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin: 0;
    padding: 10px 15px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 18px;
}

/* Hide Mobile Toggle Button on Desktop */
.menu-toggle {
    display: none;
}

/* ============================= */
/*       Mobile Menu Styles      */
/* ============================= */
@media (max-width: 768px) {

    /* Show the toggle button on mobile */
    .menu-toggle {
        display: block;
        background: none;
        color: #fff;
        padding: 10px 15px;
        border: none;
        cursor: pointer;
        font-size: 18px;
        z-index: 1001;
        box-shadow: none;
    }

    /* Mobile Menu - slides in from the right */
    .menu-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: #ffffff;
        color: #0067b9;
        /* transform: translateX(100%); */
        transition: transform 0.4s ease-in-out;
        padding-top: 60px;
        /* Space for the header */
        display: flex;
        flex-direction: column;
        z-index: 1000;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* When active, slide in from the right */
    .menu-container.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu li {
        padding: 15px 30px;
        border-bottom: 1px solid #0067b9;
    }    
    .nav-menu a {
        display: block;
        color: #0067b9;
        font-size: 20px;
        text-decoration: none;
        
    }
    .nav-menu a:focus{
        color: #0067b9;
    }
}

.bar {
    background-color: #fff;
    /* Dark gray or any color */
    height: 3px;
    /* Adjust thickness */
    width: 28px;
    /* Adjust width */
    display: block;
    border-radius: 3px;
    /* Rounded edges */
    position: relative;
    right: 30px;
    margin: 6px;
    top: -10px;
}
button.open>.bar{
background-color: #0067b9;
}

/* ============================= */
/*   Menu Toggle Button Animation */
/* ============================= */
header {
    transition: background-color 0.3s ease-in-out;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Transparent Header on Home Page */
.transparent-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
}

/* Make Menu Links Visible on Transparent Header */
.transparent-header .nav-menu a {
    color: #fff !important;
}

/* Change Background When Scrolled */
.transparent-header.scrolled {
    background: rgba(0, 0, 0, 0.8) !important;
    transition: background 0.3s ease-in-out;
}

/* Post design */
/* Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* Main Content 2/3, Sidebar 1/3 */
    gap: 30px;
    margin-top: 20px;
}

/* Post Grid */
.post-list {}

.post-item {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 50px;
}

.post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.post-content {
    padding: 50px;
    font-size: 20px;
    font-weight: 400;
    color: #7A7A7A;
}

.post-content-description {
    padding: 15px 0;
    font-size: 20px;
    font-weight: 400;
    color: #7A7A7A;
}

.post-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.post-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.post-title a {
    color: #414141;
    transition: all 0.5s ease;
}

.post-title a:hover {
    color: #f77f00;
    transition: all 0.5s ease;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #2a9d8f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.read-more:hover {
    background: #02554b;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a:hover {
    background: #005f8b;
}

.pagination .current {
    background: #333;
    color: white;
}
.comments-area {
    border-radius: 10px;
}

.comment-list {
    padding-left: 0;
    list-style: none;
}

.comment-list li {
    padding-bottom: 10px;
}

.comment-list .text-blue-600 {
    font-weight: bold;
}

.comment-form label {
    font-weight: 600;
}

.comment-form input, .comment-form textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    width: 100%;
}

.comment-form .comment-btn {
    cursor: pointer;
    font-weight: bold;
    background-color: #2a9d8f;
}

.comment-form .comment-btn:hover {
    background-color: #02554b;
}

/* Post design */
/* Sidebar */
.sidebar {
    width: 28%;
    min-height: 100vh;
}

.recent-widget, .recent-archives, .recent-categories {
    margin-bottom: 1.8rem;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: 400;
}

.sidebar h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar a {
    text-decoration: none;
    color: #414141;
    transition: all 0.5s ease;
}

.sidebar a:hover {
    color: #f77f00;
    transition: all 0.5s ease;
}

.container {
    max-width: 1256px;
    /* Adjust width as needed */
    margin: 0 auto;
    padding: 20px;
}

/* Content and Sidebar Wrapper */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Main Content */
.main-content {
    /**width: 70%;*/
    /* Adjust width to make space for sidebar */
    /* padding: 20px; */
    flex: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .main-content, .sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    .transparent-header .nav-menu a {
        color: #0067b9 !important;
    }
}

.gif-animation {
    display: block;
    width: 100%;
    /* Adjust size */
    height: auto;
    max-width: 500px;
    /* Set max width */
    image-rendering: auto;
    /* Ensure smooth animation */
    animation-play-state: running !important;
}

/**Aditional css*/
.e-con-inner {
    padding: 0;
}

/**Aditional css*/
/**Contact for*/
form .contact-form input[type=text], input[type=email], input[type=tel], textarea {
    width: 100% !important;
    outline: none !important;
    border: 1px solid #bbb !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 5px !important;
    transition: 0.3s !important;
    margin-bottom: 20px !important;
}

form .contact-form textarea {
    height: 123px !important;
    resize: none !important;
    overflow-y: auto !important;
}

form .contact-form input[type=submit] {
    padding: 0.6rem 1.3rem !important;
    border: 1px solid #fafafa !important;
    line-height: 1 !important;
    border-radius: 5px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    margin: 0 !important;
    width: 100% !important;
    font-weight: 500 !important;
    font-size: 22px !important;
}

/**contact form closed*/
/* 🌟 Footer Styling */
.footer {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer-column {
    padding: 20px 0;
}

.footer-widget {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-widget .widget-area {
    width: 32%;
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #FFD700;
    /* Gold Hover Effect */
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .footer-column {
        padding: 20px;
    }

    .footer-widget {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-widget .widget-area {
        width: 100%;
    }

}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0067b9;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

#scrollToTop:hover {
    background-color: #555;
}

.widgettitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .75rem;
}