.hero-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 54rem;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    font-weight: 800;
}

.heading-right-part {
    color: var(--primary-end);
}

.hero-para {
    max-width: 40rem;
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--side-text-color);
}

.cards-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.25rem;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cards:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.info-cards-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.icon-styles {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(70, 72, 212, 0.1);
    color: var(--primary-start);
    border-radius: 50%;
}

.card-percentage {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.card-tag {
    padding: 0.28rem 0.55rem;
    background: rgb(255 220 197);
    color: #1f2937;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.card-para {
    margin-bottom: 0.5rem;
    color: var(--side-text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.card-heading {
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
}

.track-line {
    width: 76px;
    height: 6px;
    background: rgb(236 238 240);
    border-radius: 999px;
    overflow: hidden;
}

.track-percentage {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
}

.challenge-status {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-container-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.9fr);
    gap: 1.5rem;
    margin-top: 2.75rem;
    align-items: stretch;
}

.feature-left-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 0;
    min-height: 340px;
    padding: 1.5rem;
    background: var(--feature-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-text-section {
    flex: 1 1 18rem;
    max-width: 390px;
}

.feature-title {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-end);
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.78rem;
}

.feature-heading {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.feature-para {
    max-width: 480px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgb(70 69 84);
}

.try-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    border: none;
    background: transparent;
    color: var(--primary-end);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: gap 0.25s ease, transform 0.25s ease;
}

.try-btn:hover {
    gap: 0.8rem;
    transform: translateX(2px);
}

.feature-img-section {
    flex: 1 1 20rem;
    min-width: 0;
}

.feature-img-styles {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 20px;
}

.feature-right-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 340px;
    padding: 2rem;
    color: white;
    background: var(--primary-start);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.leaf-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-right-heading {
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.feature-right-para {
    display: inline-block;
    max-width: 240px;
    font-size: 0.98rem;
    line-height: 1.6;
    opacity: 0.88;
}

.logo-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    margin-top: 2.6rem;
    animation: scrollSlider 20s linear infinite;
    will-change: transform;
}

.logo {
    flex: 0 0 auto;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scrollSlider {
    from {
        transform: translateX(0);
    }

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

.recent-activity-container {
    display: grid;
    grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.45fr);
    gap: 1.5rem;
    margin-top: 2.75rem;
    align-items: stretch;
}

.recent-activity-left {
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.activity-heading {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
}

.activity-list-parent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
    list-style: none;
}

.activity-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.activity-dots {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 9999px;
}

.green {
    background: var(--accent);
}

.blue {
    background: rgb(0 104 122);
}

.red {
    background: rgb(144 73 0);
}

.activity-list-para {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.activity-list-description {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(70 69 84);
}

.activity-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.activity-img-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 12%, rgba(15, 23, 42, 0.7) 100%);
}

.activity-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.activity-img-container:hover .activity-img {
    transform: scale(1.06);
}

.activity-img-text {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
}

.activity-img-heading {
    color: rgb(255 255 255);
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    line-height: 1.1;
    font-weight: 700;
}

.activity-img-para {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.7rem;
    color: rgb(255 255 255);
    opacity: 0.8;
}

.our-philosophy-container {
    max-width: 48rem;
    margin: 6rem auto 0;
    text-align: center;
}

.philosophy-lines {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.first-line-1,
.first-line-2,
.first-line-3 {
    width: 0.25rem;
    height: 8rem;
    background: var(--accent);
    border-radius: 9999px;
    overflow: hidden;
}

.first-line-2 {
    margin-top: 1rem;
}

.first-line-3 {
    margin-top: -1rem;
}

.sec-line-1,
.sec-line-2,
.sec-line-3 {
    width: auto;
    background: rgb(76 215 246);
}

.sec-line-1 {
    height: 40%;
}

.sec-line-2 {
    height: 60%;
}

.sec-line-3 {
    height: 20%;
}

.philosophy-heading {
    font-family: "Manrope", sans-serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    font-style: italic;
}

.philosophy-heading-para {
    padding-top: 3rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
}

@media (max-width: 1320px) {
    .feature-img-styles {
        height: 100%;
        min-height: 280px;
    }
}

@media (max-width: 1164px) {
    .feature-container-grid,
    .recent-activity-container {
        grid-template-columns: 1fr;
    }

    .feature-left-section {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1024px) {
    .cards-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
}

@media (max-width: 808px) {
    .cards-section-grid {
        grid-template-columns: 1fr;
    }

    .hero-para {
        font-size: 1.05rem;
    }

    .recent-activity-left,
    .activity-img,
    .feature-right-section {
        min-height: 320px;
    }

    .activity-img-text {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 520px) {
    .hero-section {
        gap: 0.8rem;
    }

    .hero-para,
    .feature-para {
        font-size: 1rem;
    }

    .hero-cards,
    .feature-left-section,
    .feature-right-section,
    .recent-activity-left {
        padding: 1.25rem;
    }

    .logo-track {
        gap: 36px;
    }

    .philosophy-heading {
        font-size: 1.5rem;
        line-height: 1.9rem;
    }
}
