/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
  height: 100dvh;
    overflow: hidden;
}

/* .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
} */

/* Background Image - Visible on Mobile/Tablet, Hidden on Desktop */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

/* Show image on mobile/tablet only */
@media (min-width: 1025px) {
    .hero-image {
        display: none;
    }
}

/* Video - Visible on Desktop, Hidden on Mobile/Tablet */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Show video on desktop only */
@media (min-width: 1025px) {
    .hero-video {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--primary-color-alt-rgb), 0) 35%, var(--primary-color) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 48px;
    left: 48px;
    z-index: 2;
    max-width: 650px;
    width: 100%;
}

.hero-text {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-subtitle {
    font-family: var(--primary-font);
    font-size: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    font-weight: 300;
}

.hero-title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 48px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* Who We Are Section */
.who-we-are-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 0;
    align-items: center;
}

.who-we-are-section h2 {
    font-family: var(--primary-font);
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 72px 48px 72px 72px;
}

.who-we-are-text {
    font-family: var(--primary-font);
    font-size: 18px;
    line-height: 1.6;
}

.who-we-are-text p {
    margin-bottom: 16px;
}

.who-we-are-text p:last-child {
    margin-bottom: 0;
}

.who-we-are-image {
    position: relative;
    height: 100%;
    overflow: hidden; /* keep triangle inside */
}

.who-we-are-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;

    /* Triangle shape */
    width: 0;
    height: 0;
    border-left: 64px solid transparent;
    border-top: 64px solid var(--primary-color); 
}

.who-we-are-visual { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Solutions Section */
.solutions {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 72px 48px;
    background-color: var(--light-gray);
}

.solutions .section-title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 38px;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    color: var(--dark-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 960px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: var(--border-radius);
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-card h4 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.solution-card p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 72px 48px 40px;
    background-color: var(--light-gray);
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    text-align: center;
    max-width: 640px;
}

.team-header h2 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 38px;
    text-transform: uppercase;
    margin: 0;
    color: var(--dark-color);
}

.team-header p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(100%);
}

/* Performance Reports Section */
.performance-reports-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 72px 48px 36px;
    background-color: var(--light-gray);
}

.performance-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    text-align: center;
    max-width: 640px;
}

.performance-header h2 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 38px;
    text-transform: uppercase;
    margin: 0;
    color: var(--dark-color);
}

.performance-header p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

.performance-grid {
    width: 100%;
}

.performance-cards-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(388px, 1fr));
    gap: 16px;
    overflow-x: auto;
}

.performance-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    min-height: 375px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: auto;
    gap: 32px;
}

.performance-card-content { 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.performance-card h4 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.report-date {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-color);
    margin: 0;
}

.performance-card p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

.report-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Blog Section */
.blog-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 36px 48px 72px;
    background-color: var(--light-gray);
}

.blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    text-align: center;
    max-width: 640px;
}

.blog-header h2 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 38px;
    text-transform: uppercase;
    margin: 0;
    color: var(--dark-color);
}

.blog-header p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-image {
    aspect-ratio: 1200 / 800;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    align-items: stretch;
}

.blog-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card h4 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
}

.blog-card p {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design for sections */
@media (max-width: 1200px) {
    .who-we-are-section {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 40px;
    }

    .who-we-are-content {
        padding: 32px 48px 72px;
    }

    .who-we-are-image::after {
        top: unset;
        bottom: 0;
        border-top: 0;
        border-bottom: 64px solid var(--primary-color);
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 16px;
    }

    .team-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
    }

    .team-content {
        padding-left: 0;
    }

    .performance-cards-container {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .solutions .section-title,
    .team-header h2 {
        font-size: 32px;
    }

    .solution-card h4,
    .performance-card h4,
    .blog-card h4 {
        font-size: 22px;
    }

    .who-we-are-content {
        padding: 0 24px 48px;
    }

    .solutions,
    .team-section,
    .performance-reports-section,
    .blog-section {
        padding: 48px 24px;
        gap: 24px;
    }

    .blog-section {
        padding-top: 24px !important;
    }

    .performance-reports-section {
        padding-bottom: 24px !important;
    }

    .performance-cards-container {
        grid-template-columns: repeat(1, minmax(280px, 1fr));
    }

    .performance-card {
        width: 100%;
    }

    .hero-content {
        max-width: 330px;
        left: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {

    .solutions .section-title,
    .team-header h2,
    .performance-header h2,
    .blog-header h2 {
        font-size: 26px;
    }

    .solutions,
    .team-section,
    .performance-reports-section,
    .blog-section {
        padding: 48px 24px;
    }

    .solution-card,
    .performance-card {
        padding: 24px;
    }

    .who-we-are-section h2,
    .team-content h2 {
        font-size: 24px;
    }

    .solution-card h4,
    .performance-card h4,
    .blog-card h4 {
        font-size: 20px;
    }

    .solution-card p,
    .performance-card p,
    .blog-card p,
    .team-content p,
    .newsletter-content p,
    .team-header p,
    .performance-header p,
    .blog-header p {
        font-size: 16px;
    }
}