/* =========================================
   1. Client Stories Section 
   ========================================= */

/* Hover effects */

/* Active Class override for touch screens padding if no hover */

/* Responsive */

/* ── Services Page Hero Overrides ── */
#hero .hero-content h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 32px;
}

#hero .hero-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#hero .hero-content .btn {
    font-size: 18px;
    padding: 16px 36px;
    letter-spacing: 0.5px;
}

/* Bayara Hero Elements */
.hero-case-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 25px;
    display: block;
}

#hero .hero-content h1 {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 25px;
    margin-top: 0;
}

#hero .hero-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
}

.hero-meta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-badge {
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    border-radius: 0;
}

.hero-read-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-read-time svg {
    opacity: 0.9;
}

/* Tablet */

/* Mobile */

/* =========================================
   2. Services Partners Section
   ========================================= */
/* Services Page Partners Section Redesign */

/* Bottom CTA Banner */

/* Mobile Pagination Hidden on Desktop */

/* Responsive Styles */

/* New Technology Partners Section Styles */

/* Responsive adjustments for new section */

/* =========================================
   3. Fortune 500 Slider Section
   ========================================= */

/* On hover, fade out default and fade in hover image */

/* Semi-transparent gradient overlay to ensure text readability */

/* Navigation arrows beside the wrapper */

/* Responsive Overrides */

/* Display utilities */

/* =========================================
   3. Core Services Section
   ========================================= */

/* Card Container */

/* Common Inner Styles */

/* Front Face */

/* Back Face */

/* Web App Tech Stack Overrides */

/* Hover Animation - Scroll Up Effect */

/* Mobile View Layout Updates */

/* Modal Styles */

/* Modal Navigation (Arrows) */

/* =========================================
   4. Areas of Expertise Section
   ========================================= */
/* Areas of Expertise CSS */

/* Carousel Layout */

/* Main Features Item (Left Large Box) */

/* Right Side Thumbnails */
/* Thumbnails text color needs to handle dark background context if they are outside a card */

/* Navigation Arrow */

/* Pagination */

/* Animations */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */

/* =========================================
   Web Development Capabilities Section
   ========================================= */

/* Let the native .white-box padding and margins apply */

/* Left Tabs */

/* Right Content */

/* Responsive */

/* =========================================
   Web Trends Section
   ========================================= */

/* =========================================
   Why Choose Citytech Section
   ========================================= */

/* Base specific locations */

/* Grid cycle 1 tick forward on hover */

/* =========================================
   Case Studies Section
   ========================================= */

/* Case Carousel */

/* Case Card */

/* View Button */

/* Pagination container */

/* =========================================
   11. Blogs Section
   ========================================= */

/* Left side - Main Blog */

/* Right side - Blog List */



.book-consultation-section .tenth-container {
    margin: var(--section-gap, 36px) auto; /* Matches uniform section gap on PC without !important to allow mobile overrides to survive */
}

/* =========================================
   Mobile Accordion for Web Dev (Copied from home.css)
   ========================================= */

/* =========================================
   2. Fortune 500 / Wide Reach Section
   ========================================= */

/* Slider Layout */

/* 3D Parallax Card Effect */

/* Mobile Fallback - Ensure text is visible and static */

/* =========================================
   6. Transformative Technologies Section
   ========================================= */

/* Image scaling smoothly on hover */

/* Bottom gradient behind text */

/* Navigation right side */

/* Responsive */

/* =========================================
   Client Testimonials Section
   ========================================= */

/* Base Card */

/* Video Card specific */

/* Text cards specific */
.text-card {
    padding: 30px;
}

/* Logos list */

/* View more button */

/* Responsive Slider Specifics */
 .testimonials-text-track {
        display: contents; /* Ensures grid works as before */
    }

/* =========================================
   Featured Insights Section
   ========================================= */

/* Hidden elements class */

/* Default Greyscale State */

/* Hover State - Turn to Black */

/* Fallback for touch screens */

/* Action Button */

/* Responsive */

/* =========================================
   Enterprise eCommerce Section
   ========================================= */

.enterprise-ecommerce-section {
    padding: 0;
    background-color: #0F1D2C;
}

.toc-box {
    background-color: #f7f7f7 !important; /* Update background */
    min-height: auto;
    padding: 60px 40px;
}

/* =========================================
   FAQ Section
   ========================================= */

/* =========================================
   Bayara Case Study Layout overrides
   ========================================= */



.bayara-case-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    width: 100%;
}

.bayara-main-content {
    flex: 1 1 65%;
    max-width: 65%;
}

.bayara-sidebar {
    flex: 0 0 300px;
    margin-left: auto;
    position: sticky;
    top: 150px;
    align-self: flex-start;
}

/* Sections */
.bayara-section {
    margin-bottom: 60px;
}

.bayara-section h2 {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin-bottom: 25px;
    margin-top: 0;
}

.bayara-subheading {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.bayara-section p {
    font-size: 17px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    max-width: 95%;
}
.customMargin {
    margin-bottom: 2px !important;
}

.mt-40 { margin-top: 40px !important; }

/* Custom Check List */
.bayara-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bayara-check-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.b-check-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    color: #666;
    flex-shrink: 0;
}

/* Sidebar Styling */
.b-sidebar-block {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.b-sidebar-block:first-child {
    border-top: none;
    padding-top: 0;
}
.no-border { border-bottom: none !important; }

.b-sidebar-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    margin-top: 0;
}

.b-sidebar-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b-sidebar-toc li {
    margin-bottom: 15px;
}

.b-sidebar-toc a {
    text-decoration: none;
    color: #999;
    font-size: 15px;
    transition: color 0.2s ease;
}

.b-sidebar-toc li.active a {
    color: var(--theme-color, #18D09B);
}

.b-sidebar-toc a:hover {
    color: #555;
}

.b-author-profile {
    display: flex;
    align-items: center;
}
.mt-15 { margin-top: 15px; }

.b-author-profile img {
    width: 45px;
    height: 45px;
    border-radius: 0;
    object-fit: cover;
    margin-right: 15px;
}

.b-author-info {
    display: flex;
    flex-direction: column;
}

.b-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.b-author-role {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

/* Measurable Outcomes */
.b-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.b-outcome-card {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0;
}

.b-outcome-val {
    font-size: 56px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1;
}

.b-outcome-card p {
    font-size: 16px !important;
    color: #777 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Customer Review */
.b-review-text {
    font-size: 19px;
    line-height: 1.6;
    color: #777;
    margin: 30px 0;
    padding: 0;
    border-left: none;
}

.b-review-author {
    display: flex;
    align-items: center;
}

.b-review-author img {
    width: 55px;
    height: 55px;
    border-radius: 0;
    object-fit: cover;
    margin-right: 15px;
}

.b-review-author .b-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    display: block;
    margin-bottom: 4px;
}

.b-review-author .b-author-role {
    font-size: 14px;
    color: #888;
}

/* Services Provided */
.b-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.b-service-card {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.b-svc-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-svc-icon-wrapper img {
    width: 100%;
    height: auto;
}

.b-service-card p {
    font-size: 16px !important;
    font-weight: 600;
    color: #000 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Technology Stack Custom Layout */
.b-techstack-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.b-tech-row {
    display: flex;
    gap: 20px;
}

.b-tech-card {
    background-color: #ffffff;
    padding: 35px 20px;
    border-radius: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.b-tech-row-3 .b-tech-card {
    flex: 1;
}

.b-tech-row-4 .b-tech-card {
    flex: 1; 
}

.b-tech-row-4 .b-tech-card-wide {
    flex: 1.5; 
}

.b-tech-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    height: 45px;
}

.b-tech-icons img {
    height: 100%;
    width: auto;
    max-width: 50px;
    object-fit: contain;
}

.b-tech-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px 0;
}

.b-tech-desc {
    font-size: 15px !important;
    color: #888 !important;
    margin: 0 !important;
}

/* Bayara Results Slider */
.bayara-res-slider-wrapper {
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
}

.bayara-res-viewport {
    width: 100%;
    overflow: hidden;
    background: #fff; /* For webp images to sit cleanly */
    padding-top: 10px;
}

.bayara-res-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.bayara-res-slide {
    flex: 0 0 100%;
    width: 100%;
}

.bayara-res-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.bayara-caption {
    text-align: center;
    font-size: 14px !important;
    color: #888 !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.bayara-res-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.b-res-arrow {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    display: flex;
    padding: 5px;
    transition: color 0.2s ease;
}

.b-res-arrow:hover {
    color: #555;
    /* transform: scale(1.1); Removed zoom */
}

.b-res-dots {
    display: flex;
    gap: 8px;
}

.b-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.b-dot.active {
    background-color: var(--theme-color, #18D09B);
}
.bayara-check-list li p {
    margin-bottom: 0px;
}

/* Responsive */

.mobile-grid-dashes { display: none; }

@media (max-width: 1200px) { /* Hide arrows on mobile/tablet */
    #hero .hero-content h1 {
        font-size: 48px;
        margin-bottom: 24px;
    }
    #hero .hero-content .btn {
        font-size: 16px;
        padding: 14px 28px;
    }
    #hero .hero-content h1 {
        font-size: 48px;
        margin-bottom: 24px;
    }
    .hero-case-logo {
        max-width: 110px;
        margin-bottom: 20px;
    }

    /* Mobile Pagination Dots */

    /* Keep front visible */

    /* Core Services Pagination */

    /* Force disable hover effects on mobile */
    /* Globally remove the blue tap highlight on mobile devices */
    a, button, input, textarea, div, li {
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Completely hide desktop version */

    /* Show Mobile Container */

    /* Mobile Slider Gallery ─ native swipe */

    /* Individual swipe card */

    /* Mobile Pagination Dashes */
    
    .white-box {
        margin: 10px 15px 0 15px !important;
        /* Reduced from 20px */
        padding: 40px;
        /* Better padding for content */
        height: auto !important;
        width: calc(100% - 30px) !important;
        border-radius: 0;
        /* Keep the premium curve */
    } 
    
    /* Ensure Left Alignment consistently for Headers */
    
    .form-label,
    .consultation-form h2,
    .consultation-form p {
        text-align: left !important;
    }

    .accordion-icon {
        width: 12px;
        height: 12px;
        border-right: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-top: -6px;
    }
    

}

@media (max-width: 810px) {
.white-box {
        margin: 10px 15px 0 15px !important;
        /* Reduced from 20px */
        padding: 30px;
        /* Better padding for content */
        height: auto !important;
        width: calc(100% - 30px) !important;
        border-radius: 0;
        /* Keep the premium curve */
    }
    
    /* Scroll setup */
    /* Make Filter Categories Horizontally Scrollable */
    
    /* Make Insights Grid Horizontally Scrollable */
    
    /* Disable "Show more" button completely since it's swipable */
    
    /* Plus/Minus Indicator */

    /* Override padding for lists and headings inside the clone to look good in the sidebar */
    .bayara-case-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .bayara-main-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
