/* Shared styles for content pages (Intro, News, Contact, Policies) */

.gw-page {
    padding-bottom: 72px;
    color: #555;
}

/* Page header */
.gw-page-hero {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
    border-radius: 8px;
    padding: 48px 32px;
    margin-bottom: 48px;
    text-align: center;
}
.gw-page-hero .gw-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #62ab00;
    margin-bottom: 10px;
}
.gw-page-hero h1 {
    font-size: 34px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 12px;
}
.gw-page-hero p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Section titles */
.gw-title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 8px;
}
.gw-title-bar {
    width: 56px;
    height: 3px;
    background: #62ab00;
    border-radius: 2px;
    margin-bottom: 24px;
}

/* Generic card */
.gw-card {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 8px;
    padding: 32px;
}

/* Urdu text: .urdufont is white by default, so give it a readable colour here */
.gw-page .urdufont {
    color: #333;
}

/* ---------- Intro (Urdu article) ---------- */
.gw-page-hero .gw-urdu-title {
    font-family: 'HussainiNastaleeqRegular', 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 38px;
    line-height: 1.9;
    margin: 0;
}
.gw-article {
    max-width: 920px;
    margin: 0 auto;
    font-family: 'HussainiNastaleeqRegular', 'Open Sans', sans-serif;
    font-size: 22px;
    line-height: 2.2;
    color: #333;
    text-align: right;
}
.gw-article p {
    margin-bottom: 20px;
    color: #333;
}
.gw-article h1 {
    font-family: inherit;
    font-size: 36px;
    line-height: 1.8;
}
.gw-article h3 {
    font-family: inherit;
    font-size: 28px;
    line-height: 1.8;
    color: #62ab00;
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6eadf;
}
.gw-article blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    background: #f9fbf6;
    border-right: 4px solid #62ab00;
    border-radius: 6px 0 0 6px;
    color: #222;
}
.gw-article blockquote p {
    margin: 0;
}
.gw-article ol {
    padding-right: 32px;
    margin-bottom: 20px;
    list-style-type: arabic-indic;
}
.gw-article .gw-author {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #eceff3;
    font-weight: 700;
    color: #1b1b1b;
}
.gw-article .gw-author p {
    margin: 0;
}

/* ---------- News list ---------- */
.gw-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gw-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.gw-news-card .gw-news-img {
    display: block;
    height: 240px;
    overflow: hidden;
    background: #f3f5f7;
}
.gw-news-card .gw-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.gw-news-card:hover .gw-news-img img {
    transform: scale(1.04);
}
.gw-news-card .gw-news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
}
.gw-news-card .gw-news-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}
.gw-news-card .gw-news-date i {
    color: #62ab00;
    margin-right: 6px;
}
.gw-news-card h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px;
}
.gw-news-card h4 a {
    color: #1b1b1b;
}
.gw-news-card h4 a:hover {
    color: #62ab00;
}
.gw-news-card .gw-news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.9;
    margin-bottom: 16px;
}
.gw-news-card .gw-read-more {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #62ab00;
}
.gw-empty {
    text-align: center;
    padding: 56px 20px;
    border: 1px dashed #dfe5ec;
    border-radius: 8px;
    color: #888;
}
.gw-empty i {
    font-size: 32px;
    color: #c5ccd4;
    margin-bottom: 12px;
}

/* ---------- Contact ---------- */
.gw-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.gw-contact-item .gw-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(98,171,0,.1);
    color: #62ab00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.gw-contact-item h6 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}
.gw-contact-item p,
.gw-contact-item a {
    margin: 0;
    color: #1b1b1b;
    font-size: 15px;
    line-height: 1.6;
}
.gw-contact-item a:hover {
    color: #62ab00;
}
.gw-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eceff3;
    margin-top: 8px;
}
.gw-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}
.gw-form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.gw-form .required {
    color: #e3342f;
}
.gw-form .form-control {
    height: 48px;
    border: 1px solid #dfe5ec;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gw-form textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}
.gw-form .form-control:focus {
    border-color: #62ab00;
    box-shadow: 0 0 0 3px rgba(98,171,0,.15);
}
.gw-form .gw-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #62ab00;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 12px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.gw-form .gw-submit:hover {
    background: #528f00;
}

/* ---------- Policies ---------- */
.gw-policy {
    max-width: 860px;
    margin: 0 auto;
}
.gw-policy .gw-policy-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
}
.gw-policy-item {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #f0f2f5;
}
.gw-policy-item:last-child {
    border-bottom: 0;
}
.gw-policy-item .gw-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(98,171,0,.1);
    color: #62ab00;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gw-policy-item h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 6px;
}
.gw-policy-item p {
    margin: 0;
    line-height: 1.8;
}
.gw-policy-contact {
    margin-top: 32px;
    padding: 24px 28px;
    background: #f9fbf6;
    border-left: 4px solid #62ab00;
    border-radius: 0 6px 6px 0;
}
.gw-policy-contact a {
    color: #62ab00;
    font-weight: 600;
}

/* ---------- Resources ---------- */
.gw-chip-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.gw-chip-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #dfe5ec;
    border-radius: 30px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
}
.gw-chip-nav a:hover {
    border-color: #62ab00;
    color: #62ab00;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.gw-chip-nav i {
    color: #62ab00;
}
.gw-res-section {
    margin-bottom: 40px;
    scroll-margin-top: 90px;
}
.gw-res-head {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eceff3;
}
.gw-res-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #62ab00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.gw-res-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 10px;
    color: #555;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gw-res-card:hover {
    transform: translateY(-4px);
    border-color: #62ab00;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    color: #555;
}
.gw-res-card > h5 {
    margin: 0;
    padding: 14px 20px;
    background: #f7f9fc;
    border-bottom: 1px solid #eceff3;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #1b1b1b;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}
.gw-res-card:hover > h5 {
    background: #62ab00;
    color: #fff;
}
.gw-res-card > h5.gw-res-urdu {
    font-family: 'HussainiNastaleeqRegular', 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 2;
}
.gw-res-content {
    flex: 1;
    display: flex;
    gap: 18px;
    padding: 20px;
}
.gw-res-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid #eceff3;
    background: #fff;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gw-res-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.gw-res-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.gw-res-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #666;
}
.gw-res-body .gw-res-urdu {
    font-family: 'HussainiNastaleeqRegular', 'Open Sans', sans-serif;
    font-weight: normal;
    line-height: 2;
    align-self: stretch;
}
.gw-res-body p.gw-res-urdu {
    font-size: 17px;
}
.gw-res-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #62ab00;
    background: rgba(98,171,0,.1);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 10px;
}
.gw-res-cta {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #62ab00;
}
.gw-res-cta i {
    font-size: 11px;
    margin-left: 4px;
}

@media (max-width: 575px) {
    .gw-res-card > h5 { padding: 12px 16px; }
    .gw-res-content { padding: 16px; gap: 14px; }
    .gw-res-logo { flex-basis: 60px; width: 60px; height: 60px; }
    .gw-page-hero { padding: 36px 20px; }
    .gw-page-hero h1 { font-size: 26px; }
    .gw-card { padding: 22px 18px; }
    .gw-article { font-size: 19px; }
    .gw-article h3 { font-size: 24px; }
    .gw-policy-item { flex-direction: column; gap: 10px; }
}
