/* ============================================================
   Tech Net 88 Solutions Inc. — Public Stylesheet
   Palette: Monochromatic Blue (Ice White → Deep Navy)
   Design refs: design1.jpg, design2.jpg, design3.PNG
   Principle: KISS — lean on Bootstrap, extend minimally
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
    /* Monochromatic blue scale (light → dark) */
    --tn-ice:       #EEF4FF;   /* Lightest bg, hero tint         */
    --tn-powder:    #C8DCF5;   /* Light accent                   */
    --tn-sky:       #8EBAE6;   /* Mid-blue                       */
    --tn-blue:      #2E7DD1;   /* Primary action blue            */
    --tn-blue-dark: #1A5BA8;   /* Hover / active blue            */
    --tn-navy:      #0D2B5E;   /* Deep navy — headings, footer   */

    /* Neutrals */
    --tn-white:    #FFFFFF;
    --tn-offwhite: #F6F9FD;
    --tn-slate:    #4A5568;
    --tn-muted:    #7A8CA0;
    --tn-border:   #D8E6F5;

    /* Shadows */
    --tn-shadow:    0 4px 24px rgba(13, 43, 94, 0.08);
    --tn-shadow-md: 0 8px 40px rgba(13, 43, 94, 0.13);

    /* Shape */
    --tn-radius:    12px;
    --tn-radius-sm: 8px;
    --tn-radius-lg: 18px;

    /* Motion */
    --tn-transition: 0.22s ease;

    /* Typography */
    --tn-font: 'Inter', Arial, sans-serif;
}

/* ── GLOBALS ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--tn-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tn-slate);
    background: var(--tn-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tn-font);
    font-weight: 800;
    color: var(--tn-navy);
    line-height: 1.1;
}

p { margin-top: 0; }
a { color: var(--tn-blue); text-decoration: none; transition: color var(--tn-transition); }
a:hover { color: var(--tn-blue-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--tn-offwhite); }
::-webkit-scrollbar-thumb { background: var(--tn-powder); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--tn-blue); }

/* ── UTILITIES ──────────────────────────────────────────────── */
.py-section     { padding: 5rem 0; }
.bg-navy        { background-color: var(--tn-navy)    !important; }
.bg-blue        { background-color: var(--tn-blue)    !important; }
.bg-offwhite    { background-color: var(--tn-offwhite)!important; }
.bg-ice         { background-color: var(--tn-ice)     !important; }
.text-light-blue{ color: var(--tn-powder)  !important; }
.text-blue      { color: var(--tn-blue)    !important; }
.text-navy      { color: var(--tn-navy)    !important; }
.text-muted-custom { color: var(--tn-muted); }
.text-white-70  { color: rgba(255,255,255,0.7) !important; }
.text-white-50  { color: rgba(255,255,255,0.5) !important; }
.border-white-10 { border-color: rgba(255,255,255,0.1) !important; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.tn-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--tn-navy);
    margin-bottom: 1rem;
}
.tn-section-sub {
    font-size: 1rem;
    color: var(--tn-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.75;
}
.tn-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tn-blue);
    display: block;
    margin-bottom: 0.6rem;
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
.tn-topbar {
    font-size: 0.8rem;
    background-color: var(--tn-navy);
}
.tn-topbar a:hover { color: var(--tn-powder) !important; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.tn-navbar {
    background: var(--tn-navy);
    padding: 0.9rem 0;
    transition: box-shadow var(--tn-transition);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.tn-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(13, 43, 94, 0.2);
}
.tn-logo { height: 40px; width: auto; }
.tn-wordmark {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tn-white);
}
.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--tn-radius-sm);
    transition: background var(--tn-transition), color var(--tn-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--tn-white);
    background: rgba(255,255,255,0.1);
}
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }
.navbar-collapse {
    background: var(--tn-navy);
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-sm);
    box-shadow: var(--tn-shadow);
    padding: 0.5rem;
}
.dropdown-item {
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tn-navy);
    padding: 0.5rem 0.875rem;
    transition: background var(--tn-transition);
}
.dropdown-item:hover {
    background: rgba(46,125,209,0.08);
    color: var(--tn-blue);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.tn-btn-primary {
    background: var(--tn-blue);
    color: var(--tn-white);
    border: 2px solid var(--tn-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.6rem;
    transition: all var(--tn-transition);
    display: inline-block;
    text-decoration: none;
}
.tn-btn-primary:hover, .tn-btn-primary:focus {
    background: var(--tn-blue-dark);
    border-color: var(--tn-blue-dark);
    color: var(--tn-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,125,209,0.3);
}

.tn-btn-outline {
    background: transparent;
    color: var(--tn-blue);
    border: 2px solid var(--tn-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.6rem;
    transition: all var(--tn-transition);
    display: inline-block;
}
.tn-btn-outline:hover, .tn-btn-outline:focus {
    background: var(--tn-blue);
    color: var(--tn-white);
    transform: translateY(-2px);
}

.tn-btn-outline-light {
    background: transparent;
    color: var(--tn-white);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.6rem;
    transition: all var(--tn-transition);
    display: inline-block;
}
.tn-btn-outline-light:hover, .tn-btn-outline-light:focus {
    background: var(--tn-white);
    color: var(--tn-navy);
    border-color: var(--tn-white);
}

/* ── HERO ───────────────────────────────────────────────────── */
.tn-hero {
    background: var(--tn-navy);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.tn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(46,125,209,0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(13,43,94,0.8) 0%, transparent 50%);
    pointer-events: none;
}
.tn-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--tn-white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.tn-hero-title .highlight {
    color: var(--tn-powder);
}
.tn-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.tn-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.tn-hero-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--tn-white);
    line-height: 1;
}
.tn-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.2rem;
}

/* ── PARTNER LOGOS ──────────────────────────────────────────── */
.tn-logos-section {
    padding: 3rem 0;
    background: var(--tn-offwhite);
    border-top: 1px solid var(--tn-border);
    border-bottom: 1px solid var(--tn-border);
}
.tn-logos-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tn-muted);
    margin-bottom: 1.5rem;
}
.tn-brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.tn-brand-logo {
    min-height: 80px;
    min-width: 120px;
    padding: 1rem 1.5rem;
    background: var(--tn-white);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--tn-transition), box-shadow var(--tn-transition);
}
.tn-brand-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--tn-shadow);
}
.tn-brand-logo img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(0.2);
}

/* ── PAGE HEADER (inner pages) ──────────────────────────────── */
.tn-page-header {
    background: var(--tn-navy);
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.tn-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(46,125,209,0.2) 0%, transparent 60%);
    pointer-events: none;
}
.tn-page-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--tn-white);
    margin-bottom: 0.75rem;
}
.tn-page-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto;
}

/* ── CARDS: Service / Pillar ────────────────────────────────── */
.tn-card {
    background: var(--tn-white);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--tn-transition), box-shadow var(--tn-transition), border-color var(--tn-transition);
}
.tn-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tn-shadow-md);
    border-color: var(--tn-powder);
}
.tn-card--dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}
.tn-card--dark:hover {
    border-color: var(--tn-sky);
    background: rgba(255,255,255,0.07);
}
.tn-card--featured {
    background: var(--tn-blue);
    border-color: transparent;
    color: rgba(255,255,255,0.9);
}
.tn-card--featured h4, .tn-card--featured .tn-card-title { color: var(--tn-white); }
.tn-card--featured p { color: rgba(255,255,255,0.75); }

.tn-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tn-blue);
    background: var(--tn-ice);
    margin-bottom: 1.25rem;
    transition: transform var(--tn-transition);
}
.tn-card:hover .tn-card-icon { transform: scale(1.08); }
.tn-card--featured .tn-card-icon { background: rgba(255,255,255,0.15); color: var(--tn-white); }
.tn-card--dark .tn-card-icon { background: rgba(46,125,209,0.12); color: var(--tn-sky); }

.tn-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tn-sky);
    border: 1px solid rgba(142,186,230,0.4);
    border-radius: 99px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 1rem;
    width: fit-content;
}
.tn-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tn-navy);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}
.tn-card-text {
    font-size: 0.875rem;
    color: var(--tn-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
}
.tn-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tn-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    transition: gap var(--tn-transition);
}
.tn-card-link:hover { gap: 0.6rem; }
.tn-card--dark .tn-card-link, .tn-card--dark .tn-card-title { color: var(--tn-white); }

/* ── DARK SECTION (projects/showcase) ──────────────────────── */
.tn-section-dark {
    background: var(--tn-navy);
    background-image: radial-gradient(ellipse at 15% 50%, rgba(46,125,209,0.25) 0%, transparent 60%);
    position: relative;
}

/* ── PACKAGE / PRICING CARDS ────────────────────────────────── */
.tn-package-card {
    background: var(--tn-white);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-lg);
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all var(--tn-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tn-package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tn-shadow-md);
    border-color: var(--tn-powder);
}
.tn-package-card--featured {
    background: var(--tn-blue);
    border-color: transparent;
    color: white;
    transform: scale(1.03);
    box-shadow: var(--tn-shadow-md);
}
.tn-package-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.tn-package-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--tn-navy);
    margin: 0.5rem 0 1.25rem;
    line-height: 1;
}
.tn-package-card--featured .tn-package-price { color: var(--tn-white); }
.tn-package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}
.tn-package-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--tn-border);
    color: var(--tn-slate);
}
.tn-package-card--featured .tn-package-features li {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}
.tn-package-features li i { color: var(--tn-blue); flex-shrink: 0; }
.tn-package-card--featured .tn-package-features li i { color: var(--tn-powder); }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.tn-testimonial-card {
    background: var(--tn-white);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow var(--tn-transition);
}
.tn-testimonial-card:hover { box-shadow: var(--tn-shadow); }
.tn-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.tn-contact-hero {
    background: var(--tn-navy);
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.tn-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 40%, rgba(46,125,209,0.2) 0%, transparent 60%);
    pointer-events: none;
}
.tn-form-card {
    background: var(--tn-white);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--tn-shadow-md);
}
.tn-input {
    border: 1.5px solid var(--tn-border);
    border-radius: var(--tn-radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--tn-navy);
    background: var(--tn-white);
    transition: border-color var(--tn-transition), box-shadow var(--tn-transition);
    width: 100%;
}
.tn-input:focus {
    border-color: var(--tn-blue);
    box-shadow: 0 0 0 3px rgba(46,125,209,0.12);
    outline: none;
}
.tn-contact-info-card {
    background: var(--tn-offwhite);
    border: 1px solid var(--tn-border);
    border-radius: var(--tn-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow var(--tn-transition);
}
.tn-contact-info-card:hover { box-shadow: var(--tn-shadow); }
.tn-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--tn-ice);
    border: 1px solid var(--tn-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--tn-blue);
    flex-shrink: 0;
}

/* ── SOCIAL LINKS ───────────────────────────────────────────── */
.tn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all var(--tn-transition);
}
.tn-social:hover { background: var(--tn-blue); color: var(--tn-white); transform: translateY(-2px); }
.tn-social--light { background: var(--tn-ice); color: var(--tn-blue); }
.tn-social--light:hover { background: var(--tn-blue); color: var(--tn-white); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.tn-footer {
    background: var(--tn-navy);
    color: rgba(255,255,255,0.7);
}
.tn-footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}
.tn-footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.tn-footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.tn-footer-links a:hover { color: var(--tn-white); }
.tn-footer-social {
    background: rgba(255,255,255,0.07);
    transition: background 0.2s;
}
.tn-footer-social:hover { background: rgba(255,255,255,0.15); }

/* ── COOKIE BANNER ──────────────────────────────────────────── */
.tn-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--tn-navy);
    color: rgba(255,255,255,0.85);
    padding: 1.25rem 1.5rem;
    z-index: 1060;
    box-shadow: 0 -4px 24px rgba(13,43,94,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.tn-cookie-banner p { font-size: 0.875rem; }

/* ── FEATURE LIST ───────────────────────────────────────────── */
.tn-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.tn-feature-list li i { color: var(--tn-blue); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
.tn-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.tn-animate.tn-visible { opacity: 1; transform: translateY(0); }
.tn-animate-delay-1 { transition-delay: 0.1s; }
.tn-animate-delay-2 { transition-delay: 0.2s; }

/* ── APPLY STEPS ────────────────────────────────────────────── */
.tn-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--tn-border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.875rem; color: var(--tn-muted);
    flex-shrink: 0;
}
.tn-step.active .tn-step-num { background: var(--tn-blue); color: white; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .py-section { padding: 3.5rem 0; }
    .tn-hero { min-height: auto; padding: 3.5rem 0 3rem; }
    .tn-navbar .navbar-collapse {
        background: var(--tn-navy);
        border-top: 1px solid rgba(255,255,255,0.08);
        margin-top: 0.5rem;
        padding: 0.75rem 0;
    }
    .tn-package-card--featured { transform: none; }
}

@media (max-width: 575.98px) {
    .tn-form-card { padding: 1.5rem; }
    .tn-hero-title { font-size: 2rem; }
    .tn-hero-stats { gap: 1rem; }
    .tn-brand-grid { gap: 0.75rem; }
}

/* ── PLAN TOGGLE BUTTONS ────────────────────────────────────── */
.tn-toggle-btn {
    border: none;
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tn-muted);
    background: transparent;
    cursor: pointer;
    transition: all var(--tn-transition);
}
.tn-toggle-btn.active,
.tn-toggle-btn:focus {
    background: var(--tn-blue);
    color: var(--tn-white);
    outline: none;
}

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
