/* ========================================
   BLOOMINGTON UNIVERSITY - Theme CSS
   Global Color Palette & Base Styles
   ======================================== */

/* Google Fonts Import - Outfit & Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Core Colors - Warm Navy & Teal */
    --er-deep: #0d1b2a;
    --er-navy: #1b3a4b;
    --er-teal: #2d6a7a;
    --er-teal-light: #4a9bab;
    --er-gold: #c9a227;
    --er-gold-muted: #b8973f;
    --er-cream: #faf8f5;
    --er-warm-white: #fffcf7;
    --er-text: #2d3748;
    --er-text-light: #64748b;

    /* Extended Color Palette */
    --pd-primary: #1e3a5f;
    --pd-primary-light: #2c5282;
    --pd-accent: #c9a227;
    --pd-accent-light: #d4b545;
    --pd-gradient: linear-gradient(155deg, #1e3a5f 0%, #2c5282 50%, #1e3a5f 100%);
    --pd-gradient-gold: linear-gradient(135deg, #c9a227 0%, #d4b545 100%);
    --pd-glass: rgba(255, 255, 255, 0.1);
    --pd-glass-border: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 1.0625rem; /* 17px - slightly larger for better readability */
    line-height: 1.7;
    color: var(--er-text);
    background: var(--er-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Body scroll lock when mobile menu open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ========================================
   STICKY SECTION NAV
   ======================================== */
.er-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.er-sticky-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.er-sticky-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.er-sticky-nav-inner::-webkit-scrollbar {
    display: none;
}

.er-nav-item {
    position: relative;
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--er-text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.er-nav-item:hover {
    color: var(--er-teal);
}

.er-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--er-teal), #3b82f6);
    border-radius: 2px 2px 0 0;
    transition: width 0.3s ease;
}

.er-nav-item.active {
    color: var(--er-teal);
    font-weight: 600;
}

.er-nav-item.active::after {
    width: calc(100% - 48px);
}

/* Sticky Nav Responsive */
@media (max-width: 768px) {
    .er-sticky-nav-inner {
        justify-content: flex-start;
        padding: 0 12px;
    }
    .er-nav-item {
        padding: 14px 16px;
        font-size: 0.82rem;
    }
}

/* ========================================
   MAIN NAVIGATION - Mega Menu
   ======================================== */
.er-main-nav {
    position: relative;
    z-index: 1000;
    background: var(--er-deep);
    transition: all 0.3s ease;
}

.er-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.er-nav-logo img {
    height: 32px;
    width: auto;
}

.er-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.er-nav-menu > li {
    position: relative;
}

.er-nav-menu > li > a,
.er-nav-menu > li > button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.er-nav-menu > li > a:hover,
.er-nav-menu > li > button:hover,
.er-nav-menu > li.active > button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.er-nav-menu > li > button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.er-nav-menu > li.active > button svg {
    transform: rotate(180deg);
}

.er-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Dropdown */
.er-lang-dropdown {
    position: relative;
}

.er-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.er-lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.er-lang-btn svg {
    width: 16px;
    height: 16px;
}

.er-lang-btn .chevron {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.er-lang-dropdown.active .er-lang-btn .chevron {
    transform: rotate(180deg);
}

.er-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
    z-index: 1001;
}

.er-lang-dropdown.active .er-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.er-lang-menu a {
    display: block;
    padding: 10px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.er-lang-menu a:hover {
    background: #f1f5f9;
    color: #0d1b2a;
}

.er-lang-menu a.active {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
    color: var(--er-gold);
    font-weight: 600;
}

/* Hide Google Translate Widget UI */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate {
    display: none !important;
}

/* Sign In Button */
.er-nav-signin {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.er-nav-signin svg {
    width: 16px;
    height: 16px;
}

.er-nav-signin:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Apply Now Button */
.er-nav-apply {
    background: linear-gradient(135deg, #c9a227, #b8973f);
    color: #0d1b2a;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.er-nav-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

/* ========================================
   MEGA MENU DROPDOWN
   ======================================== */
.er-mega-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.er-mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.er-mega-inner {
    max-width: 1450px;
    margin: 0 auto;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

/* Mega Menu Left - Intro */
.er-mega-intro {
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.er-mega-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 4px;
}

.er-mega-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 16px;
    font-style: italic;
}

.er-mega-desc {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 24px;
}

.er-mega-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.2s ease;
}

.er-mega-section-link:hover {
    gap: 12px;
}

.er-mega-section-link svg {
    width: 16px;
    height: 16px;
}

/* Mega Menu Right - Columns */
.er-mega-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.er-mega-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each menu group within a column */
.er-mega-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Bold heading link with arrow */
.er-mega-group > a.er-mega-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d1b2a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.er-mega-group > a.er-mega-heading::after {
    content: '→';
    color: #dc2626;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.er-mega-group > a.er-mega-heading:hover {
    color: #dc2626;
}

.er-mega-group > a.er-mega-heading:hover::after {
    transform: translateX(3px);
}

/* Sub-items below heading */
.er-mega-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.er-mega-group ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.er-mega-group ul li a:hover {
    color: #0d1b2a;
}

/* ========================================
   MOBILE NAV TOGGLE - Hamburger
   ======================================== */
.er-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
}

.er-nav-toggle .hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.er-nav-toggle .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.er-nav-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.er-nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.er-nav-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.er-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.er-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Hide mobile apply on desktop */
.mobile-only-apply {
    display: none;
}

/* ========================================
   MOBILE NAVIGATION - Responsive
   ======================================== */
@media (max-width: 1024px) {
    .er-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .er-nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(180deg, #0d1b2a 0%, #1b3a4b 100%);
        flex-direction: column;
        padding: 80px 0 30px;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .er-nav-menu.mobile-open {
        right: 0;
    }

    .er-nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .er-nav-menu > li > a,
    .er-nav-menu > li > button {
        width: 100%;
        justify-content: space-between;
        padding: 18px 24px;
        font-size: 1rem;
        font-weight: 500;
    }

    .er-nav-menu > li > button svg {
        transition: transform 0.3s ease;
    }

    .er-nav-menu > li.has-mega.mobile-expanded > button svg {
        transform: rotate(180deg);
    }

    .er-nav-actions {
        gap: 8px;
    }

    .er-lang-dropdown,
    .er-nav-signin {
        display: none;
    }

    .er-nav-apply {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Mobile Mega Menu - Accordion Style */
    .er-mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        animation: none;
        background: rgba(0, 0, 0, 0.15);
    }

    .er-mega-menu.mobile-open {
        display: block;
    }

    .er-mega-inner {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .er-mega-intro {
        display: none;
    }

    .er-mega-columns {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }

    .er-mega-column {
        gap: 0;
    }

    .er-mega-group {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 0;
    }

    .er-mega-group > a.er-mega-heading {
        color: #fff;
        padding: 14px 32px;
        font-size: 0.9rem;
        width: 100%;
    }

    .er-mega-group > a.er-mega-heading::after {
        color: var(--er-gold);
    }

    .er-mega-group > a.er-mega-heading:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--er-gold);
    }

    .er-mega-group ul {
        padding: 0 0 12px 32px;
        gap: 8px;
    }

    .er-mega-group ul li a {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 16px;
        display: block;
        font-size: 0.85rem;
    }

    .er-mega-group ul li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }

    /* Mobile Apply Button */
    .er-nav-menu::after {
        content: '';
        display: block;
        padding: 20px 24px;
    }

    .er-mobile-apply {
        display: block;
        margin: 20px 24px;
        padding: 14px 24px;
        background: linear-gradient(135deg, var(--er-gold), #d4a82a);
        color: #0d1b2a;
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        border-radius: 8px;
        font-size: 1rem;
    }

    .mobile-only-apply {
        display: block;
        padding: 20px 24px !important;
        border-bottom: none !important;
    }
}

@media (max-width: 576px) {
    .er-nav-menu {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
}

/* ========================================
   CONNECT WITH US SECTION
   ======================================== */
.bu-connect-section {
    background: #f5f5f5;
    padding: 50px 0;
}
.bu-connect-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}
.bu-connect-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--er-deep);
    margin: 0 0 8px;
    line-height: 1.3;
}
.bu-connect-content h2 span {
    display: block;
    color: var(--er-gold);
}
.bu-connect-content p {
    font-size: 1rem;
    color: var(--er-text-light);
    line-height: 1.7;
    margin: 0;
}
.bu-connect-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.bu-connect-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bu-connect-form .form-group.full-width {
    grid-column: 1 / -1;
}
.bu-connect-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--er-deep);
}
.bu-connect-form input,
.bu-connect-form select {
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    transition: all 0.3s ease;
}
.bu-connect-form input:focus,
.bu-connect-form select:focus {
    outline: none;
    border-color: var(--er-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.bu-connect-form input::placeholder {
    color: #aaa;
}
.bu-connect-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    grid-column: 1 / -1;
}
.bu-connect-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--er-gold);
}
.bu-connect-checkbox label {
    font-size: 0.85rem;
    color: var(--er-text-light);
    font-weight: 400;
}
.bu-connect-submit {
    grid-column: 1 / -1;
}
.bu-connect-submit button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--er-deep);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bu-connect-submit button:hover {
    background: var(--er-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}
.bu-connect-submit button svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 900px) {
    .bu-connect-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .bu-connect-section {
        padding: 60px 0;
    }
    .bu-connect-container {
        padding: 0 20px;
    }
    .bu-connect-content h2 {
        font-size: 1.8rem;
    }
    .bu-connect-form {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.er-footer {
    background: linear-gradient(180deg, #0a1628 0%, #0d1b2a 100%);
    color: #fff;
    padding: 80px 0 0;
    position: relative;
}

.er-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.er-footer-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 24px;
}

.er-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .er-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .er-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Footer Column 1 - Brand */
.er-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.er-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.er-footer-logo img {
    height: 50px;
    width: auto;
}

.er-footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.er-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.er-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.er-footer-contact-item.highlight {
    color: #FFC53A;
}

.er-footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer Columns */
.er-footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.er-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.er-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.er-footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* Newsletter */
.er-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.er-footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.er-footer-newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.er-footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.er-footer-newsletter-input:focus {
    border-color: var(--er-teal);
    background: rgba(255, 255, 255, 0.15);
}

.er-footer-newsletter-btn {
    background: linear-gradient(135deg, var(--er-teal), var(--er-navy));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.er-footer-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 106, 122, 0.4);
}

.er-footer-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.er-footer-newsletter-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--er-teal);
}

.er-footer-newsletter-consent label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Back to top */
.er-footer-back-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.er-back-top-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.er-back-top-btn:hover {
    color: #fff;
}

.er-back-top-btn .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.er-back-top-btn:hover .icon-circle {
    background: var(--er-teal);
}

.er-back-top-btn svg {
    width: 16px;
    height: 16px;
}

/* Copyright */
.er-footer-copyright {
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.er-footer-copyright-left,
.er-footer-copyright-right {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.er-footer-copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.er-footer-copyright a:hover {
    color: #fff;
}

.er-footer-copyright-right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.er-footer-copyright-right span {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .er-footer-copyright {
        flex-direction: column;
        text-align: center;
    }
    .er-footer-copyright-right {
        justify-content: center;
    }
    .er-footer-back-top {
        justify-content: center;
    }
}

