html {
  font-size: 14px;
  scroll-behavior: smooth;
}

:root {
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
    --bs-box-shadow-sm: var(--shadow-soft) !important;   
}


.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom styles for JHMZ */
:root {
    --primary-color: #1e3a8a;      /* Deep blue */
    --secondary-color: #f59e0b;    /* Amber/Gold */
    --accent-color: #06b6d4;       /* Cyan */
    --dark-color: #1f2937;         /* Dark gray */
    --light-color: #f2f5f7;        /* Light gray */
    --text-primary: #1f2937;       /* Dark text */
    --text-secondary: #6b7280;     /* Muted text */
    --success-color: #10b981;      /* Emerald */
    --orange-color: #ff7e1b;       /* Orange - for Školení button */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-orange: #eb6709;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.09);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

a {
    outline: 0 !important;
    transition: none !important;
}

.btn {
    transition: none !important;
}

.icon-margin {
    margin-right: 0.75rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d3a8f 55%, #203791 100%);
    color: white;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section__wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
}

.hero-section__wrapper__text {
    grid-row: 1;
    grid-column: 1;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.hero-section__wrapper__buttons {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    padding-top: 0 !important;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-section__wrapper__countdown {
    grid-row: 1/3;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: rgb(var(--bs-warning-rgb));
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    max-width: 90%;
}

.hero-buttons .btn {
    padding: 1rem 2rem !important;
    white-space: nowrap;
}

/* Countdown card styling */
.countdown-card {
    background-color: rgba(30, 58, 138, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    z-index: 0;
}

.countdown-card + .countdown-card {
    width: 100%;
    margin-top: 1rem;
}

.countdown-card-inner {
    padding: 1.8rem;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.countdown-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.countdown-header::after {
    display: none;
}

.countdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.66rem;
    background-color: #2d3a8f;
}

.countdown-icon i {
    font-size: 1.25rem;
    color: rgb(var(--bs-warning-rgb));
}

.countdown-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.countdown-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    text-align: center;
    position: relative;
}

.countdown-value {
    background-color: #2d3a8f;
    padding: 0.8rem 0.5rem;
    border-radius: 8px;
    min-width: 70px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.countdown-value::after {
    display: none;
}

.countdown-value span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    display: block;
    position: relative;
    z-index: 2;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.countdown-divider {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    align-self: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    flex-shrink: 0;
    margin-top: -2rem;
}

.countdown-footer {
    margin-top: 1.2rem;
    position: relative;
}

.countdown-footer .badge {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.66rem 1.5rem !important;
    border-radius: 50px;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white !important;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:focus,
.btn-outline-light:hover,
.btn-outline-light:active {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
    box-shadow: none !important;
}

.change-box {
    border-left: 5px solid var(--secondary-color);
    background: white;
    box-shadow: var(--shadow-soft);
    border-radius: 5px !important;
    padding: 2rem !important;
}

.change-box i {
    font-size: 1.5rem !important;
}

.change-box h3 {
    font-size: 1.25rem;
}

.change-box .fas {
    color: var(--primary-color);
}

.change-box h4 {
    color: var(--text-primary);
    font-weight: 600;
}

.change-box p {
    color: var(--text-secondary);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link:active::after {
    width: 100%;
}

.nav-link.nav-link-highlight {
    color: white !important;
    background: var(--gradient-orange);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem !important;
    margin-left: 1rem;
    margin-right: 0;
    box-shadow: 0 4px 10px rgba(235, 103, 9, 0.25);
}

.nav-link.nav-link-highlight:focus,
.nav-link.nav-link-highlight:hover,
.nav-link.nav-link-highlight:active {
    background: var(--orange-color);
    color: white !important;
    box-shadow: 0 5px 15px rgba(235, 103, 9, 0.4);
}

.nav-link.nav-link-highlight::after {
    display: none !important;
}

.nav-link:focus-visible {
  outline: 0;
  box-shadow: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--primary-color) !important;
    padding: 0;
}

.navbar-brand i {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-right: 16px !important;
}

.navbar-brand-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.navbar-brand-subtitle {
    font-size: 0.7rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-top: 2px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    height: 5rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient-orange);
    border: 1px solid var(--orange-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(235, 103, 9, 0.3);
    color: white;
}

.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active {
    background: var(--orange-color) !important;
    border-color: var(--orange-color) !important;
    box-shadow: 0 8px 20px rgba(235, 103, 9, 0.4) !important;
    color: white !important;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.btn-light:focus, 
.btn-light:hover,
.btn-light:active {
    background: white;
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-light {
    background: var(--light-color) !important;
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border-radius: 5px !important;
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

.card-header {
    border: none;
    font-weight: 600;
    padding: 1.1rem 2rem;
}


.card-header h3 {
    font-size: 1.2rem;
}

.card-header.bg-primary {
    background: var(--gradient-primary) !important;
}

.card-header.bg-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%) !important;
}

.card-body {
    padding: 1.5rem 2rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer {
    background: var(--dark-color) !important;
    color: white;
    border-top: none;
    position: relative;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h3 {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer__contact {
    margin-left: auto;
    margin-right: 0;
}

.footer__contact a {
    color: rgba(255,255,255,.5)!important;
}

.footer__contact a:focus,
.footer__contact a:hover,
.footer__contact a:active {
    color: rgba(255,255,255,1)!important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-icon:focus,
.social-icon:hover,
.social-icon:active {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* Section styling */
section {
    position: relative;
    scroll-margin-top: 5rem;
}

section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

section .lead {
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* Links styling */
a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

a:focus,
a:hover,
a:active {
    color: var(--primary-color);
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Training cards styles */
.training-card {
    transition: all 0.3s ease;
    position: relative;
    border-left: 5px solid var(--secondary-color);
}

.training-card:focus,
.training-card:hover,
.training-card:active {
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.5) !important;
    border-left: 5px solid var(--primary-color);
}

.training-card .card-body {
    padding: 2rem;
}

.training-card .card-title {
    color: var(--bs-link-color) !important;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1rem !important;
    transition: none;
}

.training-card .card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-color) !important;
}

.training-card .event-info {
    display: flex;
    justify-content: space-between;
}

.training-card .event-detail {
    color: var(--dark-color) !important;
    margin-bottom: 0 !important;
}

.training-card .event-button {
    align-self: flex-end;
}

.training-card a {
    color: inherit;
}

.training-card:focus .card-title,
.training-card:hover .card-title,
.training-card:active .card-title {
    color: var(--primary-color) !important;
}

.training-card .fas.fa-arrow-right {
    transition: transform 0.3s ease;
}

.training-card .position-absolute .btn {
    z-index: 10;
    position: relative;
}

.other-courses-button {
    min-width: 33.33%;
    font-size: 1rem;
    border-width: 2px;
    letter-spacing: 0.02em;

}

.other-courses-button:focus,
.other-courses-button:hover,
.other-courses-button:active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
}

/* Custom collapse animation speed override */
.collapsing {
    transition: height 0.25s ease !important;
}

.collapsing.collapse-horizontal {
    transition: width 0.25s ease !important;
}

/* Responsive adjustments */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons .btn {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem !important;
    }
}

@media (max-width: 1199px) {
    .hero-section__wrapper__countdown {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
    }

    .hero-section__wrapper__buttons {
        grid-column: 1 / 3;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .countdown-icon {
        width: 40px;
        height: 40px;
    }

    .countdown-icon i {
        font-size: 1.3rem;
    }

    .countdown-title {
        font-size: 1.3rem;
    }

    .countdown-item {
        width: 100%;
    }
    
    .seconds-divider {
        display: none;
    }

    .seconds-divider + .countdown-item {
        width: 0;
        visibility: hidden;
    }
    
}

@media (min-width: 991px) {
    .navbar-nav {
        width: auto;
        padding: 0;
        margin-right: 0;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .hero-section__wrapper {
        grid-template-columns: 1fr;
    }

    .hero-section__wrapper__buttons {
        grid-column: 1;
        grid-row: 2;
        margin-top: 1.5rem !important;
        padding-bottom: 3rem !important;
    }

    .hero-section__wrapper__countdown {
        grid-column: 1;
        grid-row: 3;
    }

    .hero-section {
        min-height: auto;
        padding: 76px 0 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .countdown-card {
        width: 100%;
        max-width: none;
    }

    .countdown-value {
        min-width: 0;
    }
    
    .seconds-divider {
        display: block;
    }
    
    .seconds-divider + .countdown-item {
        width: 100%;
        visibility: visible;
    }

    /* Mobile navbar fixes */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border-radius: 0.375rem;
        transition: box-shadow 0.15s ease-in-out;
    }
    
    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
    }
    
    .navbar-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 58, 138, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
    
    .navbar-collapse {
        background: white;
        width: 100%;
        position: absolute;
        top: 5rem;
        left: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        border-radius: 8px;
        padding: 0.66rem 1rem;
        margin: 0 -1rem;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(30, 58, 138, 0.05);
        color: var(--primary-color) !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .nav-link.nav-link-highlight {
        margin: 0.66rem 0 !important;
        text-align: center;
        background: var(--gradient-orange) !important;
        color: white !important;
        border-radius: 50px !important;
    }
    
    .nav-link.nav-link-highlight:hover {
        background: var(--orange-color) !important;
        color: white !important;
        transform: none;
    }

    .change-box-wrapper {
        width: 100%;
    }

    .faq-row {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .other-courses-button {
        min-width: 50%;
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
    .training-card .d-flex.flex-wrap {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .training-card .card-body {
        padding-right: 1.5rem;
    }
    
    .training-card .position-absolute {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        text-align: center;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    section .lead {
        margin-bottom: -1rem;
    }
    
    .training-card .event-info {
        flex-direction: column;
        gap: 1rem;
    }

    .training-card .event-button,
    .training-card .event-button .btn {
        width: 100%;
    }

    .other-courses-button {
        width: 100%;
    }
}

@media screen and (hover: none) {

    .training-card:hover:not(:active) {
        box-shadow: var(--bs-box-shadow-sm) !important;
        border-color: var(--secondary-color) !important;
    }

    .training-card:hover:not(:active) .card-title {
        color: var(--bs-link-color) !important;
    }

    .faq-question button:hover:not(:active) {
        color: var(--bs-link-color) !important;
    }

    .faq-question button:hover:not(:active) .faq-icon {
        color: var(--secondary-color) !important;
    }

    .faq-item:has(button:hover:not(:active)) {
        box-shadow: var(--bs-box-shadow-sm)!important;
    }
}

/* Share Section Styles - Kompaktní verze */
.share-buttons-compact {
    margin-top: 1rem;
    gap: 0.66rem;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-share-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.25rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-share-compact:focus,
.btn-share-compact:hover,
.btn-share-compact:active {
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.5) !important;
    outline: none;
}

.btn-share-compact.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-share-compact.btn-linkedin:focus,
.btn-share-compact.btn-linkedin:hover,
.btn-share-compact.btn-linkedin:active {
    background-color: #005885;
}

.btn-share-compact.btn-facebook {
    background-color: #1877f2;
    color: white;
}

.btn-share-compact.btn-facebook:focus,
.btn-share-compact.btn-facebook:hover,
.btn-share-compact.btn-facebook:active {
    background-color: #0d5fc4;
}

.btn-share-compact.btn-twitter {
    background-color: #000000;
    color: white;
}

.btn-share-compact.btn-twitter:focus,
.btn-share-compact.btn-facebook:hover,
.btn-share-compact.btn-facebook:active {
    background-color: #333333;
}

.btn-share-compact.btn-email {
    background-color: #dc3545;
    color: white;
}

.btn-share-compact.btn-email:focus,
.btn-share-compact.btn-email:hover,
.btn-share-compact.btn-email:active {
    background-color: #bb2d3b;
}

.btn-share-compact.btn-copy {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-share-compact.btn-copy:focus,
.btn-share-compact.btn-copy:hover,
.btn-share-compact.btn-copy:active {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.copy-notification {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: fadeInOut 1.5s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Footer Share Section Styles */
.footer-share-section {
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-footer-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
}

.btn-footer-share:focus,
.btn-footer-share:hover,
.btn-footer-share:active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.btn-footer-share.btn-footer-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-footer-share.btn-footer-linkedin:focus,
.btn-footer-share.btn-footer-linkedin:hover,
.btn-footer-share.btn-footer-linkedin:active {
    background-color: #005885;
    color: white;
}

.btn-footer-share.btn-footer-facebook {
    background-color: #1877f2;
    color: white;
}

.btn-footer-share.btn-footer-facebook:focus,
.btn-footer-share.btn-footer-facebook:hover,
.btn-footer-share.btn-footer-facebook:active {
    background-color: #0d5fc4;
    color: white;
}

.btn-footer-share.btn-footer-twitter {
    background-color: #000000;
    color: white;
}

.btn-footer-share.btn-footer-twitter:focus,
.btn-footer-share.btn-footer-twitter:hover,
.btn-footer-share.btn-footer-twitter:active {
    background-color: #333333;
    color: white;
}

.btn-footer-share.btn-footer-email {
    background-color: #dc3545;
    color: white;
}

.btn-footer-share.btn-footer-email:hover {
    background-color: #bb2d3b;
    color: white;
}

.btn-footer-share.btn-footer-copy {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-footer-share.btn-footer-copy:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.footer-copy-notification {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: fadeInOut 2s ease-in-out;
}

/* Mobile responsive for footer share buttons */
@media (max-width: 768px) {   
    .btn-footer-share {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .footer-share-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .btn-footer-share {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }
    
    .footer-copy-notification {
        justify-content: center;
        position: absolute;
        bottom: 0.5rem;
        right: 1rem;
    }
}

.section--changes {
    border-bottom: 2px solid white;
}

.faq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: -1rem;
}

.faq-container {
    max-width: 100%;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--bs-box-shadow-sm)!important;
}

.faq-item:has(button:focus),
.faq-item:has(button:hover),
.faq-item:has(button:active){
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.5) !important;
}

.faq-question button {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0% !important;
    color: var(--bs-link-color);
    position: relative;
    padding: 1.25rem 2rem !important;
}

.faq-question button:focus,
.faq-question button:hover,
.faq-question button:active {
    color: var(--primary-color);
}

.faq-icon {
    color: var(--secondary-color);
    transition: transform 0.2s ease;
    font-size: 1.25rem;
    margin-right: 0.66rem !important;
}

.faq-question button:focus .faq-icon,
.faq-question button:hover .faq-icon,
.faq-question button:active .faq-icon {
    color: var(--primary-color);
}

.faq-item .card-body {
    padding: 2rem 2rem;
    border-radius: 0 !important;
}

.faq-item .card-body p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Smooth animation for FAQ collapse */
.faq-item .collapse {
    transition: all 0.3s ease;
}