@media (max-width: 768px) {
    .cover-nav {
        position: static !important;
    }
}
/* Forms Page Styling */

/* Modal and Carousel Sizing */
.modal-lg {
    max-width: 800px;
}

.carousel-inner .carousel-item > div {
    height: 480px !important;
}

/* Cover Nav (Bootstrap Cover style) - DARK GRAY TRANSPARENT */
.cover-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    background-color: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    height: 70px;
    box-sizing: border-box;
}

.navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar-toggle-icon::before {
    top: -8px;
}

.navbar-toggle-icon::after {
    bottom: -8px;
}

.navbar-toggle.active .navbar-toggle-icon {
    background-color: transparent;
}

.navbar-toggle.active .navbar-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggle.active .navbar-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.cover-nav-link {
    color: #fff;
    background: transparent;
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.cover-nav-link:hover {
    color: #3498db;
    text-decoration: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(40, 40, 40, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-toggle {
        display: block;
    }
}

/* Forms Page Specific Styles */
.forms-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.form-button {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2c3e50;
    display: inline-block;
    width: calc(50% - 1.5rem);
    min-width: 280px;
    text-align: left;
}

.form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #2c3e50;
    text-decoration: none;
}

.form-button:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.form-button-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 20px;
    color: white;
    float: left;
    flex-shrink: 0;
}

.form-button-content {
    overflow: hidden;
}

.form-button-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    line-height: 1.3;
}

.form-button-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.forms-grid {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-button {
        width: calc(100% - 1.5rem);
        margin: 0.5rem 0.75rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cover-nav {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-button {
        margin: 0.5rem;
        width: calc(100% - 1rem);
        padding: 1.25rem 1.5rem;
    }
    
    .form-button-title {
        font-size: 1.1rem;
    }
    
    .form-button-desc {
        font-size: 0.85rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .forms-container {
        padding-top: 90px;
    }
}

/* Button Animation Keyframes */
@keyframes buttonHover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-3px);
    }
}

/* Accessibility Improvements */
.form-button:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cover-nav {
        display: none;
    }
    
    .forms-container {
        padding-top: 0;
    }
    
    .form-button {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}