html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 17px 18px;
    background: rgba(14, 56, 76, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    height: 52px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-toggle:hover {
    background: rgba(14, 56, 76, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.language-toggle .flag-icon {
    font-size: 18px;
    line-height: 1;
}

.language-toggle .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.language-dropdown.active .language-toggle {
    background: rgba(14, 56, 76, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.language-dropdown.active .language-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #0e384c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.language-item:last-child {
    border-bottom: none;
}

.language-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.language-item.active {
    background: rgba(30, 132, 181, 0.15);
    color: #ffffff;
    font-weight: 600;
}

.language-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1e84b5;
}

.language-item .flag-icon {
    font-size: 20px;
    line-height: 1;
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
}

.blog-section .blog-item {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #ffffff;
    display: block !important;
}

.blog-section .blog-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-section .blog-item .post-featured-image {
    overflow: hidden;
    height: 250px;
    width: 100%;
    display: block;
}

.blog-section .blog-item .post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.blog-section .blog-item:hover .post-featured-image img {
    transform: scale(1.1);
}

.blog-section .blog-item .post-item-body {
    padding: 25px;
    width: 100% !important;
    display: block !important;
    background: #ffffff;
    position: relative;
}

.blog-section .blog-item .post-date {
    font-size: 14px;
    color: #1e84b5;
    margin-bottom: 10px;
    font-weight: 600;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-section .blog-item h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #0e384c;
}

.blog-section .blog-item h2 a {
    color: #0e384c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-section .blog-item h2 a:hover {
    color: #1e84b5;
}

.blog-section .blog-item .btn-box {
    margin-top: 20px;
    display: block;
}

/* Pagination Styles */
.pagination-wrap {
    margin-top: 60px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid rgba(14, 56, 76, 0.2);
    background: #ffffff;
    color: #0e384c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #1e84b5;
    color: #ffffff;
    border-color: #1e84b5;
}

.pagination .page-item.active .page-link {
    background: #1e84b5;
    color: #ffffff;
    border-color: #1e84b5;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    font-size: 14px;
    color: #0e384c;
    font-weight: 500;
}



