body {
    font-family: 'Poppins', sans-serif;
}

.navbar-nav .nav-link {
    transition: 0.3s color;
    color: #333;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #198754 !important; /* Bootstrap Success Green */
}

.navbar-brand .tracking-widest {
    font-family: 'Roboto', sans-serif;
}

/* Fix for sticky nav shadow */
.sticky-top {
    top: 0;
    z-index: 1020;
}
/* Footer Styles */
footer {
    font-family: 'Poppins', sans-serif;
}

footer h5 {
    letter-spacing: 1px;
    font-size: 1.1rem;
    position: relative;
}

/* Underline effect for footer titles */
footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #198754;
}

.footer-links a:hover {
    color: #198754 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer-social .btn:hover {
    background-color: #198754;
    color: white;
}
/* Enquiry Form Custom Styles */
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: #198754 !important; /* Matches Success Green */
    background-color: #f8f9fa;
}

.form-floating label {
    color: #6c757d;
    font-family: 'Poppins', sans-serif;
}

/* Specific styling to match the underline effect in footer */
.btn-success {
    background-color: #198754;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}
/* About Section Styles */
#about-core .card {
    transition: transform 0.3s ease;
}

#about-core .card:hover {
    transform: translateY(-10px);
}

/* CMD Section Styles */
.cmd-content p {
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.display-1 {
    line-height: 1;
    margin-bottom: -20px;
}

/* Image styling for CMD */
.col-lg-5 img {
    border-right: 5px solid #198754;
}
/* Slider Customization */
.main-slider-img {
    height: 500px; /* Fixed height as requested */
    width: 100%;
    object-fit: cover; /* Ensures image isn't stretched */
    filter: brightness(0.6); /* Darkens image for better text readability */
}

.carousel-caption {
    bottom: 25%; /* Positions text centered vertically */
    z-index: 10;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    font-family: 'Poppins', sans-serif;
}

/* Smooth Fade Transition */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/* Animation for the text when slide changes */
.carousel-item.active .animated-caption h1 {
    animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.counter-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: scale(1.1);
}

.counter-item i {
    opacity: 0.8;
}

.counter-item h2 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}
.project-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 15px !important;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.2) !important;
}

.project-card ul li {
    margin-bottom: 5px;
    color: #555;
}

.project-card .card-title {
    letter-spacing: 0.5px;
}
.icon-box {
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: rotateY(180deg);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}
.team-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.team-card img {
    height: 300px;
    object-fit: cover;
    filter: grayscale(20%);
}

.team-card:hover img {
    filter: grayscale(0%);
}