/* ============================= */
/* TAG SELECTORS (IN PAGE ORDER) */
/* ============================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    color: #0077cc;
    border-bottom: 2px solid #0077cc;
    padding-bottom: 5px;
    margin-top: 40px;
}

p {
    line-height: 1.6;
}

nav {
    text-align: center;
    margin-bottom: 30px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #0077cc;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0077cc;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

form table {
    border: 4px solid #0077cc;
    margin: 30px auto;
}

form th {
    text-align: center;
    font-size: 1.3rem;
}

form td {
    vertical-align: top;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

input[type="submit"],
input[type="reset"] {
    width: auto;
    padding: 8px 15px;
    margin-right: 10px;
    background-color: #0077cc;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #005fa3;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

footer a {
    margin: 0 10px;
    text-decoration: none;
    color: #0077cc;
    font-weight: 600;
}

blockquote {
    margin: 60px;
    padding: 15px;
    font-size: 18px;
    line-height: 1.6;
    font-family: Georgia, serif;
    background: #f5f8ff;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

blockquote::first-letter {
    font-size: 300%;
    font-weight: bold;
    color: #2c6cb0;
    float: left;
    margin-right: 8px;
}

/* ============================= */
/* ID SELECTORS */
/* ============================= */

#wrapper {
    width: 1000px;
    margin: auto;
}

/* ============================= */
/* CLASS SELECTORS */
/* ============================= */

.container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.row {
    overflow: hidden;
}

aside {
    float: left;
    width: 30%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
}

section {
    float: left;
    width: 70%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.banner {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page p {
    line-height: 1.6;
}

.highlight {
    font-weight: bold;
    color: #0077cc;
}

.project-img {
    display: block;
    margin: 30px auto;
    max-width: 80%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.square-list {
    list-style-type: square;
}

.roman-list {
    list-style-type: lower-roman;
}

.list-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 30px 0;
}

.list-row ul,
.list-row ol {
    flex: 1;
    list-style-position: inside;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-row li {
    margin-bottom: 8px;
}

.portfolio-section {
    padding: 40px 10%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.newsTitle {
    color: #2e6da4;
    font-family: Georgia, serif;
    text-align: center;
    letter-spacing: 2px;
}

.newsInfo {
    text-align: center;
    color: #555;
    font-style: italic;
}

.newsLine {
    width: 70%;
    height: 4px;
    background: #2e6da4;
    border: none;
    margin: 20px auto;
}

.infobar {
    background: linear-gradient(to right,#000000,#444444);
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    margin: 20px 60px;
    font-weight: bold;
}

.imagebullets {
    list-style-image: url(images/bullet-camera.png);
    margin-left: 80px;
    font-size: 18px;
}

.imagebullets li {
    transition: transform .2s ease;
}

.imagebullets li:hover {
    transform: scale(1.05);
}

.required {
    color: red;
    font-weight: bold;
}