body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: #003366;
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Headshot Styling */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

/* Header Links Styling */
.header-links {
    margin-top: 15px;
    font-size: 1.1rem;
}

.header-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.header-links a:hover {
    color: #4da6ff;
    text-decoration: underline;
}

section {
    background: #fff;
    margin: 20px auto;
    padding: 30px;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

h2 {
    color: #003366;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
}

footer {
    text-align: center;
    padding: 30px;
    background: #222;
    color: #fff;
    margin-top: 40px;
}

footer h2 {
    color: #fff;
    border-bottom: none;
    margin-bottom: 10px;
}

/* Grid Layout for Visual Assets */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Card Styling */
.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Image Styling */
.card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    max-height: 200px;
    object-fit: cover;
    cursor: zoom-in; /* Indicates the image can be clicked */
}

/* Show full uncropped images in Design, Cert, and Awards sections */
#design .card img, #certifications .card img, #awards .card img {
    max-height: 300px;
    object-fit: contain;
    padding: 10px;
    background: #fdfdfd;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin-top: 0;
    color: #003366;
    font-size: 1.2rem;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #555;
}

/* Document Card Specifics */
.document-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfdfd;
    border-top: 4px solid #003366;
}

/* Button Styling for File Downloads */
.btn {
    display: inline-block;
    background-color: #003366;
    color: #ffffff !important;
    padding: 10px 15px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #00509e;
    text-decoration: none;
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.9); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #4da6ff;
}