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

:root {
    --bg-color: #a3afb1;
    --dark-block: #293a37;
    --text-dark: #293a37;
    --text-light: #ffffff;
    --text-white: #ffffff;
    --accent: #4A90E2;
    --transition: all 0.3s ease;
}

body {
    font-family: Inter, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.01rem;
    overflow-x: hidden;
    height: 100vh;
}

.disclaimer {
    background-color: rgba(26, 32, 37, 0.9);
    color: var(--text-white);
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-wrapper {
    display: flex;
    height: calc(100vh - 53px);
    position: relative;
}

.header {
    position: fixed;
    left: 0;
    top: 53px;
    height: calc(100vh - 53px);
    width: 20vw;
    min-width: 200px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5vw;
    padding-top: 12vh;
    z-index: 999;
    background-color: transparent;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    margin-left: 0;
    margin-bottom: 2.5rem;
    display: block;
    opacity: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: -0.01rem;
    line-height: 1.4;
    position: relative;
}

.nav-item:hover .nav-link {
    color: var(--text-white);
    opacity: 1;
    background-color: var(--dark-block);
    padding: 0.5rem 1rem;
    margin-left: 0;
    border-radius: 0;
    display: block;
}

.nav-link.active {
    color: var(--text-white);
    opacity: 1;
}

.main-container {
    flex: 1;
    margin-left: 20vw;
    max-width: calc(100% - 20vw);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vw;
    min-height: calc(100vh - 53px);
}

@media (min-width: 1440px) {
    .main-container {
        margin-left: 280px;
        max-width: calc(100% - 280px);
    }
}

.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.content-block {
    background-color: var(--dark-block);
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 133px);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(41, 58, 55, 0.9) 0%, rgba(41, 58, 55, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

.content-inner {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5vw;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* Content always visible */

.content-inner::-webkit-scrollbar {
    width: 8px;
}

.content-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.content-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.content-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-title-wrapper {
    position: relative;
    margin-bottom: 4rem;
    height: auto;
    min-height: 30vh;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 2rem 0;
}

/* Override for animated state - wrapper becomes visible */
.hero-title-wrapper.fade-in-ready.animate {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make sure all title elements inside animated wrapper are visible */
.hero-title-wrapper.fade-in-ready.animate h1 {
    visibility: visible !important;
}

/* Main title should be fully visible */
.hero-title-wrapper.fade-in-ready.animate .page-title.hero-title-main {
    opacity: 1 !important;
}

/* Shadows should appear with the main title */
.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow,
.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom,
.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom-2 {
    opacity: 1 !important;
    transition: opacity 0.8s ease;
}

/* After transition, set correct opacity for shadows */
.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow {
    opacity: 0.4 !important;
}

.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom {
    opacity: 0.4 !important;
}

.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom-2 {
    opacity: 0.25 !important;
}


.hero-title-wrapper h1 {
    white-space: nowrap;
    width: 100%;
    text-align: center;
    min-height: 1em;
    visibility: visible;
}

.hero-title-wrapper h1 span {
    display: inline-block;
    min-width: 1px;
    min-height: 1em;
}

.hero-title {
    display: none;
}

.page-title.hero-title-main {
    font-size: 8vw;
    margin: 0 auto;
    padding: 0;
    color: var(--text-white) !important;
    position: relative;
    top: -1.5vw;
    z-index: 3;
    font-family: 'Inter Display', sans-serif;
    font-weight: 700;
    letter-spacing: -0.3vw;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15), 0 0 60px rgba(255, 255, 255, 0.08), 0 0 100px rgba(255, 255, 255, 0.05);
    text-align: center;
    display: block !important;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Override for animated state */
.hero-title-wrapper.fade-in-ready.animate .page-title.hero-title-main {
    opacity: 1 !important;
    visibility: visible !important;
}


.hero-title-shadow {
    font-size: 8.5vw;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-white);
    position: absolute;
    top: -2vw;
    left: 50%;
    z-index: 1;
    font-family: 'Inter Display', sans-serif;
    font-weight: 700;
    letter-spacing: -0.32vw;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(0 0 60% 0);
    text-align: center;
    transform: translateX(-50%);
    visibility: visible;
    display: block;
    transition: opacity 0.8s ease;
}

.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow {
    opacity: 0.4;
}


.hero-title-shadow-bottom {
    font-size: 8.5vw;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-white);
    position: absolute;
    top: 2vw;
    left: 50%;
    z-index: 1;
    font-family: 'Inter Display', sans-serif;
    font-weight: 700;
    letter-spacing: -0.32vw;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(60% 0 0 0);
    text-align: center;
    transform: translateX(-50%);
    visibility: visible;
    display: block;
    transition: opacity 0.8s ease;
}

.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom {
    opacity: 0.4;
}

.hero-title-shadow-bottom-2 {
    font-size: 9vw;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-white);
    position: absolute;
    top: 3.5vw;
    left: 50%;
    z-index: 0;
    font-family: 'Inter Display', sans-serif;
    font-weight: 700;
    letter-spacing: -0.34vw;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(75% 0 0 0);
    text-align: center;
    transform: translateX(-50%);
    visibility: visible;
    display: block;
    transition: opacity 0.8s ease;
}

.hero-title-wrapper.fade-in-ready.animate .hero-title-shadow-bottom-2 {
    opacity: 0.25;
}


/* Page Load Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state - elements are hidden */
.fade-in-ready {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity;
}

.fade-in-ready.animate {
    animation: fadeIn 0.8s ease forwards;
    opacity: 1 !important;
}

/* Fallback: show elements after 1 second if no animation triggered */
@keyframes fadeInFallback {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-ready:not(.animate) {
    animation: fadeInFallback 0.8s ease 1s forwards;
}

.slide-up-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.slide-up-ready.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Fallback: show elements after 1.5 seconds if no animation triggered */
@keyframes fadeInUpFallback {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up-ready:not(.animate) {
    animation: fadeInUpFallback 0.8s ease 1.5s forwards;
}

.slide-down-ready {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-down-ready.animate {
    animation: fadeInDown 0.6s ease forwards;
}

/* Latest News Section */
.latest-news-section {
    margin-top: 8rem;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.latest-news-title {
    font-size: 6vw;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -0.1vw;
    font-family: 'Inter Display', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

.latest-news-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.latest-news-title a:hover {
    opacity: 0.8;
}

.latest-news-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.latest-news-carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-line {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: scrollText 40s linear infinite;
}

.carousel-item {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-white);
    opacity: 0.7;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02rem;
}

.carousel-item a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Pause animation on hover */
.latest-news-carousel:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for latest news section */
@media (max-width: 1024px) {
    .latest-news-title {
        font-size: 8vw;
    }
}

@media (max-width: 768px) {
    .latest-news-section {
        margin-top: 6rem;
        margin-bottom: 3rem;
        gap: 2rem;
    }
    
    .latest-news-title {
        font-size: 10vw;
        margin-bottom: 1.5rem;
    }
    
    .carousel-item {
        font-size: 0.875rem;
    }
    
    .carousel-track {
        gap: 2rem;
    }
}

/* Services Hover Section */
.services-hover-section {
    margin-top: 8rem;
    margin-bottom: 4rem;
    width: 100%;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 8rem;
    align-items: start;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image-content {
    position: sticky;
    top: 5vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.service-description {
    color: var(--text-white);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-list-header {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.service-list-item.active,
.service-list-item:hover {
    background-color: rgba(255, 255, 255, 1);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.service-list-item.active .service-list-header,
.service-list-item:hover .service-list-header {
    color: #000;
}

.service-image {
    transition: opacity 0.4s ease;
}

.service-image.fade-out {
    opacity: 0;
}

.service-description-text {
    transition: opacity 0.3s ease;
}

.service-description-text.fade-out {
    opacity: 0;
}

@media (max-width: 991px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .service-image-content {
        position: relative;
        top: auto;
        order: -1;
    }

    .service-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .services-hover-section {
        margin-top: 6rem;
        margin-bottom: 3rem;
    }

    .service-item {
        margin-bottom: 4rem;
        gap: 2rem;
    }

    .service-list-header {
        font-size: 1.125rem;
    }

    .service-list-details p {
        font-size: 0.875rem;
    }
}

/* Articles CTA Section */
.articles-cta-section {
    margin-top: 8rem;
    margin-bottom: 4rem;
    width: 100%;
}

.articles-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.articles-cta-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.articles-cta-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 1);
    min-height: 500px;
    justify-content: center;
}

.articles-cta-title {
    font-size: 3.5vw;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.1vw;
    line-height: 1.2;
    margin: 0;
}

.articles-cta-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.articles-cta-subdescription {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.articles-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.articles-cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .articles-cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .articles-cta-image {
        order: 2;
        min-height: 400px;
    }

    .articles-cta-content {
        order: 1;
    }

    .articles-cta-title {
        font-size: 6vw;
    }
}

@media (max-width: 768px) {
    .articles-cta-section {
        margin-top: 6rem;
        margin-bottom: 3rem;
    }

    .articles-cta-container {
        gap: 0;
    }

    .articles-cta-image {
        min-height: 300px;
    }

    .articles-cta-content {
        padding: 1.5rem;
    }

    .articles-cta-title {
        font-size: 8vw;
    }

    .articles-cta-description {
        font-size: 0.9375rem;
    }

    .articles-cta-subdescription {
        font-size: 0.875rem;
    }

    .articles-cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
}

.page-title {
    font-size: 6.4vw;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-white);
    position: relative;
    z-index: 10;
    font-family: 'Inter Display', sans-serif;
    font-weight: 500;
    letter-spacing: -0.24vw;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Hero style - initial state on legal pages */
/* Animation styles removed - content always visible */

/* Articles Hero Section */
.articles-hero-wrapper {
    position: relative;
    width: calc(100% + 10vw);
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    margin-top: -5vw;
    margin-left: -5vw;
    margin-right: -5vw;
}

.articles-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.articles-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.articles-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.articles-hero-title {
    font-size: 12vw;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.2vw;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 0;
    opacity: 0.95;
}

@media (min-width: 1440px) {
    .articles-hero-title {
        font-size: 172px;
    }
}

@media (max-width: 991px) {
    .articles-hero-wrapper {
        width: calc(100% + 8rem);
        margin-left: -4rem;
        margin-right: -4rem;
    }
}

@media (max-width: 768px) {
    .articles-hero-wrapper {
        width: calc(100% + 5rem);
        margin-left: -2.5rem;
        margin-right: -2.5rem;
        min-height: 400px;
        height: 50vh;
        margin-bottom: 3rem;
        margin-top: -3rem;
    }

    .articles-hero-title {
        font-size: 15vw;
    }
}

@media (max-width: 479px) {
    .articles-hero-wrapper {
        width: calc(100% + 2.5rem);
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        min-height: 300px;
        height: 40vh;
        margin-bottom: 2rem;
        margin-top: -1.25rem;
    }

    .articles-hero-title {
        font-size: 18vw;
    }
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    background-color: #f5f5f5;
    border-radius: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 400px;
}

.article-card:hover {
    transform: scale(1.02);
    z-index: 1;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    font-family: 'Inter Display', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.05rem;
}

.article-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Article Page Header */
.article-header {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-breadcrumb {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-family: 'Inter Display', sans-serif;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--text-white);
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.article-main-title {
    font-size: 5vw;
    font-weight: 700;
    color: var(--text-white);
    font-family: 'Inter Display', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.05vw;
    margin: 0;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1440px) {
    .article-main-title {
        font-size: 72px;
    }
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-white);
    font-family: 'Inter Display', sans-serif;
}

.article-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter Display', sans-serif;
}

/* Article Page Styles - Dark Background (matching site style) */
.content-block.article-page {
    background-color: var(--dark-block);
}

.content-block.article-page::before {
    background: radial-gradient(circle at center, rgba(41, 58, 55, 0.9) 0%, rgba(41, 58, 55, 1) 100%);
}

.content-inner.article-page {
    background-color: transparent;
    color: var(--text-white);
}


/* Article Page Content - Book Format */
.content-inner.article-page .page-content {
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.01rem;
}

/* Override for slides container */
.content-inner.article-page .page-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.content-inner.article-page .page-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.01rem;
    word-spacing: 0.05rem;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-inner.article-page .page-content p.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.content-inner.article-page .page-content .article-info-cards {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-inner.article-page .page-content .article-info-cards.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.content-inner.article-page .page-content p:first-child {
    font-size: 1.25rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    font-weight: 400;
}

.content-inner.article-page .page-content h2 + p,
.content-inner.article-page .page-content h3 + p {
    margin-top: 0.5rem;
}

.content-inner.article-page .page-content h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02rem;
    font-family: 'Inter Display', sans-serif;
    max-width: 100%;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-inner.article-page .page-content h2.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.content-inner.article-page .page-content h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01rem;
    font-family: 'Inter Display', sans-serif;
    max-width: 100%;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-inner.article-page .page-content h3.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* External links in articles */
.content-inner.article-page .page-content a.external-link {
    color: #4A90E2;
    text-decoration: underline;
    text-decoration-color: rgba(74, 144, 226, 0.4);
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.content-inner.article-page .page-content a.external-link:hover {
    color: #6BB3FF;
    text-decoration-color: rgba(107, 179, 255, 0.8);
}

.content-inner.article-page .page-content a.external-link:visited {
    color: #7A9FD6;
}

.content-inner.article-page .page-content h2:first-of-type {
    margin-top: 2rem;
}

/* Article Info Cards Block */
.article-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    width: 100%;
    max-width: 100%;
}

.info-card {
    background-color: rgba(41, 58, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    background-color: rgba(41, 58, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background-color: #1a1a1a;
    border: 2px solid #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    font-family: 'Inter Display', sans-serif;
    line-height: 1.3;
}

.info-card-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .article-info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 3rem 0;
    }
}

@media (max-width: 768px) {
    .article-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2.5rem 0;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card-icon {
        width: 50px;
        height: 50px;
    }

    .info-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .info-card-title {
        font-size: 1.125rem;
    }

    .info-card-description {
        font-size: 0.875rem;
    }

    .article-faq-section {
        margin-top: 4rem;
        margin-bottom: 3rem;
    }

    .faq-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }

    .faq-toggle svg {
        width: 14px;
        height: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-answer p {
        font-size: 0.9375rem;
    }
}

/* Article FAQ Section */
.article-faq-section {
    margin-top: 6rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 100%;
}

.faq-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(41, 58, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
    background-color: rgba(41, 58, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: 'Inter Display', sans-serif;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FF6B35;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.faq-toggle:hover {
    background-color: #E55A2B;
    transform: scale(1.05);
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Newsletter Subscription Block */
.newsletter-subscription-block {
    margin: 6rem 0;
    padding: 4rem 3rem;
    background-color: rgba(41, 58, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.newsletter-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
}

.newsletter-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: var(--text-white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(26, 26, 26, 1);
}

.newsletter-submit-btn {
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-left: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.newsletter-submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.newsletter-submit-btn:active {
    transform: scale(0.95);
}

.newsletter-submit-btn svg {
    stroke: #1a1a1a;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .newsletter-subscription-block {
        padding: 3rem 2rem;
        margin: 4rem 0;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-description {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .newsletter-input {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .newsletter-submit-btn {
        width: 48px;
        height: 48px;
    }

    .newsletter-submit-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Featured Solutions Blocks */
.featured-solutions-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 6rem 0;
    width: 100%;
    max-width: 100%;
    align-items: start;
}

.featured-solutions-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-solution-block {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-solution-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.featured-solution-block-dark {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    margin-left: 2rem;
}

.solution-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter Display', sans-serif;
    letter-spacing: 0.05rem;
}

.featured-solution-block-dark .solution-number {
    color: rgba(0, 0, 0, 0.3);
}

.solution-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
    line-height: 1.2;
}

.featured-solution-block-dark .solution-title {
    color: #000000 !important;
}

.solution-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.featured-solution-block-dark .solution-description {
    color: #000000 !important;
    opacity: 0.85;
}

.featured-solutions-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-solutions-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-family: 'Inter Display', sans-serif;
}

.featured-solutions-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    font-family: 'Inter Display', sans-serif;
    letter-spacing: -0.02rem;
    line-height: 1.1;
}

.featured-solutions-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

@media (max-width: 1024px) {
    .featured-solutions-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 4rem 0;
    }

    .featured-solution-block-dark {
        margin-left: 0;
    }

    .featured-solutions-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .featured-solutions-wrapper {
        gap: 2rem;
        margin: 3rem 0;
    }

    .featured-solution-block {
        padding: 2rem;
    }

    .solution-title {
        font-size: 1.5rem;
    }

    .featured-solutions-title {
        font-size: 2.5rem;
    }

    .featured-solutions-text {
        font-size: 0.9375rem;
    }
}

/* Services Categories Blocks */
.services-categories-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 6rem 0;
    width: 100%;
    max-width: 100%;
    padding: 4rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-white);
    stroke-width: 2;
}

.category-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-white);
    margin: 0;
    font-family: 'Inter Display', sans-serif;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-list-item {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', monospace;
    letter-spacing: 0.02rem;
    position: relative;
    padding-left: 1.5rem;
}

.category-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .services-categories-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
        margin: 4rem 0;
    }
}

@media (max-width: 768px) {
    .services-categories-wrapper {
        padding: 2rem 1.5rem;
        gap: 2.5rem;
        margin: 3rem 0;
    }

    .category-header {
        margin-bottom: 1.5rem;
    }

    .category-title {
        font-size: 0.8125rem;
    }

    .category-list-item {
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .article-main-title {
        font-size: 8vw;
        margin-bottom: 2rem;
    }

    .article-breadcrumb {
        font-size: 0.8125rem;
        margin-bottom: 1.5rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 0.875rem;
    }

    .article-date {
        font-size: 0.8125rem;
    }

    .content-inner.article-page .page-content {
        max-width: 100%;
        padding: 0 1rem;
        font-size: 1rem;
        line-height: 1.75;
    }

    .content-inner.article-page .page-content p {
        font-size: 1rem;
        line-height: 1.75;
        text-align: left;
    }

    .content-inner.article-page .page-content h2 {
        font-size: 2rem;
        margin-top: 3rem;
        max-width: 100%;
    }

    .content-inner.article-page .page-content h3 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .article-main-title {
        font-size: 10vw;
    }

    .article-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .content-inner.article-page .page-content {
        padding: 0 0.75rem;
        font-size: 0.9375rem;
    }

    .content-inner.article-page .page-content p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .content-inner.article-page .page-content h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }

    .content-inner.article-page .page-content h3 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }
}

.read-more:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.page-content {
    position: relative;
    z-index: 10;
    opacity: 1;
    visibility: visible;
}

.intro-content {
    margin-top: 3rem;
    max-width: 80%;
}

/* Ensure slide-up-ready class overrides intro-content styles */
.intro-content.slide-up-ready {
    opacity: 0 !important;
    transform: translateY(30px) !important;
}

.intro-content.slide-up-ready.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.01rem;
}

.intro-text-secondary {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.01rem;
}

.intro-link-wrapper {
    margin-top: 2rem;
    margin-bottom: 0;
}

.intro-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
}

.intro-link:hover {
    color: #5BA3F0;
    border-bottom-color: var(--accent);
    transform: translateX(5px);
}

.intro-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.intro-link:hover::after {
    transform: translateX(5px);
}

.page-content h2 {
    font-size: 4.8vw;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 500;
    font-family: 'Inter Display', sans-serif;
    line-height: 1.1666666666666667;
    letter-spacing: -0.16vw;
}

.page-content h3 {
    font-size: 4vw;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 500;
    font-family: 'Inter Display', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.12vw;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.page-content ul, .page-content ol {
    margin-left: 20px;
    margin-bottom: 1rem;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: 2rem 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.page-content table th,
.page-content table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.page-content table th {
    font-weight: 600;
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.page-content table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .page-content table {
        font-size: 0.75rem;
    }
    
    .page-content table th,
    .page-content table td {
        padding: 0.5rem;
    }
}

/* Sticky Scroll Block */
.sticky-scroll-block {
    margin-top: 6rem;
    margin-bottom: 6rem;
    position: relative;
}

/* Ensure sticky scroll block is visible after fade-in animation */
.sticky-scroll-block.fade-in-ready.animate {
    opacity: 1 !important;
}

/* Ensure text sections inside sticky block work correctly - colors should transition */
/* After fade-in animation, text sections should work normally */
.sticky-scroll-block.fade-in-ready.animate .text-section {
    opacity: 0.3;
    transition: opacity 0.8s ease, color 0.8s ease;
}

.sticky-scroll-block.fade-in-ready.animate .text-section.active {
    opacity: 1;
}

/* Ensure color transitions work for text inside sections - override parent opacity */
.sticky-scroll-block.fade-in-ready.animate .text-section h2,
.sticky-scroll-block.fade-in-ready.animate .text-section p,
.sticky-scroll-block.fade-in-ready.animate .text-section.active h2,
.sticky-scroll-block.fade-in-ready.animate .text-section.active p {
    transition: color 0.8s ease !important;
}

/* Ensure active section has correct colors */
.sticky-scroll-block.fade-in-ready.animate .text-section.active h2 {
    color: var(--text-white) !important;
}

.sticky-scroll-block.fade-in-ready.animate .text-section.active p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.sticky-scroll-container {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 5rem;
    align-items: start;
    position: relative;
}

.sticky-text-sections {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.text-section {
    opacity: 0.3;
    transition: opacity 0.8s ease, color 0.8s ease;
}

.text-section.active {
    opacity: 1;
}

/* Text color transitions from gray to white */
.text-section h2 {
    font-size: 3.5vw;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-family: 'Inter Display', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.12vw;
    transition: color 0.8s ease;
}

.text-section.active h2 {
    color: var(--text-white) !important;
}

.text-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    transition: color 0.8s ease;
}

.text-section.active p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Ensure first section is active by default */
.text-section:first-child {
    opacity: 1;
}

.text-section:first-child h2 {
    color: var(--text-white) !important;
}

.text-section:first-child p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Also apply to first child when inside animated sticky block */
.sticky-scroll-block.fade-in-ready.animate .text-section:first-child {
    opacity: 1 !important;
}

.sticky-scroll-block.fade-in-ready.animate .text-section:first-child h2 {
    color: var(--text-white) !important;
}

.sticky-scroll-block.fade-in-ready.animate .text-section:first-child p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.sticky-images-container {
    position: sticky;
    top: 3vh;
    height: calc(97vh - 3vh);
    max-height: 600px;
    align-self: start;
}

.sticky-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.sticky-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.sticky-image.active {
    opacity: 1;
    pointer-events: auto;
}

.sticky-image:first-child {
    opacity: 1;
}

/* Mouse Tracker Section */
.mouse-tracker-section {
    margin-top: 8rem;
    margin-bottom: 8rem;
    position: relative;
    width: 100%;
}

.tracker-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.tracker-main-title {
    font-size: 7vw;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.2vw;
    margin-bottom: 4rem;
    font-family: 'Inter Display', sans-serif;
    text-transform: uppercase;
}

.tracker-divider {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tracker-image-wrapper {
    display: none;
}

.tracker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tracker-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 6rem;
}

.tracker-column {
    position: relative;
}

.tracker-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 2rem;
    font-family: 'Inter Display', sans-serif;
    opacity: 0.9;
}

.tracker-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tracker-column-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.3333333333333333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: var(--text-white);
    font-size: 0.875rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 3rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.footer {
    background-color: transparent;
    color: var(--text-dark);
    padding: 1.25vw 5vw 5vw 25vw;
    margin-top: 0;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 1440px) {
    .footer {
        padding-left: calc(280px + 5vw);
    }
}

.footer-content {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    width: 100%;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: #000000;
    text-decoration: underline;
}

.footer-bottom-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

.footer-disclaimer {
    text-align: left;
    padding-bottom: 1rem;
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-disclaimer p {
    margin: 0;
    max-width: 100%;
}

.footer-bottom {
    text-align: left;
    padding-top: 0;
    border-top: none;
    color: var(--text-dark);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bottom-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-block);
    color: var(--text-white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    display: block;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-accept:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.btn-decline {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .header {
        width: 180px;
        min-width: 180px;
        padding: 4rem 2rem;
    }

    .main-container {
        margin-left: 180px;
        max-width: calc(100% - 180px);
        padding: 4rem 2rem;
    }

    .footer {
        padding-left: calc(180px + 5vw);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .page-title {
        font-size: 8vw;
    }

    .page-title.hero-title-main {
        font-size: 10vw;
    }

    .hero-title-shadow {
        font-size: 10.5vw;
    }

    .hero-title-shadow-bottom {
        font-size: 10.5vw;
    }

    .hero-title-shadow-bottom-2 {
        font-size: 11vw;
    }
}

@media (max-width: 767px) {
    .main-wrapper {
        flex-direction: column;
    }

    .header {
        width: 100%;
        height: auto;
        position: static;
        top: auto;
        padding: 3rem 1.25rem;
        background-color: var(--bg-color);
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }

    .nav-item:hover .nav-link {
        margin-left: 0;
        padding: 0.25rem 0.5rem;
    }

    .main-container {
        margin-left: 0;
        padding: 3rem 1.25rem;
    }

    .hero-section {
        padding: 0;
    }

    .content-inner {
        padding: 3rem 1.25rem;
    }

    .page-title {
        font-size: 9.6vw;
    }

    .page-content h2 {
        font-size: 8vw;
    }

    .page-content h3 {
        font-size: 6.4vw;
    }

    .intro-content {
        max-width: 100%;
        margin-top: 2rem;
    }

    .intro-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .intro-text-secondary {
        font-size: 0.9375rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .intro-link {
        font-size: 0.9375rem;
    }

    .sticky-scroll-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sticky-images-container {
        position: relative;
        top: auto;
        height: 50vh;
        max-height: 400px;
        order: -1;
    }

    .text-section h2 {
        font-size: 8vw;
    }

    .sticky-text-sections {
        gap: 5rem;
    }

    .mouse-tracker-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .tracker-main-title {
        font-size: 10vw;
        margin-bottom: 3rem;
    }

    .tracker-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 4rem;
    }

    .tracker-image-wrapper {
        width: 200px;
        height: 267px;
    }

    .tracker-divider {
        margin: 3rem 0;
    }

    .article-card {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 400px;
    }

    .article-image-wrapper {
        order: -1;
        height: 300px;
    }

    .article-image {
        height: 300px;
    }

    .article-content {
        padding: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .article-card {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 350px;
    }

    .article-image-wrapper {
        order: -1;
        height: 250px;
    }

    .article-image {
        height: 250px;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-excerpt {
        font-size: 0.9375rem;
    }
}

@media (max-width: 479px) {
    .article-card {
        height: auto;
        min-height: 300px;
    }

    .article-image-wrapper {
        height: 200px;
    }

    .article-image {
        height: 200px;
    }

    .article-content {
        padding: 1.25rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-excerpt {
        font-size: 0.875rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        padding: 3rem 1.25rem;
        padding-left: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 479px) {
    .content-inner {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 9.6vw;
        letter-spacing: -0.36vw;
    }

    .intro-content {
        margin-top: 1.5rem;
    }

    .intro-text {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .intro-text-secondary {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .intro-link {
        font-size: 0.875rem;
    }

    .page-title.hero-title-main {
        font-size: 12vw;
        letter-spacing: -0.4vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-title-shadow {
        font-size: 12.5vw;
        letter-spacing: -0.42vw;
        top: -2vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-title-shadow-bottom {
        font-size: 12.5vw;
        letter-spacing: -0.42vw;
        top: 2vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-title-shadow-bottom-2 {
        font-size: 13vw;
        letter-spacing: -0.44vw;
        top: 3.5vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .sticky-scroll-block {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .sticky-scroll-container {
        gap: 2rem;
    }

    .sticky-images-container {
        height: 40vh;
        max-height: 300px;
    }

    .text-section h2 {
        font-size: 9vw;
    }

    .sticky-text-sections {
        gap: 3rem;
    }

    .mouse-tracker-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .tracker-main-title {
        font-size: 12vw;
        margin-bottom: 2rem;
    }

    .tracker-image-wrapper {
        width: 180px;
        height: 240px;
    }

    .tracker-columns {
        gap: 2rem;
        margin-top: 3rem;
    }

    .tracker-number {
        font-size: 3rem;
    }
}
