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;
}

.footer {
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

/* Glass-style navbar */
/*.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}*/

/* Brand */
/*.brand-logo {
    max-height: 48px;
    transition: transform 0.4s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.08) rotate(-1deg);
}

.brand-text {
    line-height: 1.15;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #111827;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 1px;
    text-transform: uppercase;
}*/

/* Elegant nav links */
/*.nav-link-elegant {
    position: relative;
    font-weight: 500;
    color: #374151;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

    .nav-link-elegant::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #0d6efd, #6610f2);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link-elegant:hover,
    .nav-link-elegant.active {
        color: #0d6efd;
    }

        .nav-link-elegant:hover::after,
        .nav-link-elegant.active::after {
            width: 100%;
        }*/

/* Mobile tweaks */
/*@media (max-width: 768px) {
    .brand-title {
        font-size: 0.95rem;
    }

    .brand-logo {
        max-height: 42px;
    }
}*/

/*.nav-link-elegant.active {
    border-bottom: 2px solid #5d3fd3;*/
/* Matches your blue/purple bar */
/*font-weight: bold;
}*/

/* Style for the items inside the dropdown when active */
/*.dropdown-item.active {
    background-color: #5d3fd3 !important;*/
/* Change to your theme color */
/*color: #0d6efd !important;
}*/

/* Prevent the active bar from jumping or hiding under the hero image */
header {
    position: relative;
    z-index: 1050;
}

/* ========================================= */
/* Modern UI Effects                         */
/* ========================================= */

/* Inputs & Forms */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f8fafc;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: #5d3fd3;
    /* Theme purple */
    box-shadow: 0 0 0 4px rgba(93, 63, 211, 0.15);
    transform: translateY(-2px);
}

/* Modern Gradient Button */
.btn-modern {
    background: linear-gradient(135deg, #5d3fd3 0%, #0d6efd 100%);
    color: white !important;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(93, 63, 211, 0.2), 0 2px 4px -1px rgba(93, 63, 211, 0.1);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(93, 63, 211, 0.3), 0 4px 6px -2px rgba(93, 63, 211, 0.2);
}

.btn-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translate(-50%, -50%);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-modern:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Modern Glass/Elevated Cards */
.card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Beautiful Section Titles */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 50px;
    background: linear-gradient(90deg, #5d3fd3, #0d6efd);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Sub-section headings */
.sub-heading {
    color: #475569;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-heading::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #5d3fd3;
}

/* Fade-In Up Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    /* starts hidden */
}

/* Staggered animation delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}