
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;500;600&display=swap');

/* =========================================
   PAKINFOPOINT — ADVANCED RECRUITMENT UI
   ========================================= */

:root {
    --green: #00d995;
    --green-dark: #08784e;
    --deep: #041710;
    --deep-2: #08281c;
    --text: #17382a;
    --muted: #718278;
    --border: #dcebe2;
    --white: #ffffff;
    --radius: 22px;
    --shadow: 0 15px 45px rgba(0, 60, 35, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    line-height: 1.8;
    background:
        radial-gradient(ellipse at 0% 0%, #dff7e9 0, transparent 35%),
        radial-gradient(ellipse at 100% 30%, #e3f3e9 0, transparent 32%),
        #f5f9f6;
    overflow-x: hidden;
}

/* =========================================
   HERO — PREMIUM DARK EMERALD
   ========================================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: 75px 24px 55px;
    color: var(--white);
    background:
        radial-gradient(ellipse at 15% 0%, rgba(0, 217, 149, 0.16), transparent 40%),
        radial-gradient(ellipse at 90% 90%, rgba(0, 150, 90, 0.2), transparent 40%),
        linear-gradient(135deg, var(--deep), #075137 65%, #063523);
    border-bottom: 4px solid var(--green);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(0, 255, 170, 0.15);
    border-radius: 50%;
}

.hero::before {
    width: 350px;
    height: 350px;
    top: -220px;
    left: -90px;
    box-shadow:
        0 0 0 35px rgba(0, 255, 170, 0.035),
        0 0 0 75px rgba(0, 255, 170, 0.025);
}

.hero::after {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -300px;
    box-shadow:
        0 0 0 40px rgba(0, 255, 170, 0.03),
        0 0 0 80px rgba(0, 255, 170, 0.02);
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
    background: linear-gradient(100deg, #ffffff, #b6ffdf, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: fade-up 0.8s ease both;
}

.hero p {
    color: #c7e7d6;
    margin-top: 13px;
    font-size: 15px;
    letter-spacing: 0.4px;
}

.hero p[lang="ur"] {
    font-family: 'Noto Nastaliq Urdu', serif;
    color: #ffe49a;
    font-size: clamp(19px, 2.6vw, 27px);
    line-height: 2.5;
    margin: 26px auto;
}

/* Home button */

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 23px;
    border: 1px solid rgba(143, 255, 203, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    transition: 0.3s ease;
}

.home-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: #042218;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 149, 0.2);
}

/* =========================================
   MAIN CONTENT
   ========================================= */

main {
    width: min(1280px, 100%);
    margin: auto;
    padding: 75px 30px;
}

.intro {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
    animation: fade-up 0.8s ease both;
}

.intro h2 {
    color: #075c3d;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.intro p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

/* =========================================
   RECRUITMENT CARD GRID
   ========================================= */

.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* =========================================
   ADVANCED GLASS CARDS
   ========================================= */

.job-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    min-height: 270px;
    border: 1px solid rgba(202, 229, 212, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    animation: fade-up 0.7s ease both;
}

/* Soft background glow */

.job-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    top: -120px;
    right: -90px;
    border-radius: 50%;
    background: rgba(0, 217, 149, 0.12);
    filter: blur(20px);
    transition: transform 0.4s ease;
}

/* Animated accent */

.job-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #08784e, #00e6a0, #b0ffdc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.job-card:hover {
    transform: translateY(-9px);
    border-color: #8bdcb4;
    box-shadow:
        0 25px 55px rgba(0, 90, 52, 0.13),
        0 0 0 1px rgba(0, 217, 149, 0.05);
}

.job-card:hover::before {
    transform: scale(1.6);
}

.job-card:hover::after {
    transform: scaleX(1);
}

/* Card title */

.job-card h3 {
    color: #075c3d;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 13px;
}

/* Card description */

.job-card p {
    flex-grow: 1;
    color: #6b7d72;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 26px;
}

/* =========================================
   MODERN CALL-TO-ACTION BUTTONS
   ========================================= */

.job-card a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    padding: 12px 21px;
    border: 1px solid #078653;
    border-radius: 11px;
    background: linear-gradient(135deg, #078653, #00a968);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 126, 79, 0.12);
    transition: 0.3s ease;
}

.job-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 80%
    );
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.job-card a:hover::after {
    transform: translateX(120%);
}

.job-card a:hover {
    background: linear-gradient(135deg, #05613e, #078653);
    box-shadow: 0 9px 25px rgba(0, 126, 79, 0.23);
    transform: translateY(-2px);
}

/* Keyboard accessibility */

a:focus-visible {
    outline: 3px solid #00b879;
    outline-offset: 4px;
}

/* =========================================
   IMPORTANT NOTICE PANEL
   ========================================= */

.notice {
    position: relative;
    overflow: hidden;
    margin-top: 55px;
    padding: 35px 38px;
    border: 1px solid #cce7d5;
    border-right: 5px solid #078653;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at top left, #e1f8e9, transparent 60%),
        #edf8f0;
    box-shadow: 0 12px 35px rgba(0, 70, 40, 0.045);
}

.notice h3 {
    color: #075c3d;
    font-size: 22px;
    margin-bottom: 12px;
}

.notice p {
    color: #536b5c;
    font-size: 14px;
    line-height: 2.1;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px;
    color: #c6e1d1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 217, 149, 0.12), transparent 55%),
        #041710;
    border-top: 3px solid #087f50;
}

footer p {
    font-size: 13px;
    margin: 8px 0;
}

footer a {
    display: inline-block;
    margin-top: 10px;
    color: #62e8b0;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

footer a:hover {
    color: white;
}

/* =========================================
   ANIMATION
   ========================================= */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   TABLET RESPONSIVENESS
   ========================================= */

@media (max-width: 1000px) {
    main {
        padding: 55px 22px;
    }

    .recruitment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .job-card {
        padding: 27px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 600px) {
    .hero {
        padding: 48px 17px 36px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero p[lang="ur"] {
        line-height: 2.3;
    }

    main {
        padding: 42px 16px;
    }

    .intro {
        margin-bottom: 30px;
    }

    .intro p {
        font-size: 14px;
    }

    .recruitment-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .job-card {
        min-height: auto;
        padding: 26px;
        border-radius: 18px;
    }

    .job-card h3 {
        font-size: 20px;
    }

    .job-card p {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .notice {
        margin-top: 35px;
        padding: 24px;
    }

    footer {
        padding: 32px 17px;
    }
}

/* =========================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* ===== MODERN CONTACT CARD ===== */

.contact-card {
    position: relative;
    isolation: isolate;
    max-width: 680px;
    margin: 65px auto;
    padding: 55px 30px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(0, 217, 149, 0.13),
            transparent 45%
        ),
        linear-gradient(145deg, #ffffff, #f0faf5);

    border: 1px solid rgba(0, 160, 100, 0.2);
    border-radius: 28px;
    box-shadow:
        0 25px 70px rgba(0, 70, 40, 0.09),
        inset 0 1px 0 #ffffff;

    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

/* Decorative background glow */
.contact-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    top: -130px;
    left: -100px;

    background: #00d995;
    filter: blur(85px);
    opacity: 0.2;
    border-radius: 50%;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 32px 80px rgba(0, 100, 60, 0.15);
}

/* Email icon */
.contact-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;

    color: #ffffff;
    font-size: 34px;
    background: linear-gradient(135deg, #00d995, #007a50);
    border-radius: 24px;

    box-shadow:
        0 12px 28px rgba(0, 150, 90, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transition: transform 0.35s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(-6deg) scale(1.06);
}

/* Heading */
.contact-card h2 {
    margin: 0 0 14px;
    color: #083d2b;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
}

/* Description */
.contact-card p {
    max-width: 440px;
    margin: 0 auto;
    color: #62776c;
    font-size: 16px;
    line-height: 1.8;
}

/* Email address */
.email-link {
    display: inline-block;
    max-width: 100%;
    margin: 27px 0;
    padding: 15px 22px;

    color: #08784e;
    background: rgba(0, 180, 110, 0.07);
    border: 1px solid rgba(0, 150, 90, 0.15);
    border-radius: 14px;

    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;

    transition: background 0.25s ease,
                border-color 0.25s ease;
}

.email-link:hover {
    background: rgba(0, 180, 110, 0.13);
    border-color: #00b879;
}

/* Premium email button */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 30px;

    color: #ffffff;
    background: linear-gradient(110deg, #00b879, #006c48);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;

    font-size: 15px;
    font-weight: 750;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0, 120, 78, 0.22);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(0, 120, 78, 0.3);
}

.contact-btn:active {
    transform: scale(0.97);
}

/* Keyboard accessibility */
.contact-card a:focus-visible {
    outline: 3px solid #08784e;
    outline-offset: 5px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .contact-card {
        margin: 35px 12px;
        padding: 38px 18px;
        border-radius: 22px;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
        border-radius: 20px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .email-link {
        padding: 13px 14px;
    }

    .contact-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-icon,
    .contact-btn {
        transition: none;
    }
}