/* ===== ZYLO HR - MAIN STYLES ===== */
/* Google Font: Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --cream:         #FFF8F0;
    --cream-dark:    #F5EDE0;
    --cream-border:  rgba(26, 58, 107, 0.08);
    --primary:       #1A3A6B;
    --primary-light: #2A5298;
    --accent:        #E8A020;
    --accent-dark:   #C8880F;
    --text-dark:     #1E1E2C;
    --text-grey:     #6B6B80;
    --white:         #FFFFFF;
    --shadow-sm:     0 4px 16px rgba(26, 58, 107, 0.08);
    --shadow:        0 10px 40px rgba(26, 58, 107, 0.12);
    --shadow-lg:     0 20px 60px rgba(26, 58, 107, 0.18);
    --radius-sm:     8px;
    --radius:        16px;
    --radius-lg:     24px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
    background: transparent;
    padding: 22px 0;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

.navbar.scrolled {
    background: var(--white);
    padding: 14px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

/* Brand */
.brand-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.navbar.scrolled .brand-logo { color: var(--primary); }
.brand-accent { color: var(--accent); }

/* Nav links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    font-size: 0.93rem;
    padding: 8px 16px !important;
    transition: color 0.3s;
    position: relative;
}
.navbar.scrolled .navbar-nav .nav-link { color: var(--text-dark) !important; }

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s, left 0.3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; left: 20%; }

/* Contact CTA button in nav */
.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    border-radius: 25px;
    padding: 8px 24px !important;
    font-weight: 600;
    margin-left: 8px;
    transition: all 0.3s;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 160, 32, 0.35); }
.nav-cta::after { display: none !important; }

/* Dropdown — hover open on desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropFadeIn 0.2s ease;
    }
}
@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
    background: var(--white);
    min-width: 230px;
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
}
.dropdown-item:hover { background: var(--cream); color: var(--primary); }

/* Mobile nav */
@media (max-width: 991px) {
    .navbar { background: var(--primary) !important; padding: 14px 0 !important; }
    .brand-logo { color: var(--white) !important; }
    .navbar-nav .nav-link { color: rgba(255, 255, 255, 0.88) !important; }
    .nav-cta { margin-left: 16px; }
    .navbar-toggler { border-color: rgba(255,255,255,0.4); }
    .navbar-toggler-icon { filter: invert(1); }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('../images/bg-2.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 90px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 107, 0.88) 0%,
        rgba(26, 58, 107, 0.65) 55%,
        rgba(26, 58, 107, 0.30) 100%
    );
}
.hero-content { position: relative; z-index: 2; padding: 70px 0; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 160, 32, 0.18);
    border: 1px solid rgba(232, 160, 32, 0.55);
    color: #FFD080;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}
.hero-title span { color: var(--accent); }

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 38px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stats bar */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.18);
    flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ===== BUTTONS ===== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn-primary-custom:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(232, 160, 32, 0.38);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.65);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn-secondary-custom:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26, 58, 107, 0.3);
}

/* ===== SECTION COMMONS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.28;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-grey);
    font-size: 0.98rem;
    line-height: 1.85;
    max-width: 640px;
    margin: 0 auto 0;
}

.section-header { margin-bottom: 16px; }
.section-header .section-sub { margin: 12px auto 0; }

/* ===== SERVICES SECTION ===== */
.services-section { padding: 100px 0; background: var(--white); }

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px;
    height: 100%;
    border: 1px solid var(--cream-border);
    transition: all 0.35s ease;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon-wrap {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 22px;
    flex-shrink: 0;
}

.service-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
    height: 210px;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }

.service-card h3 { font-size: 1.28rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p  { color: var(--text-grey); font-size: 0.93rem; line-height: 1.75; margin-bottom: 22px; }

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.btn-explore:hover { color: var(--accent); gap: 14px; border-bottom-color: var(--accent); }
.btn-explore i { transition: transform 0.3s; }
.btn-explore:hover i { transform: translateX(4px); }

/* ===== ABOUT SECTION ===== */
.about-section { padding: 100px 0; background: var(--cream); }

.about-img-wrap { position: relative; }
.about-img-wrap .main-img { width: 100%; height: 490px; object-fit: cover; border-radius: var(--radius-lg); }

.experience-badge {
    position: absolute;
    bottom: 28px;
    right: -22px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 140px;
}
.exp-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.exp-label { font-size: 0.78rem; color: var(--text-grey); font-weight: 500; }

.about-content .section-title,
.about-content .section-tag { text-align: left; }

.about-desc { color: var(--text-grey); line-height: 1.82; margin-bottom: 14px; font-size: 0.96rem; }
.about-highlight { font-weight: 600; color: var(--primary); margin-bottom: 26px; font-size: 0.96rem; }

.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    border: 1px solid var(--cream-border);
}
.pill-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-section { padding: 100px 0; background: var(--white); }

.why-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--cream-border);
    transition: all 0.3s ease;
    height: 100%;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card.why-card-dark { background: var(--primary); border-color: var(--primary); }

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
    background: rgba(26, 58, 107, 0.1);
}
.why-card.why-card-dark .why-icon { background: rgba(255,255,255,0.12); color: var(--accent); }
.why-card h4 { font-size: 1.02rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.why-card.why-card-dark h4 { color: var(--white); }
.why-card p  { font-size: 0.87rem; color: var(--text-grey); line-height: 1.65; margin: 0; }
.why-card.why-card-dark p  { color: rgba(255,255,255,0.7); }

/* ===== INNER PAGE HERO (non-home pages) ===== */
.inner-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/square-white-bg.jpg') center / cover;
    opacity: 0.04;
}
.inner-hero .container { position: relative; z-index: 2; }
.inner-hero h1 { font-size: 2.6rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.inner-hero p { color: rgba(255,255,255,0.78); font-size: 1.02rem; max-width: 520px; }
.breadcrumb { background: none; padding: 0; margin-top: 20px; }
.breadcrumb-item { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.breadcrumb-item a { color: rgba(255,255,255,0.75); }
.breadcrumb-item a:hover { color: var(--accent); }

/* ===== CONTENT SECTIONS (inner pages) ===== */
.content-section { padding: 90px 0; }
.content-section.bg-alt { background: var(--white); }
.content-section.bg-cream { background: var(--cream); }

/* ===== INFO CARDS ===== */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    border: 1px solid var(--cream-border);
    transition: all 0.3s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.info-card-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}
.info-card h4 { font-size: 1.08rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; color: var(--text-grey); line-height: 1.72; margin: 0; }

/* ===== PROCESS / STEPS ===== */
.step-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--cream-border);
    transition: all 0.3s;
}
.step-card:hover { box-shadow: var(--shadow); }
.step-number {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.step-content h5 { font-size: 1.02rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.step-content p { font-size: 0.88rem; color: var(--text-grey); line-height: 1.65; margin: 0; }

/* ===== CHECK LIST ===== */
.check-list { padding: 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.94rem;
    color: var(--text-grey);
    border-bottom: 1px solid var(--cream-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li .chk-icon {
    width: 22px;
    height: 22px;
    background: rgba(26, 58, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 90px 0; background: var(--cream); }
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--primary); margin-bottom: 7px; }
.form-control, .form-select {
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: var(--cream);
    color: var(--text-dark);
    transition: all 0.25s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}
.form-control::placeholder { color: #AAA; }

textarea.form-control { resize: vertical; min-height: 130px; }

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    height: 100%;
    color: var(--white);
}
.contact-info-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 0.93rem; margin-bottom: 32px; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-detail-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 500; margin-bottom: 4px; }
.contact-detail-text a,
.contact-detail-text p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin: 0; }
.contact-detail-text a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.footer-section {
    background: linear-gradient(180deg, #132d56 0%, var(--primary) 100%);
    padding: 85px 0 0;
}

.footer-brand { max-width: 320px; }
.footer-desc { color: rgba(255,255,255,0.58); font-size: 0.88rem; line-height: 1.8; margin-top: 14px; }

.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.footer-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 14px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
    font-size: 0.88rem;
    line-height: 1.65;
}
.footer-contact li i { color: var(--accent); margin-top: 3px; min-width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent); }

.footer-links li { margin-bottom: 11px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.footer-links a i { color: var(--accent); font-size: 0.7rem; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-bottom {
    margin-top: 64px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.42); font-size: 0.83rem; margin: 0; }

/* ===== UTILITY ===== */
.divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 16px auto; }
.divider-left { margin: 16px 0; }

.bg-primary-grad { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .hero-title   { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 767px) {
    .hero-title         { font-size: 2rem; }
    .hero-sub           { font-size: 0.96rem; }
    .hero-section       { min-height: 90vh; }
    .hero-stats         { gap: 24px; }
    .services-section,
    .about-section,
    .why-section,
    .content-section    { padding: 70px 0; }
    .section-title      { font-size: 1.7rem; }
    .about-img-wrap .main-img { height: 320px; }
    .experience-badge   { display: none; }
    .contact-form-wrap  { padding: 28px 20px; }
    .inner-hero h1      { font-size: 2rem; }
    .hero-btns          { flex-direction: column; align-items: flex-start; }
}
