/* ===== 1. ROOT VARIABLES (TeamFirst‑inspired palette) ===== */
:root {
    --tf-primary: #1a2b4c;       /* deep navy */
    --tf-primary-light: #2c4068;
    --tf-accent: #e67e22;        /* warm orange */
    --tf-accent-hover: #cf6d17;
    --tf-bg-light: #f8f9fc;
    --tf-bg-section: #f0f2f7;
    --tf-text-dark: #1e2a3a;
    --tf-text-muted: #5a6a7e;
    --tf-white: #ffffff;
    --tf-border: #e2e8f0;
    --tf-shadow: 0 12px 40px rgba(26, 43, 76, 0.08);
    --tf-radius: 16px;
}

/* ===== 2. GLOBAL RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--tf-white);
    color: var(--tf-text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--tf-primary);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--tf-accent);
}

.section-padding {
    padding: 80px 0;
}
.section-padding-sm {
    padding: 50px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--tf-primary);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--tf-text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
}

.badge-pill-custom {
    display: inline-block;
    background: rgba(230, 126, 34, 0.12);
    color: var(--tf-accent);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ===== 3. BUTTONS ===== */
.btn-primary-custom {
    background-color: var(--tf-primary);
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 60px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(26, 43, 76, 0.15);
}
.btn-primary-custom:hover {
    background-color: var(--tf-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 43, 76, 0.20);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--tf-primary);
    color: var(--tf-primary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 60px;
    transition: all 0.25s ease;
}
.btn-outline-custom:hover {
    background-color: var(--tf-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--tf-accent);
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 60px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
}
.btn-accent:hover {
    background-color: var(--tf-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.30);
}

/* ===== 4. NAVBAR (TeamFirst‑style clean) ===== */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--tf-border);
    padding: 0.75rem 0;
    transition: all 0.2s ease;
}
.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--tf-primary);
}
.navbar-custom .navbar-brand .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--tf-primary);
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.navbar-custom .navbar-brand .logo-icon span {
    color: var(--tf-accent);
}
.navbar-custom .navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.navbar-custom .navbar-brand .brand-text .main {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--tf-primary);
}
.navbar-custom .navbar-brand i {
    color: var(--tf-accent);
    margin-right: 6px;
}
.navbar-custom .nav-link {
    font-weight: 500;
    color: var(--tf-text-dark);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    transition: all 0.2s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background-color: rgba(26, 43, 76, 0.06);
    color: var(--tf-primary);
}
.navbar-custom .nav-link i {
    margin-right: 4px;
}
.navbar-custom .btn-nav-cta {
    background-color: var(--tf-accent);
    color: #fff;
    border-radius: 60px;
    padding: 0.45rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.2s ease;
}
.navbar-custom .btn-nav-cta:hover {
    background-color: var(--tf-accent-hover);
    transform: translateY(-1px);
    color: #fff;
}

/* ===== 5. HERO ===== */
.hero {
    padding: 120px 0 80px 0;
    background: linear-gradient(165deg, #ffffff 0%, var(--tf-bg-light) 100%);
    border-bottom: 1px solid var(--tf-border);
}
.hero h1 {
    font-weight: 800;
    font-size: 3.8rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--tf-primary);
}
.hero h1 .highlight {
    color: var(--tf-accent);
    position: relative;
}
.hero p.lead {
    font-size: 1.25rem;
    color: var(--tf-text-muted);
    max-width: 540px;
    margin: 1.5rem 0 2rem 0;
}
.hero .stats-row {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tf-border);
}
.hero .stats-row .stat-item {
    text-align: center;
}
.hero .stats-row .stat-number {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--tf-primary);
    line-height: 1.2;
}
.hero .stats-row .stat-label {
    font-size: 0.85rem;
    color: var(--tf-text-muted);
    font-weight: 500;
}

/* ===== 6. CARDS / SERVICE ITEMS ===== */
.service-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tf-shadow);
    border-color: transparent;
}
.service-card .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(26, 43, 76, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--tf-accent);
    margin-bottom: 1.25rem;
}
.service-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tf-primary);
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--tf-text-muted);
    margin-bottom: 0;
}
.service-card .service-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tf-accent);
    background: rgba(230, 126, 34, 0.08);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-top: 0.75rem;
}

/* ===== 7. SECTION BACKGROUNDS ===== */
.bg-soft {
    background-color: var(--tf-bg-section);
}

/* ===== 8. EVENTS CARD ===== */
.event-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 1.5rem 1.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.event-card:hover {
    box-shadow: var(--tf-shadow);
    transform: translateY(-4px);
}
.event-card .event-date {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tf-accent);
}
.event-card .event-title {
    font-weight: 700;
    color: var(--tf-primary);
    margin: 0.25rem 0 0.5rem 0;
}
.event-card .event-meta {
    font-size: 0.9rem;
    color: var(--tf-text-muted);
}
.event-card .event-meta i {
    margin-right: 4px;
}

/* ===== 9. CONTACT GRID (CloudLinux style) ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: var(--tf-white);
    border-radius: var(--tf-radius);
    padding: 2.5rem;
    border: 1px solid var(--tf-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}
.contact-grid .contact-item {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--tf-border);
}
.contact-grid .contact-item:last-child {
    border-bottom: none;
}
.contact-grid .contact-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--tf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}
.contact-grid .contact-value {
    font-weight: 600;
    color: var(--tf-primary);
    font-size: 1rem;
}
.contact-grid .contact-value a {
    color: var(--tf-primary);
}
.contact-grid .contact-value a:hover {
    color: var(--tf-accent);
}
.contact-grid .contact-desc {
    font-size: 0.9rem;
    color: var(--tf-text-muted);
}

.contact-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.2s ease;
}
.contact-card:hover {
    box-shadow: var(--tf-shadow);
}
.contact-card .contact-icon {
    font-size: 2rem;
    color: var(--tf-accent);
    margin-bottom: 0.75rem;
}
.contact-card h6 {
    font-weight: 700;
    color: var(--tf-primary);
}
.contact-card p {
    font-size: 0.95rem;
    color: var(--tf-text-muted);
    margin-bottom: 0.25rem;
}
.contact-card a {
    font-weight: 500;
    color: var(--tf-primary);
}
.contact-card a:hover {
    color: var(--tf-accent);
}

/* ===== 10. FOOTER (TeamFirst‑inspired) ===== */
.footer {
    background-color: var(--tf-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover {
    color: #fff;
}
.footer .list-unstyled li {
    margin-bottom: 0.4rem;
}
.footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}
.footer .footer-brand .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.footer .footer-brand .logo-icon span {
    color: var(--tf-accent);
}
.footer .footer-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.footer .footer-brand .brand-text .main {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}
.footer .social-links a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: #fff;
    transition: all 0.2s ease;
    margin-right: 8px;
}
.footer .social-links a:hover {
    background: var(--tf-accent);
    color: #fff;
    transform: translateY(-2px);
}
.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 11. TALENT SECTION SPECIAL CARDS ===== */
.talent-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    text-align: center;
}
.talent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tf-shadow);
    border-color: transparent;
}
.talent-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 43, 76, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--tf-accent);
    margin: 0 auto 1rem auto;
}
.talent-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tf-primary);
    margin-bottom: 0.5rem;
}
.talent-card p {
    font-size: 0.95rem;
    color: var(--tf-text-muted);
    margin-bottom: 0;
}

/* ===== 12. RESPONSIVE TWEAKS ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero .stats-row .stat-item {
        margin-bottom: 1rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .contact-grid {
        padding: 1.25rem;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 1rem;
    }
    .navbar-custom .navbar-brand .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    .hero .stats-row .stat-number {
        font-size: 1.6rem;
    }
    .navbar-custom .navbar-brand {
        font-size: 1.1rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .navbar-custom .navbar-brand .brand-text .main {
        font-size: 0.9rem;
    }
    .navbar-custom .navbar-brand .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    .talent-card {
        padding: 1.25rem;
    }
}
