/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

body {
    background-color: #fff;
}

/* Navbar Styling */
.navbar {
    background-color: rgba(29, 33, 36, 0.9);
}

#background {
    margin-top:-140px;height: auto; top: 0;width: 100%; position: relative;

}
#background img {
    width: 100%;

}

#background::after {
    content: "";
    position: absolute;
    width: 3px;
    left: 0;
    top:100px;
    height:100%;
    background: #DA291C;
    bottom: -100px;
    /*transform: translate(-50%, -50%);*/
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
    color: #efebeb !important;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    display: block;
    top:35px;
    background: #DA291C;
    transition: width 0.2s;
    left: 0;
    bottom: 0;
}

.nav-link:hover::after {
    width: 100%;
}


.carousel-item img {
    max-height: 60vh;
    object-fit: contain;
}

.red-text {
    color: #DA291C;
}

.carousel-indicators [data-bs-target] {
    background-color: #DA291C !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}


/* Responsive */

/* Dynamic Hover Effect for Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #DA291C !important;
    border-radius: 5px !important;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

/* Background Gradient for Cards */
.card-body {
    background: linear-gradient(135deg, #f8f9fa, #f1f1f1);
    border-radius: 5px !important;

}

/* Custom Icon Styles */
.card i {
    color: #DA291C;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover i {
    transform: scale(1.05);
    color: #DA291C;
}

/* Subtle Text Shadow for Modern Look */
.card-title {
    font-weight: bolder;
    color: #DA291C !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 25px !important;
}

/* Smoother Font Size */
.card-text {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}
