@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Kaushan+Script&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Tangerine:wght@400;700&family=Waterfall&family=Whisper&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Corben:wght@400;700&family=Huninn&family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Outfit:wght@100..900&display=swap');

:root {
    --primary: #4a6fa5;
    --secondary: #dbe3f0;
    --dark: #2c3e50;
    --light: #ffffff;
    --gray: #7f8c8d;
    --transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
}

/* fonts */
.waterfall {
    font-family: 'Waterfall', cursive;
}

.merriweather {
    font-family: 'Merriweather', 'Times New Roman', sans-serif;
}

.whisper {
    font-family: 'Whisper', cursive;
}

.indie-flower {
    font-family: 'Indie Flower', cursive;
}

.kaushan {
    font-family: 'Kaushan Script', cursive;
}

.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}

.libertinus-serif-regular {
  font-family: "Libertinus Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.libertinus-serif-semibold {
  font-family: "Libertinus Serif", serif;
  font-weight: 600;
  font-style: normal;
}

.libertinus-serif-bold {
  font-family: "Libertinus Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.libertinus-serif-regular-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.libertinus-serif-semibold-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 600;
  font-style: italic;
}

.libertinus-serif-bold-italic {
  font-family: "Libertinus Serif", serif;
  font-weight: 700;
  font-style: italic;
}

.outfit-font {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.corben-regular {
  font-family: "Corben", serif;
  font-weight: 400;
  font-style: normal;
}

.corben-bold {
  font-family: "Corben", serif;
  font-weight: 700;
  font-style: normal;
}

.huninn {
  font-family: "Huninn", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
    color: var(--dark);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

html {
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

/* --- navigation bar --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-emblem {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 30px;
    width: auto;
    color: #2f3b6c;
    text-decoration: none;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

/* basic stuff that needs to be in every thing */
section {
    padding: 5% 10%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
    background-color: rgb(255, 255, 255, 0);
    z-index: 1;
}

section.visible .content {
    opacity: 1;
    transform: translateY(0);
}

.content-top {
    opacity: 0;
    transform: translateY(-40px);
    transition: var(--transition);
    background-color: rgb(255, 255, 255, 0);
    z-index: 1;
}

section.visible .content-top {
    opacity: 1;
    transform: translateY(0);
}

.content-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: var(--transition);
    background-color: rgb(255, 255, 255, 0);
    z-index: 1;
}

section.visible .content-left {
    opacity: 1;
    transform: translateX(0);
}
.content-right {
    opacity: 0;
    transform: translateX(80px);
    transition: var(--transition);
    background-color: rgb(255, 255, 255, 0);
    z-index: 1;
}

section.visible .content-right {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    margin-bottom: 5px;
    line-height: 1.1;
    color: var(--dark);
    text-align: center;
}

.section-subtitle {
    margin-bottom: 15px;
    line-height: 1.1;
    color: #3e5871;
    text-align: center;
}

.section-body {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 15px;
    color: #4c647b;
}

.light-title {
    color: var(--secondary);
}

.light-subtitle {
    color: #c2d0dd;
}

.light-body {
    color: #b3d8fa;
}

.formatted-box {
    text-align: center;
    align-items: center;
    min-height: auto;
    padding: 5% 10%;
    z-index: -1;
}

.round-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
    transition: var(--transition);
}

.round-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.4);
}

.square-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--light);
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
    transition: var(--transition);
}

.square-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.4);
}

.two-buttons {
    display: flex;
    flex-direction: row;
    justify-self: center;
    gap: 10px;
}

.pop-img {
    display: block;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pop-img:hover {
    transform: translateY(-5px);
}

.pop-text {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pop-text:hover {
    transform: translateY(-5px);
}

.dual-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-direction: row;
}

.diff-color-box {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
}

/* footer stuff (along with square-btn and fonts) */
footer {
    background: #dce3e3;
    color: var(--dark);
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.footer-c1 {
    justify-self: start;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 10%;
}

.footer-c2 {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: left;
    width: 50%;
    padding: 0 5%;
}

.footer-c3 {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 7px;
    translate: -40px;
}

.text-btn {
    color: #3e5871;
    font-family: "Libertinus Serif", serif;
    font-size: 15px;
}

.two-row {
    color: #3e5871;
    display: inline-flex;
    align-items: left;
    gap: 10px;
}

.c3-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.c3-column {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 10px;
    text-align: left;
    flex: 1;
    min-width: fit-content;
}

.two-column {
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: left;
    width: 100px;
    flex: 1;
    min-width: 100px;
}

.form-group label {
    display: block;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: 500;
    transform: translateX(5px);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
    background: #f8fafc;
    margin-top: 0px;
    margin-bottom: 8px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15);
}

.submit-btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: #f8fafc;
    color: var(--primary);
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
    color: var(--light);
}

.navigate-text {
    display: flex;
    flex-direction: row;
    text-align: left;
    margin-top: 6px;
    margin-bottom: 20px;
    gap: 1.2rem;
}

.navigate-link {
    font-family: "Libertinus Serif", serif;
    text-decoration: none;
    color: #3e5871;
    transition: text-decoration 0.8s ease-in-out;
    font-size: 15px;
}

.navigate-link:hover {
    text-decoration: underline;
}

.footer-c2 .square-btn {
    background: #eff5f5;
    text-align: center;
}

.footer-c2 .square-btn:hover {
    background-color: var(--primary);
}

.credits {
    color: #3e5871;
    font-size: 10px;
    position: absolute;
    left: 15px;
}

.article-text strong {
    font-weight: 600;
}

@media (max-width: 768px) {
    section {
        padding: 80px 6% 10% 6%;
        min-height: auto;
    }

    header {
        padding: 0.8rem 5%;
        height: auto;
        flex-wrap: wrap;
    }

    .logo-emblem {
        height: 40px;
    }

    .logo-text {
        font-size: 22px;
    }

    nav {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 8px;
    }

    nav a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .dual-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .two-buttons {
        flex-direction: column;
        width: 100%;
    }

    .round-btn, .square-btn {
        width: 100%;
        text-align: center;
    }

    .content-left, .content-right {
        transform: translateY(30px);
    }

    section.visible .content-left, 
    section.visible .content-right {
        transform: translateY(0);
    }

    footer {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .footer-c1, 
    .footer-c2, 
    .footer-c3 {
        width: 100% !important;
        padding: 0 !important;
        translate: 0 !important;
        text-align: center;
        align-items: center;
    }

    .footer-c1 img {
        width: 85px !important;
    }

    .navigate-text {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 15px;
    }

    .two-column {
        min-width: 120px;
        text-align: center;
    }

    .c3-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-left: 0;
    }

    .c3-column {
        align-items: center;
        text-align: center;
    }

    .two-row {
        justify-content: center;
    }
    
    .credits {
        margin-top: 10px;
        left: 20px !important;
    }
}