/*
 * site.css — Softrack Technologies
 * Global shared styles for all pages.
 * Do NOT add page-specific styles here.
 */

/* ══════════════════════════════════════════════════
   PAGE HERO BANNER — section tag, same as Laravel
   background-image set per page in @section Styles
══════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}
.page-hero .overlay {
    position: absolute;
    inset: 0;
}
.page-hero .hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.page-hero .hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.page-hero .hero-text p {
    font-size: 15px;
    margin: 8px 0 0;
    opacity: .9;
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   ABOUT HERO (taller variant — AboutUs page)
══════════════════════════════════════════════════ */
.about-hero {
    position: relative;
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}
.about-hero .overlay {
    position: absolute;
    inset: 0;
}
.about-hero .hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.about-hero .hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 8px;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.about-hero .hero-text p {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    opacity: .9;
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   SECTION HEADING WITH UNDERLINE ACCENT
══════════════════════════════════════════════════ */
.section-heading-line {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: #1A5A93;
    font-weight: 700;
}
.section-heading-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #1A5A93;
    border-radius: 2px;
}
.section-heading-line.text-center {
    text-align: center;
}
.section-heading-line.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* AboutUs uses .section-heading — alias to same style */
.section-heading {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 22px;
    color: #1A5A93;
    font-weight: 700;
}
.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #1A5A93;
    border-radius: 2px;
}
.section-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ══════════════════════════════════════════════════
   SHARED TAB NAVIGATION (Clientele + Portfolio)
══════════════════════════════════════════════════ */
.page-tabs,
.client-tabs,
.portfolio-tabs {
    border-bottom: 2px solid #1A5A93;
    margin-bottom: 0;
}
.page-tabs > li > a,
.client-tabs > li > a,
.portfolio-tabs > li > a {
    color: #1A5A93;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px 6px 0 0;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f8fafc;
    margin-right: 4px;
}
.page-tabs > li.active > a,
.page-tabs > li > a:hover,
.client-tabs > li.active > a,
.client-tabs > li > a:hover,
.portfolio-tabs > li.active > a,
.portfolio-tabs > li > a:hover {
    background: #1A5A93;
    color: #fff;
    border-color: #1A5A93;
}
.tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 30px 20px;
    background: #fff;
}

/* ══════════════════════════════════════════════════
   ABOUT PAGE — SHARED SECTION + IMAGE STYLES
══════════════════════════════════════════════════ */
.about-section { padding: 60px 0; }
.about-section:nth-child(even) { background: #f8fafc; }

.about-img {
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Value/mission items */
.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.value-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: #e8f3ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #1A5A93;
    font-size: 18px;
}
.value-item h5 { font-weight: 700; color: #1A5A93; margin: 0 0 4px; }
.value-item p  { margin: 0; font-size: 14px; color: #555; text-align: justify; }

/* ══════════════════════════════════════════════════
   EXPERTISE CARDS (AboutUs Technology section)
══════════════════════════════════════════════════ */
.expertise-card {
    background: #fff;
    border: 1px solid #e0ecf7;
    border-top: 4px solid #1A5A93;
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow .25s;
}
.expertise-card:hover { box-shadow: 0 8px 28px rgba(26,90,147,.13); }
.expertise-card h4 {
    color: #1A5A93; font-weight: 700; margin-bottom: 14px;
    font-size: 15px; text-transform: uppercase; letter-spacing: .5px;
}
.expertise-card ul { list-style: none; padding: 0; margin: 0; }
.expertise-card ul li {
    padding: 5px 0 5px 18px;
    position: relative;
    font-size: 14px; color: #444;
    border-bottom: 1px dashed #e8f0f8;
}
.expertise-card ul li:last-child { border-bottom: none; }
.expertise-card ul li::before {
    content: '›';
    position: absolute; left: 0;
    color: #1A5A93; font-weight: 700; font-size: 16px; line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   CLIENT LOGO GRID (Clientele page)
══════════════════════════════════════════════════ */
.client-logo-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.client-logo-grid li { padding: 10px; box-sizing: border-box; }
.client-logo-grid li a {
    display: flex; align-items: center; justify-content: center;
    height: 90px; background: #fff;
    border: 1px solid #e0ecf7; border-radius: 8px; padding: 12px;
    transition: box-shadow .2s, border-color .2s;
}
.client-logo-grid li a:hover {
    box-shadow: 0 4px 18px rgba(26,90,147,.15);
    border-color: #aac8e8;
}
.client-logo-grid li img {
    max-height: 64px; max-width: 100%;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter .2s;
}
.client-logo-grid li a:hover img { filter: grayscale(0%); }

/* ══════════════════════════════════════════════════
   TESTIMONIAL CARDS
══════════════════════════════════════════════════ */
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0ecf7;
    border-left: 5px solid #1A5A93;
    padding: 28px 28px 24px;
    margin-bottom: 28px;
    box-shadow: 0 3px 16px rgba(26,90,147,.07);
    transition: box-shadow .25s;
}
.testimonial-card:hover { box-shadow: 0 6px 28px rgba(26,90,147,.13); }
.testimonial-logo {
    width: 100px; height: 80px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e8f0f8;
    padding: 6px;
    background: #f8fafc;
}
.testimonial-card h4 { color: #1A5A93; font-weight: 700; margin: 0 0 8px; font-size: 17px; }
.testimonial-card .meta { font-size: 13px; color: #777; margin-bottom: 14px; }
.testimonial-card .meta i { color: #1A5A93; margin-right: 5px; }
.testimonial-card .meta span { margin-right: 18px; }
.testimonial-card blockquote {
    border-left: none; padding: 0; margin: 0;
    font-size: 14px; color: #444;
    font-style: normal;
    line-height: 1.8;
    position: relative;
}
.testimonial-card blockquote::before {
    content: '\201C';
    font-size: 60px; line-height: 0;
    color: #1A5A93; opacity: .15;
    position: absolute; top: 16px; left: -10px;
}
.quote-stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; }

/* ══════════════════════════════════════════════════
   PORTFOLIO ITEMS
══════════════════════════════════════════════════ */
.portfolio-item { text-align: center; margin-bottom: 24px; }
.portfolio-item a { display: block; text-decoration: none; }
.portfolio-item img {
    width: 100%; height: 170px; object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0ecf7;
    transition: border-color .2s, box-shadow .2s;
}
.portfolio-item a:hover img {
    border-color: #1A5A93;
    box-shadow: 0 6px 20px rgba(26,90,147,.18);
}
.portfolio-item p { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #1A5A93; }

/* ══════════════════════════════════════════════════
   CERTIFICATE GALLERY
══════════════════════════════════════════════════ */
.cert-item {
    margin-bottom: 20px;
    position: relative; overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e0ecf7;
    transition: border-color .2s, box-shadow .2s;
}
.cert-item:hover { border-color: #1A5A93; box-shadow: 0 6px 20px rgba(26,90,147,.18); }
.cert-item img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform .3s; }
.cert-item:hover img { transform: scale(1.04); }
.cert-overlay {
    position: absolute; inset: 0;
    background: rgba(26,90,147,0);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.cert-item:hover .cert-overlay { opacity: 1; background: rgba(26,90,147,.45); }
.cert-overlay i { font-size: 36px; color: #fff; }

/* ══════════════════════════════════════════════════
   NEWS CARDS
══════════════════════════════════════════════════ */
.news-card {
    background: #fff; border-radius: 10px;
    border: 1px solid #e0ecf7;
    border-left: 5px solid #1A5A93;
    padding: 24px 26px;
    margin-bottom: 20px;
    box-shadow: 0 3px 14px rgba(26,90,147,.07);
    transition: box-shadow .25s, transform .2s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(26,90,147,.14); transform: translateY(-2px); }
.news-card h4 { color: #1A5A93; font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.news-card p  { color: #555; font-size: 14px; margin: 0; line-height: 1.7; }
.news-card .news-date { font-size: 12px; color: #999; margin-top: 10px; }
.news-badge {
    display: inline-block; background: #e8f3ff; color: #1A5A93;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════
   LINKS PAGE CARDS
══════════════════════════════════════════════════ */
.link-card {
    background: #fff; border-radius: 10px;
    border: 1px solid #e0ecf7;
    padding: 0; margin-bottom: 28px;
    box-shadow: 0 3px 14px rgba(26,90,147,.07);
    overflow: hidden;
    transition: box-shadow .25s;
    display: flex; align-items: stretch;
}
.link-card:hover { box-shadow: 0 6px 28px rgba(26,90,147,.15); }
.link-card-img { width: 220px; min-width: 220px; object-fit: cover; display: block; }
.link-card-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.link-card-body h3 { color: #1A5A93; font-weight: 700; margin: 0 0 10px; font-size: 20px; }
.link-card-body p  { color: #555; font-size: 14px; line-height: 1.7; margin-bottom: 18px; text-align: justify; flex: 1; }
.btn-visit {
    display: inline-block;
    background: #1A5A93; color: #fff;
    padding: 9px 24px; border-radius: 5px;
    font-weight: 600; font-size: 13px;
    transition: background .25s; align-self: flex-start;
}
.btn-visit:hover { background: #179BD7; color: #fff; }
.btn-visit i { margin-right: 6px; }
@media (max-width: 600px) {
    .link-card { flex-direction: column; }
    .link-card-img { width: 100%; height: 180px; }
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════ */
.contact-header {
    background: #f0f0f0;
    padding: 44px 0 30px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}
.contact-header h1 { font-size: 28px; font-weight: 700; color: #1A5A93; margin: 0; }

.info-card {
    background: #fff; border-radius: 10px;
    box-shadow: 0 4px 24px rgba(26,90,147,.10);
    padding: 28px 24px; height: 100%;
}
.info-card h2 { color: #1A5A93; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.info-item {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 18px; padding-bottom: 18px;
    border-bottom: 1px solid #eaf0f8;
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
    width: 38px; height: 38px; min-width: 38px;
    background: #e8f3ff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #1A5A93; font-size: 16px;
}
.info-item h5 { font-weight: 700; color: #1A5A93; font-size: 13px; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .4px; }
.info-item p  { margin: 0; font-size: 13px; color: #444; line-height: 1.8; }
.info-item a  { color: #1A5A93; }
.info-item a:hover { color: #179BD7; }

.job-notice {
    background: #fff8f0; border-left: 4px solid #ff5705;
    border-radius: 0 6px 6px 0; padding: 14px 16px; margin-bottom: 20px;
}
.job-notice h5 { color: #ff5705; font-weight: 700; margin: 0 0 8px; font-size: 14px; }
.job-notice p  { margin: 0; font-size: 13px; color: #555; line-height: 1.8; }
.job-notice a  { color: #ff5705; font-weight: 700; }

.map-section { padding: 50px 0; background: #f8fafc; }
.map-section h3 { color: #1A5A93; font-weight: 700; margin-bottom: 20px; }
.map-section iframe { border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.10); }

/* ══════════════════════════════════════════════════
   STICKY HEADER — Pure CSS position:sticky
   No placeholder div needed — no grey band ever
══════════════════════════════════════════════════ */
#header.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    transition: box-shadow .3s ease;
    width: 100%;
}
#header.sticky-header.is-sticky {
    box-shadow: 0 2px 16px rgba(0, 0, 0, .15);
    animation: slideDown .25s ease;
}
@keyframes slideDown {
    from { transform: translateY(-6px); opacity: .8; }
    to   { transform: translateY(0);    opacity: 1;  }
}
#header-placeholder { display: none !important; }

/* ══════════════════════════════════════════════════
   SERVICE / CONTENT PAGES — shared styles
══════════════════════════════════════════════════ */
.service-page-body { padding: 50px 0; background: #fff; }

/* Section heading with blue underline */
.sp-heading {
    position: relative;
    color: #1A5A93;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.sp-heading::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 50px; height: 3px; background: #1A5A93; border-radius: 2px;
}

/* Content card */
.sp-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0ecf7;
    padding: 32px 36px;
    box-shadow: 0 3px 16px rgba(26,90,147,.07);
    margin-bottom: 28px;
}
.sp-card p {
    font-size: 15px; color: #555; line-height: 1.85;
    text-align: justify; margin-bottom: 16px;
}
.sp-card p:last-child { margin-bottom: 0; }

/* Check list */
.sp-checklist { list-style: none; padding: 0; margin: 16px 0; }
.sp-checklist li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 14px; color: #444;
    border-bottom: 1px dashed #e8f0f8;
}
.sp-checklist li:last-child { border-bottom: none; }
.sp-checklist li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute; left: 0;
    color: #1A5A93; font-size: 13px; top: 9px;
}

/* Feature icon box */
.sp-feature-box {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e0ecf7;
    border-radius: 10px;
    padding: 28px 20px;
    margin-bottom: 24px;
    transition: box-shadow .25s, transform .2s;
}
.sp-feature-box:hover {
    box-shadow: 0 6px 20px rgba(26,90,147,.12);
    transform: translateY(-3px);
}
.sp-feature-box .icon {
    width: 56px; height: 56px;
    background: #1A5A93; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px; color: #fff;
}
.sp-feature-box h4 { color: #1A5A93; font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.sp-feature-box p  { font-size: 13px; color: #666; margin: 0; }

/* CTA strip */
.sp-cta {
    background: linear-gradient(135deg, #1A5A93, #179BD7);
    border-radius: 10px; padding: 32px 36px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px; margin-top: 32px;
}
.sp-cta h3 { color: #fff; font-weight: 700; margin: 0; font-size: 20px; }
.sp-cta p  { color: rgba(255,255,255,.85); margin: 4px 0 0; font-size: 14px; }
.sp-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #1A5A93;
    padding: 11px 28px; border-radius: 6px;
    font-weight: 700; font-size: 14px;
    transition: opacity .2s; white-space: nowrap;
}
.sp-cta-btn:hover { opacity: .9; color: #1A5A93; }

/* ══════════════════════════════════════════════════
   HRSUITE PRODUCT PAGE TABS
══════════════════════════════════════════════════ */
.hrsuite-tabs { border-bottom: 2px solid #1A5A93; margin-bottom: 0; flex-wrap: wrap; }
.hrsuite-tabs > li > a {
    color: #1A5A93; font-weight: 600; font-size: 12px;
    letter-spacing: .3px; padding: 10px 14px;
    border-radius: 6px 6px 0 0;
    border: 1px solid #ddd; border-bottom: none;
    background: #f8fafc; margin-right: 3px; margin-bottom: -1px;
    white-space: nowrap;
}
.hrsuite-tabs > li.active > a,
.hrsuite-tabs > li > a:hover { background: #1A5A93; color: #fff; border-color: #1A5A93; }
.hrsuite-tabs > li > a i { margin-right: 5px; }
.hrsuite-tab-content { border: 1px solid #ddd; border-top: none; padding: 32px 24px; background: #fff; }

/* Product feature table */
.product-feature-row {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 24px 0; border-bottom: 1px solid #e8f0f8;
}
.product-feature-row:last-child { border-bottom: none; }
.product-feature-img { width: 180px; min-width: 180px; }
.product-feature-img img { width: 100%; border-radius: 8px; }

/* Video iframe responsive */
.video-embed-wrap {
    position: relative; padding-bottom: 56.25%;
    height: 0; overflow: hidden; border-radius: 8px;
}
.video-embed-wrap iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}

/* Gallery thumbs */
.gallery-thumb {
    margin-bottom: 16px; overflow: hidden;
    border-radius: 8px; border: 2px solid #e0ecf7;
    transition: border-color .2s, box-shadow .2s;
}
.gallery-thumb:hover { border-color: #1A5A93; box-shadow: 0 4px 16px rgba(26,90,147,.18); }
.gallery-thumb img { width: 100%; height: 130px; object-fit: cover; display: block; }

/* SMTS tables */
.smts-table th[scope="row"] { background: #e8f3ff; color: #1A5A93; font-weight: 700; min-width: 120px; }
