﻿.hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    text-align: left;
}



.hero-content-left {
    z-index: 3;
    padding-bottom: 50px;
}

/* Image Wrapper for Bottom Attachment */
.hero-bottom-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 40%; /* Increased from 29% */
    max-height: 90%; /* Increased from 85% */
    z-index: 2;
    text-align: right;
    pointer-events: none;
}

    .hero-bottom-image-wrapper img {
        width: 100%;
        height: auto;
        max-height: none; /* Remove max-height restriction */
        object-fit: contain;
        transform: scale(1.2); /* Slightly scale up the image */
        transform-origin: bottom right;
        position: relative;
        filter: drop-shadow(0 -5px 10px rgba(255, 107, 0, 0.2)) drop-shadow(0 5px 15px rgba(214, 48, 49, 0.15));
    }


@media (max-width: 1024px) and (min-width: 768px) {
    .hero-bottom-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 400px;
        right: auto;
        margin: -30px auto 0;
        text-align: center;
    }

        .hero-bottom-image-wrapper img {
            width: auto;
            height: 400px;
            transform: scale(1);
            transform-origin: center;
        }

    .globe-scene {
        position: relative;
        width: 100%;
        height: auto;
        margin: 30px auto;
        top: auto;
        right: auto;
    }
}

@media (max-width: 767px) {
    .hero-bottom-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 350px;
        right: auto;
        margin: -20px auto 0;
        text-align: center;
    }

        .hero-bottom-image-wrapper img {
            width: auto;
            height: 350px;
            max-width: 100%;
            transform: scale(1);
            transform-origin: center;
        }

    .globe-scene {
        position: relative;
        width: 100%;
        height: auto;
        margin: 20px auto;
        top: auto;
        right: auto;
    }

    .why {
        margin-top:48px!important;
    }
}

/* 3D Globe - Repositioned */


.globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    transform-style: preserve-3d;
    animation: rotateGlobe 25s linear infinite;
}

@media (max-width: 1440px) {
    .globe {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 1280px) {
    .globe {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .globe {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .globe {
        width: 300px;
        height: 300px;
        position: relative;
        margin: 0 auto;
        top: auto;
        left: auto;
        transform: none;
    }
}

@media (max-width: 480px) {
    .globe {
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 1440px) {
    .hero-bottom-image-wrapper {
        width: 39%;
        right: 3%;
        bottom:16%;
    }

        .hero-bottom-image-wrapper img {
           /* transform: scale(1.3);*/

           top:95px;
        }

    .globe-scene {
        width: 500px;
        height: 500px;
        top: 10%;
        right: 3%;
    }

    .hero-title {
        font-size: 3.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 600px;
    }

    .globe {

        margin-left: 170px;
        margin-right: 0px;
        margin-top: -285px;
        z-index: 2;
    }

    .ourService {
        margin-left:-233px;
    }


}

@media (max-width: 1439px) and (min-width: 1280px) {
    .hero-bottom-image-wrapper {
        width: 45%;
        right: 2%;
    }

        .hero-bottom-image-wrapper img {
            transform: scale(1.25);
        }

    .globe-scene {
        width: 450px;
        height: 450px;
        top: 12%;
    }
}

/* Small desktops and large tablets (1024px - 1279px) */
@media (max-width: 1279px) and (min-width: 1024px) {
    .hero-bottom-image-wrapper {
        width: 50%;
        right: 0;
    }

        .hero-bottom-image-wrapper img {
            transform: scale(1.15);
        }

    .globe-scene {
        width: 400px;
        height: 400px;
        top: 15%;
        right: 0;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-content-left {
        padding-right: 20px;
    }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-bottom-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 400px;
        right: auto;
        bottom: auto;
        margin-top: -30px;
        margin-bottom: -50px;
        text-align: center;
        margin-left:-194px;
    }

        .hero-bottom-image-wrapper img {
            width: auto;
            height: 400px;
            transform: scale(1);
            transform-origin: center;
        }

    .globe-scene {
        position: relative;
        width: 300px;
        height: 300px;
        margin: 30px auto;
        top: auto;
        right: auto;
        order: 2;
    }

    .globe {
        top: 0;
    }

    .hero-content-left {
        text-align: center;
        padding-bottom: 20px;
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem !important;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
        text-align: center;
    }

    .row.align-items-center {
        flex-direction: column;
    }

    .col-lg-5 {
        order: 2;
        margin-top: 30px;
    }

    .col-lg-7 {
        order: 1;
    }
}

/* Mobile devices (up to 767px) */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        height: auto;
        padding-top: 100px;
        padding-bottom:10px;
    }

    .hero-bottom-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 350px;
        right:6px!important;
        bottom: auto;
        margin: -20px auto 0;
        text-align: center;
        top:400px;
    }

        .hero-bottom-image-wrapper img {
            width: auto;
            height: 350px;
            max-width: 100%;
            transform: scale(1);
            transform-origin: center;
        }

    .globe-scene {
        position: relative;
        width: 250px;
        height: 250px;
        margin: 20px auto;
        top: 34.88px !important;
        right: auto;
        left: -192.955px!important;
    }

    .globe {
        top: -50%;
        left:168px;
        z-index:2;
    }

    .hero-content-left {
        text-align: center;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 2rem !important;
        text-align: center;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 15px;
        margin: 0 auto 25px;
    }

    .row.align-items-center {
        flex-direction: column;
    }

    .mt1-5 {
        margin-top: 5rem !important;
    }

    .about-section {
        margin-top:-122px;
    }
}

/* Very small phones (up to 480px) */
@media (max-width: 480px) {
    .hero-bottom-image-wrapper {
        max-height: 280px;
    }

        .hero-bottom-image-wrapper img {
            height: 280px;
        }

    .globe-scene {
        width: 220px;
        height: 220px;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* For landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .hero-bottom-image-wrapper {
        width: 40%;
        max-height: 70vh;
        position: absolute;
        bottom: 0;
        right: 5%;
        top:304px;
    }

        .hero-bottom-image-wrapper img {
            height: 70vh;
        }

    .globe-scene {
        width: 200px;
        height: 200px;
        position: absolute;
        top: 15%;
        right: 5%;
    }
}

/* Fix for iPad mini & tablets */
@media (min-width: 744px) and (max-width: 1024px) and (orientation: portrait) {
    .globe {
        top: 0;
    }

    .hero-bottom-image-wrapper {
        margin-top: 0;
        margin-bottom: -30px;
    }

        .hero-bottom-image-wrapper img {
            height: 380px;
        }
}
.globe-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--icon-size, 60px);
    height: var(--icon-size, 60px);
    margin-top: calc(var(--icon-size, 60px) / -2);
    margin-left: calc(var(--icon-size, 60px) / -2);
    background: rgba(20, 20, 20, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
    backface-visibility: hidden;
    transform: rotateY(var(--r, 0deg)) translateZ(200px);
}
/* Adjust icon size for responsive */
@media (max-width: 1024px) {
    .globe-icon {
        --icon-size: 50px;
        transform: rotateY(var(--r, 0deg)) translateZ(160px);
    }

    p {
        word-spacing:-2px;
    }
}

@media (max-width: 768px) {
    .globe-icon {
        --icon-size: 40px;
        transform: rotateY(var(--r, 0deg)) translateZ(130px);
    }
}

@media (max-width: 480px) {
    .globe-icon {
        --icon-size: 35px;
        transform: rotateY(var(--r, 0deg)) translateZ(110px);
    }
}

.globe-icon svg {
    width: var(--svg-size, 30px);
    height: var(--svg-size, 30px);
}

@media (max-width: 768px) {
    .globe-icon svg {
        --svg-size: 25px;
    }
}

@media (max-width: 480px) {
    .globe-icon svg {
        --svg-size: 20px;
    }
}

/* Icon Colors */
.icon-html5 {
    color: #E34F26;
}

.icon-css3 {
    color: #1572B6;
}

.icon-js {
    color: #F7DF1E;
}

.icon-react {
    color: #61DAFB;
}

.icon-python {
    color: #3776AB;
}

.icon-angular {
    color: #DD0031;
}

.icon-git {
    color: #F05032;
}

.icon-docker {
    color: #0db7ed;
}

@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    50% {
        transform: rotateY(180deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(0deg);
    }
}

.hero-badge {
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

    .hero-title span {
        color: var(--primary-orange);
    }

.hero-subtitle {
    font-size: 1rem;
    color: white;
    margin-bottom: 30px;
    max-width: 500px;
}

/* --- About Section --- */
.about-section {
    padding: 30px 0; /*background: radial-gradient(circle at top right, #1a1a2e 0%, var(--dark-bg) 80%);*/
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 0; /* Margin handled by flex wrapper now */
    font-weight: 700;
    color: #ff6b00;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--tech-gradient);
        margin-top: 6px;
    }

.about-card {
    /* background: radial-gradient(circle at top right, #1a1a2e 0%, var(--dark-bg) 80%); */
    padding: 30px;
    border-left: 5px solid var(--primary-red);
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    height: 100%;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #f8f9fa;
    text-align: justify;
    hyphens: auto;
    font-family:revert;
    word-break:break-all;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
}

/* =========================================
           EXPERT IT SOLUTIONS - NEW SIMPLE STYLE
           ========================================= */
.services-section {
    padding: 50px 0; /* background: radial-gradient(circle at top right, #1a1a2e 0%, var(--dark-bg) 80%);*/
}

.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header-text {
    flex: 1;
}


.service-simple-card {
    /* background: #fff;
            border: 1px solid #eee; */
    /* border-radius: 8px; */
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-simple-img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.service-simple-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: fantasy;
}

.btn-connect {
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 8px 25px;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .btn-connect:hover {
        background-color: #e9ecef;
        color: #333;
    }

/* --- Clients (Marquee) --- */
.clients-section {
    padding: 40px 0;
    background: #f3743521;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 50px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.client-box {
    width: 120px;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================
           MOBILE RESPONSIVENESS
           ========================================= */
@media (max-width: 991px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .hero-title {
        font-size: 30px;
        text-align: justify;
    }

    .hero-section {
        padding-top: 120px;
        min-height: auto;
        height: auto;
        padding-bottom: 50px;
    }

    .hero-content-left {
        text-align: center;
        margin-top: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 30px auto;
    }

    /* 
               FIX FOR SVG ICONS (GLOBE) ON MOBILE 
               Removed display: none. Instead, resizing and positioning.
            */
    .globe-scene {
        display: block !important;
        position: relative;
        width: 250px;
        height: 250px;
        margin: 20px auto;
        right: auto;
        top: auto;
    }

    /* Adjust bottom image for mobile */
    .hero-bottom-image-wrapper {
        position: absolute;
        bottom: 0;
        right: 5%;
       /* width: 40%;*/
        max-height: 90%;
        z-index: 2;
        text-align: right;
        pointer-events: none;
    }

        .hero-bottom-image-wrapper img {
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
            transform: scale(1.2);
            transform-origin: bottom right;
            position: relative;
            filter: drop-shadow(0 -5px 10px rgba(255, 107, 0, 0.2)) drop-shadow(0 5px 15px rgba(214, 48, 49, 0.15));
        }


    /* Service Section Header adjustment for mobile */
    .section-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-know-more {
        width: 100%;
        text-align: center;
    }
}

@media(max-width:767px) {
    .globe {
        top: -29%;
    }

    .carousel-item {
        height:273px!important;
    }

   
}

/* Phones */


/* iPad mini & tablets */
@media (min-width: 744px) and (max-width: 1024px) {
    .globe {
        top: -28%;
    }
}

.lead {
    color: #ffffff;
    font-weight: 600;
    font-size: 24px;
    font-family: monospace;
}

.eye-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.3);
    border: 2px solid rgba(255, 107, 0, 0.6);
    z-index: 4;
    pointer-events: none;
    display: none; /* Initially hidden, shown with JS */
}

.left-eye {
    top: 42%;
    left: 42%;
}

.right-eye {
    top: 42%;
    right: 42%;
}

.industries-preview {
    padding: 60px 0;
}

.industry-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 25px 15px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top:13px;
}

    .industry-card:hover {
        transform: translateY(-6px);
        background: linear-gradient(135deg,#ff7a18,#ffb347);
        color: #000;
    }

#backToTop {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: #ff6a00;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 99999;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

    #backToTop:hover {
        background: #e85a00;
        transform: translateY(-4px);
    }

.dendron-color {
    color: #ff6600;
}


/* carrier test*/
/* Bottom → Top Motion */
@keyframes slideUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Pause on hover */
.vertical-slider:hover .slider-track {
    animation-play-state: paused;
}

/* Mobile */
@media(max-width: 991px) {
    .vertical-slider {
        margin-top: 30px;
        height: 400px;
    }
}
@media(max-width:768px){
    #industrySlider {
        margin-bottom:-96px;
    }
    .carousel-item {
        margin-bottom:113px;
    }
    .carousel-control-prev, .carousel-control-next {
        display:none;
    }
}

.img-fluid1 {
    max-width:100%;
    height:50px;
}

.print-grid i {
    color: #f37a35;
    font-size:20px;
    padding-right:3px;
}

/*drop down menu*/
.dropdown-menu {
    background-color: #f0823f;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
   
    color: #f37235;
}

.bi-chevron-down {
    transition: 0.6s ease;
}



@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block; 
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .dropdown:hover .bi-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown:hover {
        margin-left: 2px;
        color: #f37235;
    }

    .dropdown-menu li a {
        color: #ffffff;
    }

        .dropdown-menu li a:hover {
            color: #d73b2f;
            background: #2d1d21;
        }
}


/*mobile*/
@media (max-width: 991px) {

    .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none;
        background: none;
    }

    .bi-chevron-down {
        transition: transform 0.3s ease;
    }

    .dropdown.show .bi-chevron-down {
        transform: rotate(180deg);
    }
    /*}

*/






    @media (max-width:768px) {
        .director {
            text-align: center;
        }
    }


    /*mobile view extra space removing manually*/
    @media (max-width:768px) {
        .about-test {
            margin-top: -43px;
            padding-bottom: 10px;
        }

        .leadership {
            margin-top: -70px;
        }

        .footer-simple {
            padding-top: 30px !important;
        }

        .service-list {
            gap: 5px;
        }

        .bulk {
            padding-top: 0px;
        }

        .bulk-sms {
            margin-top: 4px !important;
            margin-bottom: 0px !important;
        }

        .bult-title {
            margin-bottom: 0px !important;
        }
      /*  .modern-image {
            clip-path:none!important;
        }*/
        .image-border {
            padding-right:12px!important;
        }
    }
}


@media (min-width: 992px) and (max-width: 1398px) {
    .logo {
        width: 130px!important;
    }
    .navbar-nav .nav-link {
        font-size:13px;
    }
}
    
/*responsive globe image and rotating icons*/

/*@media (min-width: 1200px) and (max-width: 1440px) {
    .globe {
        margin-left: 170px;
        margin-right: 0px;
        margin-top: -285px;
        z-index: 2;
    }
}



@media (min-width: 1024px) and (max-width: 1199.98px) {
    .globe {
        margin-left: 105px;
        margin-right: 0px;
        margin-top: -160px;
        z-index: 2;
    }
}



@media (min-width: 992px) and (max-width: 1023.98px) {
    .globe {
        margin-left: -521px;
        margin-right: 0px;
        margin-top: -478px;
        z-index: 2;
    }

    .hero-bottom-image-wrapper {
      width:53%!important;
    }
}

@media (min-width: 400px) and (max-width: 991px) {
    .hero-bottom-image-wrapper {
       
         width: 60%; 
       
    }
    .globe {
        top:150px;
    }
}


@media (max-width: 991.98px) {
    .modern-image {
        clip-path: none !important;
    }
}

@media (max-width: 575.98px) {
    .modern-image {
        display:none;
    }
}

@media (max-width:400px){
    .service-card {
        height:100%!important;
    }
}

@media (min-width:768px) and (max-width:1213px) {
    .service-card {
        height:100%!important;
    }
}*/


@media (max-width: 991.98px) {
    .modern-image {
        clip-path: none !important;
    }
}

@media (max-width: 575.98px) {
    .modern-image {
        display: none;
    }
}

@media (max-width:400px) {
    .service-card {
        height: 100% !important;
    }
}

@media (min-width:768px) and (max-width:1213px) {
    .service-card {
        height: 100% !important;
    }
}




/*image and globe responsive test*/

@media (min-width:401px) and (max-width:500px) {

    .hero-bottom-image-wrapper {
        width:86%!important;
    }

}


@media (min-width:501px) and (max-width:600px) {


    .hero-bottom-image-wrapper {
        width: 71%;
        margin-right: 69px;
    }

}

@media (min-width:601px) and (max-width:700px){
    .hero-bottom-image-wrapper {
        margin-top: 141px!important;
        width: 65%;
        margin-right: 103px
    }
}

@media (min-width:701px) and (max-width:800px) {
    .hero-bottom-image-wrapper {
        width: 60%;
        margin-right: 164px;
    }


    .globe {
        margin-top: -162px;
        margin-left: -505px;
        z-index: 2;
    }


}

@media (min-width:801px) and (max-width:900px) {
    .hero-bottom-image-wrapper {
        width: 56%;
        margin-right: 170px;
        margin-bottom: -17px;
    }

    .globe {
        margin-top: -177px;
        margin-left: -493px;
        z-index: 2;
    }
}

@media (min-width:901px) and (max-width:991px) {

    .globe {
        left: -339px;
        z-index: 2;
        top: -260px;
    }
    .hero-bottom-image-wrapper {
        width: 57%;
        right: 50%;
        left: 45%;
    }
}
@media (min-width:992px) and (max-width:1023px) {
    .globe {
        top: -571px!important;
        left: -365px!important;
        z-index: 2;
    }
    .hero-bottom-image-wrapper {
        .hero-bottom-image-wrapper {
            width: 70%!important;
            right: 50%;
            left: 45%;
        }
    }
}


@media (min-width:1024px) and (max-width:1200px) {

    .globe {
        position: absolute;
        top: 225px;
        z-index: 2;
        left: 564px;
    }
}

