html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBXp5mDng0h-QvNsZ4ATjHnmAtPzi4leZQ3g&s");
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    margin-bottom: 60px;
}

.nav-gradient {
    background: linear-gradient(270deg, #7efff5, /* bright aqua green */
    #ff9ff3, /* vivid light pink */
    #48dbfb, /* fresh cyan */
    #a1c4fd, /* soft bright blue */
    #fbc2eb /* light pink/purple blend */
    );
    background-size: 800% 800%;
    animation: gradientShift 50s ease infinite; /* smooth + slower */
    color: #000; /* black text for contrast */
}
.nav-color {
    background: #f0f0f0;
}


/* Gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
.text-gradient-dark {
    background: linear-gradient(90deg, #4e73df, /* deep blue */
    #1cc88a, /* teal green */
    #6f42c1, /* purple */
    #d63384 /* magenta */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Firefox */
    font-weight: 700;
}

/* Target h1 for desktops */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem; /* Larger font size for desktops */
    }
}
@media (min-width: 1024px) {
    p {
        font-size:25px; /* Larger font size for desktops */
    }
}
.btn-gradient {
    background: linear-gradient(45deg, #4e73df, #1cc88a);
    border: none;
    color: #fff;
    transition: transform 0.2s ease-in-out;
}

    .btn-gradient:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    }

.card {
    border-radius: 12px;
}

/* Dropdown Styling */
/* Custom Dropdown Wrapper */
.custom-dropdown {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Selected Item */
/*.dropdown-selected {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fff;
}
*/
.dropdown-selected {
    padding: 6px!important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}
    .dropdown-selected:hover {
        background-color: #f9f9f9;
    }

/* Active/Focus State */
.custom-dropdown.open {
    border-color: #7c3aed; /* Violet/Indigo */
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
}

/* Dropdown Options */
.dropdown-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Open State (Expands Smoothly) */
.custom-dropdown.open .dropdown-options {
    max-height: 500px;
    padding: 0.5rem 0;
}

/* Option Items */
.dropdown-options li {
    padding: 0.75rem 1rem;
    transition: background-color 0.2s, opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(-10px);
}

    .dropdown-options li:hover {
        background-color: #f2f2f2;
    }

/* Animate Items On Open */
.custom-dropdown.open .dropdown-options li {
    opacity: 1;
    transform: translateY(0);
}

/* Card Styling */
/*.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #efeded   ;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}*/

.spinner-border {
    vertical-align: middle;
}