.about-home-section {
    width: 100%;
    background: #f5f7fb url('../../images/abn.jpg') no-repeat center/cover;
    padding: 52px 16px 56px;
}

@keyframes about-skills-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes about-skills-icon-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

@keyframes about-stats-float {
    from { transform: translateY(0) rotate(-2deg); }
    to   { transform: translateY(-10px) rotate(3deg); }
}

@keyframes about-ring-pulse {
    0% {
        transform: scale(0.75);
        opacity: 0.65;
    }
    55% {
        opacity: 0.25;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@keyframes about-ring-vibrate {
    0%, 100% { transform: translate(0, 0) scale(1); }
    10% { transform: translate(-0.6px, 0.4px) scale(1.01); }
    20% { transform: translate(0.7px, -0.5px) scale(0.99); }
    30% { transform: translate(-0.4px, -0.6px) scale(1.01); }
    40% { transform: translate(0.6px, 0.3px) scale(0.99); }
    50% { transform: translate(-0.3px, 0.6px) scale(1.01); }
    60% { transform: translate(0.5px, -0.3px) scale(0.99); }
    70% { transform: translate(-0.6px, -0.2px) scale(1.01); }
    80% { transform: translate(0.2px, 0.6px) scale(0.99); }
    90% { transform: translate(0.6px, -0.4px) scale(1.01); }
}

.about-home-content {
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.about-home-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 56px;
    align-items: center;
}

.about-home-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
}

.about-home-image-wrap {
    width: 100%;
    max-width: 540px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.about-home-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-home-circle-bg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 102%;
    height: auto;
    max-width: none;
    z-index: 2;
    opacity: 0.22;
    mix-blend-mode: multiply;
    pointer-events: none;
    animation: about-circle-spin 22s linear infinite;
}

.about-home-play {
    position: absolute;
    left: 50%;
    top: 40%;
    bottom: auto;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: none;
    padding: 8px 16px 8px 12px;
    background-color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    z-index: 3;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.about-home-play:focus-visible {
    outline: none;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35), 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.about-home-badge {
    height: 32px;
    width: auto;
    display: block;
}

.about-home-play-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    animation: about-ring-vibrate 1.05s infinite;
}

.about-home-play-circle::before,
.about-home-play-circle::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    border: 2px solid rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    z-index: -1;
    pointer-events: none;
    animation: about-ring-pulse 1.55s infinite;
}

.about-home-play-circle::after {
    inset: -18px;
    border-color: rgba(16, 185, 129, 0.35);
    animation-delay: 0.55s;
}

.about-home-play-circle i {
    font-size: 18px;
    margin-left: 2px;
}

.about-home-play:hover {
    transform: translate(-50%, -50%) translateY(-1px) scale(1.03);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.45);
}

@keyframes about-circle-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.about-home-content-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-home-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
}

.about-home-subtitle {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.about-home-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    max-width: 62ch;
}

.about-home-actions {
    margin-top: 16px;
}

/* Skills adventure rotating badge */

.about-home-skills-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.about-home-skills-badge {
    flex-shrink: 0;
}

.about-home-skills-ring {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.35);   /* light grey border */
    background: rgba(241, 245, 249, 0.85);         /* soft light bg */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: about-skills-spin 18s linear infinite;
}

.about-home-skills-svg {
    position: absolute;
    inset: 0;
}

.about-home-skills-text {
    font-size: 12px;
    font-weight: 600;
    fill: #111827;
    letter-spacing: 0.08em;
}

.about-home-skills-center {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: none; /* transparent center */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.about-home-skills-center img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    animation: about-skills-icon-spin 12s linear infinite;
}

.about-home-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #125f1c;
    background: #e6fff7;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.about-home-cta:focus-visible {
    outline: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06), 0 0 0 3px rgba(17, 24, 39, 0.25);
}

.about-home-cta i {
    margin-left: 6px;
    font-size: 12px;
}

.about-home-cta:hover {
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

/* Floating students badge */

.about-home-stats-float {
    margin-top: 20px;
}

.about-home-stats-card {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    animation: about-stats-float 4.8s ease-in-out infinite alternate;
}

.about-home-stats-card img {
    height: 40px;
    width: auto;
    display: block;
}

/* Video modal */

.about-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.about-video-modal-inner {
    width: 100%;
    max-width: 880px;
    margin: 0 16px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.about-video-modal iframe {
    width: 100%;
    height: min(70vh, 500px);
    border: none;
    display: block;
}

.about-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.about-video-modal-close:hover {
    background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 900px) {
    .about-home-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-home-image {
        order: -1;
    }

    .about-home-section {
        padding-inline: 12px;
    }

    .about-home-content {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .about-home-text {
        max-width: none;
    }

    .about-home-skills-row {
        justify-content: flex-start;
    }

    .about-home-skills-badge {
        margin-left: -8px; /* हल्का सा left shift only on mobile */
    }

    .about-home-skills-ring {
        width: 96px;
        height: 96px;
    }

    .about-home-skills-text {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-home-play-circle {
        animation: none !important;
    }

    .about-home-play-circle::before,
    .about-home-play-circle::after {
        animation: none !important;
        opacity: 0.25;
        transform: scale(1.1);
    }
}
