/* Updated: 2026-02-15 - Fixed service tabs responsive mobile */
/* Homepage Design Match Styles (v2) */

::selection {
    background: #2b70fa;
    color: #fff;
}

::-moz-selection {
    background: #2b70fa;
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: #050510;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
    padding: 20px;
}

.hero-title {
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-section .btn-primary {
    background: transparent;
    border: 2px solid #fff;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
}

/* Glassmorphism Icon Strip */
.icon-strip-section {
    position: relative;
    margin-top: -100px;
    z-index: 10;
}

.icon-strip-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.1);
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.icon-box {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-box:last-child {
    border-right: none;
}

.icon-box .icon {
    font-size: 32px;
    color: #0c5adb;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.icon-box:hover .icon {
    transform: scale(1.1);
}

.icon-box h3 {
    margin: 0;
}

/* Modern Services Tabs Component */
.services-modern-tabs {
    background: #050724;
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-modern-tabs h2 {
    color: #fff;
    text-transform: capitalize;
    font-size: 48px;
    margin-bottom: 20px;
}

.services-modern-tabs .section-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.sub-title-accent {
    color: #4b85ff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-top: 10px;
}

.modern-tabs-container {
    max-width: 100%;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.modern-tabs-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.m-tab-btn {
    flex: 1;
    padding: 15px 15px;
    border: none;
    background: white;
    color: black;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 150px;
    border-radius: 0px;
}

.m-tab-btn i {
    font-size: 50px;
    transition: transform 0.3s ease;
}

.m-tab-btn span {
    font-size: 18px;
}

.m-tab-btn:hover {
    color: #de5210;
    background: #fff;
}

.m-tab-btn.active {
    background: #fff;
    color: #ea580c;
}

.m-tab-btn.active i {
    transform: scale(1.1);
    color: #de5210;
}

.modern-tabs-content {
    position: relative;
    min-height: 500px;
}

.m-tab-pane {
    display: none;
    padding: 80px;
    position: relative;
}

.m-tab-pane.active {
    display: block;
    animation: fadeInPane 0.6s ease;
    border: 2px solid #ea580c;
}

@keyframes fadeInPane {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.m-pane-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.m-pane-text {
    flex: 1;
}

.gradient-text {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m-pane-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 550px;
}

.m-explore-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ea580c;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.m-explore-btn-new:hover {
    background: #f97316;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.4);
}

/* Pane Visuals */
.m-pane-visual {
    flex: 0 0 400px;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-icon {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: floatingIcon 4s ease-in-out infinite;
}

.visual-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 1;
}

.advisory-orb {
    background: #3b82f6;
}

.dev-orb {
    background: #8b5cf6;
}

.qa-orb {
    background: #10b981;
}

.support-orb {
    background: #f59e0b;
}

.managed-orb {
    background: #6366f1;
}

.staffing-orb {
    background: #ec4899;
}

.software-orb {
    background: #06b6d4;
}

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .m-pane-inner {
        flex-direction: column;
        text-align: center;
    }

    .m-pane-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .m-pane-visual {
        flex: 0 0 300px;
        height: 300px;
    }

    .big-icon {
        font-size: 120px;
    }

    .gradient-text {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
    
    .hero-content {
        padding: 20px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* Services Section Mobile */
    .services-modern-tabs h2 {
        font-size: 36px;
    }
    
    .services-modern-tabs .section-desc {
        font-size: 16px;
        padding: 0 20px;
    }
    
    /* Tabs Navigation Mobile */
    .modern-tabs-nav {
        flex-wrap: wrap;
        gap: 0;
    }

    .m-tab-btn {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        height: 110px;
        font-size: 11px;
        padding: 10px 8px;
        gap: 8px;
    }
    
    .m-tab-btn:nth-child(2n) {
        border-right: none;
    }
    
    .m-tab-btn i {
        font-size: 32px;
    }
    
    .m-tab-btn span {
        font-size: 13px;
        line-height: 1.2;
        text-align: center;
    }

    .m-tab-pane {
        padding: 40px 20px;
    }
    
    .m-pane-inner {
        gap: 30px;
    }
    
    .gradient-text {
        font-size: 28px;
    }
    
    .m-pane-text p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .m-explore-btn-new {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .m-pane-visual {
        flex: 0 0 250px;
        height: 250px;
    }
    
    .big-icon {
        font-size: 100px;
    }
}

@media (max-width: 576px) {
    /* Hero Section Extra Small Mobile */
    .hero-section {
        min-height: 400px !important;
        padding: 80px 0 40px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-section .btn-primary {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
    
    /* Services Section Extra Small Mobile */
    .services-modern-tabs {
        padding: 60px 0 !important;
    }
    
    .services-modern-tabs h2 {
        font-size: 28px !important;
        padding: 0 15px !important;
    }
    
    .services-modern-tabs .section-desc {
        font-size: 14px !important;
        padding: 0 15px !important;
    }
    
    .modern-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        flex-wrap: nowrap !important;
    }
    
    .m-tab-btn {
        flex: none !important;
        height: 85px !important;
        font-size: 9px !important;
        padding: 6px 4px !important;
        gap: 4px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        width: 100% !important;
    }
    
    .m-tab-btn i {
        font-size: 24px !important;
    }
    
    .m-tab-btn span {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }
    
    .m-tab-pane {
        padding: 30px 15px !important;
        min-height: 400px !important;
    }
    
    .gradient-text {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .m-pane-text p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }
    
    .m-explore-btn-new {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .m-pane-visual {
        flex: 0 0 180px !important;
        height: 180px !important;
    }
    
    .big-icon {
        font-size: 70px !important;
    }
    
    .visual-orb {
        width: 180px !important;
        height: 180px !important;
    }
}

@media (max-width: 425px) {
    /* Hero Section */
    .hero-section {
        min-height: 400px !important;
        padding: 80px 0 40px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-section .btn-primary {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
    
    /* Service Tabs */
    .m-tab-btn {
        height: 75px !important;
        padding: 5px 2px !important;
        font-size: 8px !important;
        gap: 3px !important;
    }
    
    .m-tab-btn i {
        font-size: 20px !important;
    }
    
    .m-tab-btn span {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }
    
    .gradient-text {
        font-size: 18px !important;
    }
    
    .m-pane-text p {
        font-size: 12px !important;
    }
    
    .m-pane-visual {
        flex: 0 0 200px !important;
        height: 200px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .m-pane-visual img {
        max-width: 150px !important;
        height: auto !important;
        border-radius: 50%;
    }
    
    .big-icon {
        font-size: 60px !important;
    }
    
    .visual-orb {
        width: 150px !important;
        height: 150px !important;
    }
}

/* AI-First Company Content within AI Glass Overlay */
.ai-first-content {
    margin-top: 80px;
    padding-top: 60px;
}

.ai-first-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.ai-first-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.ai-first-intro {
    font-size: 20px;
    line-height: 1.7;
    color: black;
    font-weight: 400;
}

.ai-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.ai-pillar-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.ai-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ai-pillar-card:hover::before {
    transform: scaleX(1);
}

.ai-pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 102, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.analyze-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.answer-icon {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #6d28d9;
}

.automate-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.ai-pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.ai-pillar-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.ai-pillar-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}