/* --- MODERN RÓLUNK OLDAL DIZÁJN ÉS ANIMÁCIÓK --- */
.about-page-wrapper {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    perspective: 1000px;
}

.about-container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #111111;
    padding: 60px 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 204, 85, 0.2);
    box-shadow: 0 20px 50px rgba(27, 77, 62, 0.12);
    animation: fadeInContainer 0.8s ease-out;
}

@keyframes fadeInContainer {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Főcím rész animációval */
.about-header-section {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    animation: slideDownTitle 1s ease-out;
}

@keyframes slideDownTitle {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-header-section h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    /* Főoldali címhez hasonló dinamikus színváltós animáció */
    animation: titleColorShift 6s ease-in-out infinite;
}

@keyframes titleColorShift {
    0% { color: #1b4d3e; }
    50% { color: #00cc55; }
    100% { color: #1b4d3e; }
}

.about-header-section p {
    font-size: 17px;
    color: #555555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-header-section h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #00cc55;
    margin: 15px auto 0;
    border-radius: 2px;
    animation: expandLine 1.2s ease-out;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 80px; }
}

/* 3 oszlopos 3D kártya rendszer finom megjelenési animációval */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: #ffffff;
    color: #111111;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    animation: fadeInUpCards 0.8s ease-out both;
}

/* Kártyák lépcsőzetes megjelenése */
.about-card:nth-child(1) { animation-delay: 0.2s; }
.about-card:nth-child(2) { animation-delay: 0.4s; }
.about-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUpCards {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1b4d3e, #00cc55);
    transition: height 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(27, 77, 62, 0.2);
    border-color: #00cc55;
}

.about-card:hover::before {
    height: 8px; /* Rávitelkor vastagabbá válik a felső zöld csík */
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: #f0fdf4;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg); /* Ikon enyhe megnövelése és forgatása */
    background: #e6f9ed;
}

.about-card h3 {
    font-size: 22px;
    color: #1b4d3e;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* Alsó kiemelt prémium sáv */
.about-footer-banner {
    background: linear-gradient(135deg, #1b4d3e 0%, #14382c 100%);
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.2);
    border: 1px solid rgba(0, 204, 85, 0.3);
    animation: fadeInContainer 1s ease-out;
}

.about-footer-banner p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}