@charset "UTF-8";
@import url(font-awesome.min.css);
@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:200");

/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #f5f5f5;
}

/* Header styling */
header {
    background-color: transparent;
    /* padding: 10px 10px; */
    position: static;
    z-index: 100;
    max-width: 1200px;
    margin: 0 auto;
}

header.hide {
    display: none;
}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 4px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.5);
    /* Much more transparent base background! */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

header .header-content .logo-container {
    flex: 1 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 50px;
    transition: all 0.3s ease;
}

header .header-content .logo {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

header .header-content .title-container {
    flex: 2 1 auto;
    text-align: center;
    padding: 0 10px;
    transition: all 0.3s ease;
}

header .title-container h1 {
    font-size: 16px;
    color: #05202E;
    text-transform: uppercase;
    margin: 0;
    transition: font-size 0.3s ease;
}

header .title-container .subtitle-link {
    display: block;
    color: #07293B;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-top: 2px;
    transition: font-size 0.3s ease, margin-top 0.3s ease;
}

header .title-container .subtitle-link:hover {
    text-decoration: underline;
}

header .header-content .social-links {
    flex: 1 0 0;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    min-width: 70px;
    align-items: center;
}

header .sub-header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 5px 15px;
    margin-top: 5px;
}

header .sub-header .nav-link {
    color: #07293B;
    text-decoration: none;
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}

header .sub-header .nav-link:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h2 {
    text-align: center;
    margin-top: 10px;
}

header h2 a {
    color: #05202E;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 5px;
        top: 0;
    }

    header .header-content {
        flex-direction: row;
        /* Keep elements inline */
        flex-wrap: wrap;
        /* Allow wrapping if needed */
        justify-content: space-between;
        padding: 8px 10px;
        gap: 5px;
    }

    header .header-content .logo-container {
        flex: 0 0 auto;
    }

    header .header-content .logo {
        height: 50px;
        /* Much smaller logo on mobile by default */
    }

    header.scrolled .header-content .logo {
        height: 40px;
        /* Even smaller when scrolled on mobile */
    }

    header .header-content .title-container {
        flex: 1 1 50%;
        /* Take up middle space, but allow wrapping */
        order: unset;
        padding: 0 5px;
        text-align: left;
        /* Align text left on mobile for better flow */
    }

    header .title-container h1 {
        font-size: 14px;
        /* Smaller title on mobile */
        line-height: 1.2;
    }

    header.scrolled .title-container h1 {
        font-size: 13px;
    }

    header .title-container .subtitle-link {
        font-size: 0.8em;
    }

    header .header-content .social-links {
        flex: 0 0 100%;
        /* Push to bottom on very small screens */
        order: 3;
        justify-content: center;
        margin-top: 5px;
        /* Add some space if it wraps */
    }

    /* Alternatively, if you want them inline, change to flex: 0 0 auto; order: unset; and adjust gap/sizes */
}

nav {
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav a {
    color: #05202E;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    text-decoration: underline;
}

/* Icon */

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

.icon>.label {
    display: none;
}

.icon.style2 {
    -moz-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    border: solid 1px rgba(22, 52, 100, 1);
    background-color: rgba(255, 255, 255, 0.075);
}

.icon.style2:before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-size: 1em;
}

.icon.style2:hover {
    background-color: rgba(5, 160, 160, .25);
}

@media screen and (max-width: 736px) {

    .icon.style2:before {
        font-size: 2em;
    }

}

label {
    color: #ffffff;
    display: block;
    font-size: 0.9em;
    font-weight: 200;
    margin: 0 0 1em 0;
}

/* Main content styling */
.content {
    margin: 20px 0;
}

.content p {
    margin-bottom: 15px;
    text-align: justify;
}

.thumbnails {
    margin: 20px 0;
    text-align: center;
}

.row {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Increased gap for label space */
    margin-bottom: 10px;
    position: relative;
}

.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    margin: 0 10px;
    position: relative;
}

.viewed-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background-color: #07293B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(7, 41, 59, 0.5);
    z-index: 2;
}

.thumbnails img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid #07293B;
    border-radius: 4px 4px 0 0;
    padding: 1px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(7, 41, 59, 0.5);
    margin-bottom: 0;
}

.thumbnails img.viewed {
    opacity: 0.9;
}

.thumbnails img:hover {
    box-shadow: 0 4px 8px rgba(7, 41, 59, 0.5);
    transform: translateY(-2px);
}

.thumbnail p {
    margin: 0;
    padding: 4px 8px;
    font-size: 0.9em;
    color: white;
    background-color: #07293B;
    border: 2px solid #07293B;
    border-top: none;
    border-radius: 0 0 4px 4px;
    width: 100px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(7, 41, 59, 0.5);
}

.thumbnails img.full-size {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1000;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 0 20px rgba(7, 41, 59, 0.5);
}

/* Dark overlay for full-size images */
.dark-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
}

.dark-overlay.active {
    display: block;
}

/* Overlay for full-size images */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    cursor: pointer;
}

.overlay.active {
    display: block;
}

/* Summary section */
.summary {
    margin: 20px 0;
}

.summary ul {
    list-style: none;
    padding-left: 0;
}

.summary li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.summary li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #07293B;
}

.summary li {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .row {
        flex-wrap: wrap;
    }

    .thumbnails img {
        width: 80px;
        height: 80px;
    }

    header h1 {
        font-size: 1.5em;
    }
}

.social-links {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.social-links a {
    color: #07293B;
    text-decoration: none;
    margin: 0 10px;
    font-size: 24px;
    /* Increased from default size */
}

.social-links i {
    transition: color 0.3s ease;
}

.footnote {
    margin-top: 30px;
    padding: 10px 0;
    color: #07293B;
    font-size: 1em;
    position: relative;
}

.footnote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background-color: #07293B;
}

.footnote p {
    margin: 0;
    padding-top: 10px;
    font-weight: normal;
}

.footnote sup {
    font-weight: bold;
}

.bottom-text {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: #666;
    font-size: 0.8em;
}

.section-divider {
    margin: 3em auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(7, 41, 59, 0.4), transparent);
    width: 60%;
    /* Keep it elegant, not stretching to the absolute edges */
}

/* CTA Section */
.cta-section {
    background-color: #07293B;
    color: white;
    padding: 40px 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-transform: none;
}

.cta-section p {
    margin-bottom: 25px;
    font-size: 1.1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #05a0a0;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #048080;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}