:root {
    --bg-color-1: aliceblue;
    --bg-color-2: white;
    --text-color-main: black;
    --text-color-secondary: gray;
    --button-color: rgb(234, 232, 255);
    --filter: invert(0) brightness(0);
    --primary-font: 'Poppins', sans-serif;
    --heading-font: 'Inter', sans-serif;
    --gradient: linear-gradient(90deg, #ee00ff, #3333ff);
    --gradient-hover: linear-gradient(90deg, #c100cf, #2222ab);
    --box-gradient: linear-gradient(90deg, aliceblue, rgb(229, 243, 255));
}

[data-theme="dark"] {
    --bg-color-1: #0f172a;
    --bg-color-2: #111827;
    --text-color-main: #ffffff;
    --text-color-secondary: #cbd5e1;
    --button-color: #1e293b;
    --box-gradient: linear-gradient(90deg, #1e293b, #1e2943);
    --filter: invert(1) brightness(1);
}

.story-box,
.drive-boxes,
.tool-content,
.education-expirience-title,
.timeline {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.heading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    text-align: center;
    background-color: var(--bg-color-1);
    width: 100%;
    min-height: 50vh;
    box-sizing: border-box;
}

.heading-section-heading {
    font-family: var(--heading-font);
    font-size: 60px;
    color: var(--text-color-main);
    margin-bottom: 10px;
}

.heading-section-sub-heading {
    font-family: var(--primary-font);
    font-size: 20px;
    color: var(--text-color-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.story-section {
    background-color: var(--bg-color-2);
    padding: 60px 20px 0;
    box-sizing: border-box;
}

.story-box {
    background: var(--box-gradient);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 60px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
}

.story-box:hover {
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
}

.story-box-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.story-box-heading {
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 600;
    color: var(--text-color-main);
    margin-bottom: 20px;
}

.story-box-description {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--text-color-secondary);
    line-height: 1.8;
}

.story-box-description p {
    margin: 0 0 18px;
}

.story-box-description p:last-child {
    margin-bottom: 0;
}

.drives {
    background-color: transparent;
    padding: 0 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.drives-heading {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 600;
    color: var(--text-color-main);
    margin: 0 0 40px;
    text-align: center;
}

.drive-boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    justify-content: center;
}

.drives-content {
    width: 100%;
}

.drives-content-box {
    background: var(--box-gradient);
    border-radius: 10px;
    padding: 30px;
    min-height: 100%;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
    box-sizing: border-box;
}

.drives-content-box:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.2);
}

.drives-content-heading {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.drives-content-image-background {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drives-content-image {
    width: 25px;
    height: 25px;
    filter: invert(1) brightness(1);
}

.drives-content-title {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--text-color-main);
    font-weight: 500;
}

.drives-content-description {
    font-family: var(--primary-font);
    font-size: 16px;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.tools {
    background-color: var(--bg-color-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.tools-title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.tools-title-heading {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 600;
    color: var(--text-color-main);
    margin-bottom: 12px;
}

.tools-title-sub-heading {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.tool-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tool-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--box-gradient);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    box-sizing: border-box;
}

.tool-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.2);
}

.tool-box-title {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.tool-box-image-background {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-box-image {
    width: 25px;
    height: 25px;
    filter: invert(1);
}

.tool-box-title-text {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-main);
}

.tool {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--box-gradient);
    box-sizing: border-box;
}

.tool-image {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.tool-name {
    font-family: var(--primary-font);
    font-size: 16px;
    color: var(--text-color-main);
    text-align: left;
}

.tool-box.other-tools {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.tool-box.other-tools .tool-box-title {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.education-expirience {
    background-color: var(--bg-color-2);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.education-expirience-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.education-expirience-heading {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 600;
    color: var(--text-color-main);
    margin-bottom: 12px;
}

.education-expirience-sub-heading {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.timeline-section {
    margin-top: 0;
    padding: 40px 0 0;
    width: 100%;
    box-sizing: border-box;
}

.timeline {
    width: 100%;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover .timeline-card {
    transform: scale(1.02);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.2);
    transition: 1s ease;
}

.timeline-line {
    position: absolute;
    left: 18px;
    top: 10px;
    width: 2px;
    height: 100%;
    background: #3333ff;
}

.timeline-dot {
    position: absolute;
    left: 7px;
    top: 0;
    width: 24px;
    height: 24px;
    background: #3333ff;
    border-radius: 50%;
}

.timeline-card {
    background: var(--bg-color-1);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    color: #3333ff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 18px;
}

.timeline-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-main);
    margin-bottom: 12px;
}

.timeline-company {
    font-size: 18px;
    color: var(--text-color-secondary);
    margin-bottom: 28px;
}

.timeline-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color-secondary);
    max-width: 900px;
}

@media (max-width: 1100px) {
    .drive-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-content {
        grid-template-columns: 1fr;
    }

    .tool-box.other-tools {
        grid-column: span 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-box.other-tools .tool-box-title {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .heading-section {
        padding: 90px 20px 50px;
        min-height: auto;
    }

    .heading-section-heading {
        font-size: 42px;
    }

    .heading-section-sub-heading {
        font-size: 18px;
    }

    .story-section,
    .tools,
    .education-expirience {
        padding-left: 20px;
        padding-right: 20px;
    }

    .story-section {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .drives {
        padding-bottom: 40px;
    }

    .tools,
    .education-expirience {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .story-box {
        padding: 20px;
        margin-bottom: 40px;
    }

    .story-box-content {
        padding: 5px;
    }

    .story-box-heading,
    .drives-heading,
    .tools-title-heading,
    .education-expirience-heading {
        font-size: 32px;
    }

    .story-box-description,
    .tools-title-sub-heading,
    .education-expirience-sub-heading {
        font-size: 16px;
    }

    .tools-title {
        margin-bottom: 30px;
    }

    .drives-content-box {
        padding: 24px;
    }

    .tool-box {
        width: 100%;
        padding: 25px 20px;
    }

    .tool-box-title-text {
        font-size: 22px;
    }

    .tool {
        padding: 12px 15px;
    }

    .timeline-section {
        padding-top: 30px;
    }

    .timeline-item {
        padding-left: 45px;
        margin-bottom: 30px;
    }

    .timeline-line {
        left: 11px;
        top: 12px;
        width: 2px;
    }

    .timeline-dot {
        left: 0;
        top: 2px;
        width: 22px;
        height: 22px;
    }

    .timeline-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .timeline-year {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .timeline-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .timeline-company {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .timeline-description {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 700px) {
    .drive-boxes,
    .tool-box.other-tools {
        grid-template-columns: 1fr;
    }

    .tool-box.other-tools .tool-box-title {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .heading-section {
        padding: 80px 15px 40px;
    }

    .heading-section-heading {
        font-size: 34px;
    }

    .heading-section-sub-heading {
        font-size: 16px;
    }

    .story-section,
    .tools,
    .education-expirience {
        padding-left: 15px;
        padding-right: 15px;
    }

    .story-section {
        padding-top: 30px;
    }

    .drives {
        padding-bottom: 30px;
    }

    .tools,
    .education-expirience {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .story-box {
        padding: 16px;
        margin-bottom: 30px;
    }

    .story-box-content {
        padding: 0;
    }

    .story-box-heading,
    .drives-heading,
    .tools-title-heading,
    .education-expirience-heading {
        font-size: 28px;
    }

    .story-box-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .tools-title {
        margin-bottom: 24px;
    }

    .drives-content-box {
        padding: 20px;
    }

    .tool-box {
        padding: 20px 15px;
    }

    .tool-box-title {
        flex-direction: column;
        gap: 8px;
    }

    .tool-box-title-text {
        font-size: 20px;
        text-align: center;
    }

    .tool {
        gap: 12px;
        padding: 10px 12px;
    }

    .tool-image {
        width: 26px;
        height: 26px;
    }

    .tool-name {
        font-size: 15px;
    }

    .timeline-item {
        padding-left: 35px;
    }

    .timeline-line {
        left: 8px;
    }

    .timeline-dot {
        left: -1px;
        width: 18px;
        height: 18px;
    }

    .timeline-card {
        padding: 18px 16px;
    }

    .timeline-year {
        font-size: 14px;
    }

    .timeline-title {
        font-size: 18px;
    }

    .timeline-company {
        font-size: 15px;
    }

    .timeline-description {
        font-size: 14px;
    }
}