/* ============================================
   Main Page Custom Styles
   ============================================ */

/* ============================================
   Go Beyond Area Section
   ============================================ */
#go_beyond_area {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#go_beyond_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 47, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 47, 161, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#go_beyond_area .section_heading_center {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

#go_beyond_area .section_heading_center h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#go_beyond_area .section_heading_center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    border-radius: 2px;
}

#go_beyond_area .theme_common_box_two {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

#go_beyond_area .theme_common_box_two::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 47, 161, 0.05) 0%, rgba(232, 62, 140, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

#go_beyond_area .theme_common_box_two:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(139, 47, 161, 0.2);
}

#go_beyond_area .theme_common_box_two:hover::before {
    opacity: 1;
}

#go_beyond_area .theme_two_box_img {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 20px 20px 0 0;
}

#go_beyond_area .theme_two_box_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#go_beyond_area .theme_common_box_two:hover .theme_two_box_img img {
    transform: scale(1.15) rotate(2deg);
}

#go_beyond_area .theme_two_box_img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 47, 161, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#go_beyond_area .theme_common_box_two:hover .theme_two_box_img::after {
    opacity: 1;
}

#go_beyond_area .theme_two_box_content {
    padding: 25px 20px;
    text-align: center;
    background: #ffffff;
}

#go_beyond_area .theme_two_box_content h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

#go_beyond_area .theme_two_box_content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

#go_beyond_area .theme_two_box_content h4 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    transition: width 0.3s ease;
}

#go_beyond_area .theme_common_box_two:hover .theme_two_box_content h4 a {
    color: #8b2fa1;
}

#go_beyond_area .theme_common_box_two:hover .theme_two_box_content h4 a::after {
    width: 100%;
}

/* ============================================
   Home Eight Team Area Section
   ============================================ */
#home_eight-team-area {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

#home_eight-team-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 47, 161, 0.3), transparent);
}

#home_eight-team-area .section_heading_center {
    margin-bottom: 60px;
    position: relative;
}

#home_eight-team-area .section_heading_center h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#home_eight-team-area .section_heading_center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    border-radius: 2px;
}

#home_eight-team-area .featured-service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid rgba(139, 47, 161, 0.1);
}

#home_eight-team-area .featured-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 47, 161, 0.03) 0%, rgba(232, 62, 140, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

#home_eight-team-area .featured-service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 47, 161, 0.25);
    border-color: rgba(139, 47, 161, 0.3);
}

#home_eight-team-area .featured-service-card:hover::before {
    opacity: 1;
}

#home_eight-team-area .featured-service-img {
    position: relative;
    overflow: hidden;
    height: 240px;
    z-index: 1;
}

#home_eight-team-area .featured-service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 47, 161, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

#home_eight-team-area .featured-service-card:hover .featured-service-img::after {
    opacity: 1;
}

#home_eight-team-area .featured-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#home_eight-team-area .featured-service-card:hover .featured-service-img img {
    transform: scale(1.2) rotate(1deg);
}

#home_eight-team-area .featured-service-info {
    padding: 25px 20px;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

#home_eight-team-area .featured-service-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

#home_eight-team-area .featured-service-info h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

#home_eight-team-area .featured-service-info h3 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    transition: width 0.3s ease;
}

#home_eight-team-area .featured-service-card:hover .featured-service-info h3 a {
    color: #8b2fa1;
}

#home_eight-team-area .featured-service-card:hover .featured-service-info h3 a::after {
    width: 100%;
}

/* ============================================
   Home News Nine Section
   ============================================ */
#home_news_nine {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#home_news_nine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 47, 161, 0.3), transparent);
}

#home_news_nine .section_heading_center {
    margin-bottom: 20px;
    position: relative;
}

#home_news_nine .section_heading_center h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#home_news_nine .section_heading_center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    border-radius: 2px;
}

#home_news_nine .section_heading_left_view_all {
    text-align: right;
    margin-bottom: 40px;
}

#home_news_nine .section_heading_left_view_all a {
    color: #8b2fa1;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#home_news_nine .section_heading_left_view_all a::after {
    content: '→';
    transition: transform 0.3s ease;
}

#home_news_nine .section_heading_left_view_all a:hover {
    color: #e83e8c;
    transform: translateX(5px);
}

#home_news_nine .section_heading_left_view_all a:hover::after {
    transform: translateX(5px);
}

#home_news_nine .news_card_nine_wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid rgba(139, 47, 161, 0.1);
}

#home_news_nine .news_card_nine_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 47, 161, 0.03) 0%, rgba(232, 62, 140, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

#home_news_nine .news_card_nine_wrapper:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 47, 161, 0.25);
    border-color: rgba(139, 47, 161, 0.3);
}

#home_news_nine .news_card_nine_wrapper:hover::before {
    opacity: 1;
}

#home_news_nine .news_card_nine_img {
    position: relative;
    overflow: hidden;
    height: 250px;
    z-index: 1;
}

#home_news_nine .news_card_nine_img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 47, 161, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

#home_news_nine .news_card_nine_wrapper:hover .news_card_nine_img::after {
    opacity: 1;
}

#home_news_nine .news_card_nine_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#home_news_nine .news_card_nine_wrapper:hover .news_card_nine_img img {
    transform: scale(1.2) rotate(1deg);
}

#home_news_nine .news_card_nine_heading {
    padding: 25px 20px;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

#home_news_nine .news_card_nine_heading h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    min-height: 60px;
}

#home_news_nine .news_card_nine_heading h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

#home_news_nine .news_card_nine_heading h3 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b2fa1, #e83e8c);
    transition: width 0.3s ease;
}

#home_news_nine .news_card_nine_wrapper:hover .news_card_nine_heading h3 a {
    color: #8b2fa1;
}

#home_news_nine .news_card_nine_wrapper:hover .news_card_nine_heading h3 a::after {
    width: 100%;
}

#home_news_nine .news_card_nine_heading ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#home_news_nine .news_card_nine_heading ul li {
    margin: 0;
    padding: 0;
}

#home_news_nine .news_card_nine_heading ul li span {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    #go_beyond_area,
    #home_eight-team-area,
    #home_news_nine {
        padding: 60px 0;
    }

    #go_beyond_area .section_heading_center h2,
    #home_eight-team-area .section_heading_center h2,
    #home_news_nine .section_heading_center h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    #go_beyond_area,
    #home_eight-team-area,
    #home_news_nine {
        padding: 40px 0;
    }

    #go_beyond_area .section_heading_center h2,
    #home_eight-team-area .section_heading_center h2,
    #home_news_nine .section_heading_center h2 {
        font-size: 28px;
    }

    #go_beyond_area .section_heading_center,
    #home_eight-team-area .section_heading_center,
    #home_news_nine .section_heading_center {
        margin-bottom: 40px;
    }

    #home_news_nine .section_heading_left_view_all {
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    #go_beyond_area .theme_two_box_content h4,
    #home_eight-team-area .featured-service-info h3,
    #home_news_nine .news_card_nine_heading h3 {
        font-size: 16px;
    }
}

