/* ==================================================
   ULTRA-PREMIUM GLASSMORPHISM & UI V3 (Color Corrected)
   Created by Bihar Innovation Team
================================================== */

:root {
    /* Color Psychology: Deep Blue for Trust & Intelligence */
    --trust-blue: #0a2342;
    --vibrant-blue: #0d6efd;
    --clean-white: #ffffff;

    /* Light Mode Glass (Clean, Crisp) */
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    /* Whiter, less grey */
    --glass-border-light: rgba(255, 255, 255, 0.9);
    --glass-shadow-light: 0 10px 40px rgba(13, 110, 253, 0.1);
    /* Blue glow */

    /* Dark Mode Glass (Sleek, Crystal) */
    --glass-bg-dark: rgba(255, 255, 255, 0.05);
    /* More transparent = Less dull grey */
    --glass-border-dark: rgba(255, 255, 255, 0.15);

    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
    --hover-lift: translateY(-6px);
}

/* 1. Intelligent Glass Cards & Shimmer */
/* -------------------------- */

/* Default (Light Backgrounds) */
.glass-card,
.career-box,
.our-team-2-card,
.pricing-table-box,
.portfolio-item-col,
.hero-company-box {
    background: var(--glass-bg-light) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light) !important;
    box-shadow: var(--glass-shadow-light) !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Shimmer Effect on Hover */
.glass-card::before,
.career-box::before,
.our-team-2-card::before,
.pricing-table-box::before,
.portfolio-item-col::before,
.hero-company-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    transition: 0.6s;
    pointer-events: none;
}

.glass-card:hover::before,
.career-box:hover::before,
.our-team-2-card:hover::before,
.pricing-table-box:hover::before,
.portfolio-item-col:hover::before,
.hero-company-box:hover::before {
    left: 150%;
    transition: 0.6s;
}

/* Pricing Specifics */
.pricing-table-box {
    padding: 40px 30px !important;
    text-align: center;
    margin-bottom: 30px;
}

/* Portfolio Grid Override (3 Columns) */
.portfolio-items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 40px;
}

/* Portfolio Overrides (Reset Legacy Colors & Styles) */
.portfolio-item-col {
    padding: 30px !important;
    margin-bottom: 0 !important;
    /* Managed by grid gap */
}

.portfolio-black-box,
.portfolio-gray-box,
.portfolio-yellow-box,
.portfolio-indigo-box,
.portfolio-bluebase,
.portfolio-darkgray-box {
    background: var(--glass-bg-light) !important;
    /* Force Uniform Glass */
    color: initial !important;
    /* Reset text color */
}

/* Typography Improvements */
.portfolio-item-col h2,
.portfolio-item-col h2 a {
    color: #0a2342 !important;
    /* Trust Navy */
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.portfolio-item-col h3 a {
    color: #0d6efd !important;
    font-size: 1.1rem !important;
}

/* Hide the old "white" class influence */
.portfolio-item-col h2.white a {
    color: #0a2342 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .portfolio-items {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .portfolio-items {
        grid-template-columns: 1fr !important;
    }
}

.portfolio-item-col:hover {
    transform: translateY(-8px);
    border-color: #0d6efd !important;
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.2) !important;
}

/* Animated Background for Hero */
@keyframes gradient-xy {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hero Base Styles (Migrated) */
.hero-service-wrap {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-service-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.hero-portfolio-body::after,
.hero-service-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #0a2342, #0d6efd, #00d2ff, #0a2342);
    background-size: 400% 400%;
    animation: gradient-xy 15s ease infinite;
    z-index: -1;
    opacity: 0.1;
    /* Subtle overlay */
    border-radius: 0 0 50px 50px;
}

/* Ensure text pops on top of animation */
.hero-portfolio-body *,
.hero-service-wrap * {
    z-index: 2;
    position: relative;
}

.pricing-table-box h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2342;
    margin-bottom: 5px;
}

.pricing-table-box h1 sup {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d6efd;
    top: -1em;
}

.pricing-table-box h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-table-box p {
    color: #666 !important;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.pricing-table-box ul {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 10px;
}

.pricing-table-box ul li {
    margin-bottom: 12px;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-table-box:hover {
    transform: translateY(-8px);
    border-color: #0d6efd !important;
}

/* Specific: Cards on Dark Backgrounds (Service Area & Dark Team Area) */
/* The 'dull' grey cards were likely here. Fix: Make them Crystal Dark Glass */
.service-black-area .service-card,
.service-area .service-card,
.our-team-black-area .our-team-2-card {
    background: var(--glass-bg-dark) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    color: #fff;
}

/* Hover Effects */
.glass-card:hover,
.career-box:hover {
    transform: var(--hover-lift);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.2) !important;
    background: #fff !important;
    border-color: var(--vibrant-blue) !important;
}

/* Light Mode Hover specific for Team */
.our-team-2-area:not(.our-team-black-area) .our-team-2-card:hover {
    transform: var(--hover-lift);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.2) !important;
    background: #fff !important;
    border-color: var(--vibrant-blue) !important;
}

/* Dark Mode Hover */
.service-black-area .service-card:hover,
.service-area .service-card:hover,
.our-team-black-area .our-team-2-card:hover {
    transform: var(--hover-lift);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4) !important;
}

/* 2. Text Visibility Fixes */
.career-area .section-title,
.our-team-2-area .section-title,
.contact-area .section-title,
.pricing-table-area .section-title,
.cta-area h2 {
    color: #0a2342 !important;
    background: none !important;
    -webkit-text-fill-color: #0a2342 !important;
    text-shadow: none !important;
    font-weight: 800;
}

.career-area p,
.our-team-2-area p,
.contact-area p,
.pricing-table-area p {
    color: #555 !important;
}

.service-black-area .section-title,
.hero-section-wrap .section-title,
.about-service3-area h1,
.about-service3-area h2,
.our-team-black-area .section-title,
.our-team-black-area h2 {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
    background-clip: text !important;
}

.about-service3-area p,
.about-service3-area li,
.our-team-black-area p,
.our-team-black-area .designation {
    color: #e2e8f0 !important;
}

.service-black-area .service-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-table-box.popular {
    border: 2px solid #0d6efd !important;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.15) !important;
    z-index: 2;
}

.pricing-table-box.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
    letter-spacing: 1px;
}

/* Card Text Colors */
.service-card h3 a {
    color: #fff !important;
}

.career-box h2 {
    color: #0a2342 !important;
}

.career-box h2 span {
    color: #555 !important;
    -webkit-text-fill-color: #555 !important;
}

.our-team-black-area .our-team-2-card h2 {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.our-team-black-area .our-team-2-card .designation,
.our-team-black-area .our-team-2-card .social-links a i {
    color: #cbd5e1 !important;
}

.our-team-black-area .our-team-2-card:hover .social-links a i {
    color: #fff !important;
}

.section-subtitle {
    color: var(--vibrant-blue) !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 4. Refined Elements */
.career-time span {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    color: #0d6efd;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(13, 110, 253, 0.2);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.career-time span i {
    font-size: 1.1em;
}

.career-box:hover .career-time span {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.our-team-2-card .img-box {
    background: linear-gradient(135deg, #0d6efd, #00d2ff);
    padding: 3px;
}

.our-team-2-card:hover .img-box {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.our-team-2-card .img-box img {
    border-radius: 50%;
    border: 4px solid #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-team-2-card h2 {
    font-weight: 800;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.our-team-2-card .designation {
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* 5. Typography Upgrades */
.section-title {
    background: -webkit-linear-gradient(0deg, #111 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}

/* Specific fix for Dark Hero Sections (Keep these white) */
.hero-section-wrap:not(.hero-service-wrap) .section-title,
.contact-area .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    background-clip: text;
}

/* Specific fix for Light Service Hero (Make this DARK) - REVERTED for Hero, kept for Body */
.hero-service-wrap .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
    background-clip: text !important;
}

.hero-service-wrap p {
    color: #e2e8f0 !important;
    /* Light text for dark background */
}

.service-section-header .section-title {
    background: none !important;
    -webkit-text-fill-color: #0a2342 !important;
    color: #0a2342 !important;
    text-shadow: none !important;
}

/* FAQ Section Styles */
.faq-area {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #0a2342;
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-item p {
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

.hero-section-content p {
    color: #e2e8f0 !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 6. Button Glows */
.theme-btn {
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    background-size: 200% auto;
    background-image: linear-gradient(to right, #2A2A72 0%, #009FFD 51%, #2A2A72 100%);
    color: white;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-btn:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(0, 159, 253, 0.4);
    transform: translateY(-2px);
}

/* 7. New Project Meta Card (Detailed Design) */
.project-floating-card {
    background: #ffffff !important;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
    padding: 35px 30px;
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    position: relative;
    z-index: 10;
    margin-top: -60px;
    /* Overlap Hero */
}

/* Dark Mode support for card if needed via parent class, currently white based on screenshot */

.meta-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.meta-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Vertical Dividers */
.meta-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

@media (max-width: 768px) {
    .meta-item:not(:last-child)::after {
        display: none;
    }

    .project-floating-card {
        margin-top: 0;
        padding: 25px;
    }
}

.meta-label {
    font-size: 0.85rem;
    color: #64748b;
    /* Slate 500 */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d6efd;
    /* Brand Blue */
    margin: 0;
}

/* Tech Pills */
.tech-pill-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tech-pill {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(13, 110, 253, 0.08);
    /* Light Blue Tint */
    color: #0d6efd;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Content Typography for Long Form */
.dynamic-content-body h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #0a2342;
    position: relative;
    display: inline-block;
}

.dynamic-content-body h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0d6efd;
    margin-top: 10px;
    border-radius: 2px;
}

.dynamic-content-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
}

.dynamic-content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    /* Gray 600 */
    margin-bottom: 25px;
}

.dynamic-content-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.dynamic-content-body ul li {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 12px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.dynamic-content-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

/* Service Hub Grid (Moved from inline) */
.service-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .service-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------
   Service Card & Typography Fixes (Restored & Enhanced)
   -------------------------------------------------- */

/* Ensure text is visible on Glass Cards */
.glass-card h3,
.glass-card h3 a {
    color: #1a1a1a !important;
    /* Premium Black */
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glass-card:hover h3 a {
    color: var(--vibrant-blue) !important;
}

.glass-card p,
.glass-card .text-muted {
    color: #555 !important;
    /* Dark Grey for readability */
    font-weight: 500;
}

/* Learn More Link (Premium Hover Reveal) */
.learn-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vibrant-blue) !important;
    opacity: 0.8;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.glass-card:hover .learn-more-link {
    opacity: 1;
    transform: translateX(5px);
    text-decoration: none;
}

/* Service Icon Animation override */
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(13, 110, 253, 0.2));
}

/* Process Strip Text Fix */
.process-strip .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix for Invisible Section Titles on Light Backgrounds */
.service-section-header .section-title,
.section-header .section-title {
    color: #1a1a1a !important;
    /* Force dark color */
    background: none !important;
    -webkit-text-fill-color: #1a1a1a !important;
    /* Override any gradient text */
}

.section-subtitle {
    color: var(--vibrant-blue) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Ensure paragraph text in headers is visible */
.section-header p {
    color: #555 !important;
}

/* ==================================================
   NEW ADDITIONS: Animation & Migrated Styles
   ================================================== */

/* Staggered Entrance Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animation-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

/* Process Strip (Migrated) */
.process-strip {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
    border-radius: 20px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Card (Layout Specifics - extending glass-card) */
.service-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Social Links Adjustment (from inline) */
.service-page .social-links li {
    margin-right: 24px;
}

.service-page .social-links li:last-child {
    margin-right: 0;
}

/* About Page Specific Styles */
.about-page .our-team-area,
.about-page .service-area,
.about-page .company-service-area,
.about-page .our-team-2-area {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.about-page .our-team-2-area {
    padding-top: 0;
    margin-top: 0;
}

.about-page .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-page .social-links li {
    margin-right: 24px;
}


/* Contact Page Specific Styles */
.contact-page .hero-learnmore {
    padding-top: 60px;
    padding-bottom: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    background-color: #f8f9fa;
    background-image: radial-gradient(#e9ecef 1px, transparent 1px);
    background-size: 20px 20px;
}

.contact-page .contact-area2 {
    padding-top: 40px;
    margin-top: 40px;
}

.contact-page .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-page .social-links li {
    margin-right: 24px;
}

.contact-page .social-links li:last-child {
    margin-right: 0;
}

/* Contact Form Styles */
.contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.contact-form textarea,
.contact-form select {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Ensure checkboxes work instantly */
.form-check-input {
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.form-check-label {
    cursor: pointer;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background-color: #fff !important;
    border-color: var(--vibrant-blue) !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1) !important;
}

/* Chips (Company Type) */
.chip {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    user-select: none;
}

/* Robust Input Hiding */
.hidden-input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hidden-input:checked+.chip {
    background: var(--vibrant-blue);
    color: #fff;
    border-color: var(--vibrant-blue);
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}

/* Service Tiles CSS */
.service-tile-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-tile-input {
    display: none;
}

.service-tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    color: #555;
    height: 100%;
}

.service-tile-input:checked+.service-tile-label {
    border-color: var(--vibrant-blue);
    background: rgba(13, 110, 253, 0.05);
    color: var(--vibrant-blue);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.15);
}

.service-tile-icon {
    font-size: 20px;
    margin-right: 8px;
}


/* Homepage Specific Styles */
.homepage .our-team-area {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.homepage .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.homepage .social-links li {
    margin-right: 24px;
}

.homepage .social-links li:last-child {
    margin-right: 0;
}

/* FAQ Accordion Styling Enhancement */
.accordion-button:not(.collapsed) {
    color: var(--vibrant-blue);
    background-color: rgba(13, 110, 253, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Modern Feature Card */
.feature-card-modern {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--vibrant-blue);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Client Area 2 for Tech Stack */

/* Portfolio Page Specific Styles */
.portfolio-page .portfolio-area {
    padding-top: 60px;
    margin-top: 60px;
}

.portfolio-page .contact-area {
    padding-top: 0;
    margin-top: 0;
}

.portfolio-page .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portfolio-page .social-links li {
    margin-right: 24px;
}

.portfolio-page .social-links li:last-child {
    margin-right: 0;
}

/* Enhanced Project Card within Portfolio Grid */
.portfolio-items .project-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-items .project-item:hover {
    transform: translateY(-5px);
}