/* Webcotec Technology Pvt. Ltd. - Custom Stylesheet */

/* Global Container Width Upgrade (90rem / 1440px) */
.max-w-7xl {
    max-width: 90rem !important;
}

/* Global Typography Enforcement: Plus Jakarta Sans Identical to Homepage */
*, html, body, button, input, select, textarea {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: -0.025em; /* tracking-tight */
}

@layer utilities {
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #F8FAFC;
    }
    ::-webkit-scrollbar-thumb {
        background: #CBD5E1;
        border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #FF5A1F;
    }
}

/* Background patterns */
.bg-hero-pattern {
    background-color: #FFF8F3;
    background-image: radial-gradient(rgba(255, 90, 31, 0.08) 1.5px, transparent 1.5px), radial-gradient(rgba(7, 20, 38, 0.04) 1.5px, #FFF8F3 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.bg-dot-pattern {
    background-image: radial-gradient(rgba(255, 90, 31, 0.12) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.bg-dark-grid {
    background-color: #071426;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Gradient accents */
.text-gradient-orange {
    background: linear-gradient(135deg, #FF5A1F 0%, #FF8C38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
    background: linear-gradient(135deg, #071426 0%, #1E3A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Glow and Transitions */
.card-hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(7, 20, 38, 0.08), 0 0 20px -5px rgba(255, 90, 31, 0.12);
    border-color: rgba(255, 90, 31, 0.3);
}

/* Squiggle decorative line */
.squiggle-line {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4' fill='none'%3E%3Cpath d='M0 2C3 0 7 4 10 2C13 0 17 4 20 2' stroke='%23FF5A1F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 20px 4px;
    height: 4px;
}

/* Floating animation delays */
.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Form field focus transitions */
input, textarea, select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Standard 15px Body Text & Descriptions */
.text-15 {
    font-size: 15px !important;
    line-height: 1.65 !important;
}

/* Swiper Testimonials Slider Customization */
.testimonials-slider {
    width: 100%;
    position: relative;
}

.testimonials-slider .swiper-slide {
    height: auto !important;
    display: flex;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #CBD5E1;
    opacity: 0.8;
    border-radius: 9999px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    margin: 0 4px !important;
}

.testimonials-pagination .swiper-pagination-bullet:hover {
    background-color: #94A3B8;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    width: 28px !important;
    background-color: #FF5A1F !important;
    opacity: 1;
    border-radius: 9999px !important;
}

/* Custom Modern Dropdowns & Selects */
.custom-dropdown .dropdown-menu {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #E2E8F0 transparent;
}

.custom-dropdown .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 9999px;
}

/* Fallback & Global Select Modernization (Eliminates raw browser arrows) */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1rem 1rem !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
}

/* -------------------------------------------------------------
 * Category and Pillar Filter Tabs (Services, Team, Work/Portfolio)
 * Modern Floating Segmented Dock & High-Contrast Active State
 * ------------------------------------------------------------- */
.filter-dock {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
    border-radius: 9999px;
    padding: 4px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    max-width: 100%;
}

.pillar-tab,
.team-filter-btn,
.work-filter-tab {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    padding: 6px 14px !important;
}

/* Inactive Tab Default State */
.pillar-tab:not(.active),
.team-filter-btn:not(.active),
.work-filter-tab:not(.active) {
    background-color: transparent !important;
    color: #475569 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

/* Inactive Tab Hover State: soft peach background tint with brand-orange border and text */
.pillar-tab:not(.active):hover,
.team-filter-btn:not(.active):hover,
.work-filter-tab:not(.active):hover {
    background-color: #FFF0EB !important;
    color: #FF5A1F !important;
    border-color: rgba(255, 90, 31, 0.3) !important;
    box-shadow: 0 2px 10px -2px rgba(255, 90, 31, 0.15) !important;
}

/* Active Tab State: brand-orange gradient with pure white text and glowing shadow */
.pillar-tab.active,
.team-filter-btn.active,
.work-filter-tab.active {
    background: linear-gradient(135deg, #FF5A1F 0%, #FF7A45 100%) !important;
    background-color: #FF5A1F !important;
    color: #FFFFFF !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 16px -2px rgba(255, 90, 31, 0.4) !important;
}

/* Active Tab Hover State: rich deep orange, text ALWAYS stays 100% white */
.pillar-tab.active:hover,
.team-filter-btn.active:hover,
.work-filter-tab.active:hover {
    background: linear-gradient(135deg, #E04712 0%, #FF5A1F 100%) !important;
    background-color: #E04712 !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px -2px rgba(255, 90, 31, 0.45) !important;
}

/* Micro Count Badges inside Tabs */
.pillar-tab .count-badge {
    transition: all 0.25s ease;
}

.pillar-tab:not(.active) .count-badge {
    background-color: #F1F5F9 !important;
    color: #64748B !important;
}

.pillar-tab:not(.active):hover .count-badge {
    background-color: rgba(255, 90, 31, 0.15) !important;
    color: #FF5A1F !important;
}

.pillar-tab.active .count-badge {
    background-color: rgba(255, 255, 255, 0.24) !important;
    color: #FFFFFF !important;
}

/* -------------------------------------------------------------
 * Modern Premium Service Card Architecture
 * Elevated shadows, smooth hover micro-lifts, refined borders
 * ------------------------------------------------------------- */
.service-card-modern {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 90, 31, 0.35);
    box-shadow: 0 20px 40px -12px rgba(255, 90, 31, 0.16), 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

/* -------------------------------------------------------------
 * Sidebar & Table of Contents Typography (Matching Body Text)
 * ------------------------------------------------------------- */
.toc-link {
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}
aside p, aside .sidebar-body-text {
    font-size: 15px;
    line-height: 1.65;
}

