/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background-color: #1a5565;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    transition: background-color 0.25s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #0f3a47;
    transform: translateY(-1px);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background-color: #8a7355;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    transition: background-color 0.25s, transform 0.2s;
}

.btn-accent:hover {
    background-color: #6b5840;
    transform: translateY(-1px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    transition: border-color 0.25s, background-color 0.25s;
}

.btn-outline-white:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon {
    color: #1f2937;
    transition: .3s;
}

.social-icon:hover {
    color: #f59e0b;
}

/* Hero Section */
.hero-section {
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.hero-section:active {
    cursor: grabbing;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 7s linear;
}

.hero-slide.active img {
    transform: scale(1.08);
}

/* Dark overlay */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .60) 0%,
            rgba(0, 0, 0, .35) 45%,
            rgba(0, 0, 0, .15) 100%);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
    transition-delay: .35s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: .3s;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* Section titles */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a5565;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.75rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8a7355, #1a5565);
    border-radius: 2px;
}

.section-title.left {
    text-align: left;
}

.section-title.left::after {
    left: 0;
    transform: translateX(0);
}

/* Hero */
.hero-overlay {
    background: linear-gradient(135deg,
            rgba(15, 58, 71, 0.85) 0%,
            rgba(26, 85, 101, 0.65) 50%,
            rgba(26, 85, 101, 0.4) 100%);
}

.hero-dot {
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.hero-dot.active {
    transform: scale(1.2);
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.7s ease forwards;
    opacity: 0;
}

.animation-delay-1 {
    animation-delay: 0.15s;
}

.animation-delay-2 {
    animation-delay: 0.3s;
}

/* Navigation */
.site-header {
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 85, 101, 0.12);
}

.nav-link.active {
    color: #8a7355;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-top: 3px solid #8a7355;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    z-index: 100;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.social-icon {
    color: #6d7d82;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #1a5565;
}

.region-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236d7d82'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1rem;
    padding-right: 1.25rem;
}

/* Solution cards */
.solution-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 85, 101, 0.12);
}

/* Industry cards */
.industry-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(26, 85, 101, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.industry-card:hover .industry-icon-wrap {
    background: #1a5565;
    border-color: #1a5565;
    transform: scale(1.08);
}

/* Resource cards */
.resource-card .resource-thumb {
    position: relative;
    overflow: hidden;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #0f3a47 0%, #1a5565 60%, #2a7080 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Mobile menu */
.mobile-menu {
    transition: max-height 0.35s ease;
}

.mobile-accordion-trigger.active svg {
    transform: rotate(180deg);
}

/* Mobile nav open state */
body.menu-open {
    overflow: hidden;
}

/* Content blocks */
.content-block {
    scroll-margin-top: 6rem;
}

.prose-custom p {
    color: #6d7d82;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.prose-custom h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a5565;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Brand cards */
.brand-card {
    border: 1px solid rgba(26, 85, 101, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.brand-card:hover {
    border-color: #8a7355;
    box-shadow: 0 8px 24px rgba(26, 85, 101, 0.1);
    transform: translateY(-3px);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #8a7355;
    outline-offset: 2px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.solution-desc {
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.4em;
}

article {
    transition: transform 0.3s;
}

article:hover {
    transform: translateY(-6px);
}

/* Solution Swiper */
.solutionsSwiper .swiper-pagination {
    position: relative;
    bottom: auto;
    top: auto;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.solutionsSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8a7355, #1a5565);
    opacity: 0.22;
    transition: all 0.3s ease;
}

.solutionsSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    background: linear-gradient(90deg, #8a7355, #1a5565);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}