/* =========================================
   ESSI — KP Employees Social Security Institution
   Custom Stylesheet
   ========================================= */

/* ---- CSS Variables ---- */
:root {
    --primary:       #006633;
    --primary-dark:  #004d26;
    --primary-light: #008040;
    --gold:          #ffc107;
    --gold-dark:     #e6a800;
    --white:         #ffffff;
    --light-bg:      #f4f7f4;
    --dark-footer:   #111e11;
    --text-dark:     #2a2a2a;
    --text-muted:    #6c757d;
}

/* ---- Base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background-color: var(--primary-dark);
    color: #c8e6c9;
    padding: 7px 0;
    font-size: 12.5px;
    letter-spacing: 0.35px;
    border-bottom: 1px solid #003319;
}
.top-bar a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
}
.top-bar a:hover { text-decoration: underline; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--primary);
    padding: 14px 0;
    box-shadow: 0 3px 14px rgba(0,0,0,0.28);
    border-bottom: 4px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-logo {
    height: 68px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.22));
    flex-shrink: 0;
}

.institution-info { line-height: 1.3; }

.institution-name {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 3px;
    letter-spacing: 0.2px;
}

.institution-subtitle {
    color: #c8e6c9;
    font-size: 12px;
    margin: 0 0 4px;
    font-weight: 400;
}

.institution-urdu {
    color: var(--gold);
    font-size: 13.5px;
    margin: 0;
    direction: rtl;
    font-family: 'Noto Nastaliq Urdu', 'Segoe UI', serif;
}

.btn-portal {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 5px;
    border: 1.5px solid rgba(255,255,255,0.35);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.btn-portal:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-register {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 5px;
    border: 2px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-register:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero-carousel { position: relative; overflow: hidden; }

.hero-slide {
    height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/* Gradient slides (replace background with real images when available) */
.slide-1 { background: linear-gradient(145deg, #003319 0%, #006633 45%, #00884a 100%); }
.slide-2 { background: linear-gradient(145deg, #004d26 0%, #007a3d 50%, #009950 100%); }
.slide-3 { background: linear-gradient(145deg, #0d2137 0%, #1a4068 50%, #1e5a8a 100%); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.30) 55%,
        rgba(0,0,0,0.05) 100%);
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.hero-overlay .container { color: #fff; }

.hero-overlay h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    max-width: 620px;
}

.hero-overlay p {
    font-size: 17px;
    margin-bottom: 30px;
    max-width: 540px;
    opacity: 0.92;
    line-height: 1.65;
}

.btn-register-hero {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 32px;
    border-radius: 5px;
    border: 2px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    transition: all 0.25s ease;
}
.btn-register-hero:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.55);
    border: 2px solid rgba(255,255,255,0.85);
    margin: 0 4px;
    opacity: 1;
    transition: background 0.3s;
}
.carousel-indicators .active {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* =========================================
   SECTION COMMON
   ========================================= */
.section-title {
    font-size: 29px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-bottom: 12px;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 14px auto 0;
    border-radius: 2px;
}

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

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 22px rgba(0,102,51,0.09);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0,102,51,0.07);
}
.service-card:hover {
    box-shadow: 0 12px 40px rgba(0,102,51,0.16);
    transform: translateY(-5px);
}

.service-card-header {
    background: var(--primary);
    color: var(--white);
    padding: 30px 20px 24px;
    text-align: center;
}

.service-icon {
    font-size: 44px;
    margin-bottom: 14px;
    display: block;
    color: var(--gold);
}

.service-card-header h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
}

.service-card-body { padding: 26px; }

.service-card-body > p {
    color: #555;
    font-size: 13.5px;
    margin-bottom: 18px;
    line-height: 1.65;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-list li {
    padding: 7px 0;
    color: #444;
    font-size: 13.5px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 9px;
}
.service-list li:last-child { border-bottom: none; }
.service-list li .fa-check-circle {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 13px;
}

/* =========================================
   DG MESSAGE SECTION
   ========================================= */
.dg-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.dg-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dg-photo {
    width: 165px;
    height: 195px;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid var(--gold);
    box-shadow: 0 6px 22px rgba(0,0,0,0.32);
    margin-bottom: 14px;
}

.dg-name {
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 2px;
}
.dg-org {
    color: #c8e6c9;
    font-size: 12.5px;
    margin: 0;
}

.dg-message h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.dg-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 22px;
}

.dg-message blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 22px;
    font-size: 15.5px;
    font-style: italic;
    line-height: 1.8;
    background: rgba(255,255,255,0.06);
    border-radius: 0 7px 7px 0;
    margin-bottom: 18px;
    color: #e8f5e9;
}

.dg-message-extra {
    color: #c8e6c9;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   ESSI TOGGLE BUTTON (Labour page header)
   ========================================= */
.btn-essi-toggle {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid var(--gold);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.btn-essi-toggle:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.btn-essi-toggle.essi-btn-active {
    background: var(--white);
    color: var(--primary-dark);
}
.essi-chevron {
    transition: transform 0.25s ease;
    font-size: 11px;
}
.btn-portal-essi-link {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}
.btn-labour-back {
    border-color: rgba(255,255,255,0.5) !important;
    opacity: 0.85;
}
.btn-labour-back:hover { opacity: 1; }

/* =========================================
   LABOUR HERO SLIDES
   ========================================= */
.labour-slide-1 {
    background: linear-gradient(145deg, #1a0800 0%, #3d1a00 40%, #6b3300 70%, #8a4a00 100%);
    position: relative;
    overflow: hidden;
}
.labour-slide-2 {
    background: linear-gradient(145deg, #002200 0%, #004422 40%, #006633 70%, #007a3d 100%);
    position: relative;
    overflow: hidden;
}
.labour-slide-3 {
    background: linear-gradient(145deg, #080d1a 0%, #0d1f3c 40%, #1a3a6b 70%, #1e4d8a 100%);
    position: relative;
    overflow: hidden;
}
.labour-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,193,7,0.18);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.labour-slide-icon {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 160px;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
}

/* =========================================
   LABOUR HIGHLIGHTS STRIP
   ========================================= */
.labour-highlights-strip {
    background: var(--primary-dark);
    border-bottom: 3px solid var(--gold);
    padding: 0;
}
.labour-highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    color: #c8e6c9;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.labour-highlight-item:last-child { border-right: none; }
.labour-highlight-item:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.labour-highlight-item i {
    font-size: 18px;
    color: var(--gold);
}

/* =========================================
   ESSI PROMO BANNER
   ========================================= */
.essi-promo-banner {
    background: var(--primary-dark);
    padding: 44px 0;
    border-top: 4px solid var(--gold);
}
.essi-promo-banner h3 {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.essi-promo-banner p {
    color: #c8e6c9;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}
.btn-essi-promo {
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-essi-promo:hover {
    background: var(--gold-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

/* =========================================
   MESSAGE TOGGLE (LABOUR / ESSI)
   ========================================= */
.msg-toggle-wrap {
    text-align: center;
    margin-bottom: 44px;
}
.msg-toggle-btn-group {
    display: inline-flex;
    border: 2px solid var(--gold);
    border-radius: 50px;
    overflow: hidden;
}
.msg-toggle-btn {
    padding: 10px 40px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: transparent;
    color: var(--gold);
    border: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}
.msg-toggle-btn.active {
    background: var(--gold);
    color: var(--primary-dark);
}
.msg-toggle-btn:hover:not(.active) {
    background: rgba(255, 193, 7, 0.15);
}
.msg-tab-pane { display: none; }
.msg-tab-pane.active { display: block; }

/* Labour tab — person cards */
.labour-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.labour-person-card {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.labour-person-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.labour-person-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.labour-person-photo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.labour-person-card h3 {
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.45;
}
.labour-person-card p {
    color: #e8f5e9;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
}
.labour-welcome {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 28px 32px;
}
.labour-welcome h2 {
    color: var(--gold);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}
.labour-welcome p {
    color: #e8f5e9;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 18px;
}
.btn-view-details {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-view-details:hover {
    background: #002b15;
    color: var(--white);
}

/* =========================================
   STATISTICS SECTION
   ========================================= */
.stats-section {
    background: var(--primary-dark);
    padding: 55px 0;
}

.stat-item { padding: 20px; }

.stat-icon {
    font-size: 38px;
    color: var(--gold);
    margin-bottom: 14px;
}

.stat-number {
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
}

.stat-label {
    color: #c8e6c9;
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12.5px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    background: var(--light-bg);
    padding: 75px 0;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 36px 22px;
    text-align: center;
    box-shadow: 0 3px 18px rgba(0,0,0,0.07);
    height: 100%;
    border-top: 4px solid var(--primary);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.contact-card h5 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-card p {
    color: #555;
    font-size: 13.5px;
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--dark-footer);
    color: #9aad9a;
    padding: 50px 0 22px;
    font-size: 13.5px;
}

.footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1) opacity(0.85);
}

.footer-brand h5 {
    color: var(--white);
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.65;
}

.footer-heading {
    color: var(--gold);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { padding: 5px 0; }
.footer-links a {
    color: #9aad9a;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a i { font-size: 11px; }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    padding: 5px 0;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.footer-contact li i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
    width: 14px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 32px 0 20px;
}

.footer-copyright {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* =========================================
   SURVEY PAGE
   ========================================= */
.survey-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 55px 0;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}
.survey-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}
.survey-hero p {
    font-size: 16px;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto;
}

.survey-section { background: var(--light-bg); padding: 60px 0; }

.survey-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,102,51,0.10);
    overflow: hidden;
    border: 1px solid rgba(0,102,51,0.08);
}

.survey-form-section-title {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
.survey-form-section-title i { color: var(--gold); font-size: 16px; }

.survey-form-body { padding: 28px 28px 10px; }

.form-label {
    font-weight: 600;
    color: #333;
    font-size: 13.5px;
    margin-bottom: 5px;
}

.form-control,
.form-select {
    border: 1.5px solid #d0ddd0;
    border-radius: 6px;
    font-size: 14px;
    padding: 9px 14px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,51,0.12);
    outline: none;
}
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

/* Star rating */
.star-rating {
    display: flex;
    gap: 6px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-rating input[type="radio"] { display: none; }
.star-rating label {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.15s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--gold);
}

.btn-submit-survey {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 40px;
    border-radius: 6px;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-submit-survey:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,77,38,0.3);
}

.required-note {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.required-note span { color: #dc3545; font-weight: 700; }

/* =========================================
   SUCCESS PAGE
   ========================================= */
.success-section {
    background: var(--light-bg);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.success-card {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0,102,51,0.10);
    border-top: 6px solid var(--primary);
}
.success-icon {
    font-size: 70px;
    color: var(--primary);
    margin-bottom: 22px;
}
.success-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}
.success-card p {
    color: #555;
    font-size: 15.5px;
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.btn-go-home {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.25s;
    border: 2px solid var(--primary);
}
.btn-go-home:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,77,38,0.28);
}

/* =========================================
   SCROLL-TO-TOP BUTTON
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.22);
    z-index: 9999;
    transition: background 0.2s, transform 0.2s;
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .hero-overlay { padding: 0 40px; }
    .hero-overlay h2 { font-size: 30px; }
}

@media (max-width: 767px) {
    .hero-slide { height: 380px; }
    .hero-overlay { padding: 0 20px; }
    .hero-overlay h2 { font-size: 23px; }
    .hero-overlay p { font-size: 13.5px; }

    .institution-name { font-size: 14px; }
    .institution-subtitle { display: none; }
    .institution-urdu { font-size: 12px; }
    .site-logo { height: 48px; }

    .btn-register {
        font-size: 11.5px;
        padding: 7px 12px;
    }

    .section-title { font-size: 22px; }

    .dg-photo-wrapper { margin-bottom: 28px; }
    .labour-cards-row { grid-template-columns: 1fr; }
    .msg-toggle-btn { padding: 9px 26px; font-size: 14px; }

    .stat-number { font-size: 26px; }

    .survey-hero h1 { font-size: 24px; }
    .survey-form-body { padding: 20px 16px 8px; }

    .labour-slide-icon { display: none; }
    .labour-hero-badge { font-size: 11px; }
    .essi-promo-banner { text-align: center; }
    .btn-essi-promo { margin-top: 14px; }
    .labour-highlight-item { font-size: 12px; gap: 6px; padding: 12px 6px; }
    .labour-highlight-item i { font-size: 15px; }
    .btn-essi-toggle { font-size: 12px; padding: 8px 14px; }
}
