/* =============================================
   Mendez Consulting - Custom Styles
   ============================================= */

/* Base */
body {
    font-family: 'Poppins', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Height utilities */
.h-100vh  { height: 100vh; }
.min-vh-50 { min-height: 50vh; }

/* Section padding */
.section-padding { padding: 80px 0; }

/* ---- Background Images & Overlays ---- */
.bg-img-1 {
    background-image: url('../img/bg/1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
/* Gradient overlay for hero — dark bottom-left, lighter top-right */
.bg-img-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,15,50,0.82) 0%, rgba(10,30,80,0.68) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.bg-img-1 > * { position: relative; z-index: 2; }

/* Hero caption animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-caption > * { animation: fadeUp 0.7s ease both; }
.hero-caption .hero-eyebrow  { animation-delay: 0.1s; }
.hero-caption h1             { animation-delay: 0.25s; }
.hero-caption .hero-name     { animation-delay: 0.4s; }
.hero-caption .hero-subtitle { animation-delay: 0.55s; }
.hero-caption .hero-btns     { animation-delay: 0.7s; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}
.hero-caption h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.3rem;
}
.hero-name {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Scroll indicator */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.scroll-indicator i {
    font-size: 1rem;
    animation: bounce 1.6s ease-in-out infinite;
}

/* ---- Navbar ---- */
#mainHeader {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}
#mainHeader.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
/* Link + brand colours: white on hero, dark when scrolled */
#mainHeader .navbar-brand-text,
#mainHeader .nav-link,
#mainHeader .btn-contact {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s;
}
#mainHeader.scrolled .navbar-brand-text,
#mainHeader.scrolled .nav-link,
#mainHeader.scrolled .btn-contact {
    color: #212529 !important;
}
#mainHeader .navbar-brand-text {
    font-size: 1rem;
    letter-spacing: 0.5px;
}
/* Toggler icon colour flip */
#mainHeader .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainHeader.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.55)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Active / hover underline on nav links */
.nav-link {
    position: relative;
    font-size: 0.88rem;
    font-weight: 500;
    padding-bottom: 0.3rem !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--bs-primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { font-weight: 600; }
/* Contact pill button */
.btn-contact {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
#mainHeader.scrolled .btn-contact {
    border-color: var(--bs-primary);
    color: var(--bs-primary) !important;
}
.btn-contact:hover { opacity: 0.8; }

/* ---- Section Headings ---- */

.heading h5 {
    text-transform: uppercase;
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.heading h1 {
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 1rem;
}
.heading.white h5,
.heading.white h1 {
    color: #ffffff;
}

/* ---- Service / Skill / Experience Cards ---- */
.single-service,
.single-skill,
.single-experience {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.single-service:hover,
.single-skill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.single-service i,
.single-skill i:first-child {
    font-size: 1.1rem;
    color: var(--bs-primary);
    margin-bottom: 0;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}
.single-skill h5 {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.single-skill ul {
    padding-left: 18px;
}
.single-skill ul li {
    padding: 2px 0;
    font-size: 0.85rem;
    color: #495057;
}
.single-skill ul li i {
    width: 18px;
    color: var(--bs-primary);
    margin-right: 5px;
    font-size: 0.85rem;
}
.single-experience span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

/* ---- Skills Section: Option C Two-Panel ---- */
.panel-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panel-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dee2e6;
}
.skill-panel-divider {
    padding-left: 2rem;
    border-left: 2px solid #dee2e6;
    height: 100%;
}
@media (max-width: 991.98px) {
    .skill-panel-divider {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #dee2e6;
        padding-top: 2rem;
    }
}
.domain-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    margin-bottom: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.domain-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateX(4px);
}
.domain-icon {
    font-size: 1.3rem;
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.domain-item h6 {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}
.domain-item p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* ---- Services Section (Option B) ---- */
.svc-left-panel {
    background-image: url('../img/bg/2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
}
@media (max-width: 991.98px) {
    .svc-left-panel { min-height: 280px; }
}
.svc-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 70, 0.72);
}
.svc-left-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
}
.svc-left-content h5 {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.svc-left-content h1 {
    font-weight: 700;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}
.svc-left-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.value-prop {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
}
.value-prop i { color: #5bc8ff; width: 18px; }

/* Inline icon + title header inside service cards */
.svc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
}
.svc-header i {
    font-size: 1.2rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}
.svc-header h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.single-service p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    margin-top: 0.4rem;
}
/* Service cards get extra padding vs skill cards */
.services-area .single-service {
    padding: 22px 20px;
    margin-bottom: 0;
    min-height: 130px;
}

/* ---- Experience Section ---- */
.exp-left-panel {
    background-image: url('../img/bg/3.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
@media (max-width: 991.98px) {
    .exp-left-panel { min-height: 280px; }
}
.exp-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 70, 0.70);
}
.exp-left-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    text-align: right;
    width: 100%;
}
.exp-left-content h5 {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.exp-left-content h1 {
    font-weight: 700;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.career-highlight {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.career-highlight i { color: #5bc8ff; }
.career-tagline {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.counter-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(13, 110, 253, 0.08);
    border: 2px solid rgba(13, 110, 253, 0.2);
    border-radius: 12px;
    padding: 14px 28px;
    margin-bottom: 1.5rem;
}
.counter-badge .counter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    margin-top: 4px;
}
.exp-card {
    background: white;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.exp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}
.exp-card.current {
    border-left: 4px solid var(--bs-primary);
    padding: 12px 16px;
}
.exp-card h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.exp-card h6 { font-size: 0.8rem; color: #6c757d; margin-bottom: 6px; }
.date-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.current-badge { background: var(--bs-primary); color: white; }
.past-badge { background: #e9ecef; color: #495057; }
.role-bullet {
    font-size: 0.78rem;
    color: #495057;
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.role-bullet li::before {
    content: '▸ ';
    color: var(--bs-primary);
}

/* ---- About Section ---- */
.profile-wrap {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    margin-right: 40px;
}
.profile-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid rgba(13, 110, 253, 0.25);
}
.profile-wrap::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(13, 110, 253, 0.1);
}
.profile-wrap .shape {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.profile-wrap .shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.stat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef3ff;
    border: 1px solid #d0deff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0d47a1;
}
.stat-chip i { font-size: 0.72rem; }
.contact-nudge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #6c757d;
    text-decoration: none;
    margin-top: 0.75rem;
}
.contact-nudge:hover { color: var(--bs-primary); }

/* ---- Certifications ---- */
.vendor-card {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    height: 100%;
}
.vendor-logo-wrap {
    height: 52px;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}
.cert-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #adb5bd;
    margin-bottom: 0.75rem;
}
.cert-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.cert-row:last-child { border-bottom: none; }
.cert-row img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}
.cert-info { flex: 1; min-width: 0; }
.cert-info strong { display: block; font-size: 0.8rem; font-weight: 600; }
.cert-info span { font-size: 0.72rem; color: #6c757d; }
.cert-verify {
    font-size: 0.7rem;
    color: #adb5bd;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.cert-verify:hover { color: var(--bs-primary); }
.cert-verify i { font-size: 0.65rem; }

/* ---- Footer ---- */
footer { background-color: var(--bs-primary); }
footer .social-icon a { color: #ffffff; font-size: 1.5rem; margin-left: 10px; }
footer .copyright p { color: #ffffff; }

/* ---- Info Offcanvas ---- */
#infoOffcanvas { background-color: var(--bs-light); }
#infoOffcanvas .offcanvas-header { border-bottom: 1px solid #dee2e6; }
#infoOffcanvas ul { list-style: none; padding-left: 0; }
#infoOffcanvas li { margin-bottom: 1rem; }
#infoOffcanvas li p { margin-bottom: 0.25rem; font-weight: 600; color: var(--bs-primary); }
#infoOffcanvas li h6 { margin-bottom: 0; font-weight: 400; }
#infoOffcanvas .social-icon a { color: var(--bs-dark); font-size: 1.8rem; margin-right: 15px; }
#infoOffcanvas .social-icon a:hover { color: var(--bs-primary); }

/* ---- Back to Top Button ---- */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    transform: translateY(-3px);
}