/* Navbar Base */
.navbar-custom {
    background: linear-gradient(90deg, #0077b6, #00b894);
    font-family: 'Poppins', sans-serif;
}

.navbar-custom .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar-custom .navbar-brand span {
    color: white;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    color: white;
}

.navbar-toggler-icon {
    color: white;
    z-index: 2;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .navbar-custom {
    background: linear-gradient(90deg, #0a3d62, #1e6262);
}

body.dark-mode .dropdown-menu {
    background-color: #2d3436;
    color: white;
}

body.dark-mode .dropdown-item {
    color: #dfe6e9 !important;
}

body.dark-mode .dropdown-item:hover {
    background-color: #636e72;
}

.section-heading {
    text-transform: uppercase;
    font-size: 35px;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 0;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    min-height: 100%;
    background-position: center;
    background-size: 120%
}

.service-card:hover{
    background-size: 130%
}

.sc-overlay {
    flex: 1; /* Take up all available space */
    padding: 10px;
    background-color: rgba(150, 255, 211, 0.792);
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
}

.sc-title {
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.dark-mode .service-card {
    box-shadow: rgba(40, 37, 61, 0.15) 0px 48px 100px 0px;
}

.dark-mode .sc-overlay {
    background-color: rgba(0, 48, 28, 0.897);
    color: white;
}

/* blog card */

.blogcard {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #dddddd;
}

.blogcard .card-title {
    color: #000000;
}

.blogcard .card-text {
    color: #666666;
}

.blogcard img {
    filter: none;
}

.dark-mode .blogcard {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #444444;
}

.dark-mode .blogcard .card-title {
    color: #ffffff;
}

.dark-mode .blogcard .card-text {
    color: #cccccc;
}

.dark-mode .blogcard img {
    filter: brightness(0.8);
}

/* blog card hover */

/* Card hover effect */
.blogcard:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Ensuring images don't overflow */
.blogcard img {
    object-fit: cover;
    height: 180px;
}

/* Card content spacing */
.blogcard .card-body {
    padding: 1rem;
}

.footer {
    background-color: #FF4242;
    color: black;
}

.dark-mode .footer {
    background-color: #570303;
    color: rgb(255, 255, 255);
}

.dark-mode .title-main {
    color: #FF4242;
}

.dark-mode .top-description {
    color: #6D45FF;
}

.dark-mode .bg-dark {
    background-color: #1e1e1e !important;
}

.dark-mode .text-light {
    color: #e0e0e0 !important;
}

.dark-mode .form-control {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #555555;
}

.dark-mode .form-control::placeholder {
    color: #bbbbbb;
}

@media screen and (max-width: 650px){
    .section-heading {
        font-size: 30px;
    }
}

@media screen and (max-width: 350px){
    .section-heading {
        font-size: 18px;
    }
}