@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap");

:root {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --surface-muted: #edf3fb;
    --text: #172033;
    --text-soft: #586176;
    --heading: #0e1b33;
    --primary: #0a4d8f;
    --primary-deep: #072a57;
    --secondary: #8f1d52;
    --accent: #f4c95d;
    --border: rgba(10, 77, 143, 0.12);
    --shadow-sm: 0 12px 32px rgba(11, 33, 70, 0.08);
    --shadow-md: 0 22px 50px rgba(11, 33, 70, 0.12);
    --shadow-lg: 0 32px 80px rgba(11, 33, 70, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: 260ms ease;
    --nav-height: 88px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
    margin: 0;
    padding-top: var(--nav-height);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(144, 195, 255, 0.36), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 219, 120, 0.22), transparent 24%),
        linear-gradient(180deg, #f7faff 0%, #edf3fa 52%, #f8fbff 100%);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    transition: color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

p:last-child,
ol:last-child,
ul:last-child,
table:last-child {
    margin-bottom: 0;
}

.padding3 {
    padding: 0.25rem;
}

.padding5 {
    padding: 0.5rem;
}

.padding10 {
    padding: 1rem;
}

.padding25 {
    padding: clamp(1.5rem, 2vw, 2rem);
}

.padding50 {
    padding: clamp(2rem, 5vw, 4rem);
}

.margin_block {
    margin-left: 0;
    margin-right: 0;
}

.paddding25 {
    padding: 0;
}

.smallfont {
    font-size: 0.875rem;
    line-height: 1.6;
}

.headingfonts {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.color_1 {
    color: var(--secondary) !important;
}

.color_2 {
    color: var(--primary) !important;
}

.color_3 {
    color: #d8e7ff !important;
}

.color_white {
    color: #ffffff !important;
}

.bgcolor_1,
.bgcolor_2,
.bgcolor_3,
.bgcolor_white {
    background-color: transparent;
}

.bgcolor_2 {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(7, 25, 53, 0.68);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.bgcolor_2.is-scrolled {
    padding: 0.55rem 0;
    background: rgba(7, 25, 53, 0.92);
    box-shadow: 0 10px 35px rgba(6, 22, 48, 0.25);
}

.site-nav-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.35rem 0;
}

.site-nav-title {
    min-width: 0;
}

.site-nav-title a {
    display: inline-block;
    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-nav-title a:hover {
    color: #ffffff;
}

.site-nav-title span {
    display: block;
    color: rgba(232, 241, 255, 0.86);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menunav {
    width: 100%;
}

.stellarnav {
    width: 100%;
    background: transparent !important;
}

.stellarnav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.stellarnav > ul > li > a {
    padding: 0.9rem 1rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}

.stellarnav > ul > li:hover > a,
.stellarnav > ul > li.current-menu-item > a,
.stellarnav > ul > li.active > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
}

.stellarnav ul ul {
    border: 1px solid rgba(10, 77, 143, 0.12);
    border-radius: 18px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: var(--shadow-md);
}

.stellarnav ul ul li a {
    padding: 0.8rem 1rem !important;
    color: var(--text) !important;
    font-weight: 600;
    border-radius: 12px;
}

.stellarnav ul ul li a:hover {
    background: rgba(10, 77, 143, 0.08);
    color: var(--primary) !important;
}

.headerbg {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.5rem);
    background:
        linear-gradient(135deg, rgba(7, 25, 53, 0.86), rgba(10, 77, 143, 0.74)),
        url("../images/5082238_.jpg") center/cover no-repeat;
}

.headerbg::before,
.headerbg::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.headerbg::before {
    top: -120px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
}

.headerbg::after {
    bottom: -140px;
    left: -110px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(244, 201, 93, 0.22), transparent 72%);
}

.headerbg > .container {
    position: relative;
    z-index: 1;
}

.font_small {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeUp 700ms ease both;
}

.headerbg h4 {
    margin-top: 1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: fadeUp 900ms ease both;
}

.profile-panel {
    position: relative;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeUp 1100ms ease both;
}

.profile-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.profile-photo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.profile-photo-wrap img {
    width: min(100%, 330px);
    border-radius: 28px;
    background: linear-gradient(180deg, #f9fbff, #ecf3fb);
    box-shadow: 0 25px 45px rgba(10, 31, 66, 0.14);
    object-fit: cover;
}

.profile-highlights {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(10, 77, 143, 0.08);
}

.profile-highlights.table td,
.profile-highlights.table th {
    padding: 1.05rem 1rem;
    vertical-align: top;
    border-top: 1px solid rgba(10, 77, 143, 0.08);
}

.profile-highlights.table td:first-child {
    width: 34%;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--heading);
}

.profile-highlights.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(10, 77, 143, 0.035);
}

.gallery-shell {
    margin-top: 1rem;
    padding-top: 0;
}

.newevents_control {
    padding: 0.75rem;
}

.news_updatesblock {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.news_updatesblock img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 0;
    border-radius: 24px;
    transition: transform 500ms ease, filter var(--transition);
}

.news_updatesblock:hover img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-slide > div {
    height: 100%;
}

.slick-dots li button:before {
    color: rgba(255, 255, 255, 0.9);
}

.content_gap,
.bio-card {
    position: relative;
    margin: clamp(1.25rem, 3vw, 2rem) auto;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
    box-shadow: var(--shadow-sm);
}

.content_gap p,
.bio-card p {
    color: var(--text-soft);
    font-size: 1rem;
}

.text-justify {
    text-align: left !important;
}

.shadow,
.shadowsubpage,
.box,
.shadow1,
.shadow2,
.shadow3,
.shadow4,
.shadow5,
.shadow6,
.shadow7,
.shadow8 {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    box-shadow: none;
}

.box {
    border: 1px solid rgba(143, 29, 82, 0.1);
    background: linear-gradient(135deg, rgba(10, 77, 143, 0.96), rgba(143, 29, 82, 0.9));
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%);
    pointer-events: none;
}

.box h4 {
    color: #ffffff;
}

.box1,
.box2,
.box3,
.box4,
.box5,
.box6,
.box7,
.box8 {
    background: linear-gradient(135deg, rgba(10, 77, 143, 0.96), rgba(143, 29, 82, 0.9));
}

.shadow1::before,
.shadow1::after,
.shadow2::before,
.shadow2::after,
.shadow3::before,
.shadow3::after,
.shadow4::before,
.shadow4::after,
.shadow5::before,
.shadow5::after,
.shadow6::before,
.shadow6::after,
.shadow7::before,
.shadow7::after,
.shadow8::before,
.shadow8::after {
    display: none;
}

.shadow1 .innerbox,
.shadow4 .innerbox,
.innerbox {
    position: relative;
    margin: 0;
    padding: clamp(1.25rem, 2vw, 1.5rem);
    border: 0;
    border-radius: calc(var(--radius-md) - 4px);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
}

.shadow4 ol,
.innerbox ol {
    margin: 0;
    padding-left: 1.3rem;
}

.shadow4 li,
.innerbox li {
    color: var(--text-soft);
    padding-bottom: 0.85rem;
}

.shadow4 li:last-child,
.innerbox li:last-child {
    padding-bottom: 0;
}

.table {
    margin-bottom: 0;
    color: var(--text);
}

.table th {
    color: var(--heading);
    font-weight: 700;
    border-top: 0;
    border-bottom: 1px solid rgba(10, 77, 143, 0.12);
    background: rgba(10, 77, 143, 0.04);
}

.table td {
    border-color: rgba(10, 77, 143, 0.08);
    color: var(--text-soft);
}

.table-bordered th,
.table-bordered td {
    border-color: rgba(10, 77, 143, 0.08);
}

hr {
    width: 88px;
    height: 4px;
    margin: 0 0 1.4rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

hr::after {
    display: none;
}

.fontbig {
    font-size: 1.05rem;
}

.topliks {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    padding-left: 0;
}

.webbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 16px 36px rgba(10, 77, 143, 0.24);
}

.webbutton:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-deep), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(10, 77, 143, 0.28);
}

.downloadicon a {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
}

.downloadicon a:hover {
    color: var(--secondary);
}

.footerbg {
    position: relative;
    overflow: hidden;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(3rem, 5vw, 4rem) 0;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(5, 18, 39, 0.96), rgba(11, 58, 111, 0.94)),
        url("../images/seaoatsvet-footer.png") center/cover no-repeat;
}

.footerbg::before {
    content: "";
    position: absolute;
    inset: auto -120px -180px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 201, 93, 0.18), transparent 70%);
}

.footer-shell {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.footer-lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.footer-contact strong {
    color: #ffffff;
}

.footerlinks {
    color: rgba(255, 255, 255, 0.78);
    display: inline-block;
    padding-top: 0.25rem;
}

.footerbootom {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.shad {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.overlaysubpage_header2 {
    min-height: 15vh;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(7, 25, 53, 0.92), rgba(143, 29, 82, 0.82));
}

.slidebarmargin,
.archives {
    margin-left: 0;
}

.blnikingz,
.blniking {
    color: var(--secondary);
    font-weight: 700;
}

.box {
    width: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 1199.98px) {
    .site-nav-shell {
        justify-content: center;
    }

    .menunav {
        width: 100%;
    }

    .stellarnav > ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 991.98px) {
    :root {
        --nav-height: 82px;
    }

    body {
        padding-top: var(--nav-height);
    }

    .headerbg {
        padding-top: 2.7rem;
    }

    .profile-highlights.table td:first-child {
        width: 38%;
    }

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

@media only screen and (max-width: 960px) {
    .stellarnav.mobile.right > ul,
    .stellarnav.mobile.left > ul,
    .stellarnav.mobile > ul {
        background: rgba(7, 25, 53, 0.96) !important;
        border-radius: 18px;
        margin-top: 1rem;
        padding: 0.5rem;
    }

    .stellarnav.mobile ul li a,
    .stellarnav.mobile ul li .dd-toggle {
        color: #ffffff !important;
        border: 0 !important;
    }

    .stellarnav.mobile ul ul {
        box-shadow: none;
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.08);
    }

    .stellarnav.mobile ul ul li a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --nav-height: 78px;
    }

    .bgcolor_2 {
        padding: 0.7rem 0;
    }

    .site-nav-title a {
        font-size: 1.55rem;
    }

    .site-nav-title span {
        font-size: 0.72rem;
        letter-spacing: 0.09em;
    }

    .padding25,
    .padding50 {
        padding: 1.2rem;
    }

    .profile-panel {
        margin-top: 1.5rem;
        border-radius: 24px;
    }

    .profile-highlights.table td,
    .profile-highlights.table th {
        display: block;
        width: 100% !important;
        padding: 0.85rem 0.9rem;
    }

    .profile-highlights.table tr {
        display: block;
        padding: 0.2rem 0;
    }

    .content_gap,
    .bio-card {
        padding: 1.25rem;
        margin-top: 1rem;
    }

    .footer-shell {
        border-radius: 22px;
    }
}

@media (max-width: 575.98px) {
    .headerbg {
        padding-bottom: 2rem;
    }

    .font_small {
        letter-spacing: 0.02em;
    }

    .headerbg h4 {
        letter-spacing: 0.08em;
    }

    .news_updatesblock,
    .news_updatesblock img {
        border-radius: 18px;
    }

    .footer-contact li {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
