header#header {position: absolute;width: 100%;z-index: 99;}section.bannertext-main{padding-top: 130px !important;} 
.counter-sec {background: #f9f9f9!important;padding: 40px 0 20px 30px!important;border-radius: 20px!important;margin-top: -150px!important;position: relative!important;z-index: 9!important;box-shadow: 0 0 15px 0 #cfcfcf!important;}
.counter-sec .num {color: #000!important;font-size: 54px!important;font-weight: 700!important;line-height!important: 60px;display: inline-block!important;position: relative!important;}
.counter-sec .num-heading {font-size: 18px!important;font-weight: 700!important;color: #313131;padding: 0!important;}
.counter-sec ul li:after {content: '';background: #fff!important;border: solid 7px #046ac1!important;position: absolute!important;top: 15%!important;left: 0;width: 25px!important;height: 25px!important;border-radius: 20px!important;}
.counter-sec ul li {width: 17.5%!important;border: 0;position: relative;padding-left: 40px; }
.btn-align {width: 100%;bottom: 0px;position: absolute;}
.small-butn {background-color: #0eb7c4;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.remote-btn {background-color: #e7a500;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.whitelabel-btn {background-color: #023ebd;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.ai-btn {background-color: #ad63bb;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.bo-btn {background-color: #ff4747;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.geo-btn {background-color: #77c110;padding: 12px 0;border-radius: 0 0 0.8rem 0.8rem;}
.whitelabel-btn a, .remote-btn a, .small-butn a, .ai-btn a, .bo-btn a, .geo-btn a{color: #fff!important;text-decoration: none;text-transform: uppercase;}
.whitelabel-btn a:hover, .remote-btn a:hover, .small-butn a:hover, .ai-btn a:hover, .bo-btn a:hover, .geo-btn a:hover {color: #ffffff!important;text-decoration: underline;} 
@media (max-width: 992px) {.header_menu {border-bottom: solid 1px #d9d9d9!important;}}
@media (min-width: 768px) and (max-width: 1280px) {.counter-sec .num {font-size: 38px; }}
@media screen and (max-width: 767px) {.counter-sec {margin-top: 0;padding: 20px;} .counter-sec ul li {width: 100%!important;}}

.pt-20{padding-top: 20px;}


        .hero-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 2rem;
            position: relative;
            background: url(../images/guest-posting/header-new.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
        }

        .hero-content {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            height: 600px;
            gap: 2rem;
        }
        
        /* First column stays static with equal size */
        .text-column {
            flex: 1;
            margin-right: 2rem;
        }
        
        /* Services container takes up 2 equal columns worth of space */
        .services-container {
            display: flex;
            flex: 2;
            width: 65%;
            /* No gap between service columns */
        }

        /* First Column - Text Content */
        .text-column {
			display: flex;
            flex-direction: column;
            justify-content: center;
            width: 35%;padding-top: 40px;padding-left: 15.5vw;padding-right: 0;
        }

        .hero-title {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            font-weight: 700;
            color: #242424;
         line-height: 1.1;
            margin-bottom: 2rem;
            -webkit-background-clip: text;
            background-clip: text;
       		vertical-align: middle;
        }

        .hero-description {
            font-size: 1.2rem;
            color: #4a5568;
            line-height: 1.7;
            font-weight: 400;
        }

        /* Service Columns */
        .service-column {
            position: relative;
            border-radius: 0;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            flex: 1;
            /* Remove individual border radius for seamless connection */
        }
        
        /* First service column - rounded left corners */
        .service-column:first-child {
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            margin-right: 1px;
        }
        
        /* Last service column - rounded right corners */
        .service-column:last-child {
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
        }

        .service-column::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:#00163c5c;
            transition: all 0.6s ease;
            z-index: 1;
        }

        .service-column:hover::before {
            background: #00163cd6;
        }

        .service-column:hover {
            flex: 1.6;
            z-index: 10;cursor:auto;
        }
        
        .service-column:not(:hover) {
           /* flex: 0.4;*/
            min-width: 50%; /* Ensure minimum width for vertical text */
        }
        
        /* When services container is hovered, ensure smooth transition */
        .services-container:hover .service-column:not(:hover) {
            flex: 0.4;
            min-width: 120px;
        }

        /* Service 1 Background */
        .service-1 {
            background-image: url('https://www.pagetraffic.com/images/seoservices.jpg');
        }

        /* Service 2 Background */
        .service-2 {
            background-image: url('https://www.pagetraffic.com/images/white-label-services.jpg');
        }

        .service-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 2rem;
            color: white;
        }

        .service-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: center center;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 3rem;
            position: relative;
            z-index: 3;
            top:42%;
        }
        
        /* When services container is hovered and this column is NOT hovered */
        .services-container:hover .service-column:not(:hover) .service-name {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            transform: rotate(180deg);
            font-size: 1.2rem;
            margin-bottom: 0;
            height: 100%;
            width: 100%;
            justify-content: center;
            align-items: center;
            display: flex;
            padding: 1rem 0;
            letter-spacing: 2px;
        }
        
        /* Ensure the compressed column content is properly positioned */
        .services-container:hover .service-column:not(:hover) .service-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .service-details {
            position: absolute;
            bottom: 2rem;
            left: 2rem;
            right: 2rem;
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.2s;
        }

        .service-column:hover .service-details {
            opacity: 1;
            transform: translateX(0);
        }

        .service-description {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .service-column:hover .service-name {
            top:19%; 
        }
        .services-container:hover .service-column:not(:hover) .service-name {
            top: auto; 
        }

        .service-features {
            list-style: none;
            margin-bottom: 2rem;
        }

        .service-features li {
            padding: 0.5rem 0;
            color: rgba(255, 255, 255, 0.8);
            position: relative;
            padding-left: 1.5rem;
        }

        .service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #fff;
            font-weight: bold;
        }
        .service-features li a{
            color: rgba(255, 255, 255, 0.8);
            text-decoration: underline;
        }

        .service-features li a:hover{
            text-decoration: underline;color:#f7c337;
        }

        .cta-button {
            display: inline-block;
            background: #f7c337;
            color: #000;
            padding: 0.5rem 1rem;
            text-decoration: none;
            border-radius:5px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);color: #032c48;
        }

        /* Alternative CTA for second service */
        .service-2 .cta-button {
            background: background: #f7c337;
        }

        

        /* Responsive Design */
        @media (max-width: 1024px) {
            .new-container{width: 100%!important;
                padding-right: var(--bs-gutter-x, 3rem)!important;
                padding-left: var(--bs-gutter-x, 3rem)!important;
               }
            .hero-content {
                flex-direction: column;
                height: auto;
                gap: 1.5rem;
            }
            
            .text-column {
                margin-right: 0;
                padding: 2rem;
                width:100%;
            }
            
            .services-container {
                flex-direction: column;
                gap: 1rem;
                width:100%;
            }
            
            .service-column {
                border-radius: 20px !important;
            }
            
            .service-column:hover {
                flex: auto;
            }
            
            .service-column:not(:hover) {
                flex: auto;
            }
            .services-container:hover .service-column:not(:hover) .service-name {
            writing-mode:inherit;
            text-orientation: mixed;
            transform: rotate(0deg);
            font-size:1.4rem;
        }
        .services-container:hover .service-column:not(:hover) .service-content {
            
            text-align: left;
        }
            .service-details {
                position: static;
                opacity: 1;
                transform: translateX(0);
                margin-top: auto;
                background: rgba(0, 0, 0, 0.3);
                backdrop-filter: blur(10px);
                border-radius: 15px;
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .new-container{width: 100%!important;
                padding-right: var(--bs-gutter-x, 2rem)!important;
                padding-left: var(--bs-gutter-x, 2rem)!important;
               }
            .hero-container {
                padding: 1rem;
            }
            
            .text-column {
                padding: 1.5rem;
            }
            
            .hero-title {
                font-size: 2rem;
                margin-bottom: 1.5rem;
            }
            
            .hero-description {
                font-size: 1rem;
            }
            
            .service-name {
                font-size: 1.5rem;
            }
            
            .service-content {
                padding: 1.5rem;
            }
        }

        /* Loading Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }

        }

        @media (min-width: 576px) {
    .new-container {
        max-width:100%;
    }
}
@media (min-width: 300px) {
    .new-container {
        max-width:100%;
    }
}

@media (min-width: 768px) {
    .new-container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .new-container {max-width: 100%;}
    .text-column {padding-top: 25px;padding-left: 4.5vw;}
}

     /* @media (max-width: 1400px) {
        .text-column {
            padding-top: 0;padding-left: 5vw;padding-right: 0;
        }
        }*/

        @media screen and (max-width: 1920px) and (min-width: 1680px) {
            .text-column {padding-top: 0;padding-left: 15.5vw;padding-right: 0;}
        }

        /* For 1680x1050 screens */
        @media screen and (max-width: 1680px) and (min-width: 1440px) {
            .text-column {padding-top: 0;padding-left:10vw;;padding-right: 0;}
        }

        /* For 1440x900 screens */
        @media screen and (max-width: 1440px) and (min-width: 1024px) {
            .text-column {padding-top: 0;padding-left:4vw;padding-right: 0;}
        }
       


        






        .text-column {
            animation: fadeInUp 0.8s ease-out;
        }

        .service-column:nth-child(2) {
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .service-column:nth-child(3) {
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }
