/* ==========================================================================
   TechConnect Professional Header Redesign CSS
   ========================================================================== */

/* Header Container Alignment */
.tc-header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. TOP UTILITY BAR
   -------------------------------------------------------------------------- */
.tc-top-bar {
    background-color: #0b132b;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.tc-top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tc-top-bar a:hover {
    color: #ffffff;
}

.tc-top-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tc-top-item i {
    color: #60a5fa;
    font-size: 14px;
}

/* Language Selector Dropdown */
.tc-lang-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 13px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: none !important;
}

.tc-lang-dropdown .dropdown-toggle:hover,
.tc-lang-dropdown .dropdown-toggle:focus {
    color: #ffffff;
}

.tc-lang-dropdown .dropdown-menu {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 6px 0;
    margin-top: 8px;
    min-width: 130px;
}

.tc-lang-dropdown .dropdown-item {
    color: #cbd5e1;
    font-size: 13px;
    padding: 6px 16px;
    transition: all 0.2s ease;
}

.tc-lang-dropdown .dropdown-item:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* Top Bar Social Icons */
.tc-social-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tc-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1 !important;
    font-size: 12px;
    transition: all 0.25s ease !important;
}

.tc-social-icon:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. MAIN NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.tc-main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

/* Unified Logo Styling */
.tc-brand-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.tc-brand-logo span {
    color: #2563eb !important;
}

.tc-brand-logo:hover {
    opacity: 0.9;
}

/* Navigation Links Container */
.tc-nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Navigation Link */
.tc-nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tc-nav-link:hover {
    color: #FF760E !important;
}

.tc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background-color: #FF760E;
    border-radius: 2px;
    transition: width 0.25s ease;
}


.tc-nav-link:hover::after,
.tc-nav-link.active::after {
    width: 100%;
}

.tc-nav-link.active {
    color: #FF760E !important;
}

/* CTA Button */
.tc-btn-primary {
    background-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease !important;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.tc-btn-primary:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.tc-btn-primary i,
.tc-btn-primary svg {
    transition: transform 0.2s ease;
}

.tc-btn-primary:hover i,
.tc-btn-primary:hover svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   3. MOBILE NAVIGATION & DRAWER
   -------------------------------------------------------------------------- */
.tc-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #0f172a;
    font-size: 18px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tc-mobile-toggle:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.tc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 10001;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-mobile-drawer.open {
    right: 0;
}

.tc-mobile-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tc-mobile-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.tc-mobile-close:hover {
    color: #0f172a;
}

.tc-mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-mobile-link {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    text-decoration: none !important;
    padding: 12px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: block;
}

.tc-mobile-link:hover,
.tc-mobile-link.active {
    background-color: #eff6ff;
    color: #2563eb !important;
}

.tc-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tc-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .tc-nav-menu {
        gap: 16px;
    }

    .tc-nav-link {
        font-size: 12.5px;
    }

    .tc-btn-primary {
        padding: 9px 18px;
        font-size: 13.5px;
    }
}

@media (max-width: 991px) {

    .tc-nav-menu,
    .tc-header-cta {
        display: none !important;
    }

    .tc-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .tc-top-bar {
        font-size: 12px;
    }

    .tc-top-bar-hours {
        display: none !important;
    }

    .tc-social-links {
        margin-left: 10px;
        padding-left: 10px;
    }

    .tc-brand-logo {
        font-size: 22px;
    }
}

/* ==========================================================================
   5. COMPACT HERO SLIDER HEIGHT & SPACING OVERRIDES
   ========================================================================== */
.banner-style-three-area {
    padding-top: 0;
    margin-top: 0;
}

.banner-style-three-area .swiper-slide {
    height: 960px !important;
    min-height: 580px !important;
    max-height: 600px !important;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-style-three-area .swiper-slide .thumb {
    height: 100% !important;
    width: 80% !important;
}

.banner-style-three-area .swiper-slide .thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center right !important;
}

.banner-style-three-area .item {
    padding: 40px 60px !important;
    width: 100%;
    box-sizing: border-box;
}

.banner-style-three-area strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 14px !important;
    color: #60a5fa !important;
    display: block;
}

.banner-style-three-area .item h2 {
    font-size: 58px !important;
    line-height: 1.12 !important;
    margin-bottom: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.banner-style-three-area .item .content {
    padding-left: 0 !important;
    max-width: 650px;
}

.banner-style-three-area .item .content p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.banner-style-three-area .mt-30 {
    margin-top: 15px !important;
}

.banner-style-three-area .banner-three-nav-prev,
.banner-style-three-area .banner-three-nav-next {
    height: 140px !important;
    line-height: 140px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

@media (max-width: 1199px) {
    .banner-style-three-area .swiper-slide {
        height: 520px !important;
        min-height: 500px !important;
    }

    .banner-style-three-area .item h2 {
        font-size: 48px !important;
    }

    .banner-style-three-area .item {
        padding: 30px 45px !important;
    }
}

@media (max-width: 991px) {
    .banner-style-three-area .swiper-slide {
        height: 500px !important;
        min-height: 480px !important;
    }

    .banner-style-three-area .item h2 {
        font-size: 40px !important;
    }

    .banner-style-three-area .item {
        padding: 25px 35px !important;
    }
}

@media (max-width: 767px) {
    .banner-style-three-area .swiper-slide {
        height: 460px !important;
        min-height: 410px !important;
    }

    .banner-style-three-area .item h2 {
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .banner-style-three-area strong {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    .banner-style-three-area .item .content p {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }

    .banner-style-three-area .item {
        padding: 20px 20px !important;
    }

    .banner-style-three-area .banner-three-nav-prev,
    .banner-style-three-area .banner-three-nav-next {
        height: 90px !important;
        line-height: 90px !important;
    }
}

/* Feature section smooth connection below hero */
.feature-style-three-area.default-padding {
    padding-top: 45px !important;
}

/* ==========================================================================
   6. GLOBAL SECTION VERTICAL WHITESPACE OPTIMIZATION
   ========================================================================== */
.default-padding {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.default-padding-top {
    padding-top: 60px !important;
}

.default-padding-bottom {
    padding-bottom: 60px !important;
}

.default-padding.bottom-less {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}

.default-padding-bottom.bottom-less {
    padding-bottom: 40px !important;
}

.default-padding-top.bottom-less {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}

/* Section Title Spacing */
.site-heading {
    margin-bottom: 35px !important;
}

.site-heading .sub-title {
    margin-bottom: 8px !important;
}

.site-heading .title {
    margin-bottom: 10px !important;
}

/* Role Section Spacing */
.tc-role-section {
    padding: 55px 0 !important;
}

.tc-section-header {
    margin-bottom: 35px !important;
}

/* Footer Connection */
footer {
    margin-top: 0 !important;
}

/* Responsive Spacing Overrides */
@media (max-width: 991px) {
    .default-padding {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
    .default-padding-top {
        padding-top: 48px !important;
    }
    .default-padding-bottom {
        padding-bottom: 48px !important;
    }
    .default-padding.bottom-less {
        padding-top: 48px !important;
        padding-bottom: 30px !important;
    }
    .site-heading {
        margin-bottom: 28px !important;
    }
    .tc-role-section {
        padding: 45px 0 !important;
    }
}

@media (max-width: 767px) {
    .default-padding {
        padding-top: 38px !important;
        padding-bottom: 38px !important;
    }
    .default-padding-top {
        padding-top: 38px !important;
    }
    .default-padding-bottom {
        padding-bottom: 38px !important;
    }
    .default-padding.bottom-less {
        padding-top: 38px !important;
        padding-bottom: 25px !important;
    }
    .site-heading {
        margin-bottom: 22px !important;
    }
    .tc-role-section {
        padding: 35px 0 !important;
    }
}