/* Modern History Section */
.history {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    overflow: hidden;
}

.history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.history .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 80px;
    position: relative;
}

.history .section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #fff 50%, transparent 100%);
}

.history__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Text Column */
.history__text-col {
    position: relative;
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.history__text-col:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.history__subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.history__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #fff;
}

.history__text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: #ccc;
    margin: 0;
}

.history__text-col::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.history__text-col:hover::after {
    opacity: 1;
}

.history__images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.history__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.history__img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .history__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .history__text-col {
        padding: 40px;
    }

    .history__images {
        order: -1;
    }
}

@media (max-width: 768px) {
    .history {
        padding: 80px 0;
    }

    .history .section-title {
        margin-bottom: 50px;
    }

    .history__content {
        gap: 40px;
    }

    .history__text-col {
        padding: 30px;
    }

    .history__img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .history__text-col {
        padding: 25px;
    }

    .history__subtitle {
        font-size: 1rem;
        padding-left: 20px;
    }

    .history__subtitle::before {
        width: 15px;
    }

    .history__img {
        height: 200px;
    }
}