/* General Style */
section {
    padding: 72px 0;
}
.section-title {
    font-size: clamp(2rem, 3vw, 2.65rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}
.text-justify {
    text-align: justify;
}
.hero-section {
    min-height: clamp(560px, 72vh, 720px);
    padding: 110px 0 96px;
}
.hero-section .container {
    position: relative;
}
.hero-section .display-3 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.02;
}
.hero-section .lead {
    max-width: 620px;
}
.hero-section svg {
    height: 74px !important;
}
.hero-kicker,
.hero-title,
.hero-copy,
.hero-image {
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-changing .hero-kicker,
.hero-changing .hero-title,
.hero-changing .hero-copy {
    opacity: 0;
    transform: translateY(14px);
}
.hero-media {
    position: relative;
    width: min(100%, 510px);
    margin-left: auto;
    aspect-ratio: 4 / 3;
    border: 10px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    background: rgba(255,255,255,0.08);
}
.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,35,84,0) 46%, rgba(6,35,84,0.52) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-changing .hero-image {
    opacity: 0.2;
    transform: scale(1.06);
}
.hero-media-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #fff;
    background: rgba(6,35,84,0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
    font-weight: 700;
}
.hero-media-number {
    flex: 0 0 auto;
    color: #ffd84d;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1;
}
.hero-actions .btn,
.premium-btn,
.btn-outline-primary {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.hero-actions .btn:hover,
.premium-btn:hover,
.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 61, 145, 0.16);
}
.home-popup {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 40px);
    background: rgba(6, 35, 84, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 10000;
}
.home-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.home-popup__dialog {
    position: relative;
    width: min(92vw, 720px);
    max-height: 88vh;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    overflow: visible;
    transform: translateY(18px) scale(0.96);
    transition: transform 0.35s ease;
}
.home-popup.is-visible .home-popup__dialog {
    transform: translateY(0) scale(1);
}
.home-popup__image {
    display: block;
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 16px;
}
.home-popup__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 12px 24px rgba(6, 35, 84, 0.28);
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.home-popup__close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.05);
}
.popup-open {
    overflow: hidden;
}
/* Cards */
.modern-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
    border: none;
    overflow: hidden;
    height: 100%;
}
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.modern-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.modern-card:hover img {
    transform: scale(1.1);
}
.card-body {
    padding: 25px;
}
.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(11, 61, 145, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    transition: all var(--transition-speed) ease;
}
.modern-card:hover .icon-box {
    background-color: var(--primary-color);
    color: #fff;
}
