* {
    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: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
    height: 100px;
    width: 600px;
    text-align: center;
    transition: 0.3s;
}

.content h1 {
    font-size: 40px;
    color: #0ff;
    text-align: center;
    text-shadow: 0 0 10px #0ff;
}

.content h1:hover {
    text-decoration: underline;
}

.box {
    position: relative;
    margin-left: 100px;
    margin-right: 100px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5.5rem;
    padding: 2rem;
    max-height: 70vh;
    overflow-y: scroll;
    scrollbar-width: none;
}

.items {
    background-color: transparent;
    border: 2px solid #0ff;
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    contain: layout style;
}

.items:hover {
    border-color: red;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-3px);
}

.items h1 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.items p {
    font-size: 0.9rem;
    color: bisque;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: justify;
}

.core {
    margin-bottom: 1rem;
}

.core strong {
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: white;
}

.core h2 {
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: red;
}

.join a {
    display: inline-block;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    color: bisque;
    letter-spacing: 1px;
    border: 2px solid bisque;
    background-color: black;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.join a:hover {
    background-color: red;
    color: black;
    border: 2px solid red;
    box-shadow: 0 0 15px red;
}

.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);
}

.box::-webkit-scrollbar {
    width: 10px;
}

.box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.box::-webkit-scrollbar-thumb {
    background: #0ff;
    border-radius: 10px;
    box-shadow: 0 0 10px #0ff;
}

.box::-webkit-scrollbar-thumb:hover {
    background: #0cc;
    box-shadow: 0 0 15px #0ff;
}

.box {
    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 {
        width: auto;
        margin-top: 110px;
    }

    .content h1 {
        font-size: 34px;
    }

    .box {
        margin-left: 60px;
        margin-right: 60px;
        gap: 3rem;
    }
}


/* ===========================
   TABLET SMALL (≤ 900px)
   =========================== */
@media screen and (max-width: 900px) {
    .box {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-left: 40px;
        margin-right: 40px;
    }
}


/* ===========================
   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 {
        margin-top: 10px;
        height: auto;
        width: 100%;
        padding: 10px 20px;
    }

    .content h1 {
        font-size: clamp(22px, 6vw, 34px);
    }

    .box {
        grid-template-columns: 1fr;
        margin-left: 15px;
        margin-right: 15px;
        gap: 1.5rem;
        padding: 1rem;
        max-height: none;
        overflow-y: visible;
    }

    .items {
        padding: 1rem;
    }

    .items h1 {
        font-size: 1.1rem;
    }

    .items p {
        font-size: 0.85rem;
    }

    .join a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .social-icons {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        margin-top: 50px;
        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;
    }

    .box {
        margin-left: 10px;
        margin-right: 10px;
        gap: 1rem;
        padding: 0.5rem;
    }

    .items h1 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .items p {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .core strong {
        font-size: 0.8rem;
    }

    .core h2 {
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════
   SIG REGISTRATION MODAL
   ═══════════════════════════════════════ */

.sig-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
}

.sig-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.sig-modal {
    background: rgba(8, 8, 25, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow:
        0 0 40px rgba(0, 255, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sig-modal-overlay.open .sig-modal {
    transform: scale(1) translateY(0);
}

.sig-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.sig-modal-close:hover {
    background: rgba(255, 70, 70, 0.15);
    border-color: rgba(255, 70, 70, 0.3);
    color: #ff4646;
    transform: rotate(90deg);
}

/* Modal Header */
.sig-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sig-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(255, 0, 0, 0.08));
    border: 1px solid rgba(0, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.sig-modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #fff, #0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sig-modal-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Form */
.sig-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sig-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sig-modal-field label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.5px;
}

.sig-modal-field label i {
    color: rgba(0, 255, 255, 0.5);
    margin-right: 4px;
    font-size: 0.72rem;
}

.sig-modal-field input {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.3s ease;
}

.sig-modal-field input:focus {
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.5);
}

.sig-modal-field input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.sig-modal-field select {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.sig-modal-field select:focus {
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.5);
}

.sig-modal-field select option {
    background: #0a0a1a;
    color: #fff;
    padding: 8px;
}

.sig-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Submit Button */
.sig-modal-submit {
    margin-top: 0.5rem;
    padding: 13px;
    border-radius: 12px;
    border: 2px solid #ff0000;
    background: rgba(255, 0, 0, 0.08);
    color: #ff0000;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sig-modal-submit:hover {
    background: rgba(255, 0, 0, 0.15);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.sig-modal-submit:active {
    transform: translateY(0);
}

.sig-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.sig-modal-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    animation: sigFadeIn 0.5s ease;
}

.sig-success-icon {
    font-size: 3.5rem;
    color: #00c864;
    margin-bottom: 1rem;
    animation: sigSuccessPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sig-modal-success h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sig-modal-success p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes sigFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sigSuccessPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal Scrollbar */
.sig-modal::-webkit-scrollbar {
    width: 5px;
}

.sig-modal::-webkit-scrollbar-track {
    background: transparent;
}

.sig-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.2);
    border-radius: 10px;
}

/* Modal Responsive */
@media screen and (max-width: 768px) {
    .sig-modal {
        padding: 1.5rem;
        max-width: 95%;
        border-radius: 16px;
    }

    .sig-modal-row {
        grid-template-columns: 1fr;
    }

    .sig-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .sig-modal-title {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .sig-modal {
        padding: 1.2rem;
    }

    .sig-modal-field input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .sig-modal-submit {
        padding: 11px;
        font-size: 0.85rem;
    }
}