/*
Theme Name: HiringTude
Theme URI: https://hiringtude.com
Author: HiringTude Team
Author URI: https://hiringtude.com
Description: A premium staffing and recruitment WordPress theme — fully compatible with Elementor Free. Edit content visually, customize header and footer once and it applies to all pages. Perfect for staffing agencies, HR firms, and recruitment companies.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hiringtude
Tags: one-column, two-columns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready, blog, business, corporate
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
    --ht-primary:       #1a5276;
    --ht-primary-dark:  #154360;
    --ht-primary-light: #2e86c1;
    --ht-accent:        #f39c12;
    --ht-accent-dark:   #d68910;
    --ht-dark:          #0d1b2a;
    --ht-text:          #2c3e50;
    --ht-text-light:    #5d6d7e;
    --ht-white:         #ffffff;
    --ht-bg-light:      #f4f8fb;
    --ht-border:        #e8edf2;
    --ht-shadow:        0 8px 30px rgba(26,82,118,0.12);
    --ht-radius:        8px;
    --ht-radius-lg:     16px;
    --ht-font:          'Be Vietnam Pro', 'Inter', -apple-system, sans-serif;
    --ht-transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--ht-font);
    color: var(--ht-text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--ht-transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* =========================================================
   HEADER
   ========================================================= */
.ht-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    height: var(--ht-header-height);
    background: #1a3a5c;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--ht-transition);
}
.ht-header.scrolled {
    background: #154360;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    height: 68px;
}
.ht-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.ht-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.ht-logo img { height: 44px; width: auto; }
.ht-logo__text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ht-white);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.ht-logo__text em { color: var(--ht-accent); font-style: normal; }

/* Navigation */
.ht-nav ul { display: flex; align-items: center; gap: 4px; }
.ht-nav li { position: relative; }
.ht-nav a {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 15px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border-radius: var(--ht-radius);
    transition: var(--ht-transition);
    white-space: nowrap;
}
.ht-nav a:hover,
.ht-nav .current-menu-item > a,
.ht-nav .current_page_item > a {
    color: var(--ht-white);
    background: rgba(255,255,255,0.12);
}

/* Dropdown */
.ht-nav .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: var(--ht-white);
    border-radius: var(--ht-radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--ht-transition);
    pointer-events: none;
}
.ht-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.ht-nav .sub-menu a {
    color: var(--ht-text);
    border-radius: var(--ht-radius);
    padding: 9px 14px;
    font-size: 0.85rem;
}
.ht-nav .sub-menu a:hover {
    background: var(--ht-bg-light);
    color: var(--ht-primary);
    padding-left: 20px;
}

/* Header CTA Button */
.ht-header__cta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--ht-accent);
    color: var(--ht-white);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--ht-transition);
    box-shadow: 0 4px 14px rgba(243,156,18,0.4);
}
.ht-header__cta a:hover {
    background: var(--ht-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243,156,18,0.45);
}

/* Hamburger */
.ht-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: var(--ht-radius);
}
.ht-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--ht-white);
    border-radius: 2px;
    transition: var(--ht-transition);
}
.ht-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ht-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ht-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.ht-mobile-nav {
    position: fixed;
    top: var(--ht-header-height);
    left: 0; right: 0;
    background: #154360;
    padding: 16px 24px 24px;
    transform: translateX(-100%);
    transition: var(--ht-transition);
    z-index: 9998;
    max-height: calc(100vh - var(--ht-header-height));
    overflow-y: auto;
}
.ht-mobile-nav.active { transform: translateX(0); }
.ht-mobile-nav a {
    display: block;
    padding: 13px 16px;
    color: rgba(255,255,255,0.88);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--ht-radius);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ht-mobile-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.ht-mobile-nav .ht-mobile-cta {
    margin-top: 16px;
    display: block;
    text-align: center;
    background: var(--ht-accent);
    border-radius: 50px;
    padding: 13px;
    font-weight: 700;
    color: #fff;
    border-bottom: none;
}

/* =========================================================
   MAIN CONTENT AREA (Elementor renders here)
   ========================================================= */
.ht-main { display: block; }

/* Inner page hero (for non-homepage pages) */
.ht-page-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a5276 100%);
    padding: 60px 0 50px;
    text-align: center;
}
.ht-page-hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--ht-white);
    margin-bottom: 10px;
}
.ht-breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    font-size: 0.83rem; color: rgba(255,255,255,0.6);
}
.ht-breadcrumb a { color: rgba(255,255,255,0.6); }
.ht-breadcrumb a:hover { color: #fff; }
.ht-breadcrumb span { color: var(--ht-accent); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.ht-cta-banner {
    background: linear-gradient(135deg, var(--ht-accent) 0%, var(--ht-accent-dark) 100%);
    padding: 60px 0;
    position: relative; overflow: hidden;
}
.ht-cta-banner::before {
    content: ''; position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%; background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.ht-cta-banner__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.ht-cta-banner__title {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800; color: #fff; margin-bottom: 6px;
}
.ht-cta-banner__sub { font-size: 1rem; color: rgba(255,255,255,0.85); }
.ht-cta-banner__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff; font-weight: 700; font-size: 1rem;
    transition: var(--ht-transition); white-space: nowrap;
    flex-shrink: 0;
}
.ht-cta-banner__btn:hover {
    background: #fff; color: var(--ht-accent-dark); border-color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.ht-footer {
    background: #0a1520;
    color: rgba(255,255,255,0.65);
    padding: 72px 0 0;
}
.ht-footer__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.ht-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ht-footer__logo-text {
    font-size: 1.3rem; font-weight: 800;
    color: #fff; letter-spacing: -0.02em;
}
.ht-footer__logo-text em { color: var(--ht-accent); font-style: normal; }
.ht-footer__tagline {
    font-size: 0.88rem; color: rgba(255,255,255,0.55);
    line-height: 1.7; margin: 14px 0 22px;
    max-width: 270px;
}
.ht-footer__social { display: flex; gap: 10px; }
.ht-footer__social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 0.85rem;
    transition: var(--ht-transition);
}
.ht-footer__social a:hover {
    background: var(--ht-primary);
    border-color: var(--ht-primary);
    color: #fff; transform: translateY(-3px);
}
.ht-footer__col-title {
    font-size: 0.9rem; font-weight: 700; color: #fff;
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid var(--ht-accent);
    display: inline-block;
}
.ht-footer__links { display: flex; flex-direction: column; gap: 9px; }
.ht-footer__links a {
    font-size: 0.85rem; color: rgba(255,255,255,0.55);
    display: flex; align-items: center; gap: 7px;
    transition: var(--ht-transition);
}
.ht-footer__links a:hover { color: #fff; padding-left: 4px; }
.ht-footer__links a i { color: var(--ht-accent); font-size: 0.7rem; flex-shrink: 0; }

.ht-footer__contact-item {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.ht-footer__contact-icon {
    width: 30px; height: 30px;
    background: rgba(243,156,18,0.12);
    border-radius: var(--ht-radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ht-footer__contact-icon i { color: var(--ht-accent); font-size: 0.8rem; }
.ht-footer__contact-text {
    font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.ht-footer__contact-text a { color: inherit; }
.ht-footer__contact-text a:hover { color: #fff; }

.ht-footer__bottom {
    padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.ht-footer__copyright { font-size: 0.8rem; color: rgba(255,255,255,0.38); }
.ht-footer__bottom-links { display: flex; gap: 18px; }
.ht-footer__bottom-links a {
    font-size: 0.8rem; color: rgba(255,255,255,0.38);
    transition: var(--ht-transition);
}
.ht-footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.ht-back-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    background: var(--ht-primary); color: #fff;
    border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.95rem;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--ht-transition); z-index: 999;
    box-shadow: var(--ht-shadow);
}
.ht-back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ht-back-top:hover { background: var(--ht-accent); transform: translateY(-4px); }

/* =========================================================
   BLOG / INNER PAGE STYLES
   ========================================================= */
.ht-blog-card {
    background: #fff; border-radius: var(--ht-radius-lg);
    overflow: hidden; border: 1px solid var(--ht-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--ht-transition);
}
.ht-blog-card:hover { box-shadow: var(--ht-shadow); transform: translateY(-4px); }
.ht-blog-card__img { aspect-ratio: 16/10; overflow: hidden; }
.ht-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: var(--ht-transition); }
.ht-blog-card:hover .ht-blog-card__img img { transform: scale(1.05); }
.ht-blog-card__body { padding: 22px; }
.ht-blog-card__meta { font-size: 0.78rem; color: var(--ht-text-light); margin-bottom: 10px; }
.ht-blog-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--ht-dark); }
.ht-blog-card__title a:hover { color: var(--ht-primary); }

/* 404 */
.ht-404 {
    min-height: 70vh; display: flex; align-items: center;
    justify-content: center; text-align: center; padding: 60px 24px;
}
.ht-404__num {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900; color: var(--ht-primary-light);
    opacity: 0.1; line-height: 1;
}

/* =========================================================
   ELEMENTOR OVERRIDES (makes Elementor look right in theme)
   ========================================================= */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}
/* Remove Elementor default page padding on full-width pages */
.elementor-page:not(.has-sidebar) #primary,
.elementor-page:not(.has-sidebar) .site-content {
    width: 100%;
}

/* =========================================================
   CUSTOMIZER COLOR OVERRIDES
   ========================================================= */
/* Applied via wp_head hook in functions.php */

/* =========================================================
   ANIMATIONS
   ========================================================= */
.ht-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ht-reveal.revealed { opacity: 1; transform: translateY(0); }
.ht-reveal--left { transform: translateX(-28px); }
.ht-reveal--right { transform: translateX(28px); }
.ht-reveal--left.revealed, .ht-reveal--right.revealed { transform: translateX(0); }
.ht-reveal--delay-1 { transition-delay: 0.1s; }
.ht-reveal--delay-2 { transition-delay: 0.2s; }
.ht-reveal--delay-3 { transition-delay: 0.3s; }
.ht-reveal--delay-4 { transition-delay: 0.4s; }


.wpcf7-form br {
	display: none;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.col-6 {
    width: calc(50% - 7.5px);
}
.col-12 {
    width: 100%;
}
input, select, textarea {
    width: 100%;
    background-color: #fff;
    border: 1px solid #E2E8F0;
    padding: 15px 20px;
    border-radius: 8px;
}
.wpcf7-form-control.wpcf7-submit {
    background-color: #1D3A5A;
    background-image: none;
    color: #fff;
    cursor: pointer;
}
label {
    display: block;
    margin-bottom: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .ht-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .ht-nav, .ht-header__cta { display: none !important; }
    .ht-hamburger { display: flex; }
    .ht-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .ht-footer__bottom { flex-direction: column; text-align: center; }
    .ht-cta-banner__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    :root { --ht-header-height: 70px; }
}
