* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* Professional Navy & Slate Color Scheme */
    --color-bg-main: #fafbfc;
    --color-bg-accent: #e2e8f0;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #616161;
    --color-bg-forturary: #dfdfdf;

    /* Gradient colors */
    --color-gradient-center: #f9f9f9;
    --color-gradient-mid: #f9f9f9;
    --color-gradient-edge: #ffffff;

    --color-text-main: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-hover: #0f172a;
    --color-text-inverse: #ffffff;
    --color-text-footer: #d4d4d4;

    --color-btn-main: #878787;
    --color-btn-hover: #696969;

    --color-underline: #505050;
    --color-underline-gradient: #60a5fa;
    --color-input-border: #cbd5e1;
    --color-navbar-bar: #1e293b;
    --color-footer-border: rgba(255, 255, 255, 0.1);
    --color-header-shadow: rgba(30, 41, 59, 0.1);
    --color-navbar-mobile-bg: #ffffff;
    --color-navbar-mobile-shadow: rgba(30, 41, 59, 0.15);
    --color-contact-hover: #93c5fd;
    --color-border: #e2e8f0;

    /* Shadow colors */
    --color-shadow-btn: rgba(30, 64, 175, 0.1);
    --color-shadow-btn-hover: rgba(30, 64, 175, 0.2);
    --color-shadow-image: rgba(30, 41, 59, 0.12);
    --color-shadow-card: rgba(30, 41, 59, 0.05);
    --color-shadow-gallery: rgba(30, 41, 59, 0.15);
    --color-focus-ring: rgba(30, 64, 175, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    line-height: 1.6;
    color: var(--color-text-main);
    text-align: justify;
}

h1, h2, h3, h4 {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 3px 3px 5px 1px rgba(30, 41, 59, 0.15);
    border-radius: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

ul.list-disc {
    list-style: disc;
}

.no-shadow {
    box-shadow: none;
}

.btn {
    display: inline-block;
    background-color: var(--color-btn-main);
    color: var(--color-text-inverse);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.5rem var(--color-shadow-btn);
}

.btn:hover {
    background-color: var(--color-btn-hover);
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem var(--color-shadow-btn-hover);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--color-bg-accent);
    border-radius: 0.75rem;
    padding: 1.5rem 0;
    border: 1px solid var(--color-border);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text-main);
    font-weight: 700;
}

.underline {
    height: 0.25rem;
    width: 3.75rem;
    background: linear-gradient(90deg, var(--color-underline), var(--color-underline-gradient));
    margin: 0.5rem auto;
    border-radius: 0.25rem;
}

section {
    margin: 0 auto;
    padding: 3rem 2rem;
    max-width: 75rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-secondary);
    box-shadow: 0 0.25rem 1rem var(--color-header-shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.logo {
    h1 {
        font-size: 1.75rem;
        color: var(--color-btn-main);
        font-weight: 700;
        text-shadow: 2px 2px 1px rgb(168 168 168 / 10%);
    }

    img {
        width: 80px;
        display: inline-block;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 0.1rem;
    background-color: var(--color-btn-main);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text-hover);
}

.nav-link:hover::after {
    width: 100%;
}

.bar {
    display: block;
    width: 1.5rem;
    height: 0.25rem;
    margin: 0.25rem auto;
    transition: all 0.3s ease;
    background-color: var(--color-text-main);
}

.organisation-intro {
    text-align: center;
    padding-top: 7rem;
    max-width: 75rem;
    margin: 0 auto;
    position: relative;
}

.organisation-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./images/bg5.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.main-image {
    max-height: 20rem;
    box-shadow: 0 1rem 3rem var(--color-shadow-image);
}

.organisation-intro-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 2rem;
}

.organisation-intro-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
}

.secondary-middle-title {
    font-size: 3rem;
    font-family: "Noto Serif", serif;
    background: var(--color-bg-forturary);
    border-radius: 0.75rem;
    font-weight: 400;
}

.primary-middle-title {
    font-size: 2rem;
}

.primary-small-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: -0.5rem;
}

.about {
    background-color: var(--color-bg-secondary);
}

.about-content {
    font-size: 1.25rem;
}

.about-content div:not(:first-child) {
    margin-top: 2rem;
}

.img-float-left {
    float: left;
    margin: 2rem;
    margin-left: 0;
    box-shadow: 0 0.5rem 1.5rem var(--color-shadow-btn);
}

.img-float-right {
    float: right;
    margin: 2rem;
    margin-right: 0;
    box-shadow: 0 0.5rem 1.5rem var(--color-shadow-btn);
}

.content-container > div:not(.image-container) {
    border: 1px solid var(--color-bg-forturary);
    border-radius: 0.75rem;
    padding: 1rem;
}

.content-container div p:not(:first-child) {
    margin-top: 1rem;
}

.image-container {
    display: flex;
    place-content: center;
}

.content-image {
    max-width: 50%;
    object-fit: contain;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
    background: var(--color-bg-main);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 0.25rem 1rem var(--color-shadow-card);
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
}

.gallery-container img {
    width: 45%;
    flex: 1;
    box-sizing: border-box;
    box-shadow: 0 0.5rem 1.5rem var(--color-shadow-btn);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-container img:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 1rem 3rem var(--color-shadow-gallery);
}

.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
}

.google-map {
    width: 100%;
    height: 30rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem var(--color-shadow-btn);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-input-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-bg-secondary);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-btn-main);
    box-shadow: 0 0 0 0.25rem var(--color-focus-ring);
}

textarea {
    resize: vertical;
}

footer {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-inverse);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-icon {
    vertical-align: middle;
}

.contact-list a:hover {
    color: var(--color-contact-hover);
}

.contact-list a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: var(--color-text-footer);
}

.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem;
}

.m1 {
    margin: 1rem;
}

.m2 {
    margin: 2rem;
}

.pt0 {
    padding-top: 0;
}

.pr-sm {
    padding-right: .5rem;
}

.fw400 {
    font-weight: 400;
}

.fw700 {
    font-weight: 700;
}

.hamburger {
    display: none;
}

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

.expandable-container {
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: var(--color-bg-secondary);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.expandable-container:hover {
    background-color: var(--color-bg-main);
}

.expandable-container h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    user-select: none;
}

.expandable-container h4 > span {
    display: flex;
    align-items: center;
}

.expandable-container h4::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--color-text-secondary);
}

.expandable-container.expanded h4::after {
    transform: rotate(180deg);
}

.expandable-container .expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-container.expanded .expandable-content {
    max-height: none;
}

.inner-wrapper {
    p {
        margin-top: 1rem;
    }
}

.sub-title {
    font-size: 14px;
}

#contact {
    padding-top: 0;
}

.download-link {
    text-decoration: underline;
    color: var(--color-underline-gradient);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1100;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease;
        background-color: var(--color-text-main);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(0.5rem) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-0.5rem) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        /*top: 4.25rem;*/
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-navbar-mobile-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 1rem 2rem var(--color-navbar-mobile-shadow);
        border-top: 1px solid var(--color-border);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .organisation-intro {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .content-image {
        max-width: 100%;
        margin: 2rem 0;
    }

    .gallery-container img {
        width: 100%;
    }
}
