/* ===================================================
   MEDIAN MATRIX SOLUTIONS — Global Stylesheet
   =================================================== */

html {
    scroll-behavior: smooth;
}

/* --- CSS Custom Properties --- */
:root {
    --navy: #0D1F3C;
    --blue: #1A4E96;
    --orange: #E87722;
    --orange-hover: #d16a1d;
    --white: #FFFFFF;
    --light-bg: #f4f6f9;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --font-heading: 'Fira Sans', system-ui, sans-serif;
    --font-body: 'Fira Sans', system-ui, sans-serif;
    --bs-body-font-family: 'Fira Sans', system-ui, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Apply Fira Sans to every element including form controls & buttons */
*, p, span, li, a, label, input, textarea, select, button,
.btn, .form-control, .form-select, .navbar, .nav-link {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Navbar --- */
#mainNavbar {
    background: var(--white);
    padding: 14px 0;
    transition: var(--transition);
    z-index: 1050;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

#mainNavbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

/* Navbar Logo */
.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

#mainNavbar.scrolled .navbar-logo {
    height: 44px;
}

/* Footer Logo */
.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    padding: 8px 20px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--orange);
}

#mainNavbar.scrolled .navbar-nav .nav-link {
    color: var(--navy);
}

#mainNavbar.scrolled .navbar-nav .nav-link:hover,
#mainNavbar.scrolled .navbar-nav .nav-link.active {
    color: var(--orange);
}

.btn-cta-nav {
    background: var(--orange);
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-cta-nav:hover,
.btn-cta-nav.active {
    background: var(--orange-hover);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: none;
}

#mainNavbar.scrolled .navbar-toggler-icon {
    filter: none;
}

/* --- Hero Sections --- */
.hero-section {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-row {
    min-height: calc(100vh - 160px);
}

/* Video Background */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, rgba(6,18,34,0.96) 0%, rgba(13,31,60,0.9) 42%, rgba(26,78,150,0.7) 100%);
    z-index: 1;
}

/* Grid Pattern overlay */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 60px 60px;
    pointer-events: none;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,119,34,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    animation: driftOrb 12s ease-in-out infinite alternate;
}

/* Hero tagline */
.hero-tagline {
    display: inline-block;
    background: rgba(232,119,34,0.15);
    color: var(--orange);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(232,119,34,0.3);
}

.hero-content {
    position: relative;
    z-index: 5;
}

/* GlobalTek-style left-aligned hero slide */
.hero-slide {
    position: relative;
    z-index: 5;
    max-width: 760px;
    text-align: left;
    padding: 40px 0;
}

/* Hero must be visible immediately (not dependent on scroll animation) */
.hero-slide.fade-up,
.hero-slide .fade-up {
    opacity: 1 !important;
    transform: none !important;
}

.hero-slide h1,
.hero-eyebrow,
.hero-slide .lead { color: #fff; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-headline {
    position: relative;
    padding-top: 22px;
    margin-bottom: 18px;
}

.hero-headline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 5px;
    background: var(--orange);
    border-radius: 3px;
}

.hero-slide h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.hero-slide h1 .hl {
    background: linear-gradient(90deg, #ffb066 0%, var(--orange) 45%, #ffd24d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-tagline-text {
    margin: 14px 0 0;
    font-style: italic;
    font-weight: 600;
    color: var(--orange);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    letter-spacing: 0.01em;
}

.hero-slide .lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.12rem;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 0 32px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero CTA buttons */
.btn-hero {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1.02rem;
    box-shadow: 0 12px 26px rgba(232,119,34,0.32);
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--orange-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(232,119,34,0.42);
}

.btn-outline-light-2 {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    background: transparent;
    border-radius: 4px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1.02rem;
    transition: var(--transition);
}

.btn-outline-light-2:hover {
    background: #fff;
    color: var(--navy);
}

/* Page Hero (inner pages) */
.page-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 60px 60px;
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}

.page-hero .breadcrumb {
    margin-top: 16px;
    justify-content: center;
}

.page-hero .breadcrumb-item a {
    color: var(--orange);
}

.page-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* --- Buttons --- */
.btn-primary-custom {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,119,34,0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-sm-custom {
    padding: 10px 24px;
    font-size: 13px;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 70px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-subtitle {
    color: var(--orange);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--text-body);
    font-size: 1.05rem;
    max-width: 640px;
}

/* --- Cards --- */
.card-custom {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--orange), #f5993c);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--white);
}

.card-icon-blue {
    background: linear-gradient(135deg, var(--blue), #2a6ab8);
}

.card-custom h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-custom p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.card-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.card-link:hover {
    gap: 10px;
}

/* Pillar cards */
.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--orange);
}

.pillar-card .pillar-icon {
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* --- Impact Stats --- */
.stats-bar {
    background: var(--navy);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* --- Process Steps --- */
.process-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.process-card .step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 12px;
}

.process-card h5 {
    font-size: 1rem;
    font-weight: 700;
}

.process-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    margin-bottom: 0;
}

.process-card.highlight {
    background: var(--orange);
}

.process-card.highlight .step-num {
    color: rgba(255,255,255,0.3);
}

.process-card.highlight h5,
.process-card.highlight p {
    color: var(--white);
}

/* --- CTA Strip (decorative circle) --- */
.cta-strip::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(232,119,34,0.1);
    pointer-events: none;
}

.cta-strip h2 {
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 800;
}

.cta-strip p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

/* --- Forms --- */
.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,119,34,0.15);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Form Validation States */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 40px;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.15);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 40px;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.15);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 12.5px;
    margin-top: 4px;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    color: #198754;
    font-size: 12.5px;
    margin-top: 4px;
    font-weight: 500;
}

.form-char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-body);
    margin-top: 4px;
    opacity: 0.7;
}

.form-char-count.near-limit {
    color: #E87722;
    opacity: 1;
    font-weight: 600;
}

.form-char-count.at-limit {
    color: #dc3545;
    opacity: 1;
    font-weight: 700;
}

.btn-submit {
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--orange-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,119,34,0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
    display: none;
}

.btn-submit.loading .spinner-border {
    display: inline-block;
}

.btn-submit.loading .btn-text {
    display: none;
}

/* --- Toast --- */
.toast {
    border-radius: var(--radius);
    min-width: 300px;
}

.toast.toast-success {
    background: #198754;
    color: var(--white);
}

.toast.toast-error {
    background: #dc3545;
    color: var(--white);
}

/* --- About Section --- */
.about-checklist {
    list-style: none;
    padding: 0;
}

.about-checklist li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.about-checklist li i {
    color: var(--orange);
    font-size: 20px;
    margin-top: 2px;
}

.about-visual {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}

.about-visual .visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.about-visual .visual-content .big-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

/* --- Industry Chips --- */
.industry-chip {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.industry-chip .industry-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: var(--transition);
}

.industry-chip i {
    font-size: 32px;
    color: var(--blue);
    transition: var(--transition);
}

.industry-chip h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.industry-chip:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.industry-chip:hover i {
    color: var(--orange);
}

.industry-chip:hover .industry-icon {
    transform: scale(1.1);
}

.subtitle-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

/* --- Contact Info Cards --- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
    margin-bottom: 16px;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), #f5993c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-card h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-body);
}

.contact-info-card a {
    color: var(--blue);
}

/* --- Footer --- */
.site-footer {
    background: var(--navy);
    padding: 70px 0 0;
    color: rgba(255,255,255,0.7);
}

.site-footer .footer-brand .brand-name {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--orange);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255,255,255,0.65);
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* stagger children */
.fade-up-stagger .fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up-stagger .fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up-stagger .fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up-stagger .fade-up:nth-child(4) { transition-delay: 0.25s; }
.fade-up-stagger .fade-up:nth-child(5) { transition-delay: 0.3s; }
.fade-up-stagger .fade-up:nth-child(6) { transition-delay: 0.35s; }
.fade-up-stagger .fade-up:nth-child(7) { transition-delay: 0.4s; }
.fade-up-stagger .fade-up:nth-child(8) { transition-delay: 0.45s; }

/* Floating animation for images */
.float-animation {
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Pulse glow on icons */
.pulse-icon {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232,119,34,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 6px rgba(232,119,34,0.15); }
}

@keyframes driftOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.15); }
}

/* Stats bar counter glow */
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(232,119,34,0.15);
}

/* Animated underline on section titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.text-center .section-title::after,
.fade-up.visible .section-title::after {
    width: 60px;
}

.fade-up.visible .section-title::after {
    transition-delay: 0.3s;
}

/* Card hover lift + glow */
.pillar-card,
.service-card,
.card-custom,
.process-card,
.industry-chip,
.check-card,
.contact-info-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--orange);
}

.testimonial-quote {
    font-size: 36px;
    color: var(--orange);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--orange), #f5993c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.testimonial-author h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-body);
}

/* Animated blob decoration in hero */
.hero-section .hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    filter: blur(80px);
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(232,119,34,0.35);
    top: -150px;
    right: -120px;
    animation: blobFloat1 10s ease-in-out infinite alternate;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(26,78,150,0.4);
    bottom: -100px;
    left: -50px;
    animation: blobFloat2 8s ease-in-out infinite alternate;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(232,119,34,0.25);
    top: 30%;
    left: 40%;
    animation: blobFloat3 12s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
    0% { transform: translate(0, 0) scale(1); border-radius: 50%; }
    100% { transform: translate(-60px, 40px) scale(1.15); border-radius: 40% 60% 55% 45%; }
}

@keyframes blobFloat2 {
    0% { transform: translate(0, 0) scale(1); border-radius: 50%; }
    100% { transform: translate(40px, -30px) scale(1.1); border-radius: 55% 45% 50% 50%; }
}

@keyframes blobFloat3 {
    0% { transform: translate(0, 0) scale(1); border-radius: 50%; }
    50% { transform: translate(20px, -25px) scale(1.2); border-radius: 45% 55% 60% 40%; }
    100% { transform: translate(-15px, 15px) scale(0.9); border-radius: 60% 40% 45% 55%; }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    text-decoration: none;
    cursor: pointer;
}

.hero-scroll-indicator span {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--orange);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* CTA strip animated gradient */
.cta-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Stats bar pulsing border */
.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-item:last-child::after {
    display: none;
}

/* Nav link animated underline */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* --- Service Card Specific --- */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--orange);
}

/* --- FAQ Accordion --- */
.accordion-item {
    border: none;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 18px 24px;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    color: var(--orange);
    background: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E87722'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 24px 18px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
}

.accordion-body a {
    color: var(--orange);
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content h1,
    .hero-slide h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-slide {
        padding: 20px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p,
    .hero-slide .lead {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-blob-1,
    .hero-blob-2,
    .hero-blob-3 {
        display: none;
    }

    .page-hero {
        padding: 100px 0 50px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-strip h2 {
        font-size: 1.7rem;
    }

    .cta-strip {
        padding: 60px 0;
    }

    .about-visual {
        min-height: 250px;
        padding: 30px;
    }

    #mainNavbar {
        background: var(--white);
    }

    #mainNavbar.scrolled {
        background: var(--white);
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    #mainNavbar.scrolled .navbar-collapse {
        background: var(--white);
    }

    .pillar-card {
        padding: 30px 20px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .card-custom {
        padding: 28px 22px;
    }

    .check-card {
        flex-direction: column;
        text-align: center;
    }

    .check-card .check-icon {
        margin: 0 auto;
    }

    .contact-info-card {
        padding: 20px;
    }

    .industry-chip {
        padding: 16px 14px;
    }

    .industry-chip .industry-icon {
        width: 48px;
        height: 48px;
    }

    .industry-chip i {
        font-size: 26px;
    }

    .industry-chip h6 {
        font-size: 0.8rem;
    }

    .stats-bar {
        padding: 40px 0;
    }

    .process-card {
        padding: 24px 18px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .cta-strip h2 {
        font-size: 1.4rem;
    }

    .cta-strip p {
        font-size: 0.95rem;
    }

    .footer-heading {
        font-size: 0.9rem;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 8px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* --- File Upload Custom --- */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper .form-control {
    cursor: pointer;
}

.file-upload-info {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* --- Why Choose Us check cards --- */
.check-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.check-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.check-card .check-icon {
    width: 44px;
    height: 44px;
    background: rgba(232,119,34,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 20px;
    flex-shrink: 0;
}

.check-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.check-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0;
}

/* Benefits Section (job seekers) */
.benefit-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.benefit-item .benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(26,78,150,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 18px;
    flex-shrink: 0;
}

.benefit-item h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: 0.88rem;
    color: var(--text-body);
    margin-bottom: 0;
}

/* === Scroll to Top Button === */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.15);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1040;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232,119,34,0.4);
}

/* === Chatbot Widget === */
.chatbot-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    border: none;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    box-shadow: 0 6px 20px rgba(232,119,34,0.4);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    background: var(--orange-hover);
    transform: scale(1.08);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    z-index: 1055;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--navy);
    color: var(--white);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
    padding: 2px;
}

.chatbot-header h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.chatbot-status {
    font-size: 0.72rem;
    color: #4ade80;
}

.chatbot-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.chatbot-close:hover {
    color: var(--white);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 340px;
    background: #f8f9fb;
}

.chat-msg {
    display: flex;
    max-width: 85%;
}

.chat-msg.chat-user {
    align-self: flex-end;
}

.chat-msg.chat-bot {
    align-self: flex-start;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-user .chat-bubble {
    background: var(--orange);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-bot .chat-bubble {
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.chat-bot .chat-bubble a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
}

/* Typing indicator */
.typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 20px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Chat input area */
.chatbot-input-area {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.chatbot-input {
    flex: 1;
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input:focus {
    border-color: var(--orange);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--orange-hover);
}

/* Inline contact form in chat */
.chatbot-contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chatbot-field {
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-field:focus {
    border-color: var(--orange);
}

.chatbot-field-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbot-field-btn:hover {
    background: var(--orange-hover);
}

/* Responsive chatbot */
@media (max-width: 480px) {
    .chatbot-window {
        right: 10px;
        left: 10px;
        bottom: 96px;
        width: auto;
        max-height: 70vh;
    }

    .chatbot-toggle {
        right: 16px;
        bottom: 20px;
        width: 52px;
        height: 52px;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 82px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
