/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #FFD700;
    --color-secondary: #EFA32F;
    --color-dark: #18181B;
    --color-black: #000000;
    --color-white: #FFFFFF;

    /* Grays */
    --color-gray-100: #F3F4F6;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Border */
    --color-border: #3F3F46;

    /* Typography */
    --font-family: 'Avenir LT Std', sans-serif;
    --font-size-base: 18px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 18px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;

    /* Transitions */
    --transition-fast: 0.2s ease;

}

/* Base Styles
   ========================================================================== */
@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/Avenir LT Std 45 Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #131313;
    color: var(--color-white);
}

/* Search Component
   ========================================================================== */
.search-input-container {
    position: relative;
    display: inline-block;
}

.search-input {
    font-family: var(--font-family);
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-md) var(--spacing-xl);
    padding-right: 40px;
    border: 1px solid var(--color-white);
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-white);
}

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

.search-input-icon {
    position: absolute;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    margin-top: -25px;
}

/* Category Filters
   ========================================================================== */
.category-filters {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    justify-content: center;
}

.filter-link {
    font-family: var(--font-family);
    color: var(--color-white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding-bottom: var(--spacing-md);
    position: relative;
    text-align: center;
    min-width: 200px;
    transition: color var(--transition-fast);
}

.filter-link.active {
    color: var(--color-primary);
}

.filter-link.active::after {
    display: none;
}

/* Portfolio Section
   ========================================================================== */
.portfolio-section {
    padding: var(--spacing-2xl) var(--spacing-xl);
    color: var(--color-white);
    font-family: var(--font-family);
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-lg);
    background-color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.header-cell {
    color: var(--color-white);
    font-size: var(--font-size-base);;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-dark);
    align-items: center;
    transition: background-color var(--transition-fast);
}

.portfolio-row:hover {
    background-color: var(--color-dark);
}

/* Newsletter Section
   ========================================================================== */
.newsletter-section {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    position: relative;
    margin-top: var(--spacing-2xl);
}

.newsletter-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 var(--spacing-sm) 0;
}

.newsletter-subtitle {
    font-family: var(--font-family);
    color: var(--color-gray-400);
    font-size: var(--spacing-md);
    margin: 0 0 var(--spacing-xl) 0;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.newsletter-input {
    font-family: var(--font-family);
    flex: 1;
    background-color: var(--color-gray-800);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    padding: var(--spacing-md) var(--spacing-md);
    font-size: var(--spacing-md);
    transition: box-shadow var(--transition-fast);
}

.newsletter-input::placeholder {
    color: var(--color-gray-400);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.newsletter-button {
    font-family: var(--font-family);
    font-size: var(--spacing-md);
    background-color: var(--color-secondary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    cursor: pointer;
    font-weight: 500;
    padding: var(--spacing-md) var(--spacing-lg);
    transition: background-color var(--transition-fast);
}

.newsletter-button:hover {
    background-color: var(--color-secondary);
}

/* Hero Section Styles */

.hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.video-background {
    position: absolute;
    /*top: -420px;*/
    height: 100%;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: -10;

    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top,
        rgba(19, 19, 19, 1) 0%,
        rgba(19, 19, 19, 0.8) 30%,
        rgba(19, 19, 19, 0) 100%
    );
    z-index: -5;
}

.center-image {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 125px;
    margin-top: -50px;
}

.hero-main-text {
    position: absolute;
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
    width: 100%;
}

.center-search {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 90px;
    height: 125px;
    margin-top: 0px;
    text-align: center;
}

.search-input-container {
    flex: initial;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.category-filters {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    padding-top: 95px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-link {
    font-family: var(--font-family);
    color: var(--color-white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding-bottom: var(--spacing-md);
    position: relative;
    width: auto;
    min-width: 200px;
    text-align: center;
}

.filter-link.active {
    color: var(--color-primary);
    text-decoration: none;
}

.filter-link.active::after {
    display: none;
}

/*hero mid section*/

.hero-mid-section {
    color: var(--color-white);
    text-align: center;
    position: relative;
    margin-bottom: 110px;
}

.center-text {
    position: relative;
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 56px;
    font-weight: 350;
    text-align: center;
    margin-left: 90px;
    margin-right: 90px;
}

.center-mid-image {
    position: relative;
    height: 780px;
    margin-top: -30px;
    width: 100%;
    z-index: -1;

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 40%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 40%,
        transparent 100%
    );
}

.counter-section {
    padding-top: 0;
    padding-bottom: 80px;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.counter-card {
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.counter-card h1 {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 19px;
    margin-bottom: -18px;
    font-weight: 100;
}

.counter-card.right-border {
    border-right: 1px solid var(--color-border);
}

.counter-card h2 {
    font-family: var(--font-family);
    color: var(--color-secondary);
    font-size: 64px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.counter {
    font-family: var(--font-family);
    color: var(--color-secondary);
    font-size: 64px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: center;
}

.counter-content {
    background-color: var(--color-dark);
    padding: 120px 100px;
    color: var(--color-white);
    display: flex;
    margin: 0 auto;
    gap: 80px;
}

.content-container {
    width: 66.666%; /* This is equivalent to 2/3 */
    padding-left: 20px;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-content p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);;
    line-height: 1.6;
    color: var(--color-gray-400);
    margin: 0;
}

.features-container {
    width: 33.333%; /* This is equivalent to 1/3 */
}

.features-title {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 28px;
    margin-top: 0px;
    color: var(--color-white);
    line-height: 1.2;
}

.features-title p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);;
    color: var(--color-gray-400);
    margin: 0;
}

.feature-content h3 {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: var(--color-white);
}

.feature-content p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);;
    color: var(--color-gray-400);
    margin: 0;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

@media (max-width: 1200px) {
    .counter-content {
        flex-direction: column;
        padding: 60px 40px;
        gap: 60px;
    }

    .content-container,
    .features-container {
        width: 100%;
    }
}

.team-title-section {
    padding-top: 0px;
    padding-bottom: 40px;
}

.grid-headline-title-card{
    grid-column: span 1;
}

.grid-headline-description-card{
    grid-column: span 2;
}

.headline-section {
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 1450px;
    margin: 0 auto;
}

.headline-section-grey {
    background-color: var(--color-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.headline-title {
    position: relative;
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 500;
    text-align: left;
    margin-left: 65px;
    margin-right: 90px;
    margin-bottom: 50px;
}

.headline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.headline-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.headline-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.headline-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.headline-card {
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.headline-image {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.headline-card h1 {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    padding-top: 20px;
    text-align: center;
}

.headline-card.middle-border {
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.headline-card.left-border {
    border-left: 1px solid var(--color-border);
}

.headline-card h2 {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 28px;
    margin-bottom: -10px;
    font-weight: 500;
}

.headline-card p {
    font-family: var(--font-family);
    color: var(--color-gray-400);
    font-size: var(--font-size-base);;
    line-height: 1.5;
    margin-bottom: 16px;
}

.learn-more {
    font-family: var(--font-family);
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);;
    font-weight: 500;
}

.learn-more {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);;
    font-weight: 500;
    margin-top: auto;
    text-align: right;
}

.grid-headline-title {
    position: relative;
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 28px;
    font-weight: 500;
    text-align: left;
    margin-left: 0px;
    margin-right: 90px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.grid-headline-subtitle {
    position: relative;
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: var(--font-size-base);;
    font-weight: 500;
    text-align: left;
    margin-left: 0px;
    margin-right: 90px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 65px;
    max-width: 1350px;
    margin: 0 auto;
    gap: 20px;
}

.card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 264px;
    grid-column: span 1;
    gap: 20px;
    border: 0.5px solid var(--color-border);
}

.card .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 264px;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.card .background-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
    height: 40px;
    background-size: cover;
    background-position: center;
    z-index: 1;
}


.category-highlight {
    font-family: var(--font-family);
    padding-top: 100px;
    padding-bottom: 5px;
    font-size: var(--font-size-base);;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #FFD700;
    font-weight: 400;
    z-index: 2;
    text-decoration: none;
}

.card-ecosystem-content-highlight {
    font-family: var(--font-family);
    font-size: var(--font-size-base);;
    position: relative;
    color: #ffffff;
    line-height: 20px;
    z-index: 2;
    font-weight: 400;
    text-decoration: none;
}

.card-ecosystem-highlight a,
.card-ecosystem-highlight a:hover,
.card-ecosystem-highlight a:visited,
.card-ecosystem-highlight a:active {
    text-decoration: none !important;
    color: inherit;
}

.card-ecosystem-highlight {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 330px;
    grid-column: span 4;
}

.card-ecosystem-highlight-grid {
    position: relative;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1600px;
    padding-right: 40px;
}

.card-ecosystem-highlight-grid .card-ecosystem-highlight {
    width: 100%;
}

.card-content {
    position: absolute;
    top: 110px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.card h2 {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: var(--font-size-base);;
    margin: 0;
    font-weight: 200;
    line-height: 1.3;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.tag-container {
    position: absolute;
    top: 105px;
    left: 30px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.tag-container-highlight {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.tag {
    font-family: var(--font-family);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: var(--font-size-base);;
    font-weight: 500;

}

.tag-domestic {
    color: rgba(255, 215, 0, 1);
    background-color: rgba(255, 215, 0, 0.3);
}

.tag-international {
    color: rgba(0, 150, 200, 1);
    background-color: rgba(0, 150, 200, 0.3);
}

.newsletter-section {
    padding-top: 0px;
    padding-bottom: 60px;
    position: relative;
    margin-top: 60px;
    z-index: 10;
}

.newsletter-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-family);
    color: var(--color-white);
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 12px 0;
}

.center-image-newsletter {
    position: relative;
    height: 58px;
    padding-top: 20px;
}

.newsletter-subtitle {
    font-family: var(--font-family);
    color: var(--color-gray-400);
    font-size: var(--font-size-base);;
    margin: 0 0 32px 0;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.newsletter-input {
    font-family: var(--font-family);
    flex: 1;
    background-color: var(--color-gray-800);
    border: none;
    border-radius: 4px;
    color: var(--color-white);
    padding: 12px 16px;
    font-size: var(--font-size-base);;
}

.newsletter-input::placeholder {
    color: var(--color-gray-400);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.newsletter-button {
    font-family: var(--font-family);
    font-size: var(--font-size-base);;
    background-color: var(--color-secondary);
    border: none;
    border-radius: 4px;
    color: var(--color-white);
    cursor: pointer;
    font-weight: 500;
    padding: 12px 24px;
    transition: background-color 0.2s ease;
}

.newsletter-button:hover {
    background-color: var(--color-secondary);
}

.team-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}

.team-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 530px;
    max-width: 450px;
    grid-column: span 1;
    gap: 20px;
    border: 0.5px solid var(--color-border);
    background-color: var(--color-dark);
}

.team-card .background-image {
    position: absolute;
    bottom: 120px;
    top: 0px;
    left: 0;
    width: 450px;
    height: calc(100%);
    object-fit: cover;
    background-size: cover;
    background-position: top;
    z-index: 0;
}

.team-card .background-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
    height: 40px;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.team-name {
    font-family: var(--font-family);
    font-size: 28px;
    position: absolute;
    bottom: 60px;
    left: 20px;
    color: var(--color-secondary);
    font-weight: 200;
    z-index: 2;
}

.team-title {
    font-family: var(--font-family);
    font-size: 24px;
    position: absolute;
    top: 60px;
    left: 20px;
    color: var(--color-white);
    font-weight: 200;
    z-index: 2;
}

.team-image-containter{
    width: 100%;
    height: auto;
    margin-top: 100px;
}

.team-image-large{
    width: 100%;
    height: auto;
}

.team-card .card-profile-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 1);
    border: none;
    padding: 0;
    z-index: 2;
}

.ecosystem-grid {
    position: relative;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 10px auto;
    max-width: 1350px;
}

.card-ecosystem {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 352px;
    grid-column: span 1;
    border-radius: 12px;

    display: flex;
flex-direction: column;
justify-content: flex-start;
}

.card-profile-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 1);
    border: none;
    padding: 0;
    z-index: 2;
}

.card-ecosystem-hover {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    background: rgba(39, 39, 42, 0.9);
    border-radius: 12px;
    border-width: 1px;
    border-style: solid;
    border-color: #A1A1AA;
    padding: 24px;
    width: 500px;
    opacity: 0;
    visibility: hidden;
    max-width: 90vw;
    transform: scale(0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.card-ecosystem-hover.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.card-ecosystem-hover .hover-image {
    height: auto;
    width: 113px;
    padding-bottom: 10px;
    margin: 5px;
}

.card-ecosystem-hover .hover-title {
    color: var(--color-white);
    font-size: 20px;
    font-family: var(--font-family);
    margin: 5px;
}

.card-ecosystem-hover h2 {
    font-size: var(--font-size-base);;
    font-family: var(--font-family);
    color: #EFA32F;
    margin: 5px;
}

.card-ecosystem-hover p {
    color: var(--color-white);
    font-size: var(--font-size-base);;
    font-family: var(--font-family);
    margin: 5px 5px 10px 5px;
}

.card-ecosystem-hover h3 {
    font-size: var(--font-size-base);;
    font-family: var(--font-family);
    color: #EFA32F;
    margin: 5px;
}

.card-ecosystem-hover h4 {
    font-size: var(--font-size-base);;
    font-family: var(--font-family);
    color: #EFA32F;
    margin: 5px;
}

.card-ecosystem-hover h5 {
    font-size: var(--font-size-base);;
    font-family: var(--font-family);
    color: #EFA32F;
    margin: 5px;
}

.hover-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.focus-areas-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.focus-description {
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
}

.focus-areas-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.focus-description {
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
}

.synergy-points {
    display: flex;
    flex-direction: column;
}

.card-ecosystem .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s ease;
}

.info-icon i {
    color: white;
    font-size: 16px;
}

.info-icon:hover {
    background: rgba(239, 163, 47, 1);
}

.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        #31302C 0%,
        #18181B 50%,
        #31302C 100%
    );
    z-index: 1;
}

.card-ecosystem-image {
    position: absolute;
    top: 25px;
    left: 30px;
    width: 113px;
    z-index: 2;
    display: block;
}

.card-ecosystem-image-highlight {
    position: relative;
    top: 30px;
    left: 40px;
    width: 513px;
    z-index: 2;
    display: block;
}

.text-decoration-none{
    text-decoration: none;
}

.category {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    position: relative;
    padding: 160px 30px 5px;
    color: var(--color-secondary);
    font-weight: 500;
    z-index: 2;
    display: flex;
    text-decoration: none;
}

.card-ecosystem-content {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    position: relative;
    color: #A1A1AA;
    padding: 10px 30px;
    z-index: 2;
    text-decoration: none;
}

.card-ecosystem h2 {
    font-family: var(--font-family);
    color: white;
    font-size: 28px;
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

.date {
    font-family: var(--font-family);
    position: absolute;
    font-size: var(--font-size-base);;
    bottom: 30px;
    right: 30px;
    color: #EAB308;;
    z-index: 2;
}

.card-ecosystem-title {
    font-family: var(--font-family);
    color: white;
    position: relative;
    font-size: 28px;
    text-align: center;
}

.mandiri-ecosystem-title {

    position: relative;
    font-family: var(--font-family);
    font-size: 32px;
    color: #FFFFFF;
    margin: 40px auto 10px auto;
    max-width: 1350px;
}

.mandiri-team-group-title {
    position: relative;
    font-family: var(--font-family);
    font-size: 32px;
    color: #FFFFFF;
    margin: 40px auto 10px auto;
    max-width: 1350px;
}

.card-ecosystem-hover .close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--color-white);
    cursor: pointer;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    z-index: 10;
}

.card-ecosystem-hover .close-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .card-ecosystem-hover {
        padding: 16px;
        width: 85vw;
    }

    .card-ecosystem-hover .hover-image {
        width: 80px;
        padding-bottom: 8px;
    }

    .card-ecosystem-hover .hover-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .card-ecosystem-hover h2,
    .card-ecosystem-hover h3,
    .card-ecosystem-hover h4,
    .card-ecosystem-hover h5 {
        font-size: 14px;
        margin: 4px;
    }

    .card-ecosystem-hover p {
        font-size: 14px;
        margin: 4px 4px 8px 4px;
        line-height: 1.4;
    }

    .focus-areas-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .focus-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .synergy-points {
        font-size: 14px;
    }

    /* Grid and Card Styles */
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px;
    }

    .card.xlarge {
        grid-column: span 4;
        grid-row: span 1;
    }

    .card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .card h2 {
        font-size: 24px;
    }

    /* Hero Section Styles */
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }

    .hero-main-text {
        font-size: 48px;
        top: 30%;
    }

    .center-search {
        position: relative;
        bottom: auto;
        margin-top: 50vh;
        height: auto;
        padding-bottom: 40px;
        width: 100%;
    }

    .mandiri-ecosystem-title{
        margin: 20px auto 0px auto;
        padding: 0px 20px;
    }

    /* Category Filters */
    .category-filters {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0;
        height: auto;
        margin: 0;
    }

    .filter-link {
        font-size: 24px;
        padding: var(--spacing-sm) 0;
        display: block;
        min-width: 200px;
    }

    /* Search Section */
    .search-section {
        margin-top: 100px;
        padding: 0 24px;
    }

    .search-input {
        font-size: var(--font-size-base);;
        padding: 12px 20px;
    }

    /* Portfolio Section */
    .portfolio-header {
        display: none;
    }

    .portfolio-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-lg);
    }

    .description-cell {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .partner-info {
        margin-top: var(--spacing-sm);
    }

    .category-cell,
    .stage-cell {
        font-size: 13px;
    }

    /* Headline Grid */
    .headline-grid,
    .headline-grid-four {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .headline-card {
        text-align: center;
        padding: var(--spacing-xl) var(--spacing-md);
        border-bottom: 1px solid var(--color-border);
        border-left: none;
        border-right: none;
    }

    .headline-card.middle-border,
    .headline-card.left-border {
        border-bottom: 1px solid var(--color-border);
        border-left: none;
        border-right: none;
    }

    .headline-card:last-child {
        border-bottom: none;
    }

    .headline-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: var(--spacing-xl) var(--spacing-md);
        margin-top: var(--spacing-xl);
    }

    .newsletter-container {
        padding: 0 var(--spacing-md);
    }

    .newsletter-title {
        font-size: 28px;
        margin-bottom: var(--spacing-md);
    }

    .center-image-newsletter {
        height: 45px;
        padding-top: var(--spacing-md);
    }

    /* Ecosystem Section */
    .ecosystem-grid {
        grid-template-columns: 1fr;
        margin: 20px;
        padding: 0;
    }

    .card-ecosystem-highlight {
        grid-column: span 1;
        height: auto;
        min-height: auto;
        padding: 30px 20px;
        border-radius: 12px;
    }

    .card-ecosystem-highlight-grid {
        position: relative;
        display: grid;
        gap: 30px;
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0;
    }

    .card-ecosystem-image-highlight {
        position: static;
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
        left: auto;
        top: auto;
        object-fit: contain;
    }

    .tag-container-highlight {
        position: absolute;
        top:120px;
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .tag {
        padding: 6px 12px;
        font-size: var(--font-size-base);;
        border-radius: 12px;
    }

    .category-highlight {
        font-size: 22px;
        line-height: 1.4;
        margin: 0 0 15px 0;
        display: block;
        text-align: center;
        color: var(--color-primary);
    }


    .card-ecosystem-content-highlight {
        font-size: var(--font-size-base);;
        line-height: 1.6;
        margin: 0;
        text-align: center;
        position: static;
        color: var(--color-white);
        padding: 0;
        opacity: 0.9;
    }

    .card-ecosystem-highlight a {
        text-decoration: none;
        display: block;
    }

    /* Team Section */
    .team-section {
        padding-bottom: 40px;
    }

    .team-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .team-image-containter{
        width: 100%;
        height: auto;
        margin-top: 100px;
    }

    .team-image-large{
        width: 100%;
        height: auto;
    }

    /* Team Title Section */
    .team-title-section {
        padding: 40px 20px;
    }

    .team-title-section .masonry-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
        max-width: 100%;
    }

    .grid-headline-title-card {
        text-align: center;
        padding: 0;
    }

    .grid-headline-title {
        font-size: 36px;
        line-height: 1.2;
        margin: 0;
        padding: 0;
        text-align: center;
        font-weight: 600;
        color: var(--color-white);
    }

    .grid-headline-description-card {
        text-align: center;
        padding: 0;
    }

    .grid-headline-subtitle {
        font-size: var(--font-size-base);;
        line-height: 1.6;
        margin: 0;
        padding: 0 20px;
        font-weight: normal;
        color: var(--color-gray-400);
        text-align: center;
    }

    /* Team Members Section */
    .mandiri-team-group-title {
        font-size: 28px;
        padding: 0px 20px 10px;
        text-align: left;
    }

    .team-card {
        position: relative;
        height: 400px;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
    }

    .team-card .background-image {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .team-card .card-profile-photo {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .team-name {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 4px;
        color: var(--color-primary);
    }

    .team-title {
        font-size: var(--font-size-base);;
        line-height: 1.4;
        color: var(--color-white);
        opacity: 0.9;
    }

    .center-text{
        width: 80%;
        font-size: 40px;
        margin: 0 auto;
    }

    .content-container {
        padding-left: 0px;
    }

    /* Adjust grid for different screen sizes */
    @media (max-width: 480px) {
        .masonry-grid {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 0 20px;
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        .masonry-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding: 0 20px;
        }
    }
}
