/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* General Resets for this page scope */
:root {
    --wix-black: #000000;
    --wix-white: #FFFFFF;
    --wix-text-gray: #333333;
    --wix-font-heading: 'Montserrat', sans-serif;
    --wix-font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--wix-font-body);
}

/* Hero Section */
.wix-hero {
    position: relative;
    height: 85vh;
    /* Large hero area */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--wix-black);
    text-align: center;
    background-color: #f4f4f4;
}

.wix-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.wix-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wix-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
    margin-top: 60px;
    /* Offset for navbar */
    background: transparent;
    padding: 40px;
}

.wix-hero-content h1 {
    font-family: var(--wix-font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #000;
}

.wix-hero-content .subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #000;
}

/* Story Section (Full Bleed Fix) */
.wix-story-section {
    background-color: var(--wix-black);
    color: var(--wix-white);
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
    position: relative;
}

.story-image-wrapper {
    flex: 0 0 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.story-content-wrapper {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 60px;
    min-height: 100vh;
    background-color: var(--wix-black);
}

.story-content {
    max-width: 550px;
    padding: 80px 0;
}

.story-content h2 {
    font-size: 1.8rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
}

.accent-line-white {
    width: 60px;
    height: 1px;
    background-color: var(--wix-white);
    margin-bottom: 30px;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 300;
    color: #e0e0e0;
}

.story-content strong {
    font-weight: 600;
    color: #fff;
}

/* Leadership Section (Black - Full Bleed) */
.wix-leadership-section {
    background-color: var(--wix-black);
    color: var(--wix-white);
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
    position: relative;
}

.leadership-image-wrapper {
    flex: 0 0 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.leadership-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.leadership-content-wrapper {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 60px;
    min-height: 100vh;
    background-color: var(--wix-black);
}

.leadership-content {
    max-width: 550px;
    padding: 80px 0;
}

.leadership-content h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.4;
}

.leadership-content p {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 300;
    color: #e0e0e0;
}

.leadership-content strong {
    font-weight: 600;
    color: #fff;
}

/* Insights Section - Full Width Split */
.wix-insights-section {
    background-color: var(--wix-white);
    color: var(--wix-black);
    padding: 0;
}

.insight-row {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Text Container half */
.insight-text-wrapper {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 60px;
    background: #fff;
    min-height: 100vh;
}

.insight-text-content {
    max-width: 500px;
    padding: 80px 0;
}

.insight-text-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.insight-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Image Container half - Full Bleed */
.insight-image-wrapper {
    flex: 0 0 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.insight-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Certificates Section */
.wix-certificates-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.certificates-header h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cert-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    /* Ensure certificates are fully visible */
}

/* Footer - Unified Background */
.wix-footer {
    position: relative;
    padding: 100px 0 80px;
    font-family: var(--wix-font-body);
    background: url('../extracted-images/wix_bottom_bg.jpg') center/cover no-repeat;
    color: #000;
    /* Ensure background image covers full area perfectly */
}

/* Overlay to improve text readability if needed, though wix design seems clean */
.wix-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    /* Subtle white overlay */
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.footer-left {
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    fill: #000;
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: #555;
}

.footer-address,
.footer-contact {
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 15px;
}

.footer-contact a {
    display: block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav {
    margin-top: 100px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {

    .wix-story-section,
    .wix-leadership-section,
    .insight-row,
    .insight-row.reverse {
        flex-direction: column;
    }

    /* Force text first, image second on mobile using order */
    .story-content-wrapper,
    .leadership-content-wrapper {
        order: 1;
    }

    .story-image-wrapper,
    .leadership-image-wrapper {
        order: 2;
    }

    .insight-row .insight-text-wrapper,
    .insight-row.reverse .insight-text-wrapper {
        order: 1;
    }

    .insight-row .insight-image-wrapper,
    .insight-row.reverse .insight-image-wrapper {
        order: 2;
    }

    .story-content-wrapper,
    .leadership-content-wrapper,
    .insight-text-wrapper {
        padding: 40px 20px;
        flex: 1 1 auto;
        min-height: auto;
    }

    .story-content,
    .leadership-content,
    .insight-text-content {
        padding: 20px 0;
    }

    .story-image-wrapper,
    .leadership-image-wrapper,
    .insight-image-wrapper {
        height: 280px;
        position: relative;
        flex: 1 1 auto;
        top: auto;
    }

    .story-image-wrapper img,
    .leadership-image-wrapper img,
    .insight-image-wrapper img {
        height: 280px;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .footer-container {
        flex-direction: column;
        gap: 60px;
    }

    .footer-right {
        text-align: left;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wix-hero-content h1 {
        font-size: 1.8rem;
    }

    .wix-hero {
        height: auto;
        min-height: 60vh;
        padding-top: 80px;
    }
}