/* Root Variables - Same as bs-2 */
:root {
    --primaryColor: #a67a2b;
    --secondaryColor: #4e565a;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --radius: 8px;
}

p{
    font-size: 1.25rem;
    font-weight: 300;
}

.lang_setting li{
	list-style: none;
}


.text-primary{
    color: var(--primaryColor) !important;
}
.lang_setting{
	color: var(--textColor);
	opacity: 1;
	z-index: 99;
	gap: 10px;
    justify-content: end;
}

.bg-primary {
    background: var(--primaryColor) !important;
}

.badge{
    border-radius: 50px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navbar Styles - Match bs-2 */
.top-header{
    background: #f0ebe3;
    padding: 20px 0px;
}
.main-header{
    background: linear-gradient(360deg,#b68d43 0%, #d7a94f 55%);
    padding: 0px;
    position: relative;
}

.header-contact{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 30px;
}
.header-contact p{
    color: var(--primaryColor);
    margin-bottom: 0px;
}
.language p a.active{
    color: var(--primaryColor);
}
.language p{
    color: var(--secondaryColor);
    margin-bottom: 0px;
    text-align: right;
}
.logo-shape{
    background-color: white;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    height: 137px;
    width: 31vw;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5;
}

.dropdown-menu{
    border-radius: 0px;
}

.dropdown-item{
    margin: 0;
}

/* Dropdown hover functionality - Removed to prevent conflicts with Bootstrap JS dropdown */
/* .navbar-nav li.dropdown:hover .dropdown-menu {
    display: block;
} */

/* Ensure smooth dropdown behavior */
.dropdown-menu {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Prevent dropdown flickering */
.navbar-nav .dropdown:hover .dropdown-menu {
    pointer-events: auto;
}

.dropdown-item.active, .dropdown-item:active {
    color: white;
    text-decoration: none;
    background-color: var(--primaryColor);
}

.dropdown-item:focus, .dropdown-item:hover {
    color: white !important;
    background-color: var(--primaryColor);
}

.dropdown-item{
    transition: all 0.4s ease-in-out;
    padding: 8px 16px !important;

}

.dropdown-menu {
    margin-top: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.dropdown-menu li a{
    color: var(--primaryColor) !important;
}

.dropdown-item:hover{
    background:var(--primaryColor)!important;
    color: white !important;
}

.dropdown-item:hover li{
    background: transparent !important;
}

.dropdown-menu, .dropdown-item, .lang-link{
    border-radius: 0px !important;
}
.dropdown-item.lang-link.active-lang{
    background: var(--primaryColor) !important;
    color: white !important;
}

/* Last dropdown item styling */
.dropdown-menu li:last-child a {
    margin-bottom: -1px !important;
}

.toggle-arrow {
    background: url(../images/down-chevron-white.svg) no-repeat right 10px center !important;
    background-size: 16px !important;
    padding-right: 30px !important;
}
.dropdown-toggle::after {
    display: none;
  }
.navbar-nav {
    gap: 30px;  
    z-index: 55;
}

.navbar-nav li {
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease-in-out;
}

.nav-link:focus, .nav-link:hover{
    color: white;
}

.footer-language.dropdown:hover .dropdown-menu, .footer-language.dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.logo{
    padding: 15px 0px;
    z-index: 10;
}
.logo img{
    width: 200px;
}
.navbar-collapse {
    justify-content: end;
    gap: 50px;
}
.navbar-nav li a {
    display: inline-block;
    color: white ;
    font-size: 18px;
    padding: 0 10px;
}

.navbar-nav li {
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease-in-out;
}

/* Main Content */
.site-main {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    color: #fff;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--primaryColor);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
}

.hero-description a {
    color: var(--primaryColor);
    text-decoration: none;
    font-weight: 600;
}

.hero-description a:hover {
    text-decoration: underline;
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primaryColor);
}

.widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primaryColor);
}

.category-list {
    list-style: none;
    padding-left: 0px;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--bg-light);
    color: var(--primaryColor);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s ease !important;
}

.news-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-hover);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-image {
    height: auto !important;
    overflow: hidden;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-outline-primary, .btn-outline-primary:hover {
    color: var(--primaryColor) !important;
    border-color: var(--primaryColor) !important;
    background-color: var(--primaryColor) !important;
    color: white !important;
}

.border-primary {
    border-color: var(--primaryColor) !important;
}

.news-content {
    padding: 1.5rem;
     
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.news-category {
    color: var(--primaryColor);
    font-weight: 500;
}

.news-title {
    font-size: 18px;
    margin-bottom: 0.75rem;
}

.news-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}


.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    color: var(--primaryColor);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: translateX(4px);
    color: var(--secondaryColor);
}

/* Article Page */
.breadcrumb {
    padding: 1rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primaryColor);
}

.news-article {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primaryColor);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.category-badge {
    background: var(--primaryColor);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.article-image {
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

 

.article-content a {
    color: var(--primaryColor);
    text-decoration: none;
    font-weight: 500;
}

.article-content a:hover {
    text-decoration: underline;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: var(--secondaryColor);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primaryColor);
}

/* SEO Block */
.seo-block,
.seo-content {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 4rem 0;
    border-left: 4px solid var(--primaryColor);
}

.seo-block h3,
.seo-content h2 {
    margin-bottom: 1rem;
    color: var(--primaryColor);
}

.seo-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}
.seo-content a, .article-source a {
    color: var(--primaryColor);
}
/* Share Section */
.share-section {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: var(--primaryColor);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.share-btn:hover {
    background: var(--secondaryColor);
    color: white;
}

/* Back Navigation */
.back-navigation {
    margin-top: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primaryColor);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-4px);
}
.dropdown:hover .dropdown-menu {
    display: block;
}
/* Footer */
.site-footer {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primaryColor);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links,
.category-links,
.seo-links {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0px;
}

.footer-links a,
.category-links a,
.seo-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover,
.category-links a:hover,
.seo-links a:hover {
    color: var(--primaryColor);
}

 

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    .news-title {
        font-size: 16px;
    }
    .read-more {
        font-size: 15px;
    }
}

/* ===== DROPDOWN STYLES ===== */

/* Language Switcher Styles */
.lang-link {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.lang-link:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

 

.dropdown-item.lang-link.active-lang {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.footer-language-switcher {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-language-switcher .lang-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-language-switcher .lang-link:hover {
    color: #fff;
}

.footer-language-switcher .lang-link.active-lang {
    color: #fff;
    font-weight: 600;
    background-color: transparent;
    text-decoration: underline;
}

/* Custom Dropdown Arrow Styles */
.toggle-arrow {
    background: url(../images/down-chevron-white.svg) no-repeat right 10px center !important;
    background-size: 16px !important;
    padding-right: 30px !important;
}

/* Hide Default Bootstrap Dropdown Arrows Only */
.dropdown-toggle:not(.toggle-arrow)::after {
    display: none !important;
}

.navbar .dropdown-toggle:not(.toggle-arrow)::after {
    display: none !important;
}

#dropdownMenuButton1::after {
    display: none !important;
}

/* Modern Scrollbar Styles for Dropdown Menu */
.dropdown-menu {
    overflow-x: hidden !important;
    overflow-y: auto;
}

/* Hide scrollbar arrows/buttons */
.dropdown-menu::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar:horizontal {
    height: 0;
    display: none;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #007bff;
}

/* Hide corner where scrollbars meet */
.dropdown-menu::-webkit-scrollbar-corner {
    display: none;
}

/* Firefox */
.dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f1f1f1;
}

/* Additional styling for better appearance */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 4px 8px 8px;
    scroll-behavior: smooth;
}

/* Custom scrollbar for news dropdown specifically */
#newsDropdown + .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

#newsDropdown + .dropdown-menu::-webkit-scrollbar:horizontal {
    display: none;
}

#newsDropdown + .dropdown-menu::-webkit-scrollbar-button {
    display: none;
}

#newsDropdown + .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    margin: 5px 0;
}

#newsDropdown + .dropdown-menu::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

#newsDropdown + .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #007bff;
}

/* Animation for scrollbar appearance */
.dropdown-menu::-webkit-scrollbar-thumb {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu:hover::-webkit-scrollbar-thumb {
    opacity: 1;
}

 
 
 

/* Language dropdown specific styling */
#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar:horizontal {
    display: none;
}

#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar-button {
    display: none;
}

#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 2px;
}

#dropdownMenuButton1 + .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #007bff;
}
 
.footer-logo img {
    width: 100%;
}

.footer-details p {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}

.footer-links h4 {
    color: #fff;
    font-weight: 500;
    margin-bottom: 25px;
}

.footer-links ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links ul li {
    color: #fff;
    font-weight: 300;
    transition: all 0.4s;
    text-align: left;
}

.footer-links ul li:hover {
   text-decoration: underline;
}

 
.footer-details p:last-child {
    margin-bottom: 0px;
}
.copyright p {
    color: #fff;
    margin-bottom: 0px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row !important;
    gap: 20px;
    list-style: none;
}

.active-lang{
    color: var(--primaryColor) !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.lang-link, .footer-language li{
    opacity: .7 !important;
    color: var(--secondaryColor) !important;
    border-bottom: 0 !important;
}

a{
    text-decoration: none;
    color: unset;
    
    cursor: pointer;
    transition: all 0.4s;
}