/* =====================================================

   SUPER OXFORD – style.css

   1. Variables      5. Hero + animation   9. Contact + map

   2. Base           6. Sections           10. Gallery

   3. Top bar        7. Courses            11. Footer + floating

   4. Header         8. Registration       12. Responsive

   ===================================================== */



/* ---------- 1. VARIABLES ---------- */

:root {

    --ink: #10243E;

    --ink-soft: #4A5A70;

    --paper: #F6F7F9;

    --white: #fff;

    --blue: #1B4B8F;

    --amber: #F2A93B;

    --amber-dark: #C98414;

    --line: #DDE3EB;

    --radius: 12px;

    --shadow: 0 8px 24px rgba(16, 36, 62, .08);

    --font-head: 'Sora', system-ui, sans-serif;

    --font-body: 'Nunito Sans', system-ui, sans-serif;



    /* Round photo in the hero. Change the file name here if needed */

    --hero-photo: url("Background-image.png");

}



/* ---------- 2. BASE ---------- */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



html {

    scroll-behavior: smooth;

}



body {

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

    color: var(--ink);

    background: var(--paper);

    line-height: 1.65;

    font-size: 1.05rem;

}



h1,

h2,

h3 {

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

    line-height: 1.2;

    letter-spacing: -.01em;

}



a {

    color: inherit;

}



ul {

    list-style: none;

}



img {

    max-width: 100%;

}



:focus-visible {

    outline: 3px solid var(--amber);

    outline-offset: 3px;

}



.btn {

    display: inline-block;

    background: var(--amber);

    color: var(--ink);

    font: inherit;

    font-weight: 700;

    padding: .8rem 1.6rem;

    border-radius: 999px;

    text-decoration: none;

    border: 2px solid var(--amber);

    cursor: pointer;

    transition: background .2s, transform .2s;

}



.btn:hover {

    background: #ffbc55;

    transform: translateY(-2px);

}



.btn-small {

    padding: .45rem 1.1rem;

    font-size: .95rem;

}



.btn-ghost {

    background: transparent;

    color: var(--white);

    border-color: rgba(255, 255, 255, .6);

}



.btn-ghost:hover {

    background: rgba(255, 255, 255, .12);

}



.center-btn {

    text-align: center;

    margin-top: 2.2rem;

}



/* Each "page" (Home, About ...) fades in when opened */

.page[hidden] {

    display: none;

}



.page {

    animation: pageIn .5s ease both;

}



@keyframes pageIn {

    from {

        opacity: 0;

        transform: translateY(14px);

    }



    to {

        opacity: 1;

        transform: none;

    }

}



/* ---------- 3. TOP BAR ---------- */

.topbar {

    background: #0B1B30;

    color: var(--white);

    font-size: .9rem;

}



.topbar-inner {

    max-width: 1140px;

    margin: 0 auto;

    padding: .55rem 1.25rem;

    display: flex;

    justify-content: space-between;

    align-items: left;

    gap: .6rem 1.5rem;

    flex-wrap: wrap;

}



.topbar-offer {

    margin: 0;

}



.topbar-offer .hl {

    color: var(--amber);

}



.topbar-offer a {

    color: var(--amber);

    font-weight: 700;

    text-decoration: none;

}



.topbar-offer a:hover {

    text-decoration: underline;

}



.topbar-right {

    display: flex;

    align-items: right;

    gap: 1.4rem;

    flex-wrap: wrap;

}



.topbar-link {

    display: inline-flex;

    align-items: right;

    gap: .5rem;

    text-decoration: none;

}



.topbar-link:hover {

    color: var(--amber);

}



.socials {

    display: flex;

    gap: .5rem;

}



.socials a {

    width: 28px;

    height: 28px;

    display: inline-flex;

    align-items: right;

    justify-content: center;

    border-radius: 50%;

    transition: background .25s, color .25s, transform .25s;

}



.socials a:hover {

    background: var(--amber);

    color: var(--ink);

    transform: translateY(-3px);

}



/* ---------- 4. HEADER ---------- */

.site-header {

    position: sticky;

    top: 0;

    z-index: 50;

    background: rgba(16, 36, 62, .96);

    backdrop-filter: blur(8px);

    transition: box-shadow .2s;

}



.site-header.scrolled {

    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);

}



.navbar {

    max-width: 1140px;

    margin: auto;

    padding: .6rem 1.25rem;

    display: flex;

    align-items: right;

    justify-content: space-between;

}



.logo {

    display: flex;

    align-items: left;

    gap: .7rem;

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

    font-weight: 800;

    font-size: 1.35rem;

    color: var(--white);

    text-decoration: none;

    letter-spacing: .02em;

}



.logo img {

    height: 60px;

    width: auto;

    border-radius: 6px;

}



.logo-text span {

    color: var(--amber);

}



.nav-links {

    display: flex;

    align-items: right;

    gap: 1.75rem;

}



.nav-links a:not(.btn) {

    color: #D5DEEA;

    text-decoration: none;

    font-weight: 600;

    padding: .3rem 0;

    border-bottom: 2px solid transparent;

    transition: color .2s, border-color .2s;

}



.nav-links a:not(.btn):hover,

.nav-links a.active {

    color: var(--white);

    border-color: var(--amber);

}



.menu-toggle {

    display: none;

    background: none;

    border: 0;

    padding: .5rem;

    cursor: pointer;

}



.menu-toggle span {

    display: block;

    width: 24px;

    height: 2px;

    margin: 5px 0;

    background: var(--white);

    transition: transform .25s, opacity .25s;

}



.menu-toggle[aria-expanded="true"] span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);

}



.menu-toggle[aria-expanded="true"] span:nth-child(2) {

    opacity: 0;

}



.menu-toggle[aria-expanded="true"] span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);

}



/* ---------- 5. HERO + BACKGROUND ANIMATION ---------- */

.hero {

    position: relative;

    overflow: hidden;

    background: linear-gradient(135deg, #0B1B30 0%, var(--ink) 60%, #173d70 100%);

    color: var(--white);

    padding: 5rem 1.25rem 0;

}



.hero>* {

    position: relative;

    z-index: 1;

}



/* Two photos slide in from the right, zoom slowly, leave to the left, again and again */

.hero>.hero-bg {

    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

}



.hero-bg .slide {

    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    opacity: 0;

    will-change: transform, opacity;

    animation: heroSlide 10s ease-in-out infinite;

    /* 10s cycle = 5s per photo */

}



.hero-bg .slide+.slide {

    animation-delay: 5s;

}



@keyframes heroSlide {

    0% {

        transform: translateX(100%) scale(1.05);

        opacity: 0;

    }



    8% {

        transform: translateX(0) scale(1.05);

        opacity: 1;

    }



    50% {

        transform: translateX(0) scale(1.15);

        opacity: 1;

    }



    58% {

        transform: translateX(-100%) scale(1.15);

        opacity: 0;

    }



    100% {

        transform: translateX(-100%) scale(1.15);

        opacity: 0;

    }

}



/* Dark overlay keeps the text readable */

.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg, rgba(11, 27, 48, .93) 0%, rgba(16, 36, 62, .80) 55%, rgba(23, 61, 112, .62) 100%);

}



/* Moving light */

.hero-bg::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);

    background-size: 250% 100%;

    animation: heroShine 6s linear infinite;

}



@keyframes heroShine {

    from {

        background-position: 150% 0;

    }



    to {

        background-position: -100% 0;

    }

}



/* Floating bubbles (created in script.js) */

.bubbles {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

}



.bubbles span {

    position: absolute;

    bottom: -80px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .13);

    border: 1px solid rgba(255, 255, 255, .24);

    animation: floatUp linear infinite;

}



@keyframes floatUp {

    0% {

        transform: translate(0, 0);

        opacity: 0;

    }



    10% {

        opacity: 1;

    }



    100% {

        transform: translate(40px, -110vh);

        opacity: 0;

    }

}



/* Round director photo */

.hero>.circle-photo {

    position: absolute;

    right: max(4%, calc(50% - 540px));

    top: 46%;

    width: min(40vw, 430px);

    aspect-ratio: 1;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--hero-photo) center/cover no-repeat, linear-gradient(135deg, #2a4a7a, #173d70);

    box-shadow: 0 0 0 6px var(--amber), 0 0 0 26px rgba(255, 255, 255, .07), 0 30px 60px rgba(0, 0, 0, .4);

}



.hero-content {

    max-width: 1140px;

    margin: auto;

    padding: 2rem 0 0;

    animation: rise .8s ease both;

}



.tagline {

    color: var(--amber);

    font-weight: 700;

    margin-bottom: 1rem;

    max-width: 46ch;

}



.hero h1 {

    font-size: clamp(2.1rem, 5vw, 3.4rem);

    font-weight: 800;

    margin-bottom: 1.25rem;

    max-width: 14ch;

}



.hero-description {

    max-width: 46ch;

    margin: 0 0 2rem;

    color: #D5DEEA;

    font-size: 1.15rem;

}



.hero-actions {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

    max-width: 46ch;

}



.stats {

    max-width: 900px;

    margin: 4.5rem auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: var(--white);

    color: var(--ink);

    border-radius: var(--radius) var(--radius) 0 0;

    overflow: hidden;

}



.stats li {

    padding: 1.5rem 1rem;

    text-align: center;

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

}



.stats li:last-child {

    border: 0;

}



.stats strong {

    display: block;

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

    font-size: 2.2rem;

    color: var(--blue);

}



.stats span {

    font-size: .95rem;

    color: var(--ink-soft);

}



@keyframes rise {

    from {

        opacity: 0;

        transform: translateY(20px);

    }



    to {

        opacity: 1;

        transform: none;

    }

}



/* ---------- 6. SECTIONS ---------- */

.section {

    max-width: 1140px;

    margin: auto;

    padding: 5rem 1.25rem;

}



.section-label {

    color: var(--amber-dark);

    font-weight: 700;

    margin-bottom: .5rem;

}



.section-heading {

    text-align: center;

    max-width: 620px;

    margin: 0 auto 2.5rem;

}



.section-heading h2,

.about-text h2 {

    font-size: clamp(1.7rem, 3.5vw, 2.4rem);

    margin-bottom: .75rem;

}



.section-heading p:last-child {

    color: var(--ink-soft);

}



/* Inner page banner */

.page-banner {

    position: relative;

    overflow: hidden;

    text-align: center;

    color: var(--white);

    padding: 4.2rem 1.25rem 3.6rem;

    background: linear-gradient(135deg, #0B1B30 0%, var(--ink) 60%, #173d70 100%);

}



.page-banner::after {

    content: "";

    position: absolute;

    width: 340px;

    height: 340px;

    right: -90px;

    top: -120px;

    border-radius: 50%;

    background: rgba(242, 169, 59, .12);

}



.page-banner-inner {

    max-width: 800px;

    margin: 0 auto;

    position: relative;

    z-index: 1;

}



.page-banner h1 {

    font-size: clamp(1.9rem, 5vw, 2.9rem);

    margin: .4rem 0 .6rem;

}



.page-banner p {

    color: #CFD8EA;

}



.page-banner .breadcrumb {

    font-size: .9rem;

    color: var(--amber);

}



.page-banner .breadcrumb a {

    text-decoration: none;

}



.page-banner .breadcrumb a:hover {

    text-decoration: underline;

}



.page-banner .breadcrumb span {

    margin: 0 .35rem;

    color: #8FA0C0;

}



/* About */

.about {

    display: grid;

    grid-template-columns: 1.1fr 1fr;

    gap: 3rem;

    align-items: center;

}



.about-text p {

    color: var(--ink-soft);

    margin-bottom: 1rem;

    max-width: 60ch;

}



.about-text .btn {

    margin-top: .75rem;

}



.about-points {

    display: grid;

    gap: 1rem;

}



.about-points li {

    background: var(--white);

    border-left: 4px solid var(--amber);

    padding: 1.1rem 1.25rem;

    border-radius: 0 var(--radius) var(--radius) 0;

    box-shadow: var(--shadow);

}



.about-points h3 {

    font-size: 1.05rem;

    margin-bottom: .2rem;

}



.about-points p {

    color: var(--ink-soft);

    font-size: .98rem;

}



/* Call to action */

.cta {

    background: var(--blue);

    color: var(--white);

    text-align: center;

    padding: 4rem 1.25rem;

}



.cta h2 {

    font-size: clamp(1.6rem, 3.5vw, 2.2rem);

    margin-bottom: .6rem;

}



.cta p {

    color: #D5E2F5;

    margin-bottom: 1.5rem;

}



/* ---------- 7. COURSES ---------- */

.filters {

    display: flex;

    flex-wrap: wrap;

    gap: .6rem;

    justify-content: center;

    margin-bottom: 2rem;

}



.filter {

    font: inherit;

    font-weight: 600;

    padding: .5rem 1.2rem;

    border-radius: 999px;

    border: 1.5px solid var(--line);

    background: var(--white);

    color: var(--ink);

    cursor: pointer;

    transition: all .2s;

}



.filter:hover {

    border-color: var(--blue);

}



.filter.active {

    background: var(--ink);

    border-color: var(--ink);

    color: var(--white);

}



.course-container {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 1.25rem;

}



.course-card {

    background: var(--white);

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

    border-radius: var(--radius);

    padding: 1.5rem;

    display: flex;

    flex-direction: column;

    transition: transform .2s, box-shadow .2s;

}



.course-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}



.course-card[hidden] {

    display: none;

}



.course-icon {

    font-size: 1.9rem;

    width: 3.2rem;

    height: 3.2rem;

    display: grid;

    place-items: center;

    background: #EEF3FA;

    border-radius: 10px;

    margin-bottom: 1rem;

}



.course-card h3 {

    font-size: 1.1rem;

    margin-bottom: .4rem;

}



.course-card p {

    color: var(--ink-soft);

    font-size: .98rem;

    flex: 1;

}



.course-tag {

    align-self: flex-start;

    margin-top: 1rem;

    font-size: .82rem;

    font-weight: 700;

    color: var(--blue);

    background: #E3ECF8;

    padding: .2rem .7rem;

    border-radius: 999px;

}



/* ---------- 8. REGISTRATION ---------- */

.register {

    background: linear-gradient(rgba(11, 27, 48, .93), rgba(11, 27, 48, .93)), url("logo.png") left -140px center/620px no-repeat, var(--ink);

    padding: 5rem 1.25rem;

}



.register-inner {

    max-width: 1140px;

    margin: auto;

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 3rem;

    align-items: start;

}



.register-intro {

    color: #D5DEEA;

}



.register-intro h2 {

    color: var(--white);

    font-size: clamp(1.7rem, 3.5vw, 2.4rem);

    margin-bottom: .75rem;

}



.register-intro .section-label {

    color: var(--amber);

}



.register-intro ul {

    margin-top: 1.25rem;

    display: grid;

    gap: .6rem;

}



.register-intro li {

    padding-left: 1.4rem;

    position: relative;

}



.register-intro li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--amber);

    font-weight: 800;

}



.enquiry {

    background: var(--white);

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

    border-radius: var(--radius);

    padding: 1.75rem;

    box-shadow: var(--shadow);

}



.enquiry h3 {

    margin-bottom: 1rem;

}



.enquiry label {

    display: block;

    font-weight: 600;

    font-size: .95rem;

    margin: .9rem 0 .3rem;

}



.enquiry input,

.enquiry select,

.enquiry textarea {

    width: 100%;

    font: inherit;

    padding: .7rem .9rem;

    border: 1.5px solid var(--line);

    border-radius: 8px;

    background: var(--paper);

}



.enquiry textarea {

    resize: vertical;

}



.enquiry input:focus,

.enquiry select:focus,

.enquiry textarea:focus {

    outline: 0;

    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(27, 75, 143, .18);

}



.enquiry .invalid {

    border-color: #C0392B;

}



.enquiry .btn {

    width: 100%;

}



.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0 1rem;

}



.form-grid .full {

    grid-column: 1 / -1;

}



.form-error {

    color: #C0392B;

    font-size: .92rem;

    min-height: 1.4rem;

    margin: .6rem 0 .4rem;

}



.form-success {

    color: #1E7B4A;

    font-weight: 700;

}



.form-note {

    font-size: .85rem;

    color: var(--ink-soft);

    margin-top: .8rem;

    text-align: center;

}



/* ---------- 9. CONTACT + MAP ---------- */

.contact-layout {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 1rem;

}



.contact-card {

    background: var(--white);

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

    border-radius: var(--radius);

    padding: 1.2rem 1.4rem;

}



.contact-card h3 {

    font-size: .95rem;

    color: var(--amber-dark);

    margin-bottom: .25rem;

}



.contact-card a {

    text-decoration: none;

    font-weight: 700;

}



.map-wrap {

    margin-top: 2rem;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: var(--shadow);

}



.map-wrap iframe {

    display: block;

    width: 100%;

    height: 380px;

    border: 0;

}



/* ---------- 10. GALLERY ---------- */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1rem;

}



.g-item {

    margin: 0;

    background: var(--white);

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

    border-radius: var(--radius);

    overflow: hidden;

}



.g-btn {

    display: block;

    width: 100%;

    padding: 0;

    border: 0;

    background: none;

    cursor: zoom-in;

    overflow: hidden;

}



.g-btn img {

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition: transform .3s;

}



.g-btn:hover img {

    transform: scale(1.04);

}



.g-item figcaption {

    padding: .7rem 1rem;

    font-weight: 600;

    font-size: .95rem;

}



.lightbox {

    position: fixed;

    inset: 0;

    z-index: 100;

    background: rgba(8, 18, 32, .92);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 1rem;

    gap: .8rem;

}



.lightbox[hidden] {

    display: none;

}



.lightbox img {

    max-width: min(94vw, 900px);

    max-height: 78vh;

    border-radius: 8px;

}



.lightbox p {

    color: var(--white);

    font-weight: 600;

}



.lightbox-close {

    position: absolute;

    top: 1rem;

    right: 1.2rem;

    font-size: 2.2rem;

    line-height: 1;

    color: var(--white);

    background: none;

    border: 0;

    cursor: pointer;

}



/* ---------- 11. FOOTER + FLOATING BUTTONS ---------- */

footer {

    background: var(--ink);

    color: #C9D4E3;

    text-align: center;

    padding: 3rem 1.25rem 1.5rem;

}



footer h2 {

    color: var(--white);

    font-size: 1.5rem;

    margin-bottom: .3rem;

}



.footer-links {

    display: flex;

    justify-content: center;

    gap: 1.5rem;

    flex-wrap: wrap;

    margin: 1.25rem 0;

}



.footer-links a {

    text-decoration: none;

}



.footer-links a:hover {

    color: var(--amber);

}



footer hr {

    border: 0;

    border-top: 1px solid rgba(255, 255, 255, .15);

    margin: 1.25rem auto;

    max-width: 700px;

}



.copyright {

    font-size: .9rem;

}



.to-top {

    position: fixed;

    right: 1.2rem;

    bottom: 1.2rem;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    border: 0;

    background: var(--amber);

    color: var(--ink);

    font: inherit;

    font-weight: 800;

    display: grid;

    place-items: center;

    cursor: pointer;

    box-shadow: var(--shadow);

    opacity: 0;

    pointer-events: none;

    transition: opacity .25s;

}



.to-top.show {

    opacity: 1;

    pointer-events: auto;

}



.wa-float {

    position: fixed;

    left: 1.2rem;

    bottom: 1.2rem;

    z-index: 60;

    width: 56px;

    height: 56px;

    border-radius: 50%;

    background: #25D366;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);

    transition: transform .25s;

}



.wa-float:hover {

    transform: scale(1.1);

}



/* Scroll reveal (class added by script.js) */

.reveal {

    opacity: 0;

    transform: translateY(24px);

    transition: opacity .6s ease, transform .6s ease;

}



.reveal.visible {

    opacity: 1;

    transform: none;

}



/* ---------- 12. RESPONSIVE ---------- */

@media (max-width: 860px) {



    .register-inner,

    .about {

        grid-template-columns: 1fr;

    }



    .gallery-grid {

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

    }



    .menu-toggle {

        display: block;

    }



    .nav-links {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: var(--ink);

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: .5rem 1.25rem 1.25rem;

        display: none;

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

    }



    .nav-links.open {

        display: flex;

    }



    .nav-links li {

        width: 100%;

        padding: .55rem 0;

    }



    .nav-links .btn {

        display: inline-block;

    }

}



@media (max-width: 768px) {

    .topbar-inner {

        justify-content: center;

        text-align: center;

    }



    .topbar-right {

        justify-content: center;

        gap: 1rem;

    }



    .hide-sm {

        display: none;

    }

}



@media (max-width: 560px) {

    .form-grid {

        grid-template-columns: 1fr;

    }



    .hero {

        padding-top: 3.5rem;

    }



    .hero>.circle-photo {

        opacity: .12;

        right: 50%;

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

        top: 38%;

        width: 300px;

    }



    .hero-content {

        text-align: center;

    }



    .hero h1,

    .tagline,

    .hero-description,

    .hero-actions {

        margin-left: auto;

        margin-right: auto;

        justify-content: center;

    }



    .stats {

        grid-template-columns: 1fr;

    }



    .stats li {

        border-right: 0;

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

    }



    .section {

        padding: 3.5rem 1.25rem;

    }



    .logo {

        font-size: 1.15rem;

    }



    .logo img {

        height: 42px;

    }

}



@media (max-width: 520px) {

    .gallery-grid {

        grid-template-columns: 1fr;

    }

}



@media (prefers-reduced-motion: reduce) {

    * {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }



    .hero-bg .slide:first-child {

        opacity: 1;

    }



    .reveal {

        opacity: 1;

        transform: none;

    }

}

/* ---------- User update: animated blue gradient hero ---------- */
.hero > .hero-bg {
    background: linear-gradient(125deg, #071d49 0%, #123b78 34%, #2866a6 66%, #0a234f 100%);
    background-size: 260% 260%;
    animation: superOxfordGradient 16s ease-in-out infinite;
}

/* Keep the gradient as the hero background; retain the uploaded photos in the gallery. */
.hero-bg .slide { display: none; }

@keyframes superOxfordGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Social links in the footer */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.15rem auto 0;
}
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 40px;
    padding: .55rem .9rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-socials a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.55);
}
.footer-socials svg { width: 17px; height: 17px; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
    .hero > .hero-bg { animation: none; }
    .footer-socials a { transition: none; }
}
