/* =========================
   GLOBAL CSS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

header {
    width: 100%;
    padding: 20px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    text-align: center;
    font-size: 32px;
    letter-spacing: 1px;
}

/* =========================
   MAIN SECTION
========================= */

#allsection {
    width: 100%;
    min-height: 100vh;
    padding: 30px 20px 150px;
}

/* =========================
   PROFILE CARD
========================= */

.distributorprofiles {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

.distributorprofiles img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

.distributorprofiles h1 {
    font-size: 35px;
    margin-bottom: 10px;
    color: #ffffff;
}

.distributorprofiles p {
    font-size: 18px;
    margin: 8px 0;
    color: #d1d5db;
}

/* =========================
   MAIN IMAGE
========================= */

.iconstarimg {
    width: 100%;
    margin-top: 30px;
    border-radius: 25px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4);
}

/* =========================
   SHARE SECTION
========================= */

.shareone {
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.shareone div {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    color: white;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Button */

.shareone div:nth-child(1) {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: floatBtn 2s infinite ease-in-out;
}

/* Share Button */

.shareone div:nth-child(2) {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    animation: floatBtn 3s infinite ease-in-out;
}

/* Hover */

.shareone div:hover {
    transform: scale(1.08);
}




/* =========================
   BUTTON ANIMATION
========================= */

@keyframes floatBtn {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 992px) {

    header h1 {
        font-size: 28px;
    }

    .distributorprofiles {
        gap: 20px;
        padding: 20px;
    }

    .distributorprofiles img {
        width: 150px;
        height: 150px;
    }

    .distributorprofiles h1 {
        font-size: 28px;
    }

    .distributorprofiles p {
        font-size: 16px;
    }

    .shareone div {
        padding: 15px 35px;
        font-size: 16px;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {

    header {
        padding: 15px;
    }

    header h1 {
        font-size: 22px;
    }

    #allsection {
        padding: 20px 15px 180px;
    }

    .distributorprofiles {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .distributorprofiles img {
        width: 130px;
        height: 130px;
    }

    .distributorprofiles h1 {
        font-size: 24px;
    }

    .distributorprofiles p {
        font-size: 15px;
    }

    .iconstarimg {
        margin-top: 20px;
        border-radius: 15px;
    }

    .shareone {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .shareone div {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
}

@media (min-width:800px) {
    header {
        background: linear-gradient(90deg, #dd063b, #7c3aed);
    }
    .iconstarimg{
        width: 400px;
        display: flex;
        margin: auto;
        margin-top: 20px;
    }
}