/* Hero Banner Styles - New Design */
.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    position: relative;
    width: 100%;
    max-width: 1484px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
}
#role-rotator {
    color: #ff4c4b;
}

/* Main Container */
.hero-main-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-inline: 20px;
    width: 100%;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    justify-content: space-between;
    overflow: hidden;
}

/* Content Section */
.hero-content-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    width: 824px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Text Container */
.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 824px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Tagline */
.hero-tagline {
    width: 510px;
    height: 36px;
    font-family: "Kumbh Sans", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #ff4c4b;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Text Content Container */
.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    width: 727px;
    height: 190px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Main Heading */
.hero-heading {
    font-family: "Kumbh Sans", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 54px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #3a3a3a;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Paragraph */
.hero-paragraph {
    width: 727px;
    height: 54px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.03em;
    color: #7e7e81;
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Stats Section */
.hero-stats-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Stats Content */
.hero-stats-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0px;
    gap: 10px;
    height: 199px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Freelancer Avatars */
.freelancer-avatars {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-inline: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #ffffff;
    border: 1px solid #262626;
    border-radius: 100px;
    flex: none;
    order: 0;
    flex-grow: 0;
    justify-content: center;
}

/* Avatar Images */
.avatar-image {
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    border: 2px solid #666666;
    border-radius: 42px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0px -14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.avatar-image:hover {
    transform: translateY(-2px);
    border-color: #ff4c4b;
    box-shadow: 0 4px 12px rgba(255, 76, 75, 0.3);
    z-index: 10;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-image:nth-child(2) {
    order: 1;
}

.avatar-image:nth-child(3) {
    order: 2;
}

.avatar-image:nth-child(4) {
    order: 3;
}

/* Avatar Placeholder */
.avatar-placeholder {
    opacity: 0.6;
    cursor: default;
}

.avatar-placeholder:hover {
    transform: none;
    border-color: #666666;
    box-shadow: none;
}

/* Avatar Loading State */
.avatar-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Stats Text Container */
.stats-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 14px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Stats Heading */
.stats-heading {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: -0.03em;
    color: #000000;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Stats Paragraph */
.stats-paragraph {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.03em;
    color: #98989a;
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Image Section */
.hero-image-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Main Hero Image */
.hero-main-image {
    width: 45%;
    height: 627px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Features Section */
.hero-features-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    background: #ffffff;
    border-width: 1px 0px;
    border-style: solid;
    border-color: #262626;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Feature Card */
.feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 36px 0px 36px;
    gap: 17px;
    width: 633.5px;
    border-radius: 12px;
    flex: none;
    order: 0;
    flex-grow: 1;
    padding-left: 20px;
}

/* Feature Content */
.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 15px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Feature Icon */
.feature-icon {
    width: 60px;
    height: 60px;
    flex: none;
    order: 0;
    flex-grow: 0;
    position: relative;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Feature Text Section */
.feature-text-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 20px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Feature Header */
.feature-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    flex: none;
    order: 0;
    flex-grow: 1;
    width: 451px;
}

/* Feature Heading */
.feature-heading {
    font-family: "Karla", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 35px;
    color: #000000;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Feature Button */
.feature-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    gap: 12px;
    height: 56px;
    background: linear-gradient(135deg, #ff5f57 0%, #ff4c4b 100%);
    border-radius: 100px;
    flex: none;
    text-decoration: none;
    order: 1;
    flex-grow: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 95, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.feature-button:hover::before {
    left: 100%;
}

.feature-button svg {
    transition: all 0.3s ease;
}

.feature-button:hover {
    background: linear-gradient(135deg, #ff4c4b 0%, #ff3b3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 95, 87, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 95, 87, 0.3);
}

.feature-button img {
    transition: all 0.3s ease;
}

.feature-button:hover img {
    transform: translateX(3px);
    transition: all 0.3s ease;
}

.feature-button i {
    width: 24px;
    height: 24px;
    color: #ffffff;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.feature-button .button-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    flex: 1;
}

.feature-button img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Feature Description */
.feature-description {
    width: 100%;
    font-family: "Karla", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #404040;
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Feature Divider */
.feature-divider {
    width: 1px;
    height: -webkit-fill-available;
    background: #262626;
    flex: none;
    align-self: center;
    flex-grow: 0;
}

/* Single Widget Layout for Logged-in Users */
.hero-features-section.logged-in {
    justify-content: center;
    padding: 36px 20px;
    border-width: 0px 0px;
    border-style: none;
    border-color: transparent;
}

.hero-features-section.logged-in .feature-card.single-widget {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-features-section.logged-in .feature-card.single-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-features-section.logged-in .feature-icon {
    margin-bottom: 10px;
}

.hero-features-section.logged-in .feature-heading {
    margin-bottom: 8px;
}

.hero-features-section.logged-in .feature-description {
    max-width: 500px;
    margin: 0 auto 20px;
}

/* Responsive Design */
@media (max-width: 1519px) {
    .hero-banner {
        max-width: 100%;
        padding: 0 20px;
        height: auto;
    }

    .hero-main-container {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .hero-banner {
        height: auto;
    }

    .hero-main-container {
        flex-direction: column;
        height: auto;
        gap: 0px;
        padding-inline: 0px !important;
    }

    .hero-content-section {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .hero-text-container {
        width: 100%;
        padding: 40px 20px 0px;
        height: auto;
    }

    .hero-tagline {
        width: 100%;
        font-size: 24px;
    }

    .hero-text-content {
        width: 100%;
        height: auto;
    }

    .hero-heading {
        width: 100%;
        font-size: 36px;
        height: auto;
    }

    .hero-paragraph {
        width: 100%;
        height: auto;
    }

    .hero-stats-section {
        width: 100%;
        padding: 0px 20px;
        height: auto;
    }

    .hero-image-section {
        width: 100%;
        height: auto;
        align-items: center;
    }

    .hero-main-image {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .hero-features-section {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
    }

    .hero-features-section.logged-in {
        padding: 40px 20px;
    }

    .hero-features-section.logged-in .feature-card.single-widget {
        max-width: 100%;
        padding: 30px 20px;
    }

    .feature-card {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .feature-card.single-widget {
        align-items: center;
        text-align: center;
    }

    .feature-content {
        width: 100%;
        height: auto;
    }

    .feature-text-section {
        width: 100%;
    }

    .feature-header {
        width: 100%;
    }

    .feature-heading {
        width: 100%;
        font-size: 24px;
    }

    .feature-description {
        width: 100%;
        height: auto;
    }

    .feature-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 600px;
    }

    .hero-text-container {
        padding: 20px 15px 0px;
        gap: 20px;
    }

    .hero-tagline {
        font-size: 20px;
        height: auto;
    }

    .hero-text-content {
        gap: 15px;
    }

    .hero-heading {
        font-size: 28px;
    }

    .hero-paragraph {
        font-size: 16px;
    }

    .hero-stats-section {
        padding: 0px 15px;
        gap: 20px;
    }

    .avatar-image {
        width: 40px;
        height: 40px;
        margin: 0px -10px;
    }

    .avatar-image:hover {
        transform: translateY(-1px);
    }

    .stats-heading {
        font-size: 20px;
    }

    .stats-paragraph {
        font-size: 16px;
    }

    .hero-features-section {
        padding: 15px 15px;
        gap: 0px;
    }

    .hero-features-section.logged-in {
        padding: 20px 15px;
    }

    .hero-features-section.logged-in .feature-card.single-widget {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .feature-heading {
        font-size: 20px;
        line-height: 28px;
    }

    .feature-description {
        font-size: 16px;
        line-height: 20px;
    }

    .feature-button {
        min-width: 160px;
        height: 48px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 18px;
    }

    .hero-heading {
        font-size: 24px;
    }

    .hero-paragraph {
        font-size: 14px;
    }

    .stats-heading {
        font-size: 18px;
    }

    .stats-paragraph {
        font-size: 14px;
    }

    .feature-heading {
        font-size: 18px;
        line-height: 24px;
    }

    .feature-description {
        font-size: 14px;
        line-height: 18px;
    }

    .hero-features-section.logged-in .feature-card.single-widget {
        padding: 20px 15px;
    }

    .feature-button {
        min-width: 140px;
        height: 44px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .feature-button .button-text {
        font-size: 13px;
    }
}
