:root {
    --primary-blue: #008acf;
    --dark-void: #0a0f14;
    --text-slate: #334155;
    --bg-white: #ffffff;
    --bg-soft: #fff;
    --global-radius: 1.25rem;
    
    /* SERVICE PERK COLORS */
}

body { font-family: 'Poppins', sans-serif; color: var(--text-slate); background: var(--bg-white); line-height: 1.6; }

/* WIDE LAYOUT SETTINGS */
.wide-container {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 40px; */
}

.py-120 { padding: 50px 0; }
.bg-soft { background-color: var(--bg-soft); }
.text-blue { color: var(--primary-blue); }

/* HERO SECTION - BOLDER & WIDER */
/* Apply same radius to all card types */
.stack-box, 
.perk-card, 
.dna-card-ms, 
.comparison-table-wrapper, 
.cta-banner-premium { 
    border-radius: var(--global-radius) !important; 
}

/* Specific Fix for Comparison Table wrapper overflow */
.comparison-table-wrapper {
    border: 1.5px solid #edf2f7;
    box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.06);
}
.bt-hero { padding: 60px 0 50px; }
.hero-flex { display: flex; align-items: center; gap: 100px; }
/* .hero-text-side { flex: 1.4; } */
.hero-text-side h1 { 
    font-size: 3.5rem; font-weight: 700; line-height: 1.1;   background: linear-gradient(90deg, #2BACE2 0%, #2A3C90 100%);  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-para { font-size: 1.3rem; color: #0a0f14; line-height: 1.6; max-width: 720px; margin-bottom: 45px; }

.pill-badge { background: #e0f2fe; color: var(--primary-blue); font-weight: 800; font-size: 14px; padding: 12px 24px; border-radius: 50px; letter-spacing: 1px; }
.btn-main, .btn-cta-white { 
    display: inline-block;
    background: #ffffff !important;
    color: #2655A5 !important;
    border: 1.5px solid #2655A5 !important;
    padding: 0.625rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important; /* 8px radius */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-main:hover, .btn-cta-white:hover { 
    background: linear-gradient(90deg, #2BACE2 0%, #2A3C90 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-3px);
}
.hero-visual-side { flex: 1; }
/* .dashboard-frame { border-radius: 35px; background: #fff; padding: 15px; box-shadow: 0 50px 100px rgba(0,0,0,0.12); transform: rotate(-2deg); } */
.dashboard-frame img { border-radius: 25px; display: block; }

/* WHAT WE DO - STACK ALIGNMENT & PASTEL BOXES */
.wwd-flex { 
    display: flex; 
    align-items: flex-start; /* Title and Boxes start at the same top line */
    justify-content: space-between;
    gap: 5rem; 
}

/* Grid Side - Left (2x2 Stack) */
.wwd-grid-side { 
    flex: 1.5; 
    order: 1; /* Forces grid to left */
}

.wwd-stack-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* 2x2 layout */
    gap: 20px; 
}

/* Text Side - Right (Title, Content, Image) */
.wwd-text-side { 
    flex: 1; 
    order: 2; /* Forces text to right */
    text-align: left;
    display: flex;
    flex-direction: column;
}

/* Visual Container inside the right side */
.wwd-visual { 
    margin-top: 40px; 
    display: flex; 
    justify-content: space-around; /* Aligns image with text left edge */
}

.gif-frame {
    width: 320px; /* Reduced image size specifically for desktop */
    height: auto;
    overflow: hidden;
    perspective: 1000px; 
}

.animated-gif {
    width: 100%;
    height: auto;
    display: block;
    animation: float 5s ease-in-out infinite;
}

/* Ensure Titles in this section align left */
.text-left {
    text-align: left !important;
}

/* Standardized Radius across all sections */
.stack-box, .perk-card, .dna-card-ms, .comparison-table-wrapper {
    border-radius: var(--global-radius) !important;
}

/* Float Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px); /* Bobs up 20px */
    }
    100% {
        transform: translateY(0px);
    }
}

/* Updated Stack Box with Custom Icons */
.stack-box { 
    padding: 25px; 
    border-radius: 25px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    transition: 0.4s; 
    border: 1px solid rgba(0,0,0,0.03); 
}

.stack-box:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); 
}

.sec-title { font-size: 3rem; font-weight: 700; color: #008acf;margin-top: 1px; margin-bottom: 1.125rem;background: linear-gradient(90deg, #2BACE2 0%, #2A3C90 100%); -webkit-background-clip: text;-webkit-text-fill-color: transparent; background-clip: text;text-align: center;}
/* .sec-subtitle { font-size: 1.2rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; max-width: 700px; } */
.bt-dna-microsoft .sec-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff !important;
}
/* Stack Box Alignment */

/* Updated Background Shades - Similar to Bitsware Career Page */
.mint, .lightblue, .pink, .peach, .green { 
    background-color: #fff !important; /* Consistent soft blue shade from career page */
    border-left: 4px solid var(--primary-blue); /* Distinct side-border from ref image */
}

/* Icon Side Styling */
.custom-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0; 
    object-fit: contain;
}

/* Text Side Styling */
.stack-txt {
    text-align: left; /* Ensure alignment is consistent */
}

.stack-txt h3 { 
    font-size: 1.35rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    color: var(--dark-void);
}

.stack-txt p { 
    font-size: 1rem; 
    color: #576574; 
    margin: 0;
    line-height: 1.5;
}

/* SERVICE CARDS (PERK SHADES) */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px; 
    /* margin-top: 70px;  */
}

.perk-card { 
    background: #f4faff; 
    font-size: 1rem; 
    padding: 40px; /* Increased padding for better breathing room */
    border-radius: 15px; 
    text-align: left; 
    transition: 0.5s; 
    border: 3px solid transparent; 
    position: relative;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

.perk-card h3 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin: 35px 0 15px; 
    line-height: 1.3; 
}

.perk-card p {
    margin-bottom: 30px; /* Space before the button */
    flex-grow: 1; /* Pushes the button to the bottom */
}

.perk-icon { 
    width: 70px; 
    height: 70px; 
    border-radius: 22px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 40px; 
}

/* Discover More Button Styling */
.discover-btn {
    display: flex;
    justify-content: center; /* Centers text */
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #2655A5;
    border: 1.5px solid #2655A5;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.discover-btn:hover {
    background: linear-gradient(90deg, #2BACE2 0%, #2A3C90 100%);
    color: #ffffff;
    border-color: transparent;
}

.discover-btn .material-symbols-outlined {
    font-size: 18px;
    transition: 0.3s;
}
.service-img {
    width: 45px; /* Adjust size based on your specific assets */
    height: 45px;
    object-fit: contain;
    transition: 0.3s ease;
}
.perk-card:hover .service-img {
    transform: scale(1.1);
}
/* ... other p-colors same as before ... */
.p-teal .perk-icon { background: rgba(0, 191, 165, 0.1); color: var(--perk-teal); }
.p-teal:hover { transform: translateY(-15px) }
.p-pink .perk-icon { background: rgba(236, 64, 122, 0.1); color: var(--perk-pink); }
.p-pink:hover { transform: translateY(-15px) }
.p-blue .perk-icon { background: rgba(41, 182, 246, 0.1); color: var(--perk-blue); }
.p-blue:hover {transform: translateY(-15px)}
.p-green .perk-icon { background: rgba(102, 187, 106, 0.1); color: var(--perk-green); }
.p-green:hover { transform: translateY(-15px)}
.p-orange .perk-icon { background: rgba(255, 167, 38, 0.1); color: var(--perk-orange); }
.p-orange:hover {transform: translateY(-15px) }
.p-red .perk-icon { background: rgba(239, 83, 80, 0.1); color: var(--perk-red); }
.p-red:hover { transform: translateY(-15px); }
.p-navy .perk-icon { background: rgba(40, 53, 147, 0.1); color: var(--perk-navy); }
.p-navy:hover { transform: translateY(-15px) }
.p-magenta .perk-icon { background: rgba(216, 27, 96, 0.1); color: var(--perk-magenta); }
.p-magenta:hover {transform: translateY(-15px)}
.p-purple .perk-icon { background: rgba(94, 53, 177, 0.1); color: var(--perk-purple); }
.p-purple:hover { transform: translateY(-15px)}

/* DNA CARDS (PASTEL BG) */
.bt-dna-microsoft {
    background: #008acf; /* Deep blue background from reference */
    /* padding: 100px 0; */
}

.text-white { color: #ffffff !important; }
.text-white-muted { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem;  }

.dna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dna-card-ms {
    background: #ffffff; 
    padding: 20px; /* Increased padding for better breathing room */
    border-radius: 25px; 
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dna-card-ms:hover {
    transform: translateY(-15px); /* Slightly stronger lift on hover */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dna-icon-ms {
    /* margin-bottom: 30px; */
    width: 80px; /* Fixed container size for icons */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-custom-img {
    width: 80%;
    height: 80%;
    object-fit: contain; /* Prevents stretching */
}

.dna-card-ms h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #008acf; 
    margin-bottom: 15px;
}

.dna-card-ms p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* SLIDER (SPLIT CONTRAST - NON BOXY) */
/* --- PREMIUM TABLE WRAPPER --- */
.comparison-table-wrapper {
    margin-top: 50px;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    /* Soft, multi-layered shadow for high-end depth */
    box-shadow: 0 20px 50px rgba(0, 138, 207, 0.05), 0 40px 100px rgba(10, 15, 20, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* --- ROW STRIPING LOGIC (Metric Column Only) --- */
/* This creates the alternating grey/white box look from your screenshot */
.comparison-table tr:nth-child(even) .metric-cell {
    background: #ffff; /* Very light grey */
}

.comparison-table tr:nth-child(odd) .metric-cell {
    background: #ffffff; /* Pure white */
}

/* --- CELL STYLING --- */
.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e6ed;
    font-size: 1.2rem;
    vertical-align: middle;
}

.metric-cell {
    font-weight: 700;
    color: #1e293b;
    width: 25%;
    padding-left: 40px !important; /* Visual breathing room */
    transition: background 0.3s ease;
}

.traditional-cell {
    color: #64748b;
    width: 35%;
    padding-left: 30px !important;
}

/* --- BITSWARE ADVANTAGE COLUMN (The "Pop" Effect) --- */
.bitsware-cell {
    /* Slightly deeper tint for better contrast */
    background: rgba(0, 138, 207, 0.03); 
    color: #008acf;
    width: 40%;
    padding-left: 40px !important;
    position: relative;
    /* Subtle inner glow to define the column edge */
    box-shadow: inset 2px 0 0 rgba(0, 138, 207, 0.1); 
}

/* Hover effect on entire row for interactivity */
.comparison-table tr:hover td {
    background: rgba(0, 138, 207, 0.01) !important;
}

/* --- HEADERS --- */
.comparison-table th {
   padding: 20px 10px;
font-size: 1.2rem;
letter-spacing: 1px;
font-weight: 800;
color: #94a3b8;
background: #fff;
text-align: center;
border-bottom: 2px solid #f1f5f9;
}

.bitsware-head {
    /* Gradient header for impactful branding */
    background: linear-gradient(135deg, #008acf 0%, #006da3 100%) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 1.25rem 0rem 0rem; /* Keeps it flush with wrapper */
}

.bitsware-head .head-label {
    font-size: 1.7rem;
    letter-spacing: 3px;
    display: block;
}

/* Remove border on final row */
.comparison-table tr:last-child td { border-bottom: none; }
/* FINAL CTA - BOLDER */
.cta-banner-premium { 
    background: #cfeafd; /* Light blue background as seen in image_b638da.jpg */
    border-radius: 40px; 
    display: flex; 
    align-items: center; 
    padding: 0px 80px 0px 20px; /* Horizontal padding, vertical handled by image height */
    overflow: hidden; 
    position: relative;
    /* min-height: 450px; */
}

.cta-info-side { 
    flex: 1.2; 
    padding: 15px ;
    text-align: left; 
}

.cta-info-side h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--dark-void); 
    line-height: 1.1; 
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.cta-info-side p {
    font-size: 1.3rem;
    color: #475569;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Button Grouping */
.cta-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}


.btn-ghost-white {
    background: transparent;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.btn-ghost-white:hover {
    border-bottom-color: var(--primary-blue);
}

/* Image/Mockup Alignment */
.cta-image-side { 
    flex: 1; 
    display: flex; 
    justify-content: flex-end; 
    align-self: flex-end; /* Keeps image bottom-aligned if it's a phone mockup */
}

.cta-mockup-img { 
    max-height: 500px; 
    width: auto; 
    object-fit: contain;
    transform: translateY(20px); 
}
/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* 1. Desktop & Laptop Adjustments (Below 1400px) */
@media (max-width: 1400px) {
    .wide-container { max-width: 1200px; }
    .services-grid { gap: 40px; }
}
/* 3. Small Tablets & Phones (Below 768px) */
@media (max-width: 768px) {
    .sec-title { font-size: 2.5rem; }
    
    .stack-box { 
        flex-direction: column; 
        text-align: center; 
        padding: 20px; 
    }
    
    .services-grid { grid-template-columns: 1fr; }
    .dna-grid { grid-template-columns: 1fr; }
    
    .cta-info-side h2 { font-size: 1.5rem; }
}

/* 4. Small Mobile Devices (Below 480px) */
@media (max-width: 480px) {
    .wide-container { padding: 0 10px; }
    
    .btn-main, .btn-cta-white { 
        width: 100%; 
        justify-content: center; 
        font-size: 1.1rem; 
    }
    
    .perk-card { padding: 20px; }
    .perk-card h3 { font-size: 1.2rem; }
    
    .dna-card-ms { padding: 30px 20px; }

}
/* ==========================================================================
   TABLET & MOBILE RESPONSIVE FIXES
   ========================================================================== *

/* Specific Fix for Smaller Mobiles */
@media (max-width: 480px) {
    .hero-text-side h1 { font-size: 2rem !important;}
    .wide-container { padding: 0 10px; }
    .btn-main, .btn-cta-white { width: 100%; justify-content: center; font-size: 1.1rem; }
    .perk-card { padding: 20px; }
    .perk-card h3 { font-size: 1.2rem; }
    .dna-card-ms { padding: 30px 20px; }
    .bt-hero{padding: 20px 0px 0px 0px;}
    .hero-visual-side img { max-width: 100% !important; }
    .btn-main, .btn-cta-white { width: 70%; justify-content: center; font-size: 1rem !important;padding: 5px; }
    .perk-card h3 { font-size: 1.25rem !important; }
}
/* ==========================================================================
   OPTIMIZED TABLET & MOBILE RESPONSIVE FIXES
   ========================================================================== */

@media (max-width: 1024px) {
    .bt-hero{padding: 20px 0px 0px 0px;}
    .hero-flex {flex-direction: column !important;text-align: center;gap: 1px !important; }
    .hero-text-side { display: contents;}
    .hero-text-side h1 { order: 1 !important; /* Title First */ font-size: 1.6rem !important; }
    .hero-visual-side { order: 2 !important; /* Image Second */ width: 100%; display: flex; justify-content: center; margin: 10px 0;}
    .hero-visual-side img { height: auto;}
    .hero-para {order: 3 !important; /* Paragraph Third */ font-size: 1.1rem; margin: 10px auto !important;}
    .hero-btns { order: 4 !important; /* "Consult With Us" Button Last */ width: 100%;  display: flex;  justify-content: center;}
    .wwd-flex { flex-direction: column !important;  align-items: center; text-align: center; gap:1rem;}
    .wwd-content { display: contents;  }
    .sec-title {
        font-size: 1.9rem !important;
         order: 1 !important; /* Section Title First */
        margin-bottom: 5px !important;
    }

    .wwd-visual {
        width: 100%;
        display: flex;
        justify-content: center;
         order: 2 !important; /* Ecosystem Animation Second */
        /* margin: 15px 0 !important; */
    }

    .wwd-visual img {
        /* max-width: 280px;  */
    }

    .wwd-stack-grid {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
         order: 4 !important; /* Information Boxes Last */
    }
    .sec-subtitle {
        order: 3 !important; /* Subtitle Third */
        margin-bottom: 20px !important;
    }
    .stack-box {
        flex-direction: column !important; /* Stack vertically */
        align-items: center;
        text-align: center;
        padding: 20px !important;
        gap: 10px !important;
    }

    .stack-txt {display: contents; /* Target internal elements for reordering */  }
    .stack-txt h3 { order: 1; /* Box Title First */ margin-bottom: 5px;  }
    .custom-icon {
        order: 2; /* Box Image Second */
        width: 50px !important;
        height: 50px !important;
        margin: 10px 0;
    }

    .stack-txt p {
        order: 3; /* Box Content Third */
        font-size: 0.95rem;
    }
    .perk-card h3{order: 1;}
    .perk-icon{order: 2;}
    .perk-card p{order: 3;}
    .discover-btn{order: 4;}
   /* .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 20px;
    }
    .comparison-table {
        min-width: 800px; 
    }
    .comparison-table td,.comparison-table th{padding: 8px;}
    .metric-cell {width: 10%;} */
    .cta-mockup-img {width: 95%;}
    .btn-main, .btn-cta-white {order: 4;text-align: center;}
    /* --- 3. CTA Section Fix (Fixes image_257555.jpg) --- */
    .cta-banner-premium {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 20px !important;
    }

    .cta-info-side {
        display: contents; /* Enables reordering of h2, p, and buttons */
    }

    .cta-info-side h2 {
        order: 1 !important; /* Title First */
        font-size: 2rem !important;
    }

    .cta-image-side {
        order: 2 !important; /* Laptop/Mockup Image Second */
        margin: 20px auto !important;
        justify-content: center;
    }

    .cta-info-side p {
        order: 3 !important; /* Descriptive Paragraph Third */
        margin: 0 auto 20px !important;
    }

    .cta-actions {
        order: 4 !important; /* Contact Us Button assigned to LAST position */
        justify-content: center !important;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .comparison-table-wrapper {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
        width: 100%;
        padding: 0;
    }

    .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .comparison-table thead {
        display: none; /* Hidden because labels are now inside cells */
    }

    .comparison-table tr {
        background: #fff;
        margin-bottom: 40px; /* Increased gap between cards */
        border-radius: var(--global-radius);
        overflow: hidden;
        border: 1px solid #edf2f7;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    /* 1. CARD TITLE: The Performance Metric */
    .metric-cell {
        background: #008acf !important;
        color: #ffffff !important;
        text-align: center !important;
        padding: 15px 2px !important;
        font-size: 1.5rem !important;
        font-weight: 700;
        border: none !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* 2. TRADITIONAL FIRMS ROW */
    .traditional-cell {
        padding: 20px 0px !important;
        text-align: center !important;
        border-bottom: 1px solid #f1f5f9 !important;
        background: #fff; 
        color: #64748b !important;
        font-size: 1.1rem !important;
    }

    /* Label for Traditional Firms */
    .traditional-cell::before {
        content: "TRADITIONAL FIRMS";
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        color: #666;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    /* 3. BITSWARE ADVANTAGE ROW */
    .bitsware-cell {
        padding: 20px 10px !important;
        text-align: center !important;
        background:rgba(0, 138, 207, 0.03);
        color: #008acf !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        display: flex !important;
        flex-direction: column; /* Stack label over content */
        align-items: center;
        justify-content: center;
        min-height: 110px;
    }

    /* Label for Bitsware Advantage */
    .bitsware-cell::before {
        content: "BITSWARE ADVANTAGE";
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        color: #666;
        margin-bottom: 10px;
        letter-spacing: 1px;
        opacity: 0.8;
    }

    /* Re-order section structure */
    .bt-comparison .wide-container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .comparison-header { order: 1; }
    .comparison-table-wrapper { order: 2; margin-top: 30px; }
}