html{
    scroll-behavior: smooth;
}

body{
    padding-top: 70px;
}

.navbar{
    background-color: #1f2937;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

:root{
    --bs-primary:#2563eb;
}

.bg-light{
    background-color: #f8fafc;
}

section{
    border-bottom: 1px solid #e5e7eb;
    padding-top: 80px;
    padding-bottom: 80px;
}

.list-group-item{
border:none;
padding:14px 18px;
font-weight:500;
}

.list-group-item:not(:last-child){
border-bottom:1px solid #e5e7eb;
}

.btn{
transition:all 0.25s ease;
}

.btn:hover{
transform:translateY(-2px);
}

.fade-in{
opacity:0;
transform:translateY(30px);
transition:all 0.8s ease;
}

.fade-in.show{
opacity:1;
transform:translateY(0);
}

/* Card hover effect */

.card{
transition: all 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-title{
    font-size: 1.1rem;
    line-height: 1.4;
}

.card:hover .card-title{
    color: #2563eb;
}

.card-img-top,
.carousel-item img{
    height: 250px;
    width: 100%;
    object-fit: cover;
    background: #111;
}

.carousel-control-prev,
.carousel-control-next{
z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 15px;
}

.dark-mode .card-img-top{
border-bottom:1px solid #333;
}

/* Dark Mode */

.dark-mode{
background-color:#121212;
color:white;
}

.dark-mode .navbar{
background-color:#1e1e1e !important;
}

.dark-mode .card{
background-color:#1e1e1e;
color:white;
}

.dark-mode .bg-light{
background-color:#1a1a1a !important;
}

.dark-mode .bg-light h2,
.dark-mode .bg-light h5{
    color: #ffffff;
}

.dark-mode .text-muted{
    color: #b0b0b0 !important;
}

.dark-mode .list-group-item{
    background-color: #1e1e1e;
    color: #e5e5e5;
    border-color: #2c2c2c;
}

.dark-mode ul li{
    color: #e5e5e5;
}

.dark-mode #home .text-muted{
    color:#cfcfcf !important;
}

.dark-mode section{
    border-bottom: 1px solid #2c2c2c;
}

.dark-mode .card:hover .card-title{
    color:#60a5fa;
}

.dark-mode .list-group-item:not(:last-child){
border-bottom:1px solid #2c2c2c;
}