body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}
header {
    position: relative;
    background: url('../images/hero-sticky-note-office.jpeg') no-repeat center center / cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    header {
        height: 300px;
    }
    header h1 {
        font-size: 2.2em;
    }
    header p {
        font-size: 1.1em;
    }
    .hero-content .logo {
        max-width: 180px; /* Adjust size for smaller screens */
    }
    .image-section .card {
        padding: 20px;
    }
    .modal-content {
        padding: 10px;
        font-size: 14px;
    }
    .modal-content input, .modal-content textarea, .modal-content button {
        font-size: 14px;
        padding: 8px;
    }
}

header h1, header p {
    position: relative;
    z-index: 2;
}
header h1 {
    font-size: 3em;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    animation-delay: 0.3s;
}
header p {
    font-size: 1.2em;
    font-weight: 400;
    margin-top: 10px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    animation-delay: 0.6s;
}
section {
    padding: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
section h2 {
    font-size: 2.2em;
    color: #222;
    margin-bottom: 20px;
}
section p {
    font-size: 1em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
}
button {
    background-color: #007BFF;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}
button:hover {
    background-color: #0056b3;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}
.modal-content {
    background-color: #fff;
    position: relative;
    margin: 5vh auto;
    z-index: 1001;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.modal-content h2 {
    margin-top: 0;
}
.modal-content input, .modal-content textarea, .modal-content button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.modal-content button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}
.modal-content button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
/* Form styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: none;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-icon {
    width: 24px;
    height: 24px;
}
#submitButton {
    position: relative;
}
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #000;
}
/* Accessibility focus styles */
:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}
/* Style for background content when modal is active */
.modal-open header,
.modal-open section,
.modal-open footer {
    filter: blur(3px);
    pointer-events: none;
    transition: filter 0.3s ease;
}
.hero-content .logo {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

#about {
    background-color: #c3e0ff;
    padding: 60px 20px;
}

#about h2 {
    margin-bottom: 30px;
}

#about .hero-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

#about p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

#about .cta-text {
    font-size: 1.2em;
    color: #0056b3;
    margin: 25px 0 0;
    font-weight: 500;
}

section .content-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}
.image-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.image-section .card {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.image-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.image-section img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.image-section h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #222;
}
.image-section p {
    font-size: 0.9em;
    color: #555;
}

.card-divider {
    width: 100%;
    height: 2px;
    background-color: #007BFF;
    margin: 20px 0;
    opacity: 0.3;
}

.bullet-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
}

.bullet-list li::before {
    content: "•";
    color: #007BFF;
    position: absolute;
    left: 0;
    font-weight: bold;
}
footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
}
footer a {
    color: #ffd700;
    margin-left: 5px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
