:root {
    --gradient-linear: linear-gradient(50deg, #7C4FD0 0%, #D589E3 36%, #FFB367 70%, #FCD5A1 100%);
    --color-text-dark: #2C2C2C;
    --color-text-grey: #565656;
    --color-light-grey-bg: #F0F0F0;
    --color-white: #FFFFFF;
}

body {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    padding-top: 0;
    background: var(--color-white);
    color: var(--color-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    flex-grow: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 60px 45px 80px;
    background: var(--gradient-linear);
    border-radius: 40px;
    color: var(--color-white);
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.1;
    color: var(--color-white);
}

.hero p {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--color-white);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-feature-item {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    width: calc(50% - 15px);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-wrap: wrap;
}

.hero-feature-item:hover, .hero-feature-item.expanded {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-feature-item .plus-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-white);
}

.feature-details {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

/* About Section */
.about-us {
    padding: 40px 0;
    text-align: center;
}

.about-us h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--color-text-dark);
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.about-card {
    background: var(--gradient-linear);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    text-align: left;
    color: var(--color-white);
    transition: transform 0.3s ease;
}

@media (min-width: 769px) {
    .about-grid {
        flex-wrap: nowrap;
    }
    .about-card {
        width: calc(50% - 10px);
        flex: 1;
    }
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-white);
}

.about-card p {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.5;
}

/* Values Section */
.values-section {
    padding: 40px 0;
    text-align: center;
}

.values-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--color-text-dark);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.value-item {
    background-color: var(--color-light-grey-bg);
    border-radius: 15px;
    padding: 15px 20px;
    width: calc(50% - 15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.value-item:hover, .value-item.expanded {
    background-color: #EDEDED;
}

.value-item .icon-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    flex-grow: 1;
}

.value-item .icon {
    font-size: 30px;
}

.value-item .plus-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-dark);
}

.value-details {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-grey);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

/* Team Section - uses carousel from main page */
.team-section.section-5 {
    padding: 60px 0;
}

.team-section .team-carousel {
    gap: 10px; /* Reduce gap between members */
}

.team-section .team-member {
    flex-shrink: 0;
    width: 160px;
}

@media (min-width: 1024px) {
    .team-section .team-carousel {
        display: grid;
        grid-template-columns: repeat(4, 160px);
        justify-content: center;
        column-gap: 20px;
        row-gap: 30px;
        overflow-x: visible;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Solutions CTA */
.solutions-cta {
    padding: 60px 45px;
    background: var(--gradient-linear);
    color: var(--color-white);
    text-align: center;
    border-radius: 40px;
    margin-top: 40px;
}

.solutions-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-white);
}

.solutions-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-white);
}

.btn-primary {
    display: inline-block;
    background: var(--color-white);
    color: #7C4FD0;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container { 
        padding: 0 20px; 
        max-width: 100%;
    }
    
    .hero {
        padding: 40px 20px 60px;
        margin-bottom: 20px;
        border-radius: 40px;
    }

    .hero h1 { font-size: 32px; }
    .hero p { font-size: 18px; }

    .hero-feature-item {
        width: 100%;
    }

    .about-us, .values-section, .team-section {
        padding: 30px 20px;
    }

    .about-card {
        width: 100%;
        margin-bottom: 15px;
    }

    .value-item {
        width: 100%;
    }

    .team-member {
        width: 100%;
    }

    .solutions-cta {
        border-radius: 0;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    
    .about-card, .value-item {
        padding: 20px;
    }
}
