* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */
.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;
}

/* ===========================
   BACKGROUND VIDEO
   =========================== */
video.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.2);
}

/* ===========================
   NAVIGATION MENU
   =========================== */
.menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

/* Style for icons */
.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;
}

/* Hover effect */
.menu a:hover {
    color: red;
    border-radius: 50%;
    border: 2px solid red;
    transform: scale(1.2);
}

/* Tooltip */
.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;
}

/* Show tooltip with fade + slight upward motion */
.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);
}

/* ===========================
   MAIN CONTENT
   =========================== */
.content {
    height: 280px;
    width: 600px;
    z-index: 2;
    position: fixed;
    top: 220px;
    left: 125px;
}

.content-heading {
    letter-spacing: 1px;
    color: white;
    font-size: 45px;
}

.head {
    color: #A855F7;
    text-shadow: 0 0 10px #A855F7;
}

.content-para {
    padding: 40px 0px;
    color: bisque;
    line-height: 2;
    letter-spacing: 1.5px;
    font-size: 17px;
    text-shadow: 0 0 10px bisque;
    text-align: justify;
}

/* ===========================
   SOCIAL / JOIN SECTION
   =========================== */
.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.3s;
    white-space: nowrap;
}

.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: white;
    text-shadow: 0 0 10px yellow;
    text-align: justify;
}

/* ===========================
   SOCIAL MEDIA ICONS (SIDEBAR)
   =========================== */
.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);
}


/* ===========================================================
   RESPONSIVE: LAPTOP / SMALL DESKTOP (≤ 1280px)
   =========================================================== */
@media screen and (max-width: 1280px) {
    .heading {
        padding: 25px 40px;
    }

    .acmlogo {
        width: 80px;
        height: 80px;
        transform: scale(1.3);
    }

    .amritalogo {
        height: 80px;
        width: 80px;
    }

    .menu {
        gap: 20px;
    }

    .content {
        top: 200px;
        left: 100px;
        width: 550px;
    }

    .content-heading {
        font-size: 38px;
    }

    .content-para {
        font-size: 15px;
        padding: 30px 0;
    }

    .social {
        top: auto;
        bottom: 60px;
        left: 100px;
    }

    .social-icons {
        top: auto;
        bottom: 120px;
        left: 30px;
    }
}


/* ===========================================================
   RESPONSIVE: TABLET (≤ 900px)
   =========================================================== */
@media screen and (max-width: 900px) {
    .heading {
        padding: 20px 25px;
    }

    .acmlogo {
        width: 65px;
        height: 65px;
        transform: scale(1.1);
    }

    .amritalogo {
        height: 65px;
        width: 65px;
    }

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 16px;
        height: 32px;
        width: 32px;
    }

    .content {
        top: 180px;
        left: 80px;
        width: 480px;
    }

    .content-heading {
        font-size: 32px;
    }

    .content-para {
        font-size: 14px;
        padding: 20px 0;
        line-height: 1.8;
    }

    .social {
        left: 80px;
        bottom: 50px;
        top: auto;
        width: 450px;
    }

    .social a {
        font-size: 16px;
        padding: 8px 16px;
    }

    .social p {
        font-size: 14px;
    }

    .social-icons {
        left: 15px;
        bottom: 100px;
        top: auto;
        gap: 12px;
    }

    .social-icons a {
        font-size: 16px;
        height: 26px;
        width: 26px;
    }
}


/* ===========================================================
   RESPONSIVE: 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;
    }

    .logos {
        gap: 10px;
    }

    .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;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 20px;
    }

    .content-heading {
        font-size: clamp(24px, 6vw, 36px);
        text-align: center;
    }

    .content-para {
        text-align: center;
        padding: 20px 0 30px 0;
        line-height: 1.6;
        font-size: 14px;
        letter-spacing: 0.7px;
    }

    .social {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 10px 0 0 0;
        padding: 0 20px 50px 20px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .social a {
        font-size: 18px;
        padding: 10px 24px;
    }

    .social p {
        text-align: center;
        font-size: 14px;
        letter-spacing: 0.7px;
    }

    /* Move social icons to bottom horizontal row on mobile */
    .social-icons {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin-top: 30px;
        padding: 30px 0 50px 0;
        width: 100%;
    }

    .social-icons a {
        font-size: 22px;
        height: 35px;
        width: 35px;
    }
}


/* ===========================================================
   RESPONSIVE: 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 {
        padding: 20px 15px 10px 15px;
    }

    .content-heading {
        font-size: clamp(20px, 6vw, 28px);
    }

    .content-para {
        font-size: 13px;
        letter-spacing: 0.5px;
        line-height: 1.6;
        padding: 12px 0;
    }

    .social {
        padding: 10px 15px 15px 15px;
        gap: 12px;
    }

    .social a {
        padding: 8px 16px;
        font-size: 15px;
    }

    .social p {
        font-size: 13px;
    }

    .social-icons {
        gap: 16px;
        padding: 15px 0 30px 0;
    }

    .social-icons a {
        font-size: 20px;
        height: 30px;
        width: 30px;
    }
}


/* ===========================================================
   RESPONSIVE: VERY SMALL MOBILE (≤ 360px)
   =========================================================== */
@media screen and (max-width: 360px) {
    .acmlogo {
        width: 38px;
        height: 38px;
    }

    .amritalogo {
        height: 38px;
        width: 38px;
    }

    .menu a {
        font-size: 12px;
        height: 26px;
        width: 26px;
        padding: 5px;
    }

    .menu {
        gap: 6px;
    }

    .content {
        padding: 15px 10px 10px 10px;
    }

    .content-heading {
        font-size: 20px;
    }

    .content-para {
        font-size: 12px;
    }

    .social a {
        padding: 7px 14px;
        font-size: 14px;
    }

    .social p {
        font-size: 12px;
    }
}