/* ==========================================================================
   JTTex International - Modern Corporate Portfolio Stylesheet
   Design System & Bootstrap 5 Overrides
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-navy: #0B192C;
    --secondary-slate: #1E293B;
    --dark-card: #14213d;
    --accent-teal: #00ADB5;
    --accent-green: #10B981;
    --accent-gold: #F59E0B;
    --accent-coral: #FF6B6B;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --bg-light: #F1F5F9;
    --border-light: #E2E8F0;
    --glass-bg: rgba(11, 25, 44, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #FAFAFA;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar Styling */
.navbar-custom {
    background: rgba(11, 25, 44, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar-brand .brand-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.navbar-brand .brand-badge {
    background: linear-gradient(135deg, var(--accent-teal), #0077b6);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-teal) !important;
    background: rgba(0, 173, 181, 0.1);
}

/* Top Bar Info */
.top-info-bar {
    background: var(--primary-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.825rem;
    padding: 6px 0;
}

.top-info-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-info-bar a:hover {
    color: var(--accent-teal);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #0B192C 0%, #1E293B 50%, #0F172A 100%);
    color: #fff;
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 173, 181, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight {
    color: var(--accent-teal);
    -webkit-text-fill-color: var(--accent-teal);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94A3B8;
    line-height: 1.6;
}

/* Section Header */
.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    background: rgba(0, 173, 181, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-top: 0.5rem;
}

/* Sister Concern Cards */
.sister-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sister-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.12);
    border-color: var(--accent-teal);
}

.sister-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: var(--transition-smooth);
}

.sister-card:hover .sister-card-img {
    transform: scale(1.05);
}

.sister-card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Feature & Stat Cards */
.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.stat-box:hover {
    background: rgba(0, 173, 181, 0.1);
    border-color: var(--accent-teal);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-teal);
}

.stat-label {
    font-size: 0.875rem;
    color: #94A3B8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Cards & Gallery */
.product-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #00ADB5;
}

.product-thumb {
    height: 200px;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

.product-badge-type {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-local {
    background: #10B981;
    color: #fff;
}

.badge-import {
    background: #3B82F6;
    color: #fff;
}

.badge-fabric {
    background: #8B5CF6;
    color: #fff;
}

.capacity-tag {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* Category Filter Tabs */
.nav-pills-custom .nav-link {
    color: #64748B;
    background: #F1F5F9;
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 20px;
    font-size: 0.9rem;
    margin: 4px;
    transition: var(--transition-smooth);
    border: 1px solid #E2E8F0;
}

.nav-pills-custom .nav-link:hover {
    color: var(--primary-navy);
    background: #E2E8F0;
}

.nav-pills-custom .nav-link.active {
    background: var(--primary-navy);
    color: #FFFFFF;
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(11, 25, 44, 0.2);
}

/* Client Brand Carousel / Grid */
.client-logo-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: var(--transition-smooth);
    filter: grayscale(80%);
    opacity: 0.8;
}

.client-logo-card:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--accent-teal);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.client-logo-card img {
    max-height: 45px;
    max-width: 120px;
    object-fit: contain;
}

/* Certifications Badge Cards */
.cert-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.cert-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 173, 181, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Director Leadership Profile Cards */
.leader-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--accent-teal);
}

.leader-img-wrapper {
    height: 240px;
    background: linear-gradient(135deg, #1E293B, #0B192C);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.leader-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--accent-teal);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Footer Styling */
.footer-wrapper {
    background: linear-gradient(180deg, #0B192C 0%, #050B14 100%);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4.5rem;
    border-top: 1px solid rgba(0, 173, 181, 0.2);
    position: relative;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ADB5, transparent);
}

.footer-cta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    backdrop-filter: blur(10px);
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), #0077b6);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.925rem;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-teal);
    transform: translateX(4px);
}

.footer-card-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition-smooth);
}

.footer-card-info:hover {
    border-color: rgba(0, 173, 181, 0.3);
    background: rgba(0, 173, 181, 0.05);
}

.footer-bottom {
    background: rgba(4, 9, 16, 0.95);
    padding: 1.25rem 0;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.875rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.text-hover-info {
    transition: var(--transition-smooth);
}

.text-hover-info:hover {
    color: var(--accent-teal) !important;
}

/* Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-teal), #0077b6);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.25);
}

.btn-accent:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 173, 181, 0.4);
}

.btn-navy {
    background: var(--primary-navy);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: none;
    transition: var(--transition-smooth);
}

.btn-navy:hover {
    background: #14213d;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Floating Contact Quick Bar */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--accent-teal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 173, 181, 0.4);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #0077b6;
}

/* ==========================================================================
   Product Image & Visual Cards Upgrades
   ========================================================================== */
.product-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-fallback-graphic {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.graphic-bg-local {
    background: linear-gradient(135deg, #0B192C 0%, #10B981 100%);
}

.graphic-bg-import {
    background: linear-gradient(135deg, #0B192C 0%, #2563EB 100%);
}

.graphic-bg-fabric {
    background: linear-gradient(135deg, #0B192C 0%, #8B5CF6 100%);
}

/* Client Brand Badges */
.client-brand-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
/* High-Contrast Visibility Utilities for Dark Cards */
.bg-navy .text-secondary,
.bg-dark .text-secondary,
.card.bg-dark .text-secondary,
.card.bg-dark p {
    color: #CBD5E1 !important; /* High contrast silver-slate for crystal clear readability */
}

.client-logo-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.client-logo-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-teal);
    box-shadow: 0 16px 35px rgba(0, 173, 181, 0.18);
}

.client-logo-card img {
    transition: transform 0.3s ease;
}

.client-logo-card:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */

/* Prevent horizontal body overflow on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Mobile Devices & Small Screens (<= 768px) */
@media (max-width: 768px) {
    /* Hero Banner Mobile Spacing & Typography */
    .hero-banner {
        min-height: 480px;
        padding: 4rem 1rem 3rem 1rem;
        text-align: center;
    }

    .hero-banner h1,
    .hero-banner .display-4,
    .hero-banner .display-5 {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    .hero-banner p {
        font-size: 0.95rem !important;
    }

    /* Buttons Mobile Full-Width Stack */
    .hero-btn-group,
    .cta-btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-btn-group .btn,
    .cta-btn-group .btn {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }

    /* Section Padding & Headings Mobile Optimization */
    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }

    /* Navbar Mobile Menu Styling */
    .navbar-collapse {
        background: #0B192C;
        border-radius: 12px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(0, 173, 181, 0.25);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Cards & Containers Mobile Spacing */
    .card,
    .client-logo-card,
    .cert-card-enhanced,
    .leader-card {
        margin-bottom: 0.75rem;
    }

    /* Table Scroll Containers Mobile Protection */
    .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table th, .table td {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.75rem 0.85rem;
    }

    /* Client Brand Logo Box Mobile Scaling */
    .client-logo-card img {
        max-height: 70px !important;
    }

    /* Footer Mobile Alignment */
    .footer-wrapper {
        padding-top: 3rem;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-cta-box {
        text-align: center;
        padding: 1.25rem 1rem;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 1.6rem !important;
    }

    .stat-number {
        font-size: 1.6rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }

    .badge {
        font-size: 0.7rem !important;
    }
}

