/* Local Fonts */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --com-gold: #d9bd90;
    --com-black: #000000;
    --com-white: #ffffff;
    --com-gray-light: #f4f4f4;
    --com-gray-mid: #666666;
    --font-serif: "Playfair Display", "Georgia", serif;
    --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

    /* Rhombus Pattern */
    --rhombus-bg: radial-gradient(circle, #f0f0f0 1px, transparent 1px);
    --rhombus-pattern: linear-gradient(45deg, #f9f9f9 25%, transparent 25%, transparent 75%, #f9f9f9 75%, #f9f9f9),
        linear-gradient(45deg, #f9f9f9 25%, transparent 25%, transparent 75%, #f9f9f9 75%, #f9f9f9);
}

.bg-rhombus {
    position: relative;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='32' viewBox='0 0 120 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 32L120 0M0 0L120 32' stroke='%23e1e1e1' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-position: center;
    overflow: hidden;
}

/* Fades to white at top and bottom */
.bg-rhombus::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            #fff 0%,
            rgba(255, 255, 255, 0) 15%,
            rgba(255, 255, 255, 0) 75%,
            #fff 100%);
    pointer-events: none;
    z-index: 1;
}

body {
    font-family: var(--font-sans);
    color: var(--com-black);
    line-height: 1.5;
    /* Slightly reduced for cleaner look */
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.15;
    /* Reduced interlineated space for multi-line titles */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--com-white);
    padding: 8px 0 0 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    max-width: 140px;
    height: auto;
    padding-bottom: 5px;
    display: block;
}

.main-navigation {
    margin-left: auto;
    margin-right: 40px;
}

.mobile-menu-header {
    display: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--com-black);
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: var(--com-gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-contact-link:hover,
.header-language-switcher .lang-toggle:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.header-contact-link img {
    display: block;
}

.language-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.language-switcher a {
    text-decoration: none;
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.language-switcher .current-lang a {
    color: var(--com-black);
    font-weight: bold;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--com-black);
    z-index: 1001;
    position: relative;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 24px;
    height: 24px;
}

.menu-toggle.is-active .line-burger {
    display: none;
}

.menu-toggle.is-active .line-close {
    display: block !important;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }

    .main-logo {
        max-width: 120px;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: var(--com-white);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, visibility 0.4s;
        z-index: 1000;
        padding: 0 20px;
        margin: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
    }

    .main-navigation.toggled {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        padding: 20px;
    }

    .mobile-menu-header {
        display: block;
        padding-bottom: 15px;
        margin-bottom: 25px;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-title {
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 1.1rem;
        color: var(--com-black);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        display: flex;
    }

    .main-navigation li {
        width: 100%;
        display: block;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid #f5f5f5;
        font-weight: 400;
        text-transform: none;
        letter-spacing: -0.01em;
        color: var(--com-black);
    }

    .main-navigation li:last-child a {
        border-bottom: none;
    }

    /* body.menu-open {
        overflow: hidden;
    } */

    /* Mobile Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
        z-index: 998;
    }

    body.menu-open .mobile-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* Sector Bar */
.header-sector-bar {
    background: var(--com-white);
    border-top: none;
    border-bottom: none;
    position: relative;
    z-index: 10;
}

/* Mask for fade effect on horizontal scroll */
.header-sector-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--com-white));
    pointer-events: none;
    z-index: 2;
}

.header-sector-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--com-white));
    pointer-events: none;
    z-index: 2;
}

.sector-bar-inner {
    display: flex;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    padding: 0 40px;
    /* Add padding for the fade effect area */
    justify-content: center;
    box-sizing: border-box;
    cursor: grab;
}

.sector-bar-inner.is-dragging {
    cursor: grabbing;
}

.sector-bar-inner::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.sector-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    color: #718096;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
}

.sector-link:hover {
    color: var(--com-black);
    background: rgba(0, 0, 0, 0.02);
}

.sector-link.is-active {
    color: var(--com-black);
    font-weight: 400;
}

/* Gutenberg Blocks & Content */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.entry-content h2,
.entry-content h3 {
    margin: 40px 0 20px;
    font-family: var(--font-serif);
}

.entry-content h2 {
    font-size: 2.2rem;
}

.entry-content h3 {
    font-size: 1.6rem;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content .wp-block-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.entry-content .wp-block-column {
    flex: 1;
}

.entry-content .wp-block-image {
    margin-bottom: 40px;
}

.entry-content blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    border-left: 4px solid var(--com-gold);
    padding-left: 30px;
    margin: 40px 0;
    color: var(--com-black);
}

/* Logos Grid (Universities, Companies, etc.) */
.wp-block-comindust-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 40px;
    align-items: center;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.wp-block-comindust-logo-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.wp-block-comindust-logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Partner Card */
.partner-card {
    background: var(--com-white);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.partner-card-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    background: #f9f9f9;
}

.partner-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-thumbnail {
    filter: grayscale(0%);
}

.partner-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0 25%, #f9f9f9 25%, #f9f9f9 50%, #f0f0f0 50%, #f0f0f0 75%, #f9f9f9 75%, #f9f9f9 100%);
    background-size: 20px 20px;
}

.partner-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    color: var(--com-black);
}

.partner-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--com-gold);
    font-weight: 400;
    margin-bottom: 15px;
}

.partner-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--com-gray-mid);
    margin-bottom: 20px;
}

.partner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.partner-btn-email {
    flex-grow: 1;
    text-align: center;
    padding: 10px 15px;
    background: var(--com-black);
    color: var(--com-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 0;
    transition: background 0.3s ease;
}

.partner-btn-email:hover {
    background: var(--com-gold);
    color: var(--com-black);
}

.partner-btn-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f4f4f4;
    color: #0077b5;
    border-radius: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.partner-btn-linkedin:hover {
    background: #0077b5;
    color: var(--com-white);
}

@media (max-width: 768px) {
    .entry-content .wp-block-columns {
        flex-direction: column;
        gap: 20px;
    }

    .partner-header-flex,
    .partner-content-grid {
        display: block !important;
    }
}

/* Global CTA Section */
.global-cta-section {
    padding: 0;
    margin-bottom: 0;
    /* Managed by wrapper padding */
    position: relative;
    overflow: visible;
}

.cta-card {
    background: var(--com-black);
    color: var(--com-white);
    padding: 80px 60px;
    border-radius: 0;
    text-align: center;
    position: relative;
    z-index: 10;
    /* Ensure it's above the rhombus pattern */
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for floating effect */
}

.cta-decorative-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 20px solid rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--com-white);
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.button-gold {
    background: var(--com-gold);
    color: var(--com-black);
    padding: 18px 45px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    transition: all 0.3s;
}

.button-gold:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .cta-card {
        padding: 60px 40px;
    }

    .cta-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .global-cta-section {
        margin-bottom: 60px;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

/* Footer */
.site-footer {
    background: var(--com-white);
    /* White background for the whole footer area */
    padding: 0;
}

.footer-cta-wrapper {
    position: relative;
    /* Removed background shorthand to allow bg-rhombus image */
    padding: 100px 0 80px;
    /* Space around the black island */
    overflow: hidden;
}

.footer-cta-wrapper.bg-rhombus::after {
    background: linear-gradient(to bottom,
            #fff 0%,
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0) 75%,
            #fff 100%);
}

.footer-main-content {
    background: var(--com-black);
    color: var(--com-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--com-white);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.footer-list a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 400;
    transition: color 0.3s;
    display: block;
}

.footer-list a:hover {
    color: var(--com-gold);
    padding-left: 5px;
}

.footer-bottom-separator {
    width: 100%;
    height: 1px;
    background-color: #333;
    margin-top: 20px;
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #555;
    font-family: var(--font-sans);
    padding-bottom: 20px;
}

.footer-copyright-wrap {
    max-width: 850px;
}

.copyright-legal {
    font-size: 0.75rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 20px 0;
}

.copyright-brand {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    font-weight: 400;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-social {
    display: flex;
    align-items: center;
}

/* Hub Directory Styles */
.hub-directory-section {
    padding: 80px 0;
}

.hub-directory-header {
    margin-bottom: 60px;
}

.hub-directory-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 15px;
    display: block;
}

.hub-directory-title {
    font-size: 4.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #1a1a1a;
}

.hub-directory-intro {
    font-size: 1.5rem;
    max-width: 850px;
    color: #444;
    line-height: 1.4;
    font-family: var(--font-sans);
}

.hub-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    align-items: start;
    margin-top: 40px;
}

.hub-block {
    margin-bottom: 40px;
}

.hub-block-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--com-gold);
    padding-bottom: 15px;
}

.hub-block-number {
    font-family: var(--font-serif);
    font-size: 0.75rem; /* Smaller for the arrow icon */
    color: var(--com-gold);
    font-weight: 400;
}

.hub-block-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    font-weight: 600;
    color: #000;
}

.hub-block-title a {
    text-decoration: none !important;
    color: inherit;
}

.hub-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-item {
    margin-bottom: 15px;
}

.hub-item a {
    text-decoration: none;
    color: #444;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.3;
}

.hub-item a:hover {
    color: var(--com-gold);
    transform: translateX(3px);
}

.see-all-item {
    margin-top: 15px !important;
}

.see-all-item a {
    color: var(--com-gold) !important;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.see-all-item a:hover {
    padding-left: 10px !important;
}

@media (max-width: 1024px) {
    .hub-directory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hub-directory-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hub-directory-grid {
        grid-template-columns: 1fr;
    }

    .hub-directory-title {
        font-size: 2.8rem;
    }

    .hub-directory-intro {
        font-size: 1.2rem;
    }

    .hub-directory-section {
        padding: 60px 0;
    }
}

/* =============================================
   Home Hub Grid (Reduced Version)
   ============================================= */
.home-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.home-hub-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-hub-card .hub-card-link {
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
    text-decoration: none;
    height: 100%;
    z-index: 2;
}

.hub-card-tag {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--com-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.hub-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--com-black);
    margin: 0 0 30px 0;
    line-height: 1.2;
    transition: transform 0.3s ease;
}

.hub-card-footer {
    margin-top: auto;
}

.hub-card-more {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.home-hub-card:hover {
    border-color: var(--com-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.home-hub-card:hover .hub-card-title {
    transform: translateX(5px);
}

.home-hub-card:hover .hub-card-more {
    color: var(--com-gold);
    padding-left: 5px;
}

/* Dark variant for Industries Section */
.home-hub-card.card-dark {
    background: #0a0a0a;
    border-color: #1a1a1a;
}

.home-hub-card.card-dark .hub-card-title {
    color: #ffffff;
}

.home-hub-card.card-dark .hub-card-more {
    color: #555;
}

.home-hub-card.card-dark:hover {
    background: #000;
    border-color: var(--com-gold);
}

@media (max-width: 1024px) {
    .home-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .home-hub-grid {
        grid-template-columns: 1fr;
    }

    .home-hub-card .hub-card-link {
        padding: 40px 30px;
    }

    .hub-card-title {
        font-size: 1.4rem;
    }
}


/* Language Picker */
.cind-language-picker {
    position: relative;
    font-family: var(--font-sans);
}

.cind-language-picker.is-icon-only .lang-toggle {
    padding: 8px;
    border-radius: 50%;
}

.cind-language-picker.is-icon-only .lang-toggle span,
.cind-language-picker.is-icon-only .lang-toggle .icon-chevron {
    display: none;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 12px;
    color: #888;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-toggle:hover,
.cind-language-picker.is-open .lang-toggle {
    border-color: #555;
    color: var(--com-white);
    background: rgba(255, 255, 255, 0.05);
}

.lang-toggle .icon-globe {
    opacity: 0.7;
}

.lang-toggle .icon-chevron {
    transition: transform 0.3s ease;
}

.cind-language-picker.dropdown-down.is-open .icon-chevron {
    transform: rotate(180deg);
}

.cind-language-picker.dropdown-up .icon-chevron {
    transform: rotate(180deg);
}

.cind-language-picker.dropdown-up.is-open .icon-chevron {
    transform: rotate(0deg);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
}

.cind-language-picker.dropdown-up .lang-dropdown {
    bottom: calc(100% + 10px);
    transform: translateY(10px);
}

.cind-language-picker.dropdown-down .lang-dropdown {
    top: calc(100% + 10px);
    transform: translateY(-10px);
}

.cind-language-picker.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header Specific Language Picker Adjustment */
.header-language-switcher .lang-toggle {
    border: none;
    color: #333;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-language-switcher .lang-toggle:hover,
.header-language-switcher .cind-language-picker.is-open .lang-toggle {
    background: transparent;
    color: #333;
}

.header-language-switcher .lang-dropdown {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-language-switcher .lang-dropdown a {
    color: #666;
}

.header-language-switcher .lang-dropdown li:hover a {
    background: #f9f9f9;
    color: var(--com-black);
}

.header-language-switcher .lang-dropdown li.is-active a {
    color: var(--com-gold);
}

.lang-dropdown li {
    padding: 0;
    margin: 0;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lang-dropdown li:hover a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--com-white);
}

.lang-dropdown li.is-active a {
    color: var(--com-gold);
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer-bottom-right {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .cind-language-picker {
        width: 100%;
    }

    .lang-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
        bottom: calc(100% + 5px);
        top: auto;
    }
}

.footer-social a {
    color: var(--com-white);
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        align-items: flex-start;
    }
}

.button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.button-primary {
    background: var(--com-black);
    color: var(--com-white);
}

.button-primary:hover {
    background: var(--com-gold);
    color: var(--com-black);
}

.button-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--com-black);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.button-outline:hover {
    border-color: var(--com-gold);
    color: var(--com-gold);
    background: transparent;
}

.button-white-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.button-white-outline:hover {
    border-color: var(--com-gold);
    color: var(--com-gold);
    background: transparent;
}

/* =============================================
   Watch the Movie Button
   ============================================= */
.btn-watch-movie {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 5px;
    background: var(--com-white);
    color: var(--com-black);
    border: 1.2px solid var(--com-black);
    border-radius: 2px;
    /* Square look with minimal rounding */
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    /* Bolder for clickability */
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 30px;
    line-height: normal;
}

.btn-watch-movie:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.btn-watch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 21px;
    /* Slightly rectangular like Youtube logo */
    background: #FF0000;
    /* Youtube Red */
    color: var(--com-white);
    border-radius: 3px;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.25s ease;
}

.btn-watch-icon svg {
    width: 8px;
    height: 8px;
    fill: currentColor;
    margin-left: 1px;
    /* Optical center adjustment */
}

.btn-watch-movie:hover .btn-watch-icon {
    transform: scale(1.1);
    background: #cc0000;
    /* Slightly darker red on hover */
}

/* Mobile adjustments */
.btn-watch-label {
    display: none;
}

.btn-watch-label-short {
    display: inline;
}

@media (min-width: 480px) {
    .btn-watch-label {
        display: inline;
    }

    .btn-watch-label-short {
        display: none;
    }
}

@media (max-width: 359px) {
    .btn-watch-label-short {
        display: none;
    }

    .btn-watch-movie {
        padding: 4px;
        width: 34px;
        justify-content: center;
    }
}

/* =============================================
   World-Clock Timezone Ticker
   ============================================= */
@keyframes tz-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.tz-ticker {
    overflow: hidden;
    background: #000000;
    border-top: 1px solid #111;
    /* Subtle divider from rhombus above */
    border-bottom: 1px solid #000;
    /* Seamless into main footer below */
    height: 48px;
    /* Slightly more height for serif elegance */
    display: flex;
    align-items: center;
    user-select: none;
    position: relative;
    z-index: 50;
    width: 100%;
}

.tz-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tz-scroll 80s linear infinite;
    will-change: transform;
}

.tz-ticker:hover .tz-track {
    animation-play-state: paused;
}

.tz-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 45px;
    white-space: nowrap;
    border-right: 1px solid #1f1f1f;
}

.tz-dot {
    font-size: 0.4rem;
    color: var(--com-gold);
}

.tz-city {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #999;
}

.tz-country-code {
    font-family: var(--font-sans);
    font-weight: 800;
    color: #eee;
    /* High contrast for country code */
    text-transform: uppercase;
    font-size: 0.75rem;
}

.tz-city-name {
    font-family: var(--font-serif);
    /* Playfair Display for city name */
    font-style: italic;
    /* Adding italic for extra modern/tech "industrial" flair */
    color: #ccc;
    /* Lighter grey for better legibility */
    font-size: 0.95rem;
}

.tz-time {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #ffffff;
    /* Maximum contrast for the time */
    min-width: 3.2ch;
    font-variant-numeric: tabular-nums;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .tz-track {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* =============================================
   Industries Section (Dark Mode)
   ============================================= */
.section-industries {
    background: #000000;
    padding: 120px 0;
    color: #ffffff;
}

.section-industries .section-title {
    color: #ffffff;
}

/* =============================================
   Insights Section (Square Cards)
   ============================================= */
.section-insights {
    padding: 120px 0;
    background: #ffffff;
}

.grid-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.insight-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.insight-card .card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #000;
}

.insight-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    opacity: 0.85;
}

.insight-card .card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
}

.insight-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

.insight-card h3 a {
    color: var(--com-black);
    text-decoration: none;
    transition: color 0.3s;
}

.insight-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-card .read-more {
    margin-top: auto;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em;
    color: var(--com-gold) !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.insight-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.insight-card:hover .card-image img {
    transform: scale(1.1);
    opacity: 1;
}

.insight-card:hover h3 a {
    color: var(--com-gold);
}

.insight-card:hover .read-more {
    gap: 15px;
}

@media (max-width: 1024px) {
    .grid-insights {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .grid-insights {
        grid-template-columns: 1fr;
    }

    .insight-card .card-content {
        padding: 30px;
    }

    .section-industries,
    .section-insights {
        padding: 80px 0;
    }
}

/* Footer Legal Navigation */
.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #888;
}

.footer-legal-nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-nav a:hover {
    color: var(--com-gold);
}

.legal-sep {
    color: #ccc;
    font-weight: 300;
    margin: 0 4px;
}