@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap");
:root {
    --primary: #071b35;
    --primary-light: #102d50;
    --accent: #c8a45d;
    --accent-dark: #9b762d;
    --text: #172235;
    --muted: #6b7482;
    --border: #e5e8ed;
    --surface: #f7f8fa;
    --white: #ffffff;
    --container-width: 1400px;
    --font-main: "Barlow", sans-serif;
    --header-shadow: 0 8px 35px rgba(7, 27, 53, 0.06);
    --dropdown-shadow: 0 25px 70px rgba(7, 27, 53, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container-width));
    margin-inline: auto;
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    position: relative;
    z-index: 2000;
    color: #ffffff;
    background: linear-gradient(110deg, #06172d 0%, #0a2443 50%, #06172d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    min-height: 44px;
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.top-contact {
    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 13px;

    font-weight: 500;
}

.top-contact a,
.location {
    display: flex;

    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.78);

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.25s ease;
}

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

.top-icon {
    color: var(--accent);

    font-size: 13px;
}

.top-divider {
    width: 1px;

    height: 15px;

    background: rgba(255, 255, 255, 0.18);
}

.top-links {
    display: flex;

    align-items: center;

    gap: 25px;
}

.top-links a {
    position: relative;

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition: color 0.25s ease;
}

.top-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.top-links a:hover {
    color: #ffffff;
}

.top-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-header {
    position: relative;
    z-index: 1900;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--header-shadow);
    backdrop-filter: blur(15px);
}

.main-header-inner {
    min-height: 118px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

/* =========================================================
   BRAND
========================================================= */

.university-brand {
    display: flex;

    align-items: center;

    gap: 17px;

    flex-shrink: 0;

    color: var(--primary);

    text-decoration: none;
}

.logo-box {
    width: 80px;

    height: 80px;

    display: grid;

    place-items: center;

    flex-shrink: 0;
}

.logo-box img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;
}

.university-brand:hover .logo-box img {
    transform: scale(1.04);
}

.brand-text h1 {
    font-family: var(--font-main);
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--primary);
    padding-bottom: 10px;
}

.brand-text h2 {
    font-size: clamp(12px, 3vw, 18px);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 2px;
    color: #344154;
}

.brand-text h2 span {
    color: var(--accent-dark);
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-nav > ul {
    display: flex;

    align-items: center;

    gap: 2px;

    list-style: none;
}

.desktop-nav li {
    position: relative;
}

.nav-link {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 14px;
    background: transparent;
    color: #26364c;
    text-decoration: none;
    font-family: var(--font-main);
    /* font-size: 1px; */
    font-size: clamp(16px, 4vh, 20px);
    font-weight: 600;
    letter-spacing: 0.15px;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 14px;

    right: 14px;

    bottom: 4px;

    height: 2px;

    background: linear-gradient(90deg, transparent, var(--accent), transparent);

    transform: scaleX(0);

    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* =========================================================
   DROPDOWN TOGGLE
========================================================= */

.dropdown-toggle {
    outline: none;
}

.arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .arrow,
.nav-dropdown.open .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    /* top:calc(100% + 3px); */
    top: 100%;
    left: 50%;

    width: 250px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.99);

    border: 1px solid rgba(7, 27, 53, 0.08);

    border-top: 3px solid var(--accent);

    border-radius: 0 0 14px 14px;

    box-shadow: var(--dropdown-shadow);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translate(-50%, 14px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.3s ease;

    z-index: 9999;
}

/* DESKTOP HOVER */

@media (min-width: 1051px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translate(-50%, 0);
    }
}

/* =========================================================
   DROPDOWN HEADER
========================================================= */

.dropdown-header {
    padding: 2px 4px 17px;

    margin-bottom: 7px;

    border-bottom: 1px solid var(--border);
}

.dropdown-label {
    display: block;

    margin-bottom: 5px;

    color: var(--accent-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.dropdown-header h3 {
    color: var(--primary);

    font-size: 21px;

    line-height: 1.2;

    font-weight: 700;
}

.dropdown-header p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.5;
}

/* =========================================================
   DROPDOWN LINKS
========================================================= */

.dropdown-links {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.dropdown-links a {
    position: relative;

    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 8px 10px;

    border-radius: 9px;

    color: var(--text);

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.dropdown-links a:hover {
    background: linear-gradient(100deg, #f8f5ed, #ffffff);

    color: var(--accent-dark);

    transform: translateX(3px);
}

/* =========================================================
   DROPDOWN ICON
========================================================= */

.menu-icon {
    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color: var(--accent-dark);

    background: #f8f5ed;

    border: 1px solid rgba(200, 164, 93, 0.25);

    border-radius: 7px;

    font-size: 15px;

    transition: all 0.25s ease;
}

.dropdown-links a:hover .menu-icon {
    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);
}

/* =========================================================
   MENU CONTENT
========================================================= */

.menu-content {
    display: flex;

    flex-direction: column;

    gap: 2px;

    min-width: 0;

    flex: 1;
}

.menu-content strong {
    font-size: 13px;

    line-height: 1.2;

    font-weight: 700;
}

.menu-content small {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.3;

    font-weight: 500;
}

/* =========================================================
   MENU ARROW
========================================================= */

.menu-arrow {
    color: var(--accent);

    font-size: 16px;

    opacity: 0;

    transform: translateX(-5px);

    transition: all 0.25s ease;
}

.dropdown-links a:hover .menu-arrow {
    opacity: 1;

    transform: translateX(0);
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 46px;

    height: 46px;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.menu-toggle:hover {
    border-color: var(--accent);
}

.menu-toggle span {
    width: 21px;

    height: 2px;

    background: var(--primary);

    border-radius: 5px;

    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    position: relative;

    z-index: 1800;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 20px 50px rgba(7, 27, 53, 0.1);

    backdrop-filter: blur(15px);
}

.mobile-menu nav {
    padding: 10px 0 20px;
}

.mobile-link,
.mobile-dropdown-toggle {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-inline: 20px;

    background: transparent;

    color: var(--primary);

    text-decoration: none;

    font-family: var(--font-main);

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

.mobile-link:hover,
.mobile-dropdown-toggle:hover,
.mobile-link.active {
    color: var(--accent-dark);

    background: #faf8f2;
}

.mobile-arrow {
    color: var(--accent);

    font-size: 16px;

    transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-arrow {
    transform: rotate(180deg);
}

/* =========================================================
   MOBILE SUBMENU
========================================================= */

.mobile-submenu {
    display: none;

    margin: 0 20px 7px;

    padding: 5px 0;

    background: #fafafa;

    border-left: 2px solid var(--accent);
}

.mobile-dropdown.open .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;

    padding: 11px 18px;

    color: var(--muted);

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition: all 0.2s ease;
}

.mobile-submenu a:hover {
    padding-left: 23px;

    color: var(--primary);

    background: #f4f1e8;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
    .main-header-inner {
        gap: 15px;
    }

    .desktop-nav > ul {
        gap: 0;
    }

    .nav-link {
        padding-inline: 9px;

        font-size: 14px;
    }

    .nav-link::after {
        left: 9px;

        right: 9px;
    }
}

/* =========================================================
   MOBILE / TABLET NAVIGATION
========================================================= */

@media (max-width: 1050px) {
    .top-links {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-header-inner {
        min-height: 96px;
    }

    .mobile-menu {
        display: block;

        max-height: 0;

        overflow: hidden;

        opacity: 0;

        pointer-events: none;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease;
    }

    .mobile-menu.open {
        max-height: 850px;

        opacity: 1;

        pointer-events: auto;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
    .container {
        width: calc(100% - 30px);
    }

    .top-bar-inner {
        min-height: 36px;
    }

    .top-contact {
        width: 100%;

        justify-content: center;
    }

    .top-contact a:nth-of-type(2),
    .top-divider,
    .location {
        display: none;
    }

    .logo-box {
        width: 58px;

        height: 58px;
    }

    .university-brand {
        gap: 10px;
    }

    .brand-line {
        width: 30px;

        height: 1px;

        margin-top: 6px;

        margin-bottom: 5px;
    }

    .brand-text h2 {
        font-size: 7px;

        letter-spacing: 1.15px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {
    .main-header-inner {
        min-height: 82px;
    }

    .logo-box {
        width: 50px;

        height: 50px;
    }

    .brand-text h2 {
        font-size: 6px;

        letter-spacing: 0.8px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .mobile-link,
    .mobile-dropdown-toggle {
        font-size: 14px;
    }
}

/* footer */

.university-footer {
    position: relative;
    width: 100%;

    overflow: hidden;

    color: var(--white);

    background: var(--primary);

    font-family: var(--font-main);
}

/* =========================================================
   HTML BACKGROUND IMAGE
========================================================= */

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: center;
    opacity: 0.9;
    transform: scale(1.04);
    filter: saturate(0.85) contrast(1.08);
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.footer-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        rgba(7, 27, 53, 0.98) 0%,
        rgba(7, 27, 53, 0.94) 35%,
        rgba(7, 27, 53, 0.86) 70%,
        rgba(4, 18, 35, 0.94) 100%
    );
}

/* =========================================================
   SUBTLE GOLD GLOW
========================================================= */

.university-footer::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 300px;
    top: -190px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(200, 164, 93, 0.14),
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.footer-container {
    position: relative;

    z-index: 3;
}

/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top {
    display: grid;

    grid-template-columns:
        1fr
        0.85fr
        1fr;

    align-items: center;

    gap: 65px;

    min-height: 400px;

    padding: 65px 20px 55px;
}

/* =========================================================
   SECTION TITLES
========================================================= */

.footer-section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;
}

.footer-section-title span {
    width: 30px;

    height: 2px;

    background: var(--accent);
}

.footer-section-title h3 {
    margin: 0;

    color: var(--accent);

    font-family: var(--font-main);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

/* =========================================================
   LINK GRID
========================================================= */

.footer-link-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}

.footer-link-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.footer-link-list a {
    position: relative;

    width: fit-content;

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    font-family: var(--font-main);

    font-size: 14px;

    font-weight: 500;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-link-list a::before {
    content: "";

    position: absolute;

    left: -15px;

    top: 50%;

    width: 0;

    height: 1px;

    background: var(--accent);

    transform: translateY(-50%);

    transition: width 0.25s ease;
}

.footer-link-list a:hover {
    color: var(--white);

    transform: translateX(5px);
}

.footer-link-list a:hover::before {
    width: 8px;
}

/* =========================================================
   CENTER BRAND
========================================================= */

.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

/* Logo */

.footer-logo-wrap {
    position: relative;

    width: 125px;

    height: 125px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;
}

.footer-logo-ring {
    position: relative;

    width: 108px;

    height: 108px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(200, 164, 93, 0.65);

    border-radius: 50%;

    box-shadow:
        0 0 0 8px rgba(200, 164, 93, 0.04),
        0 0 0 15px rgba(200, 164, 93, 0.025);
}

.footer-logo-ring::before {
    content: "";

    position: absolute;

    inset: -7px;

    border: 1px dashed rgba(255, 255, 255, 0.18);

    border-radius: 50%;
}

.footer-logo-ring img {
    width: 94px;

    height: 94px;

    object-fit: contain;

    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));

    transition: transform 0.4s ease;
}

.footer-logo-wrap:hover .footer-logo-ring img {
    transform: scale(1.06) rotate(3deg);
}

/* University name */

.footer-brand h2 {
    margin: 0;

    color: var(--white);

    font-family: var(--font-main);

    font-size: 28px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1.5px;
}

/* Brand divider */

.footer-brand-divider {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 14px 0;
}

.footer-brand-divider span {
    width: 32px;

    height: 1px;

    background: var(--accent);
}

.footer-brand-divider i {
    width: 5px;

    height: 5px;

    background: var(--accent);

    transform: rotate(45deg);
}

.footer-department {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-department b {
    color: var(--accent);

    margin: 0 4px;
}

.footer-motto {
    margin-top: 13px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.5px;
}

/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    gap: 23px;
}

.footer-contact-item {
    display: flex;

    align-items: center;

    gap: 13px;
}

.footer-contact-icon {
    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: grid;

    place-items: center;

    color: var(--accent);

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(200, 164, 93, 0.28);

    border-radius: 50%;
}

.footer-contact-icon svg {
    width: 19px;

    height: 19px;
}

.footer-contact-item > div:last-child {
    min-width: 0;
}

.footer-contact-item span {
    display: block;

    margin-bottom: 4px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-contact-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;

    font-weight: 500;
}

.footer-contact-item small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
}

.footer-contact-item a {
    display: inline-block;

    max-width: 100%;

    color: rgba(255, 255, 255, 0.78);

    text-decoration: none;

    font-size: 12px;

    word-break: break-word;

    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 0 20px;
}

.footer-divider span {
    flex: 1;

    height: 1px;

    background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.28));
}

.footer-divider span:last-child {
    background: linear-gradient(90deg, rgba(200, 164, 93, 0.28), transparent);
}

.footer-divider i {
    width: 6px;

    height: 6px;

    background: var(--accent);

    transform: rotate(45deg);
}

/* =========================================================
   MIDDLE
========================================================= */

.footer-middle {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 16px 20px;
}

/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 8px;
}

.social-label {
    margin-right: 7px;
    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);

    background: var(--accent);

    border-color: var(--accent);

    transform: translateY(-3px);
}
.footer-quote {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-quote span {
    width: 35px;

    height: 1px;

    background: var(--accent);
}

.footer-quote p {
    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

/* =========================================================
   BACK TO TOP
========================================================= */

.footer-top-button {
    width: 45px;

    height: 45px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1px;

    color: var(--accent);

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(200, 164, 93, 0.35);

    border-radius: 5px;

    text-decoration: none;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.footer-top-button span {
    font-size: 17px;

    line-height: 1;
}

.footer-top-button:hover {
    color: var(--primary);

    background: var(--accent);

    transform: translateY(-3px);
}

/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.65);

    font-weight: 600;
}

.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 11px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);

    text-decoration: none;

    font-size: 11px;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-bottom-links span {
    width: 3px;

    height: 3px;

    background: var(--accent);

    border-radius: 50%;
}

.footer-credit {
    text-align: right;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        grid-row: 1;

        padding-bottom: 15px;
    }

    .footer-navigation {
        grid-column: 1;

        grid-row: 2;
    }

    .footer-contact {
        grid-column: 2;

        grid-row: 2;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
    .footer-top {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 38px;

        padding: 45px 15px 35px;
    }

    .footer-brand {
        order: -1;
    }

    .footer-logo-wrap {
        width: 110px;

        height: 110px;
    }

    .footer-logo-ring {
        width: 94px;

        height: 94px;
    }

    .footer-logo-ring img {
        width: 82px;

        height: 82px;
    }

    .footer-brand h2 {
        font-size: 23px;
    }

    .footer-department {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .footer-link-grid {
        gap: 25px;
    }

    .footer-middle {
        flex-direction: column;

        justify-content: center;

        gap: 18px;

        padding: 22px 15px;
    }

    .footer-quote {
        order: -1;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        gap: 10px;

        padding: 18px 15px;

        text-align: center;
    }

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

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
    .footer-brand h2 {
        font-size: 21px;
    }

    .footer-department {
        font-size: 7px;
    }

    .footer-link-list a {
        font-size: 13px;
    }

    .footer-contact-item p {
        font-size: 12px;
    }

    .footer-quote span {
        width: 18px;
    }

    .footer-quote p {
        font-size: 7px;

        letter-spacing: 1.5px;
    }
}
