﻿
:root {
    --primary-color: #295ead;
    --secondary-color: #ff6b35;
    --light-color: #f8f9fa;
    --dark-color: #181818;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header Top Improvements */
.header-top.style-two {
    background: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top .social-icon a {
    color: white;
    margin-right: 12px;
    transition: color 0.3s;
}

    .header-top .social-icon a:hover {
        color: var(--secondary-color);
    }

.header-top .text, .header-top .info-detail a {
    color: white;
}

    .header-top .info-detail a:hover {
        color: var(--secondary-color);
        text-decoration: none;
    }

/* Header Upper Improvements */
.header-upper {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation Improvements */
.main-menu .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
}

    .main-menu .navbar-toggler:focus {
        box-shadow: none;
    }

.navigation {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-nav-item {
    margin: 0 5px;
}

    .custom-nav-item a {
        display: inline-block;
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 500;
        padding: 10px 15px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .custom-nav-item a:hover,
        .custom-nav-item a.active {
            background: var(--primary-color);
            color: white !important;
        }

.search-btn {
    cursor: pointer;
    margin-left: 15px;
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

    .search-btn:hover {
        color: var(--primary-color);
    }

/* Main Content Area */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Footer Improvements */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0 15px;
    margin-top: auto;
}

.footer-bottom {
    padding: 20px 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright, .copyright a {
    color: rgba(255,255,255,0.7);
}

    .copyright a:hover {
        color: white;
        text-decoration: none;
    }

.social-icon-one {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

    .social-icon-one li {
        margin-left: 15px;
    }

    .social-icon-one a {
        color: rgba(255,255,255,0.7);
        font-size: 1.2rem;
        transition: color 0.3s;
    }

        .social-icon-one a:hover {
            color: white;
        }

/* Search Popup Improvements */
#search-popup {
    background: rgba(0,0,0,0.8);
}

.popup-inner {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close-search {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.search-form h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.search-form .form-group {
    margin-bottom: 20px;
}

.search-form input[type="search"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.search-form input[type="submit"] {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

    .search-form input[type="submit"]:hover {
        background: var(--secondary-color);
    }

.recent-searches {
    list-style: none;
    padding: 0;
}

    .recent-searches li {
        display: inline-block;
        margin-right: 10px;
    }

    .recent-searches a {
        background: #f5f5f5;
        padding: 5px 10px;
        border-radius: 20px;
        color: var(--dark-color);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s;
    }

        .recent-searches a:hover {
            background: var(--primary-color);
            color: white;
        }

/* Responsive Improvements */
@media (max-width: 992px) {
    .header-upper {
        padding: 10px 0;
    }

    .navigation {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .custom-nav-item {
        margin: 5px 0;
        width: 100%;
    }

        .custom-nav-item a {
            display: block;
            padding: 10px 15px;
        }

    .search-btn {
        margin: 15px 0 0;
    }

    .social-icon-one {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-bottom .text-right {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .header-top .clearfix {
        flex-direction: column;
        text-align: center;
    }

    .header-top .top-left,
    .header-top .top-right {
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo img {
        width: 200px !important;
        height: auto !important;
    }
}


.custom-nav-item a {
    display: inline-block; /* Makes padding apply only around text */
    color: #181818; /* Default text color */
    transition: all 0.3s ease;
    border-radius: 3px; /* Optional: Slightly rounded corners */
    padding: 0px 5px;
}

.custom-nav-item:hover a {
    background: #295ead; /* Blue background on hover */
    color: #ffffff !important; /* White text on hover */
    box-shadow: 0 0 5px rgba(41, 94, 173, 0.5); /* Optional: Soft blue glow */
}