* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.heading {
    padding: 30px 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    gap: 10px;
}

.acmlogo {
    width: 100px;
    height: 100px;
    background: url("ac_tr.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.5);
}

.amritalogo {
    height: 100px;
    width: 100px;
}

.amritalogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

video.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5);
}

.menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.menu a {
    height: 35px;
    width: 35px;
    text-decoration: none;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    transition: 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu a:hover {
    color: red;
    border-radius: 50%;
    border: 2px solid red;
    transform: scale(1.2);
}

.menu a::after {
    content: attr(data-label);
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateY(-150%);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.menu a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.menu a i {
    display: inline-block;
    transition: transform 0.6s ease-in-out;
    transform: rotate(360deg);
}

.menu a:hover i {
    transform: rotate(-360deg);
}

.content {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: auto;
}

.content h1 {
    color: #0ff;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3.8px;
    text-shadow: 0 0 10px #0ff;
}

.content h1:hover {
    text-decoration: underline;
}

.social {
    position: fixed;
    top: 590px;
    left: 125px;
    z-index: 2;
    height: 100px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social a {
    z-index: 2;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 5px;
    transition: 0.5s;
}

.social a:hover {
    color: black;
    background-color: red;
    border: red;
    box-shadow: 0 0 15px red;
}

.social p {
    letter-spacing: 1px;
    font-size: 17px;
    color: gray;
    text-shadow: 0 0 10px yellow;
}

.social-icons {
    z-index: 2;
    position: fixed;
    top: 500px;
    left: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
    border-radius: 50%;
}

.social-icons a:hover {
    border: 2px solid red;
    color: red;
    transform: scale(1.2);
}


/* ─── ATM Card ─── */
.atm-card {
    position: fixed;
    z-index: 2;
    top: 220px;
    left: 58%;
    width: 480px;
    padding: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 40%, #1a1040 70%, #0a0a1a 100%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: default;
}

.atm-card:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(0, 255, 255, 0.1),
        0 0 100px rgba(100, 0, 255, 0.05);
}

/* Holographic shine sweep */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(0, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(0, 255, 255, 0.03) 55%,
            transparent 60%);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 10;
}

.atm-card:hover .card-shine {
    left: 100%;
}

/* ─── Top row ─── */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px 0;
}

.card-logo {
    width: 40px;
    height: 40px;
}

.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.3));
}

.card-contactless {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 255, 255, 0.5);
    font-size: 0.75rem;
    transform: rotate(90deg);
}

/* ─── Chip ─── */
.card-chip {
    width: 42px;
    height: 30px;
    margin: 10px 0 0 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #c9a84c 0%, #f0d878 30%, #c9a84c 50%, #f0d878 70%, #c9a84c 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    padding: 4px;
    overflow: hidden;
}

.chip-line {
    border-radius: 2px;
    background: linear-gradient(135deg, rgba(150, 110, 40, 0.4), rgba(200, 160, 60, 0.2));
    border: 1px solid rgba(150, 110, 40, 0.3);
}

/* ─── Card Number ─── */
.card-number {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px 0;
    font-family: 'OCR A Std', 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}

/* ─── Card Info ─── */
.card-info {
    display: flex;
    justify-content: space-between;
    padding: 8px 24px 0;
}

.card-holder,
.card-valid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-holder label,
.card-valid label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.card-holder p,
.card-valid p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* ─── Email ─── */
.card-email {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 24px 0;
}

.card-email i {
    color: rgba(0, 255, 255, 0.4);
    font-size: 0.75rem;
}

.card-email a {
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.78rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.card-email a:hover {
    color: #0ff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* ─── Magnetic Strip ─── */
.card-strip {
    width: 100%;
    height: 4px;
    margin-top: 8px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 255, 0.08) 10%,
            rgba(0, 255, 255, 0.15) 30%,
            rgba(100, 0, 255, 0.12) 50%,
            rgba(0, 255, 255, 0.15) 70%,
            rgba(0, 255, 255, 0.08) 90%,
            transparent 100%);
    position: relative;
}

.card-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: stripShimmer 3s linear infinite;
}

@keyframes stripShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ─── Social Links ─── */
.card-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 8px 24px 0;
}

.card-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.card-social-link i {
    font-size: 0.85rem;
    transition: color 0.3s;
}

.card-social-link:hover {
    color: #0ff;
    border-color: rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.06);
}

.card-social-link:hover i {
    color: #0ff;
}

/* ─── Bottom brand ─── */
.card-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px 12px;
}

.card-brand span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 3px;
    font-weight: 500;
}

.card-brand i {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
}

.container {
    position: absolute;
    top: 180px;
    left: 30%;
    transform: translateX(-50%);
    height: 70vh;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    overflow-y: auto;
    direction: rtl;
    z-index: 2;
    padding: 20px;
}

.box {
    display: flex;
    gap: 65px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    direction: ltr;
}

.cards {
    position: relative;
    width: 280px;
    height: 350px;
    overflow: hidden;
    transition: 0.3s;
}

.cards:hover {
    box-shadow: 0 0 15px red;
}

.cards::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    top: 0;
    left: 0;
    border-left: 5px solid red;
    border-top: 5px solid red;
    opacity: 0;
    transition: 0.3s ease-in-out;
    pointer-events: none;
}

.cards::after {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    right: 0;
    bottom: 0;
    border-right: 5px solid red;
    border-bottom: 5px solid red;
    opacity: 0;
    transition: 0.3s ease-in-out;
    pointer-events: none;
}

.cards:hover::before {
    height: 100%;
    width: 100%;
    opacity: 1;
}

.cards:hover::after {
    height: 100%;
    width: 100%;
    opacity: 1;
}

.photo {
    height: 350px;
    width: 280px;
}

.photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.photo img:hover {
    border-radius: 50%;
}

.overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 150px;
    background: transparent;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: bottom 0.5s ease;
}

.cards:hover .overlay {
    bottom: 0;
    transition-delay: 0.3s;
}


.overlay h1 {
    color: #fff;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.overlay p {
    color: #fff;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cards:hover .overlay h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.cards:hover .overlay p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.sl {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.sl a {
    color: white;
    font-size: 22px;
    text-decoration: none;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cards:hover .sl a {
    transform: translateY(0);
    opacity: 1;
}

.sl a:nth-child(1) {
    transition-delay: 0.3s;
}

.sl a:nth-child(2) {
    transition-delay: 0.4s;
}

.sl a:nth-child(3) {
    transition-delay: 0.5s;
}

.sl a:nth-child(4) {
    transition-delay: 0.6s;
}

.sl a:nth-child(5) {
    transition-delay: 0.7s;
}

.container::-webkit-scrollbar {
    width: 10px;
}

.container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
    background: #0ff;
    border-radius: 10px;
    box-shadow: 0 0 10px #0ff;
}

.container::-webkit-scrollbar-thumb:hover {
    background: #0cc;
    box-shadow: 0 0 15px #0ff;
}

.container {
    scrollbar-width: thin;
    scrollbar-color: #0ff transparent;
}


/* ===========================
   TABLET (≤ 1280px)
   =========================== */
@media screen and (max-width: 1280px) {
    .heading {
        padding: 25px 30px;
    }

    .acmlogo {
        width: 80px;
        height: 80px;
        transform: scale(1.2);
    }

    .amritalogo {
        height: 80px;
        width: 80px;
    }

    .menu {
        gap: 20px;
    }

    .content {
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .content h1 {
        font-size: 34px;
    }

    .container {
        left: 20%;
        width: 60%;
    }

    .atm-card {
        left: 50%;
        transform: translateX(-50%);
        width: 430px;
    }

    .atm-card:hover {
        transform: translateX(-50%) translateY(-8px) rotateX(3deg) rotateY(-3deg);
    }

    .card-number {
        font-size: 1.3rem;
    }
}


/* ===========================
   MOBILE (≤ 768px)
   =========================== */
@media screen and (max-width: 768px) {

    html,
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .heading {
        position: relative;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 15px;
    }

    .acmlogo {
        width: 55px;
        height: 55px;
        transform: scale(1);
    }

    .amritalogo {
        height: 55px;
        width: 55px;
    }

    .menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 15px;
        height: 30px;
        width: 30px;
        padding: 8px;
    }

    .menu a::after {
        display: none;
    }

    .content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 10px 20px;
    }

    .content h1 {
        font-size: clamp(22px, 6vw, 34px);
        letter-spacing: 2px;
    }

    .container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        padding: 15px;
        gap: 20px;
        direction: ltr;
    }

    .box {
        gap: 20px;
    }

    .cards {
        width: 45%;
        height: 300px;
    }

    .photo {
        width: 100%;
        height: 100%;
    }

    .overlay h1 {
        font-size: 14px;
    }

    .overlay p {
        font-size: 12px;
    }

    .sl a {
        font-size: 18px;
    }

    .atm-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: calc(100% - 30px);
        margin: 20px auto;
    }

    .atm-card:hover {
        transform: translateY(-4px);
    }

    .card-number {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .card-holder p {
        font-size: 0.75rem;
    }

    .card-social {
        gap: 10px;
        flex-wrap: wrap;
    }

    .card-social-link span {
        display: none;
    }


    .social-icons {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
        padding: 30px 0 50px 0;
        width: 100%;
    }

    .social-icons a {
        font-size: 22px;
        height: 35px;
        width: 35px;
    }
}


/* ===========================
   SMALL MOBILE (≤ 480px)
   =========================== */
@media screen and (max-width: 480px) {
    .heading {
        padding: 10px;
        gap: 12px;
    }

    .acmlogo {
        width: 45px;
        height: 45px;
    }

    .amritalogo {
        height: 45px;
        width: 45px;
    }

    .menu {
        gap: 8px;
    }

    .menu a {
        font-size: 14px;
        height: 28px;
        width: 28px;
        padding: 6px;
    }

    .content h1 {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .cards {
        width: 100%;
        height: 320px;
    }

    .overlay h1 {
        font-size: 16px;
    }

    .overlay p {
        font-size: 14px;
    }

    .log h1 {
        font-size: 16px;
    }

    .para a {
        font-size: 12px;
    }

    .smedia a {
        font-size: 12px;
    }
}