@import url("fontawesome-all.min.css");
@import url("all.css");
@import url("all.min.css");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic|Open+Sans+Condensed:700");

/* Color palette */
/* ["#0083eb", Blue
"#c2bdbd", Gray
"#013f54",Dark Teal
"#059598", Teal
"#f69318", Orange] */

/* CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    height: auto;
    max-width: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: none;
    background: #8f8d8d;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic Styles */
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

body, input, textarea, select {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #059598;
    font-size: 13pt;
    line-height: 2em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #013f54;
    margin: 0 0 0.5em 0;
    line-height: 1.3;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-size: 1.65em;
}

h2.major {
    position: relative;
    border-top: solid 5px #034d52;
    font-size: 1.65em;
    text-align: center;
    margin: 0 0 3em 0;
    top: 0.775em;
}

h2.major span {
    background: #fff;
    position: relative;
    display: inline-block;
    top: -0.775em;
    padding: 0 1.25em 0 1.25em;
}

h3, h4 {
    font-size: 1.25em;
}

a {
    color: #059598;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

b, strong {
    font-weight: 700;
    color: #003536;
}

i, em {
    font-style: italic;
}

br.clear {
    clear: both;
}

sub {
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}

sup {
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

hr {
    border: 0;
    border-top: solid 2px #059598;
    margin: 0 0 3em 0;
}

blockquote {
    border-left: solid 5px #059598;
    padding: 1em 0 1em 1.5em;
    font-style: italic;
}

p, ul, ol, dl, table {
    margin-bottom: 3em;
}

/* Section/Article */
section, article {
    margin-bottom: 6em;
}

section > :last-child, section:last-child, article > :last-child, article:last-child {
    margin-bottom: 0;
}

header > p {
    display: block;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #4b4f4d;
}

/* Container */
.container {
    margin: 0 auto;
    max-width: 100%;
    width: 64em;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
    margin-top: -50px;
    margin-left: -50px;
}

.row > * {
    box-sizing: border-box;
    padding: 50px 0 0 50px;
}

.row.gtr-uniform {
    margin-top: -50px;
}

.row.gtr-uniform > * {
    padding-top: 50px;
}

.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

.row.aln-left {
    justify-content: flex-start;
}

.row.aln-center {
    justify-content: center;
}

.row.aln-right {
    justify-content: flex-end;
}

.row.aln-top {
    align-items: flex-start;
}

.row.aln-middle {
    align-items: center;
}

.row.aln-bottom {
    align-items: flex-end;
}

.row > .imp {
    order: -1;
}

/* Column Classes */
.row > .col-1 { width: 8.33333%; }
.row > .off-1 { margin-left: 8.33333%; }
.row > .col-2 { width: 16.66667%; }
.row > .off-2 { margin-left: 16.66667%; }
.row > .col-3 { width: 25%; }
.row > .off-3 { margin-left: 25%; }
.row > .col-4 { width: 33.33333%; }
.row > .off-4 { margin-left: 33.33333%; }
.row > .col-5 { width: 41.66667%; }
.row > .off-5 { margin-left: 41.66667%; }
.row > .col-6 { width: 50%; }
.row > .off-6 { margin-left: 50%; }
.row > .col-7 { width: 58.33333%; }
.row > .off-7 { margin-left: 58.33333%; }
.row > .col-8 { width: 66.66667%; }
.row > .off-8 { margin-left: 66.66667%; }
.row > .col-9 { width: 75%; }
.row > .off-9 { margin-left: 75%; }
.row > .col-10 { width: 83.33333%; }
.row > .off-10 { margin-left: 83.33333%; }
.row > .col-11 { width: 91.66667%; }
.row > .off-11 { margin-left: 91.66667%; }
.row > .col-12 { width: 100%; }
.row > .off-12 { margin-left: 100%; }

/* Grid Spacing Variations */
.row.gtr-0 {
    margin-top: 0px;
    margin-left: 0px;
}

.row.gtr-0 > * {
    padding: 0px 0 0 0px;
}

.row.gtr-0.gtr-uniform {
    margin-top: 0px;
}

.row.gtr-0.gtr-uniform > * {
    padding-top: 0px;
}

.row.gtr-25 {
    margin-top: -12.5px;
    margin-left: -12.5px;
}

.row.gtr-25 > * {
    padding: 12.5px 0 0 12.5px;
}

.row.gtr-25.gtr-uniform {
    margin-top: -12.5px;
}

.row.gtr-25.gtr-uniform > * {
    padding-top: 12.5px;
}

.row.gtr-50 {
    margin-top: -25px;
    margin-left: -25px;
}

.row.gtr-50 > * {
    padding: 25px 0 0 25px;
}

.row.gtr-50.gtr-uniform {
    margin-top: -25px;
}

.row.gtr-50.gtr-uniform > * {
    padding-top: 25px;
}

.row.gtr-150 {
    margin-top: -75px;
    margin-left: -75px;
}

.row.gtr-150 > * {
    padding: 75px 0 0 75px;
}

.row.gtr-150.gtr-uniform {
    margin-top: -75px;
}

.row.gtr-150.gtr-uniform > * {
    padding-top: 75px;
}

.row.gtr-200 {
    margin-top: -100px;
    margin-left: -100px;
}

.row.gtr-200 > * {
    padding: 100px 0 0 100px;
}

.row.gtr-200.gtr-uniform {
    margin-top: -100px;
}

.row.gtr-200.gtr-uniform > * {
    padding-top: 100px;
}

/* Image */
.image {
    position: relative;
    display: inline-block;
    border-radius: 8px;
}

.image img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.image:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("images/overlay.png");
    border-radius: 8px;
}

.image.fit {
    display: block;
    width: 100%;
}

.image.featured {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 2em 0;
}

.image.featured:hover img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
}

.image.centered {
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}

/* Buttons - KEEPING YOUR ORIGINAL STYLES */
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    -webkit-appearance: none;
    display: inline-block;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    background: #059598;
    color: #fff;
    border: 0;
    line-height: 1em;
    border-radius: 8px;
    outline: 0;
    cursor: pointer;
    -moz-transition: background-color .2s ease-in-out;
    -webkit-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    -ms-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
    font-size: 1.25em;
    padding: 0.85em 1.85em;
    text-align: center;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    background: #f69318;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active,
.button:active {
    background: #9ba0cd;
}

input[type="button"].alt,
input[type="submit"].alt,
input[type="reset"].alt,
button.alt,
.button.alt {
    background: #c1cac5;
}

input[type="button"].alt:hover,
input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
button.alt:hover,
.button.alt:hover {
    background: #ccd5d0;
}

input[type="button"].alt:active,
input[type="submit"].alt:active,
input[type="reset"].alt:active,
button.alt:active,
.button.alt:active {
    background: #b1bab5;
}

input[type="button"].large,
input[type="submit"].large,
input[type="reset"].large,
button.large,
.button.large {
    font-size: 1.65em;
}

/* Apply Now Button Styling - PRESERVED */
.btn-apply {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    margin: 1rem 0 0.5rem 0;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #218838 0%, #1fa085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.btn-apply:active {
    transform: translateY(0);
}

.btn-apply::before {
    content: "📧 ";
    margin-right: 0.5rem;
}

/* TBA Button Styling - PRESERVED */
.btn-tba {
    display: inline-block;
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
    cursor: not-allowed;
    opacity: 0.8;
    margin-top: auto!important;
}

.btn-tba:hover {
    background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.btn-tba::before {
    content: "⏰ ";
    margin-right: 0.5rem;
}

/* Lists */
ul {
    list-style: disc;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

/* Divided Lists */
ul.divided {
    list-style: none;
    padding-left: 0;
}

ul.divided > li {
    border-top: solid 2px #e9e7ea;
    padding-top: 2.35em;
    margin-top: 2.35em;
    padding-left: 0;
}

ul.divided > li:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

/* Actions */
ul.actions {
    list-style: none;
    padding-left: 0;
    text-align: center;
    margin: 2em 0 0 0;
}

ul.actions li {
    display: inline-block;
    margin: 0 0 0 1em;
    padding-left: 0;
}

ul.actions li:first-child {
    margin-left: 0;
}

/* Contact */
ul.contact {
    list-style: none;
    padding-left: 0;
    cursor: default;
}

ul.contact li {
    -moz-transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
    -ms-transition: top .15s ease-in-out;
    transition: top .15s ease-in-out;
    position: relative;
    display: inline-block;
    margin: 0 0.25em 0 0.25em;
    top: 0;
    padding-left: 0;
}

ul.contact li a {
    -moz-transition: background-color .2s ease-in-out;
    -webkit-transition: background-color .2s ease-in-out;
    -ms-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
    display: block;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    outline: 0;
    background: #727c77;
    text-align: center;
}

ul.contact li a:before {
    color: #fff;
    font-size: 32px;
    line-height: 48px;
}

ul.contact li:hover {
    top: -5px;
}

ul.contact li:hover a.fa-tiktok {
    background-color: #070708;
}

ul.contact li:hover a.fa-facebook {
    background-color: #2DAAE4;
}

ul.contact li:hover a.fa-dribbble {
    background-color: #C4376B;
}

ul.contact li:hover a.fa-linkedin-in {
    background-color: #006599;
}

ul.contact li:hover a.fa-instagram {
    background-color: #C4376B;
}

ul.contact li:hover a.fa-google-plus {
    background-color: #DA2713;
}

ul.contact li:active {
    top: 0;
}

/* Special Lists */
ul.special {
    list-style: none;
    padding-left: 0;
    cursor: default;
    position: relative;
    margin: -2em 0 4em -2em;
}

ul.special li {
    -moz-transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
    -ms-transition: top .15s ease-in-out;
    transition: top .15s ease-in-out;
    position: relative;
    display: inline-block;
    top: 0;
    padding: 2em 0 0 2em;
}

ul.special li a {
    display: block;
    outline: 0;
}

ul.special li a:before {
    -moz-transition: background-color .2s ease-in-out;
    -webkit-transition: background-color .2s ease-in-out;
    -ms-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
    display: block;
    text-align: center;
    background: #c1cac5;
    border-radius: 100%;
    width: 2.25em;
    height: 2.25em;
    line-height: 2.175em;
    font-size: 5em;
    color: #fff;
}

ul.special li:hover {
    top: -1em;
}

ul.special li:hover a:before {
    background: #f69318;
}

/* Meta Lists */
ul.meta {
    font-size: 0.85em;
    color: #a1aaa5;
    list-style: none;
    padding-left: 0;
}

ul.meta li {
    position: relative;
    display: inline-block;
    margin-left: 1em;
    padding-left: 0;
}

ul.meta li a {
    color: inherit;
    outline: 0;
}

ul.meta li:first-child {
    margin-left: 0;
}

ul.meta li:before {
    opacity: 0.5;
    cursor: default;
    margin-right: 0.5em;
}

/* Menu Lists */
ul.menu {
    list-style: none;
    padding-left: 0;
}

ul.menu li {
    border-left: solid 1px #E7EAE8;
    display: inline-block;
    padding: 0 0 0 0.75em;
    margin: 0 0 0 0.75em;
}

ul.menu li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

/* Forms */
form label {
    display: block;
    margin: 0 0 1em 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7770;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
    -webkit-appearance: none;
    display: block;
    width: 100%;
    border-radius: 8px;
    border: solid 2px #E7EAE8;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
    border-color: #858590;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select {
    line-height: 3em;
    padding: 0 1em;
}

form textarea {
    min-height: 9em;
    padding: 1em;
}

form ::-webkit-input-placeholder {
    color: #555 !important;
}

form :-moz-placeholder {
    color: #555 !important;
}

form ::-moz-placeholder {
    color: #555 !important;
}

form :-ms-input-placeholder {
    color: #555 !important;
}

form ::-moz-focus-inner {
    border: 0;
}

/* Tables */
table {
    width: 100%;
}

table.default {
    width: 100%;
}

table.default tr {
    border-top: solid 2px #E7EAE8;
}

table.default tr:first-child {
    border-top: 0;
}

table.default td {
    padding: 0.5em 1em 0.5em 1em;
}

table.default th {
    text-align: left;
    padding: 0.5em 1em 0.5em 1em;
    margin: 0 0 1em 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7770;
}

table.default thead {
    background: #E7EAE8;
    color: #fff;
}

/* Box Components */
.box.highlight {
    text-align: center;
}

.box.highlight h2 {
    font-size: 3em;
    margin: 0 0 0.25em 0;
}

.box.highlight header > p {
    font-size: 1.65em;
    margin: 0 0 1.5em 0;
}

.box.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 15px;
    transition: transform 0.3s ease;
}

.box.feature:hover {
    background: #c2bdbd;
    transform: translateY(-5px);
}

.box.feature h3 {
    margin-bottom: auto;
    margin-top: auto;
    font-size: 1.1em;
	text-align: center;
}

.box.feature h3 a {
    font-weight: 600;
    font-size: 1.3rem;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.box.feature h3 a:hover {
    color: #2c5aa0;
}

.box.feature h4 {
    font-size: 1.1em;
	text-align: center;
}

.box.feature h4 a {
    font-weight: 600;
    font-size: 1.3rem;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.box.feature h4 a:hover {
    color: #2c5aa0;
}

.box.feature p {
    font-size: 0.9rem;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
    text-align: center;
    font-style: normal;
}

.box.post header {
    margin: 0 0 2.5em 0;
}

.box.post h3 {
    font-size: 3em;
    margin: 0 0 0.25em 0;
}

.box.post header > p {
    font-size: 1.65em;
    margin: 0 0 0.5em 0;
}

.box.post ul.meta {
    margin: 0 0 0.5em 0;
}

.box.post-summary h3 {
    line-height: 1em;
    margin: 0 0 0.75em 0;
}

.box.post-summary .meta {
    margin: 0;
    line-height: 1em;
}

.box.page-content header {
    margin: 0 0 2.5em 0;
}

.box.page-content h2 {
    font-size: 3em;
    margin: 0 0 0.5em 0;
}

.box.page-content header > p {
    font-size: 1.65em;
    margin: 0 0 0.5em 0;
}

.box.page-content ul.meta {
    margin: 0 0 0.5em 0;
}

/* Project Status Styling */
.project-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

.project-status.available {
    background-color: #28a745;
    color: white;
}

.project-status.filled {
    background-color: #dc3545;
    color: white;
}

.filled-project {
    opacity: 0.7;
}

.filled-project:hover {
    opacity: 1;
}

/* Icons */
.icon {
    text-decoration: none;
    position: relative;
    text-decoration: none;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    line-height: inherit;
}

.icon > .label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

/* Page Wrapper */
#page-wrapper > section {
    margin-bottom: 0;
}

/* Header */
#header {
    text-align: center;
    font-size: 2em;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2em 0;
    background: #fff;
    margin: 0 auto;
}

#header .logo {
    position: relative;
    text-align: center;
    border-top: solid 5px #008789;
    top: 0.65em;
}

#header .logo div {
    background: #fff;
    position: relative;
    display: inline-block;
    padding: 0 1.5em 0 1.5em;
    top: -0.65em;
}

#header .logo h1 {
    display: inline;
}

#header .logo p {
    display: inline;
    color: #034d52;
}

/* Navigation */
body {
    padding-top: 3.25em;
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url("images/overlay.png");
    width: 100%;
    height: 3.25em;
    line-height: 3.25em;
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: default;
}

#nav ul {
    position: relative;
    z-index: 1001;
}

#nav li {
    display: inline-block;
    margin: 0 0.5em 0 0.5em;
    top: 0;
    position: relative;
    -moz-transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
    -o-transition: top .15s ease-in-out;
    -ms-transition: top .15s ease-in-out;
    transition: top .15s ease-in-out;
}

#nav li > ul {
    display: none;
}

#nav li a, #nav li span {
    -moz-transition: background-color .075s ease-in-out, color .075s ease-in-out;
    -webkit-transition: background-color .075s ease-in-out, color .075s ease-in-out;
    -ms-transition: background-color .075s ease-in-out, color .075s ease-in-out;
    transition: background-color .075s ease-in-out, color .075s ease-in-out;
    position: relative;
    display: block;
    text-decoration: none;
    color: #6e6b77;
    top: -6px;
    padding: 6px 1.5em 0.25em 1.5em;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    outline: 0;
}

#nav li:hover, #nav li.active {
    top: 3px;
}

#nav li:hover a, #nav li:hover span {
    background: #C1CAC5;
    color: #fff;
}

#nav li.active a, #nav li.active span {
    background: #013f54;
    color: #fff;
}

#nav li.current a {
    background: #034d52;
    color: #fff;
}

.dropotron {
    list-style: none;
    background: #6B7770;
    color: #fff;
    border-radius: 6px;
    line-height: 2.75em;
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1em 0;
    text-align: left;
    min-width: 14em;
    margin-top: -1em;
    box-shadow: 0 1em 2em 0 rgba(0, 0, 0, 0.1);
}

.dropotron li {
    padding-left: 0;
}

.dropotron li > a, .dropotron li > span {
    display: block;
    color: #D7DAD8;
    text-decoration: none;
    padding: 0 1.25em;
}

.dropotron li:hover > a, .dropotron li:hover > span {
    color: #fff;
    background: #7B8780;
}

.dropotron li.active > a, .dropotron li.active > span {
    color: #fff;
    background: #7B8780;
}

.dropotron li:first-child {
    border-top: 0;
}

.dropotron.level-0 {
    margin-top: 1em;
    font-size: 0.9em;
}

.dropotron.level-0:before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -1em;
    top: -0.65em;
    border-bottom: solid 1em #6B7770;
    border-left: solid 1em transparent;
    border-right: solid 1em transparent;
}

/* Banner */
#banner {
    position: relative;
    background-position: top left, top left, center center;
    background-repeat: repeat, repeat, no-repeat;
    background-size: auto, auto, cover;
    z-index: 1;
}

#banner .content {
    position: relative;
    background-color: rgba(5, 103, 95, 0.85);
    background-position: top left, center center;
    background-size: auto, 100% 250%;
    background-repeat: repeat, no-repeat;
    text-align: center;
    margin: 0;
    padding: 4em 0 3.5em 0;
}

#banner .content h2 {
    color: #c2bdbd;
    font-size: 2.75em;
    margin: 0 0 0.5em 0;
}

#banner .content p {
    display: block;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #f69318;
    font-size: 1.35em;
    margin: 0 0 1.25em 0;
}

#banner .content .button {
    -moz-transition: border-color .2s ease-in-out, color .2s ease-in-out;
    -webkit-transition: border-color .2s ease-in-out, color .2s ease-in-out;
    -ms-transition: border-color .2s ease-in-out, color .2s ease-in-out;
    transition: border-color .2s ease-in-out, color .2s ease-in-out;
    color: #ebeded;
    background: transparent !important;
    border: solid 4px #02812c;
    border-color: rgba(11, 11, 11, 0.35);
    font-size: 1.5em;
}

#banner .content .button:hover {
    color: #e4e7e5;
    border-color: rgba(161, 94, 7, 0.75);
}

#banner .content .button:active {
    color: #c2bdbd;
    border-color: #ce7b06;
}

/* Main */
#main {
    background: #fff;
    border-top: solid 5px #034d52;
    border-bottom: solid 5px #040505;
    border-top-width: 35px;
    border-bottom-width: 10px;
    padding: 6em 0 6em 0;
}

/* Sidebar */
.sidebar h2.major {
    text-align: left;
    margin: 0 0 1.5em 0;
}

.sidebar h2.major span {
    padding-left: 0;
}

/* Footer */
#footer {
    text-align: center;
    padding: 8em 0 8em 0;
}

#footer a {
    color: inherit;
}

#footer h2.major {
    margin: 0 0 1.5em 0;
}

#footer h2.major span {
    background: #f2f5f3;
}

/* Copyright */
#copyright {
    display: inline-block;
    background: #e7eae8;
    padding: 0.75em 2em 0.75em 2em;
    border-radius: 8px;
    color: #013f54;
    margin: 4em 0 0 0;
}

#copyright a {
    color: inherit;
}

#copyright .menu {
    margin: 0;
}

#copyright .menu li {
    border-color: #C1CAC5;
    border-width: 2px;
    line-height: 1em;
}

/* Video Components */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.references-iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    max-width: 800px;
    max-height: 700px;
    margin: 0 auto;
    max-width: 100%;
    width: 64em;
}

/* Logo Styling */
body #logo img {
    max-width: 30%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-container #logo img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Resource Items */
.resource-item {
    margin-bottom: 20px;
    text-align: center;
}

/* Main Content Layout */
.main-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.contact {
    text-align: center;
}

.qr-code {
    width: 20%;
    display: block;
    margin: 0 auto;
}

.center-content {
    text-align: center;
}

.center-video {
    display: inline-block;
    margin: auto;
}

/* Timeline Styles */
:root {
    --white: #010101;
    --black: #323135;
    --crystal: #a8dadd;
    --columbia-blue: #cee9e4;
    --midnight-green: #01565b;
    --yellow: #e5f33d;
    --timeline-gradient: rgba(206, 233, 228, 1) 0%, rgba(206, 233, 228, 1) 50%, rgba(206, 233, 228, 0) 100%;
}

.timeline {
    white-space: nowrap;
    overflow-x: hidden;
}

.timeline ol {
    font-size: 0;
    width: 100vw;
    padding: 250px 0;
    transition: all 1s;
}

.timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 110px;
    height: 3px;
    background: #0b0000;
}

.timeline ol li:last-child {
    width: 2800px;
}

.timeline ol li:not(:first-child) {
    margin-left: 15px;
}

.timeline ol li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 0.5px);
    bottom: 0;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #f45b69;
}

.timeline ol li div {
    position: absolute;
    left: calc(100% + 7px);
    width: 180px;
    padding: 15px;
    font-size: 1rem;
    white-space: normal;
    color: black;
    background: white;
}

.timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: rgb(161, 12, 12) transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent rgb(169, 8, 8);
}

.timeline time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline .arrows {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
    margin-right: 20px;
}

.timeline .disabled {
    opacity: 0.5;
}

.timeline .arrows img {
    width: 45px;
    height: 45px;
}

/* News Feed Styles */
#news-feed {
    padding: 1rem 0;
    margin: 20px;
}

.news-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    color: rgb(243, 236, 236);
}

.news-item a {
    text-decoration: none;
    color: rgb(244, 235, 235);
}

.news-item h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 1rem;
}

.news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
    transition: background 0.3s ease;
}

.news-banner {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

.news-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(44, 90, 160, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border-left: 3px solid #2c5aa0;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.news-cta {
    font-size: 1rem;
    font-weight: 600;
    color: #2c5aa0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 6px;
    border: 2px solid transparent;
    width: fit-content;
}

.news-cta:hover {
    background: #2c5aa0;
    color: white;
    transform: translateX(5px);
    border-color: #2c5aa0;
}

.job-banner .news-date {
    background: rgba(46, 125, 50, 0.1);
    border-left-color: #2e7d32;
    color: #1b5e20;
}

.apply-cta {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
}

.apply-cta:hover {
    background: #2e7d32;
    border-color: #2e7d32;
}

/* Forum Styles */
#forum {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f7f1f1;
}

.like-section {
    margin-top: 1rem;
}

#comments-section {
    margin-top: 2rem;
    flex: 1;
    max-width: 300px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #0b0a0a;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#comments-list {
    list-style-type: none;
    padding: 0;
}

#comment-form {
    margin-top: 1rem;
}

#comment-form input, #comment-form textarea, #comment-form button {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
}

.forumcontainer {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

#forum {
    flex: 2;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Video Slider */
.video-slider {
    position: relative;
    max-width: 640px;
    margin: auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.container.video iframe {
    width: 100%;
    height: auto;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
}

.prev-btn {
    left: -30px;
}

.next-btn {
    right: -30px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Spoiler Button Styling */
.spoiler-container {
    width: 100%;
    margin: 2rem 0;
}

.spoiler-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #059598 0%, #013f54 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 149, 152, 0.3);
}

.spoiler-btn:hover {
    background: linear-gradient(135deg, #047a7d 0%, #012d3f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 149, 152, 0.4);
}

.spoiler-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.spoiler-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.spoiler-btn.expanded .btn-text::after {
    content: " Network";
}

.spoiler-btn:not(.expanded) .btn-text::after {
    content: "";
}

/* Spoiler Content */
.spoiler-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    margin-top: -12px;
}

.spoiler-content.expanded {
    max-height: 800px;
    padding: 2rem;
    border: 2px solid #e9ecef;
    border-top: none;
}

/* Graph Container */
.graph-wrapper {
    text-align: center;
}

#graph-container {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.graph-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-style: italic;
    color: #666;
}

/* Graph-specific styles */
#graph-container svg {
    width: 100%;
    height: 100%;
}

.node {
    stroke: #fff;
    stroke-width: 1.5px;
    cursor: pointer;
}

.link {
    stroke: #999;
    stroke-opacity: 0.6;
}

.node:hover {
    stroke: black;
    stroke-width: 2px;
}

.label {
    pointer-events: none;
    font-family: 'Open Sans', sans-serif;
}

.login-link {
    background: rgba(5, 149, 152, 0.1);
    border-radius: 5px;
    padding: 5px 10px !important;
}

.login-link:hover {
    background: rgba(5, 149, 152, 0.2);
}

/* ===================================
   RESPONSIVE MEDIA QUERIES
   =================================== */

/* Large tablets and small desktops */
@media screen and (max-width: 1680px) {
    body, input, textarea, select {
        font-size: 12pt;
        line-height: 1.75em;
    }
    
    .container {
        width: 75em;
    }
    
    .timeline {
        display: block;
    }
    
    .timeline::before,
    .timeline::after {
        width: 50px;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline .info {
        display: none;
    }
}

@media screen and (max-width: 1280px) {
    body, input, textarea, select {
        font-size: 11pt;
    }
    
    .container {
        width: calc(100% - 100px);
    }
    
    ul.special li a:before {
        font-size: 60px;
    }
    
    .box.highlight h2 {
        font-size: 2.5em;
    }
    
    .box.highlight header > p {
        font-size: 1.25em;
    }
    
    .box.post h3 {
        font-size: 2.5em;
    }
    
    .box.post header > p {
        font-size: 1.25em;
    }
    
    #header {
        font-size: 1.5em;
    }
    
    #banner {
        padding: 6em 0;
    }
    
    #banner .content {
        padding: 4em 0 3em 0;
    }
    
    #banner .content h2 {
        margin: 0 0 0.65em 0;
    }
    
    #banner .content p {
        margin: 0 0 1em 0;
    }
    
    #main {
        border-top-width: 20px;
        border-bottom-width: 10px;
    }
    
    #footer {
        padding: 6em 0 6em 0;
    }
}

/* Tablets */
@media screen and (max-width: 980px) {
    html, body {
        overflow-x: hidden;
    }
    
    .container {
        width: calc(100% - 50px);
    }
    
    .box br {
        display: none;
    }
    
    #header {
        display: none;
    }
    
    #banner {
        padding: calc(14em + 44px) 0 14em 0;
    }
    
    #nav {
        display: none;
    }
    
    #main {
        border-top-width: 0;
    }
    
    .sidebar {
        border-top: solid 2px #e7eae8;
        padding-top: 50px;
    }
    
    body {
        padding-top: 44px;
    }
    
    body.homepage {
        padding-top: 0;
    }
    
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
    }
    
    #titleBar {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
        background-color: rgba(21, 38, 23, 0.8);
        background-image: url("images/overlay.png");
    }
    
    #titleBar .title {
        display: block;
        position: relative;
        font-family: 'Open Sans Condensed', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 1.25em;
        line-height: 44px;
        color: #fff;
        z-index: 1000;
        text-align: center;
    }
    
    #titleBar .toggle {
        text-decoration: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 60px;
        z-index: 1001;
    }
    
    #titleBar .toggle:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        display: inline-block;
        text-decoration: none;
        position: absolute;
        left: 0;
        top: 0;
        background: #059598;
        width: 44px;
        height: 44px;
        content: '\f0c9';
        color: #013f54;
        text-align: center;
        line-height: 44px;
        font-size: 20px;
    }
    
    #titleBar .toggle:active:before {
        background-color: #c2d2d3;
    }
    
    #navPanel {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transform: translateX(-275px);
        -webkit-transform: translateX(-275px);
        -ms-transform: translateX(-275px);
        transform: translateX(-275px);
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 275px;
        z-index: 10002;
        background-color: #059598;
        background-image: url("images/overlay.png"), -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
        background-image: url("images/overlay.png"), -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
        background-image: url("images/overlay.png"), -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
        background-image: url("images/overlay.png"), linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
        background-repeat: repeat, no-repeat;
        background-size: auto, 100% 100%;
        font-family: 'Open Sans Condensed', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 1.25em;
        box-shadow: inset -3px 0px 10px 0px rgba(214, 9, 9, 0.25);
    }
    
    #navPanel nav {
        position: relative;
        z-index: 1000;
    }
    
    #navPanel .link {
        display: block;
        color: inherit;
        text-decoration: none;
        height: 44px;
        line-height: 44px;
        padding: 0 1em 0 1em;
        color: #888;
        color: rgba(255, 255, 255, 0.5);
        border-top: solid 2px rgba(87, 93, 89, 0.15);
        font-size: 0.8em;
    }
    
    #navPanel .link:first-child {
        border-top: 0;
    }
    
    #navPanel .indent-1 { display: inline-block; width: 1em; }
    #navPanel .indent-2 { display: inline-block; width: 2em; }
    #navPanel .indent-3 { display: inline-block; width: 3em; }
    #navPanel .indent-4 { display: inline-block; width: 4em; }
    #navPanel .indent-5 { display: inline-block; width: 5em; }
    
    #navPanel .depth-0 {
        color: #fff;
    }
    
    body.navPanel-visible #page-wrapper {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }
    
    body.navPanel-visible #titleBar {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }
    
    body.navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

/* Mobile phones */
@media screen and (max-width: 736px) {
    body, input, textarea, select {
        font-size: 11pt;
    }
    
    .container {
        width: calc(100% - 40px);
    }
    
    .row {
        margin-top: -20px;
        margin-left: -20px;
    }
    
    .row > * {
        padding: 20px 0 0 20px;
    }
    
    /* Make columns stack on mobile */
    .row > .col-1, .row > .col-2, .row > .col-3, .row > .col-4,
    .row > .col-5, .row > .col-6, .row > .col-7, .row > .col-8,
    .row > .col-9, .row > .col-10, .row > .col-11, .row > .col-12 {
        width: 100%;
    }
    
    h2 {
        font-size: 1.25em;
    }
    
    h2.major {
        font-size: 1.25em;
        margin: 0 0 2em 0;
    }
    
    h2.major span {
        padding: 0 1em;
    }
    
    section, article {
        margin-bottom: 2em;
    }
    
    /* Make buttons full width on mobile */
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    button,
    .button {
        display: block;
        width: 100%;
        margin-bottom: 1em;
    }
    
    input[type="button"].large,
    input[type="submit"].large,
    input[type="reset"].large,
    button.large,
    .button.large {
        font-size: 1.25em;
    }
    
    ul.actions li {
        display: block;
        margin: 1em 0 0 0;
    }
    
    ul.actions li:first-child {
        margin-top: 0;
    }
    
    ul.special {
        margin: -0.75em 0 2em -0.75em;
    }
    
    ul.special li {
        padding: 0.75em 0 0 0.75em;
    }
    
    ul.special li a:before {
        font-size: 28px;
    }
    
    .box.highlight h2 {
        font-size: 2em;
    }
    
    .box.highlight header > p {
        font-size: 1.25em;
    }
    
    .box.post h3 {
        font-size: 2em;
    }
    
    .box.post header > p {
        font-size: 1.25em;
    }
    
    .box.page-content h2 {
        font-size: 2em;
    }
    
    .box.page-content header > p {
        font-size: 1.25em;
    }
    
    #banner {
        padding: calc(6em + 44px) 0 6em 0;
    }
    
    #banner .content {
        padding: 4em 2.5em 3em 2.5em;
    }
    
    #banner .content h2 {
        font-size: 2em;
    }
    
    #banner .content p {
        font-size: 1.25em;
    }
    
    #main {
        padding: 3em 0;
    }
    
    .sidebar {
        border-top: solid 2px #e7eae8;
        padding-top: 50px;
        margin-top: 30px;
    }
    
    #footer {
        padding: 3em 0;
    }
    
    #copyright .menu li {
        display: block;
        border-left: 0;
        padding-left: 0;
        line-height: 1.75em;
    }
    
    .news-banner {
        min-height: 100px;
    }
    
    .news-content {
        padding: 1rem 1.5rem;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
    
    .news-cta {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .spoiler-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    #graph-container {
        height: 400px;
    }
    
    .spoiler-content.expanded {
        padding: 1rem;
    }
    
    /* Make forum responsive */
    .forumcontainer {
        flex-direction: column;
        padding: 10px;
    }
    
    #forum {
        width: 100%;
        padding: 10px;
    }
    
    #comments-section {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
    }
    
    .row {
        margin-top: -15px;
        margin-left: -15px;
    }
    
    .row > * {
        padding: 15px 0 0 15px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
    }
    
    .news-overlay {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.5) 100%);
    }
    
    /* Touch-friendly form elements */
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form select,
    form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75em;
    }
}

@media screen and (max-width: 360px) {
    body, input, textarea, select {
        font-size: 10pt;
    }
    
    .container {
        width: calc(100% - 20px);
    }
    
    .row {
        margin-top: -10px;
        margin-left: -10px;
    }
    
    .row > * {
        padding: 10px 0 0 10px;
    }
    
    .news-content {
        padding: 0.75rem;
    }
    
    .news-content h3 {
        font-size: 0.9rem;
    }
    
    .spoiler-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    #navPanel, #titleBar {
        display: block; /* Keep mobile nav on very small screens */
    }
}

/* Print styles */
@media print {
    #nav, #banner, #titleBar, #navPanel {
        display: none;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .row > * {
        width: 100% !important;
    }
}

/* Video Scroller Wrapper */
.video-scroller-wrapper {
    position: relative;
    padding: 0 60px;
    margin: 2em 0;
}

/* Container for scrolling */
.video-scroller-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.video-scroller-container::-webkit-scrollbar {
    height: 8px;
}

.video-scroller-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.video-scroller-container::-webkit-scrollbar-thumb {
    background: #4c5c96;
    border-radius: 10px;
}

.video-scroller-container::-webkit-scrollbar-thumb:hover {
    background: #3a4a7a;
}

/* Individual video cards */
.video-card {
    flex: 0 0 auto;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Video thumbnail container */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video info section */
.video-info {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
}

.video-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.video-meta {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* Navigation buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #4c5c96;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4c5c96;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-btn:hover {
    background: #4c5c96;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
    left: 0;
}

.scroll-btn-right {
    right: 0;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .video-scroller-wrapper {
        padding: 0 40px;
    }
    
    .video-card {
        width: 280px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .video-scroller-wrapper {
        padding: 0 10px;
    }
    
    .video-card {
        width: 250px;
    }
    
    .scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 1.25rem;
    }
}
/* Network Tooltip Styling */
.network-tooltip {
    font-weight: normal;
    text-align: left;
    animation: fadeIn 0.2s ease-in;
}

.network-tooltip strong {
    font-size: 14px;
    color: #4c9aff;
}

.network-tooltip em {
    color: #ffa726;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced node cursor feedback */
.node {
    transition: all 0.2s ease;
}

.node:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) !important;
}

/* Latest Publications Section */
#latest-publications {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: white;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.publication-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pub-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pub-authors {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pub-venue {
    color: #555;
    font-style: italic;
    margin-bottom: 8px;
}

.pub-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pub-year {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

.pub-type {
    background: #2196F3;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    text-transform: capitalize;
}

.pub-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.pub-link {
    color: #2196F3;
    text-decoration: none;
    font-size: 0.9em;
    padding: 4px 12px;
    border: 1px solid #2196F3;
    border-radius: 4px;
    transition: all 0.2s;
}

.pub-link:hover {
    background: #2196F3;
    color: white;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

.pub-number {
    position: absolute;
    left: -30px;
    top: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #e0e0e0;
}

.publication-item {
    position: relative;
}

/* Responsive */
@media screen and (max-width: 736px) {
    .pub-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pub-links {
        margin-left: 0;
    }
}
