* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}



/* Header Styles */
header {
    background: linear-gradient(135deg, #2c7da0 0%, #1a4e6b 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo i {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #a9d6e5;
}



.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.hero h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    color: #2c7da0;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

  

/* Document Grid */
.documents h2 {
    font-family: 'Merriweather', serif;
    color: #1a4e6b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #a9d6e5;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.document-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f1f1f1;
    font-size: 0.9rem;
}

.category {
    background: #2c7da0;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.date {
    color: #666;
}

.document-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #1a4e6b;
    font-size: 1.2rem;
}

.document-card p {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.card-footer {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 15px;
    background: #2c7da0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background: #1a4e6b;
}

.download-btn {
    background: #2a9d8f;
}

.download-btn:hover {
    background: #21867a;
}

.large-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
}

/* Document Detail */
.document-detail {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.document-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.document-detail h1 {
    font-family: 'Merriweather', serif;
    color: #1a4e6b;
    margin-bottom: 1.5rem;
}

.document-content {
    line-height: 1.8;
}

.download-section {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.file-size {
    display: block;
    margin-top: 1rem;
    color: #666;
}

.navigation {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Upload Form */
.upload-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.upload-form h2 {
    font-family: 'Merriweather', serif;
    color: #1a4e6b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #a9d6e5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}











footer {
    background: #1a4e6b;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;        /* Full width */
    max-width: 100%;    /* Remove any max-width restrictions */
    margin: 0;          /* Remove horizontal auto margins */
    padding: 0 20px;    /* Optional padding */
    box-sizing: border-box;
}

.footer-section h3 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    color: #a9d6e5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #a9d6e5;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2c7da0;
}




















.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    min-height: 150px;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.alert i {
    margin-right: 10px;
}

.alert.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert.error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.no-results {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #1a4e6b;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    color: #a9d6e5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #a9d6e5;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2c7da0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-footer .btn {
        width: 100%;
        text-align: center;
    }
    
    .document-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    
    
    
    
    
    
    
    
    
    
    
}