/********** Template CSS **********/
:root {
    --primary: #5D5D5D; /* Füme ana renk */
    --secondary: #A8A8A8; /* Gümüş tonu */
    --tertiary: #7D7D7D; /* Orta füme */
    --light: #F5F5F5; /* Açık gri/bej */
    --dark: #333333; /* Koyu füme */
    --accent: #C0C0C0; /* Gümüş vurgu rengi */
    --hover: #4A4A4A; /* Hover için daha koyu füme */
    --tab-active: #A8A8A8;
}

.nav-tabs .nav-link.active {
    background-color: var(--tab-active) !important;
    color: var(--light) !important;
    border-color: var(--tab-active) !important;
    border-bottom-color: var(--light) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
/*** Back to Top Button Styling ***/
.back-to-top {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light) !important;
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    background-color: var(--hover) !important;
    border-color: var(--hover) !important;
    color: var(--light) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Butona tıklanırken veya odaklanırken renk değişimini engelle */
.back-to-top:focus,
.back-to-top:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Butonun mavi renk almasını engellemek için Bootstrap'in varsayılan stillerini override et */
.btn-primary.back-to-top {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary.back-to-top:hover {
    background-color: var(--hover) !important;
    border-color: var(--hover) !important;
}


h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: var(--hover);
    border-color: var(--hover);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;

}

.top-bar {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);

}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar .contact-info small {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-size: 0.9rem;
}

.top-bar .contact-info i {
    color: var(--primary);
    margin-right: 8px;
}

.top-bar .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    width: 100%;
}

.top-bar .social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--accent);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tablet ve mobil için responsive düzenleme */
@media (max-width: 991.98px) {
    .top-bar {
        padding: 0 15px;
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .top-bar .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        width: 100%;
    }
    
    .top-bar .contact-info small {
        justify-content: center;
    }
    
    .top-bar .social-icons {
        justify-content: center;
        width: 100%;
        margin-right: 0;
    }
    
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* Küçük mobil cihazlar */
@media (max-width: 575.98px) {
    .top-bar {
        padding: 8px 10px;
    }
    
    .top-bar .contact-info small {
        font-size: 0.85rem;
    }
    
    .top-bar .social-icons a {
        width: 30px;
        height: 30px;
    }
    
    .top-bar .social-icons a i {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
        border: 1px solid var(--accent);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 20px;
    left: 15px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(93, 93, 93, .95), rgba(93, 93, 93, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(93, 93, 93, .95), rgba(93, 93, 93, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box {
    border: 1px solid var(--accent) !important;
    background: var(--light);
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature .feature-box:hover * {
    color: var(--light) !important;
}

.feature .feature-box i {
    color: var(--primary);
}

.feature .feature-box:hover i {
    color: var(--light) !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
    border: 1px solid var(--accent) !important;
    background: var(--light);
}

.service .nav .nav-link:hover {
    background: rgba(93, 93, 93, 0.1);
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: var(--light) !important;
}

.service .nav .nav-link.active h5 i {
    color: var(--light) !important;
}

.service .nav .nav-link h5 i {
    color: var(--primary);
}



/*** Form Elements ***/
.form-control {
    border: 1px solid var(--accent);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(93, 93, 93, 0.25);
}

.form-floating label {
    color: var(--tertiary);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(to right, var(--primary), var(--tertiary));
    border-top: 3px solid var(--accent);
}


.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    opacity: 0.8;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--accent);
    letter-spacing: 1px;
    box-shadow: none;
    opacity: 1;
    padding-left: 5px;
}

.footer .btn.btn-square {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    opacity: 0.8;
}

.footer .btn.btn-square:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}

.footer input.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.footer input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer input.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--light);
}

.footer .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer .btn-primary:hover {
    background-color: var(--hover);
    border-color: var(--hover);
}

.copyright {
    background: rgba(0, 0, 0, 0.25);
    color: var(--light);
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--accent);
}


/*** Navbar Logo Styling ***/

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.navbar-brand h1 {
    line-height: 1.2;
}

.navbar-brand small {
    display: block;
    margin-top: -5px;
    color: var(--dark) !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
}

/* Masaüstü için */
@media (min-width: 992px) {
    .navbar-brand small{
        margin-left: 25px;
    }
    .navbar-brand .display-5 {
        font-size: 3rem;
    }
    .navbar-brand .fs-6 {
        font-size: 1rem !important;
    }
}

/* Tablet için */
@media (max-width: 991.98px) and (min-width: 768px) {
    .navbar-brand .display-5 {
        font-size: 1.8rem;
    }
    .navbar-brand .fs-6 {
        font-size: 0.8rem !important;
    }
}

/* Mobil için */
@media (max-width: 767.98px) {
    .navbar-brand .display-6 {
        font-size: 1.5rem;
    }
    .navbar-brand .fs-6 {
        font-size: 0.75rem !important;
    }
    .navbar-brand {
        margin-left: 0 !important;
    }
}

/* Küçük mobil cihazlar için */
@media (max-width: 575.98px) {
    .navbar-brand .display-6 {
        font-size: 1.3rem;
    }
    .navbar-brand .fs-6 {
        font-size: 0.7rem !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 360px) {
    .navbar-brand .display-6 {
        font-size: 1.1rem;
    }
    .navbar-brand .fs-6 {
        font-size: 0.65rem !important;
    }
}

/* Masaüstü için logo ayarı */
@media (min-width: 992px) {
    .navbar-brand img {
        height: 70px;
    }
}

/* Tablet için */
@media (max-width: 991.98px) and (min-width: 768px) {
    .navbar-brand img {
        height: 60px;
    }
}

/* Mobil için */
@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 50px;
    }
}

/* Küçük mobil cihazlar için */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 45px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 360px) {
    .navbar-brand img {
        height: 40px;
    }
}

/*** General Text Colors ***/
.text-primary {
    color: var(--primary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-light {
    color: var(--light) !important;
}

.border {
    border-color: var(--accent) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

/*** Additional Hover Effects ***/
a {
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--hover);
}

/*** Tab Content Styling ***/
.tab-content {

    border-radius: 0 0 8px 8px;
}

.nav-tabs .nav-link {
    color: var(--dark);
    border: 1px solid var(--accent);
    border-bottom: none;
    background-color: rgba(245, 245, 245, 0.7);
}

.nav-tabs .nav-link.active {
    background-color: var(--light);
    color: var(--primary);
    border-bottom-color: var(--light);
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: rgba(93, 93, 93, 0.05);
}




/* İkonları daha modern hale getirelim */
.flex-shrink-0.btn-lg-square.rounded-circle {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    box-shadow: 0 4px 10px rgba(93, 93, 93, 0.2);
}

/* Hover efekti */
.border.rounded.p-4 .d-flex:hover .flex-shrink-0.btn-lg-square.rounded-circle {
    background: linear-gradient(135deg, var(--hover), var(--primary)) !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(93, 93, 93, 0.3);
}

/* İkon rengi */
.flex-shrink-0.btn-lg-square.rounded-circle i {
    color: var(--light) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}



/*** Form Messages ***/

/* Başarılı mesaj */
.alert-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
    border-color: #28a745 !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

/* Hata mesajı */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-color: #dc3545 !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

/* Alert genel stilleri */
.alert {
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    animation: fadeIn 0.3s ease-in-out !important;
}

/* Kapatma butonu */
.alert .btn-close {
    padding: 0.75rem !important;
    opacity: 0.7 !important;
}

.alert .btn-close:hover {
    opacity: 1 !important;
}

/* İkonlar */
.alert i {
    font-size: 1.1rem !important;
    vertical-align: middle !important;
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.spinner-border {
    margin-right: 8px;
    vertical-align: middle;
}

/* Buton loading durumu */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form alanları hata durumu */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Form alanları başarılı durumu */
.form-control.is-valid {
    border-color: #28a745 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .alert {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .alert i {
        font-size: 1rem !important;
    }
}


.article-carousel .owl-stage {
    padding: 10px 0;
}

.article-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-img {
    position: relative;
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
    opacity: 1;
}



/*** Article Carousel Styles ***/

/* Article carousel container */
.article-carousel {
    margin: 20px 0;
    padding: 10px 0;
}

/* Article card styling */
.article-card {
    border: 1px solid var(--accent) !important;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: var(--light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary) !important;
}

/* Article image container */
.article-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--secondary);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img img {
    transform: scale(1.05);
}

/* Article overlay */
.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(93, 93, 93, 0.7), rgba(93, 93, 93, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
    opacity: 1;
}

.article-overlay .btn {
    background: var(--light);
    color: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.article-overlay .btn:hover {
    background: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

/* Article content */
.article-card .bg-white {
    padding: 20px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

/* Meta information */
.article-meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tertiary);
    font-size: 0.85rem;
}

.article-meta small {
    color: var(--tertiary);
}

.article-meta i {
    color: var(--primary);
    margin-right: 5px;
}

/* Article title */
.article-card h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}

.article-card:hover h5 {
    color: var(--primary);
}

/* Article excerpt */
.article-card p {
    color: var(--tertiary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* Article carousel navigation */
.article-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    margin-top: 0 !important;
}

.article-carousel .owl-nav button {
    background: var(--light) !important;
    color: var(--primary) !important;
    border: 1px solid var(--accent) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--light) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
}

.article-carousel .owl-nav button i {
    font-size: 1.2rem;
}

/* Article carousel dots */
.article-carousel .owl-dots {
    margin-top: 30px !important;
    text-align: center;
}

.article-carousel .owl-dots button {
    width: 12px;
    height: 12px;
    background: var(--accent) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.article-carousel .owl-dots button.active {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* No articles message */
#articles .text-center p {
    color: var(--tertiary);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .article-carousel .owl-nav {
        position: static;
        margin-top: 20px !important;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-img {
        height: 180px;
    }
    
    .article-card h5 {
        font-size: 1rem;
        min-height: 40px;
    }
    
    .article-card p {
        -webkit-line-clamp: 2;
    }
    
    .article-card .bg-white {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .article-img {
        height: 160px;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    .article-card h5 {
        font-size: 0.95rem;
        min-height: 38px;
    }
    
    .article-card p {
        font-size: 0.85rem;
    }
}

/* Carousel item hover effect */
.owl-item {
    padding: 10px 0;
}

.owl-item.active.center .article-card {
    border-color: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Animation for cards */
.article-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section background for contrast */
#articles {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.1) 0%, rgba(245, 245, 245, 0.05) 100%);
    border-radius: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}