html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
     
}

/* Overlap the cards slightly with the carousel */
.card-container {
    margin-top: -50px; /* Adjust this value to control the overlap */
}

/* Zoom effect on hover */
.card {
    transition: transform 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

    .card:hover {
        transform: scale(1.55); /* Zoom on hover */
        border-color: #1c2833; /* Amber border when hovered */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Shadow effect */
    }

    /* Progressive border animation */
    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: #5499c7; /* Amber border color */
        transition: width 0.3s ease;
        z-index: -1;
    }

    .card:hover::before {
        width: 100%; /* Progressive border */
    }
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #17202a;
}

.navbar-nav .nav-link {
    color: #333;
}

    .navbar-nav .nav-link:hover {
        color: #17202a;
    }


/* Cards Styling */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

.btn-outline-light:hover {
    background-color: white;
    color: #007bff;
}

/* Navbar Link Hover Effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
        color: black; /* Change to your desired hover color */
        transform: scale(1.11); /* Zoom effect */
}

    .nav-link::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background:  #1c2833; /* Underline color */
        transition: width 0.3s ease;
        position: absolute;
        left: 50%;
        bottom: -5px; /* Adjusts the position of the underline */
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 100%; /* Expands the underline */
    }

/* Sticky footer */
.footer {
    background: linear-gradient(95deg, #darkblue, #00aaff);
    color: black;
    padding: 0rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}
.candidate-card {
    border: 2px solid #ccc; /* Adds a border to the card */
    border-radius: 8px; /* Optional: Adds rounded corners */
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

    .candidate-card:hover {
        transform: scale(1.05); /* Zoom effect on hover */
        border-color: lightskyblue; /* Change border color on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow for depth */
    }


/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 15px;
}

/* Hidden default checkbox */
.candidate-checkbox {
    display: none;
}

/* Custom checkbox styling */
.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #007bff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    background-color: #fff;
}

    .checkbox-custom::after {
        content: "";
        position: absolute;
        width: 12px;
        height: 12px;
        background-color: #007bff;
        top: 4px;
        left: 4px;
        border-radius: 2px;
        display: none;
    }

/* Show checkmark when checkbox is checked */
.candidate-checkbox:checked + .checkbox-custom::after {
    display: block;
}

@media (max-width: 991.98px) { /* For small screens and below */
    .navbar-toggler {
        position: absolute;
        top: 10px;
        left: 10px;
    }
}
