/* Start custom CSS for html, class: .elementor-element-a8b0d4c *//* =========================================================
   HAMMAD ABBAS — CONTACT PAGE CSS (FINAL)
   Blue Premium Theme + Poppins (same as Homepage + About)
   Hero = same style as About (light blue, dots, gradient name,
   no curve, image only, bigger photo).
   Self-contained: sab rules .ha-contact-page ke andar scoped hain.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');


/* =========================================================
   VARIABLES + BASE
   ========================================================= */

.ha-contact-page {
    --ha-blue: #1769ff;
    --ha-blue-dark: #0b45b8;
    --ha-blue-soft: #eef5ff;
    --ha-navy: #081a33;
    --ha-text: #24344d;
    --ha-muted: #66758a;
    --ha-border: #e4ebf4;

    font-family: 'Poppins', sans-serif;
    color: var(--ha-text);
    background: #fff;
    line-height: 1.7;
    overflow: hidden;
    overflow: clip;

    /* FULL WIDTH: Elementor/theme container se bahar nikal kar poori screen */
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* 100vw ki wajah se horizontal scrollbar na aaye */
html, body { overflow-x: clip; }

.ha-contact-page *,
.ha-contact-page *::before,
.ha-contact-page *::after { box-sizing: border-box; }

.ha-contact-page img { max-width: 100%; display: block; }
.ha-contact-page a { text-decoration: none; }

.ha-contact-page h1,
.ha-contact-page h2,
.ha-contact-page h3,
.ha-contact-page p,
.ha-contact-page a,
.ha-contact-page span,
.ha-contact-page strong { font-family: 'Poppins', sans-serif; }

.ha-contact-page h1,
.ha-contact-page h2,
.ha-contact-page h3 {
    color: var(--ha-navy);
    margin-top: 0;
    letter-spacing: -0.035em;
}

.ha-contact-page h1 span,
.ha-contact-page h2 span { color: var(--ha-blue); }


/* =========================================================
   SHARED ELEMENTS (container, kicker, buttons)
   ========================================================= */

.ha-contact-page .ha-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ha-contact-page .ha-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--ha-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ha-contact-page .ha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 51px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

.ha-contact-page .ha-btn span { font-size: 19px; line-height: 1; color: inherit; }

.ha-contact-page .ha-btn svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; }

/* Primary */
.ha-contact-page a.ha-btn-primary,
.ha-contact-page a.ha-btn-primary:visited {
    color: #fff;
    background: var(--ha-blue);
    box-shadow: 0 12px 28px rgba(23,105,255,.20);
}

.ha-contact-page a.ha-btn-primary:hover,
.ha-contact-page a.ha-btn-primary:focus-visible {
    color: #fff;
    background: var(--ha-blue-dark);
    transform: translateY(-2px);
}

/* Secondary */
.ha-contact-page a.ha-btn-secondary,
.ha-contact-page a.ha-btn-secondary:visited {
    color: var(--ha-navy);
    border-color: #dce5f0;
    background: #fff;
}

.ha-contact-page a.ha-btn-secondary:hover,
.ha-contact-page a.ha-btn-secondary:focus-visible {
    color: var(--ha-blue);
    border-color: var(--ha-blue);
}

/* White */
.ha-contact-page a.ha-btn-white,
.ha-contact-page a.ha-btn-white:visited {
    flex: 0 0 auto;
    color: var(--ha-blue);
    background: #fff;
}

.ha-contact-page a.ha-btn-white:hover,
.ha-contact-page a.ha-btn-white:focus-visible {
    color: var(--ha-blue-dark);
    background: #f4f8ff;
    transform: translateY(-2px);
}

/* Text link */
.ha-contact-page a.ha-text-link,
.ha-contact-page a.ha-text-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ha-blue);
    font-size: 13px;
    font-weight: 700;
}

.ha-contact-page a.ha-text-link span { transition: .2s ease; color: inherit; }
.ha-contact-page a.ha-text-link:hover { color: var(--ha-blue-dark); }
.ha-contact-page a.ha-text-link:hover span { transform: translateX(4px); }

/* Card links */
.ha-contact-page a.ha-contact-card-link,
.ha-contact-page a.ha-contact-card-link:visited { color: var(--ha-blue); }
.ha-contact-page a.ha-contact-card-link:hover { color: var(--ha-blue-dark); }


/* =========================================================
   SECTION 1: HERO (same as About: light blue, dots,
   gradient name, no curve, image only, bigger photo)
   ========================================================= */

.ha-contact-page .ha-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 60px;
    background: linear-gradient(135deg, #dce8ff 0%, #e6efff 48%, #d9f1ec 100%);
    border-bottom: 1px solid #cfdcf0;
}

/* dot pattern */
.ha-contact-page .ha-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(23,105,255,.22) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}

/* soft color glows */
.ha-contact-page .ha-contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 380px at 92% 8%, rgba(23,105,255,.20), transparent 70%),
        radial-gradient(480px 340px at 4% 100%, rgba(20,184,166,.20), transparent 70%);
    pointer-events: none;
}

.ha-contact-page .ha-contact-hero .ha-container { position: relative; z-index: 2; }

.ha-contact-page .ha-contact-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}

.ha-contact-page .ha-contact-hero-content { padding-top: 8px; }

/* tagline pill */
.ha-contact-page .ha-contact-hero .ha-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid #cfe0fb;
    border-radius: 30px;
    background: rgba(255,255,255,.75);
    color: var(--ha-blue);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
}

/* H1: har span apni line par */
.ha-contact-page .ha-contact-hero h1 {
    max-width: none;
    margin: 0 0 20px;
    color: var(--ha-navy);
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

/* "Hammad Abbas" red-blue gradient */
.ha-contact-page .ha-contact-hero h1 span {
    display: block;
    width: fit-content;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #e11d48 0%, #1769ff 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
    letter-spacing: inherit;
}

.ha-contact-page .ha-contact-hero-content > p {
    max-width: 560px;
    margin: 0;
    color: #4a5b73;
    font-size: 16px;
    line-height: 1.85;
}

.ha-contact-page .ha-contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}


/* ---------- PHOTO (image only, no outline) ---------- */

.ha-contact-page .ha-contact-photo-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 0 0 auto;
}

.ha-contact-page .ha-contact-photo-card {
    position: relative;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 24px;
    background: #eef5ff;
    box-shadow: 0 28px 60px rgba(23,105,255,.20);
}

/* poori image fit: koi crop nahi, apni natural ratio mein */
.ha-contact-page .ha-contact-photo-card img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   SECTION 2: CONTACT DETAILS
   ========================================================= */

.ha-contact-page .ha-contact-main { padding: 60px 0; background: #fff; }

.ha-contact-page .ha-contact-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.ha-contact-page .ha-contact-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.ha-contact-page .ha-contact-heading p {
    margin: 0;
    color: var(--ha-muted);
    font-size: 14px;
    line-height: 1.85;
}


/* ---------- CONTACT CARDS (3 + 2 centered) ---------- */

.ha-contact-page .ha-contact-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.ha-contact-page .ha-contact-card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    padding: 28px 26px;
    border: 1px solid #e2eaf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(28,63,107,.045);
    transition: .3s ease;
}

.ha-contact-page .ha-contact-card:nth-child(4) { grid-column: 2 / span 2; }
.ha-contact-page .ha-contact-card:nth-child(5) { grid-column: 4 / span 2; }

.ha-contact-page .ha-contact-card:hover {
    border-color: #cbdcf6;
    box-shadow: 0 20px 50px rgba(28,63,107,.10);
    transform: translateY(-5px);
}

.ha-contact-page .ha-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 13px;
    color: var(--ha-blue);
    background: var(--ha-blue-soft);
    transition: .3s ease;
}

.ha-contact-page .ha-contact-icon svg { display: block; width: 24px; height: 24px; }

.ha-contact-page .ha-contact-card:hover .ha-contact-icon {
    color: #fff;
    background: var(--ha-blue);
    transform: scale(1.06) rotate(-4deg);
}

.ha-contact-page .ha-contact-label {
    display: block;
    margin-bottom: 4px;
    color: var(--ha-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ha-contact-page .ha-contact-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.ha-contact-page .ha-contact-card p {
    margin: 0 0 20px;
    color: var(--ha-muted);
    font-size: 13px;
    line-height: 1.8;
}

.ha-contact-page .ha-contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--ha-blue);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ha-contact-page .ha-contact-card-link span { flex: 0 0 auto; transition: .2s ease; }

.ha-contact-page .ha-contact-card-link:hover { color: var(--ha-blue-dark); }
.ha-contact-page .ha-contact-card-link:hover span { transform: translate(3px, -3px); }


/* =========================================================
   ABOUT CONTENT (heading on top, copy in one block)
   ========================================================= */

.ha-contact-page .ha-contact-about-grid {
    display: block;
    margin-top: 70px;
    padding-top: 60px;
    border-top: 1px solid #edf1f6;
}

.ha-contact-page .ha-contact-about-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.ha-contact-page .ha-contact-about-heading h2 {
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.ha-contact-page .ha-contact-about-heading p {
    max-width: 560px;
    margin: 0 auto 26px;
    color: var(--ha-muted);
    font-size: 14px;
    line-height: 1.85;
}

.ha-contact-page .ha-contact-about-copy {
    display: block;
    max-width: 920px;
    margin: 0 auto;
    padding: 38px 44px;
    border: 1px solid #e2eaf5;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 10px 35px rgba(28,63,107,.045);
}

.ha-contact-page .ha-contact-about-copy p {
    margin: 0 0 18px;
    color: var(--ha-muted);
    font-size: 14.5px;
    line-height: 1.9;
}

.ha-contact-page .ha-contact-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e4ebf4;
}


/* =========================================================
   SECTION 3: FINAL CTA (same blue box + icons + socials as Home)
   ========================================================= */

.ha-contact-page .ha-contact-cta { padding: 20px 0 60px; background: #fff; }

.ha-contact-page .ha-contact-cta-box {
    padding: 56px 40px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(135deg, #0d52d9, #1769ff);
    box-shadow: 0 25px 60px rgba(23,105,255,.20);
    text-align: center;
}

.ha-contact-page .ha-contact-cta-box .ha-kicker { color: #bcd5ff; }

.ha-contact-page .ha-contact-cta-box h2 {
    max-width: 760px;
    margin: 0 auto 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 800;
}

.ha-contact-page .ha-contact-cta-box h2 span { color: #fff; }

.ha-contact-page .ha-contact-cta-box p {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255,255,255,.80);
    font-size: 14px;
    line-height: 1.85;
}

.ha-contact-page .ha-contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.ha-contact-page .ha-contact-cta-actions .ha-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

/* ---------- SOCIAL PILLS ---------- */

.ha-contact-page .ha-contact-cta-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.ha-contact-page .ha-contact-cta-socials a,
.ha-contact-page .ha-contact-cta-socials a:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 30px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    transition: .25s ease;
}

.ha-contact-page .ha-contact-cta-socials a:hover,
.ha-contact-page .ha-contact-cta-socials a:focus-visible {
    color: var(--ha-blue);
    background: #fff;
    transform: translateY(-2px);
}

.ha-contact-page .ha-contact-cta-socials svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}


/* =========================================================
   RESPONSIVE — TABLET (max 980px)
   ========================================================= */

@media (max-width: 980px) {

    /* Hero */
    .ha-contact-page .ha-contact-hero { padding: 44px 0 56px; }
    .ha-contact-page .ha-contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .ha-contact-page .ha-contact-hero-content { padding-top: 0; text-align: left; }
    .ha-contact-page .ha-contact-hero h1 { white-space: normal; font-size: clamp(38px, 6vw, 52px); }
    .ha-contact-page .ha-contact-hero-actions { justify-content: flex-start; }
    .ha-contact-page .ha-contact-photo-wrap { max-width: 560px; margin: 0 auto; }

    .ha-contact-page .ha-contact-card-grid { grid-template-columns: repeat(2, 1fr); }

    .ha-contact-page .ha-contact-card,
    .ha-contact-page .ha-contact-card:nth-child(4),
    .ha-contact-page .ha-contact-card:nth-child(5) { grid-column: auto; }

    .ha-contact-page .ha-contact-card:nth-child(5) { grid-column: 1 / -1; }

    .ha-contact-page .ha-contact-about-grid { margin-top: 56px; padding-top: 48px; }

    .ha-contact-page .ha-contact-about-copy { padding: 32px 32px; }
}


/* =========================================================
   RESPONSIVE — MOBILE (max 640px)
   ========================================================= */

@media (max-width: 640px) {

    .ha-contact-page .ha-container { width: min(100% - 28px, 1180px); }

    /* Hero */
    .ha-contact-page .ha-contact-hero { padding: 38px 0 46px; }
    .ha-contact-page .ha-contact-hero h1 { font-size: 36px; }
    .ha-contact-page .ha-contact-hero-content > p { font-size: 15px; }

    .ha-contact-page .ha-contact-hero-actions { flex-direction: column; }
    .ha-contact-page .ha-contact-hero-actions .ha-btn { width: 100%; }

    .ha-contact-page .ha-contact-photo-wrap { max-width: 100%; }
    .ha-contact-page .ha-contact-photo-card { border-radius: 20px; }

    .ha-contact-page .ha-contact-main { padding: 44px 0; }

    .ha-contact-page .ha-contact-heading { margin-bottom: 28px; }
    .ha-contact-page .ha-contact-heading h2,
    .ha-contact-page .ha-contact-about-heading h2 { font-size: 34px; }

    .ha-contact-page .ha-contact-card-grid { grid-template-columns: 1fr; gap: 16px; }
    .ha-contact-page .ha-contact-card:nth-child(5) { grid-column: auto; }
    .ha-contact-page .ha-contact-card { padding: 24px 20px; }

    .ha-contact-page .ha-contact-about-heading .ha-btn { width: 100%; }
    .ha-contact-page .ha-contact-about-copy { padding: 24px 20px; border-radius: 14px; }
    .ha-contact-page .ha-contact-about-copy p { font-size: 14px; }

    .ha-contact-page .ha-contact-inline-actions { flex-direction: column; align-items: stretch; gap: 16px; }
    .ha-contact-page .ha-contact-inline-actions .ha-btn { width: 100%; }
    .ha-contact-page .ha-contact-inline-actions .ha-text-link { justify-content: center; }

    /* Final CTA */
    .ha-contact-page .ha-contact-cta { padding: 10px 0 44px; }
    .ha-contact-page .ha-contact-cta-box { padding: 38px 20px; }
    .ha-contact-page .ha-contact-cta-box h2 { font-size: 33px; }

    .ha-contact-page .ha-contact-cta-actions { flex-direction: column; }
    .ha-contact-page .ha-contact-cta-actions .ha-btn { width: 100%; }
    .ha-contact-page .ha-contact-cta-socials { gap: 10px; }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .ha-contact-page .ha-contact-card,
    .ha-contact-page .ha-contact-icon,
    .ha-contact-page .ha-contact-card-link span { transition: none; }
}


/* =========================================================
   CONTACT PAGE — ANIMATIONS (hero load + scroll reveal)
   Hamesha CSS ke bilkul end mein rakhein
   ========================================================= */

/* ---------- HERO: page load animation ---------- */

@media (prefers-reduced-motion: no-preference) {

    @keyframes haCtUp {
        from { opacity: 0; transform: translateY(26px); }
        to   { opacity: 1; transform: none; }
    }

    @keyframes haCtZoomIn {
        from { opacity: 0; transform: scale(.94); }
        to   { opacity: 1; transform: none; }
    }

    .ha-contact-page .ha-contact-hero-content > * {
        opacity: 0;
        animation: haCtUp .8s cubic-bezier(.22,1,.36,1) forwards;
    }

    .ha-contact-page .ha-contact-hero-content > *:nth-child(1) { animation-delay: .05s; }
    .ha-contact-page .ha-contact-hero-content > *:nth-child(2) { animation-delay: .15s; }
    .ha-contact-page .ha-contact-hero-content > *:nth-child(3) { animation-delay: .25s; }
    .ha-contact-page .ha-contact-hero-content > *:nth-child(4) { animation-delay: .35s; }

    .ha-contact-page .ha-contact-photo-card {
        opacity: 0;
        animation: haCtZoomIn 1s cubic-bezier(.22,1,.36,1) .25s forwards;
    }
}


/* ---------- SECTIONS: scroll karte hi open hon ---------- */

/* .ha-js class sirf tab lagti hai jab JS chal jaye, warna sab kuch normal dikhta hai */

.ha-js .ha-contact-page .ha-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity .75s cubic-bezier(.22,1,.36,1),
        transform .75s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--ha-delay, 0ms);
    will-change: opacity, transform;
}

.ha-js .ha-contact-page .ha-reveal.ha-from-left  { transform: translateX(-36px); }
.ha-js .ha-contact-page .ha-reveal.ha-from-right { transform: translateX(36px); }
.ha-js .ha-contact-page .ha-reveal.ha-zoom       { transform: scale(.95); }

.ha-js .ha-contact-page .ha-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* mobile par thora chhota movement */
@media (max-width: 640px) {
    .ha-js .ha-contact-page .ha-reveal,
    .ha-js .ha-contact-page .ha-reveal.ha-from-left,
    .ha-js .ha-contact-page .ha-reveal.ha-from-right,
    .ha-js .ha-contact-page .ha-reveal.ha-zoom { transform: translateY(22px); }

    .ha-js .ha-contact-page .ha-reveal.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ha-js .ha-contact-page .ha-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}/* End custom CSS */