@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: black;
}

body {
    margin: 0;
    padding: 0;
}

/* Hero Section Styles (Sayan) */
.hero-main {
    background: radial-gradient(
            circle at 20% 30%,
            rgba(59, 130, 246, 0.25) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(192, 38, 211, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(147, 51, 234, 0.35) 0%,
            transparent 50%
        ),
        #ffffff;
}

.hero-container {
    max-width: 120rem;
    margin: 0 auto;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-container .nav h1 {
    color: #0eb2ff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav li {
    list-style: none;
}

.nav li a {
    text-decoration: none;
    color: #666666;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.join-button {
    display: flex;
    width: 5.9375rem;
    height: 2rem;
    padding: 0.375rem 0;
    justify-content: center;
    align-items: center;
    border-radius: 0.31831rem;
    background: #219ebc;
    color: #fff !important;
    white-space: nowrap;
}

.hero-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.875rem;
    flex-wrap: wrap;
}

.hero-content {
    height: auto;
    min-height: 32.5rem;
    width: 100%;
    flex: 1 1 50%;
}

.tagline p {
    justify-content: space-between;
    color: #8414a6;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 110%;
    margin: 0;
}

.tagline p span {
    background: linear-gradient(90deg, #0bf 5%, #cf31ff 62%, #f009ff 105%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: waveGradient 2s ease-in-out infinite;
}

@keyframes waveGradient {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-search {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 6.25rem;
    max-width: 50rem;
    width: 100%;
}

.search-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 3.125rem;
    padding: 1rem;
    width: 100%;
    gap: 0.625rem;
    flex: 1;
    min-width: 18.75rem;
}

.search-icon {
    width: 2rem;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    color: #475569;
    background: transparent;
    font-size: clamp(1rem, 2vw, 1.3125rem);
    font-style: normal;
    line-height: 140%;
}

.search-button {
    background: #219ebc;
    color: white;
    border: none;
    padding: 1rem 2.3125rem;
    border-radius: 3.125rem;
    font-size: clamp(1rem, 2vw, 1.3125rem);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-tags {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.0625rem 0.5rem;
    border-radius: 3.125rem;
    color: #6a6a6a;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 140%;
    border: 0.0625rem solid #6a6a6a;
    cursor: pointer;
    white-space: nowrap;
}

.hero-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-1 .hero-image img {
    height: auto;
    max-height: 32.875rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.8125rem;
    object-fit: contain;
}

/* Hero Section 2 Styles (Rupam) */
.backgroundImage {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.heroSection2 {
    display: flex;
    position: relative;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    min-height: 90vh;
    overflow: hidden;
    gap: 12.5rem;
    max-width: 120rem;
    width: 100%;
    padding: 0 2rem;
}

.heroimgContainer {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 32.875rem;
    width: 50rem;
    flex: 1 1 45%;
}

.heroImage2 {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.heroContent {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 55%;
    max-width: 45rem;
}

.heroText {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(2.5rem, 5vw, 3.625rem);
    color: #8414a6;
    line-height: 110%;
    text-align: left;
    letter-spacing: 0;
    margin-top: 3%;
    margin-bottom: 3%;
}

.subText {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: clamp(1rem, 2vw, 1.3125rem);
    color: #8414a6;
    line-height: 160%;
    text-align: left;
    letter-spacing: 0;
    margin-top: 2%;
    margin-bottom: 2%;
}

.heroList {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
    color: #8414a6;
    line-height: 160%;
    text-align: left;
    letter-spacing: 0;
    margin-top: 0%;
    margin-bottom: 1%;
}

ul.customList {
    list-style: none;
    padding-left: 2.5rem;
    margin: 0.625rem 0;
}

ul.customList li {
    list-style-image: url("../assets/BulletVector.svg");
    padding-left: 0.5em;
}

.heroSectionBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 0.9375rem 1.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: #8414a6;
    width: auto;
    max-width: 100%;
    border-radius: 0.625rem;
    border: 0.16675rem solid #8414a6;
    margin-top: 1%;
    margin-bottom: 1%;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.heroSectionBtn:hover {
    background: #8414a6;
    color: white;
}

/* Skills Section Styles (Soumik) */
.TrendingSkills {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 120rem;
    margin: 0 auto;
    background: white;
    border-radius: 0.625rem;
    width: 95%;
}

.SkillsHeading {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.SkillsHeading h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #333;
    margin: 0;
}

.SkillsRight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.SkillsRight img {
    width: 1rem;
    height: 1rem;
}

.SkillsRight a {
    text-decoration: none;
    color: #007bff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.SkillCard {
    display: flex;
    width: 100%;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 1.25rem 0;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
    cursor: grab;
}

.SkillCard::-webkit-scrollbar {
    height: 0.5rem;
}

.SkillCard::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.625rem;
}

.SkillCard::-webkit-scrollbar-thumb {
    background: #8414a6;
    border-radius: 0.625rem;
}

.SkillCard::-webkit-scrollbar-thumb:hover {
    background: #6d1183;
}

.SkillCard::-webkit-scrollbar-corner {
    border-radius: 0.625rem;
}

.SkillCard {
    scrollbar-width: thin;
    scrollbar-color: #8414a6 #f1f1f1;
}

.SkillCard:active {
    cursor: grabbing;
}

.Skillcards {
    min-width: 21.875rem;
    flex-shrink: 0;
    height: 26.575rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 0.625rem;
    border: 0.0625rem solid purple;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.Skillcards:hover {
    transform: translateY(-0.3125rem);
}

.Skillcards img {
    display: block;
    width: 100%;
    height: 21.875rem;
    margin: 0;
    object-fit: cover;
}

.card-footer {
    background-color: purple;
    color: white !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}

.card-footer h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 0;
    color: white !important;
}

.card-footer p {
    margin: 0.0625rem 0 0;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 0.625rem;
    color: white !important;
}

/* Skill Masters Section */
.SkillMasters {
    width: 95%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    text-align: center;
    max-width: 120rem;
    margin: 2rem auto 1.25rem;
    padding: 0 2rem;
}

.SkillMasters h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #333;
    margin: 0;
}

.SkillsMasterRight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.SkillsMasterRight img {
    width: 1rem;
    height: 1rem;
}

.SkillsMasterRight a {
    text-decoration: none;
    color: #007bff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.cards-wrapper {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 2rem 2rem 1.25rem 2rem;
    background: white;
    border-radius: 0.625rem;
}

.cards-container {
    display: flex;
    gap: 1.5625rem;
    overflow-x: auto;
    cursor: grab;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.cards-container::-webkit-scrollbar {
    height: 0.5rem;
}

.cards-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.625rem;
}

.cards-container::-webkit-scrollbar-thumb {
    background: #8414a6;
    border-radius: 0.625rem;
}

.cards-container::-webkit-scrollbar-thumb:hover {
    background: #6d1183;
}

.cards-container::-webkit-scrollbar-corner {
    border-radius: 0.625rem;
}

.cards-container {
    scrollbar-width: thin;
    scrollbar-color: #8414a6 #f1f1f1;
}

.cards-container:active {
    cursor: grabbing;
}

.profile-card {
    min-width: 20rem;
    height: 28.125rem;
    flex-shrink: 0;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 0.125rem solid #8414a6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.15);
}

.card-image-section {
    height: 17.5rem;
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
}

.card-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0.9375rem;
    left: 0.9375rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0 0.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 900;
    color: #6a6a6a;
}

.ratings {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.2rem 0.1rem;
}

.star-icon {
    color: #ffd700;
    font-size: clamp(1.2rem, 2vw, 1.25rem);
}

.level-badge {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(6px);
    color: black;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
}

.status-label {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #def0fb, #c3cef9, #f1d2f0);
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    font-size: clamp(0.875rem, 1.5vw, 0.75rem);
    color: #475569;
    border: 0.125rem solid #8414a6;
    white-space: nowrap;
}

.card-content {
    padding: 1.5625rem;
    background: white;
    color: black;
    height: 8.125rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    margin-bottom: 0.9375rem;
}

.user-avatar {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    border: 0.1875rem solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.user-details h3 {
    font-size: clamp(1.2rem, 2vw, 1.25rem);
    margin-bottom: 0;
    color: black;
}

.user-skills {
    width: 100%;
    font-size: clamp(0.875rem, 1.5vw, 0.8125rem);
    color: #475569;
    font-weight: 500;
    text-wrap: wrap;
    margin-top: 0;
    line-height: 1.4;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
    margin-top: 1.875rem;
}

.page-btn {
    width: 2.8125rem;
    height: 2.8125rem;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
}

.page-btn:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.3);
}

.page-info {
    background: white;
    padding: 0.625rem 1.25rem;
    border-radius: 1.5625rem;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.team-name {
    color: #8414a6;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.team-name:hover {
    color: #6d1183;
    text-decoration: underline;
}

/* Original Responsive styles only */
@media (max-width: 75rem) {
    .hero-1 {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        width: 100%;
    }

    .search-main {
        flex-direction: column;
        align-items: stretch;
    }

    .search-button {
        width: 100%;
    }

    .hero-search {
        padding-top: 3rem;
    }

    .heroSection2 {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .heroimgContainer {
        order: 2;
        width: 100%;
        max-width: 35rem;
        height: auto;
    }

    .heroContent {
        order: 1;
        max-width: 100%;
    }

    .heroSectionBtn {
        width: 100%;
        max-width: 25rem;
        margin: 2rem auto;
    }

    .TrendingSkills {
        padding: 1rem;
    }

    .cards-wrapper {
        padding: 2rem 1rem 1.25rem 1rem;
    }

    .Skillcards {
        min-width: 18rem;
    }

    .profile-card {
        min-width: 18rem;
    }

    .SkillsHeading {
        flex-direction: column;
        text-align: center;
    }

    .SkillMasters {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
}

@media (max-width: 62.5rem) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        justify-content: center;
    }

    .heroSection2 {
        gap: 2rem;
    }

    .heroimgContainer {
        height: 20rem;
    }

    ul.customList {
        padding-left: 1.5rem;
    }

    .Skillcards {
        min-width: 16rem;
        height: 24rem;
    }

    .Skillcards img {
        height: 19rem;
    }

    .profile-card {
        min-width: 16rem;
        height: 26rem;
    }

    .card-image-section {
        height: 15rem;
    }

    .status-label {
        bottom: 8rem;
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 50rem) {
    .cards-container::-webkit-scrollbar {
        display: none;
    }

    .cards-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}
