:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #7a7a7a;
    --accent-color: #0c2d48;
    /* Deep Midnight Blue */
    --accent-gold: #bfa15f;
    /* Muted Gold */
    --accent-gold-light: #e6dcc5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-light: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-center-max {
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* Header */
.header {
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-logo {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-small {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background-color: #f9f9f9;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensure nothing comes out */
    border-radius: 8px;
    /* Clean professional radius */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Nice clean border */
    /* Blob Background */
    /* animation: blobFloat 10s infinite alternate ease-in-out; */
}

/* Blob disabled reference */
.blob-bg {
    display: none;
    /* Hide fully to prevent overflow issues */
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    /* Box shadow moved to wrapper could clip, but user wants clean border. */
    /* We keep shadow on image but ensure wrapper clips it? No, shadow on image inside overflow hidden gets clipped. */
    /* Let's put shadow on wrapper but it must be outside border radius. */
    /* Actually, to keep it clean and professional, a soft drop shadow on frame is best. */
}

/* Wrapper shadow separate from image to avoid clipping if we want clip */
.hero-image-wrapper {
    box-shadow: 20px 20px 0px rgba(191, 161, 95, 0.1);
    background-color: var(--accent-gold-light);
    /* Nice background color added */
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

/* RESTORED CONTENT STARTS HERE */

.headline {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1.5px;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

/* Urdu Quote */
.urdu-quote-container {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-left: 3px solid var(--accent-gold);
    padding-left: var(--spacing-sm);
}

.urdu-text {
    font-family: var(--font-urdu);
    font-size: 1.8rem;
    color: var(--accent-color);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    display: block;
    text-align: left;
    /* Force left align visual */
}

.urdu-translation {
    font-style: italic;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Timeline Interactive */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-section {
    background-color: #fafafa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gold);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-gold);
    z-index: 2;
    transition: all 0.3s;
}

.timeline-content {
    background: #fff;
    padding: var(--spacing-md);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    cursor: default;
}

/* Interactivity */
.hover-effect:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hover-effect:hover+.timeline-marker,
.timeline-item:hover .timeline-marker {
    background-color: var(--accent-gold);
    transform: scale(1.2);
}

.timeline-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.timeline-org {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent-gold);
}

.read-more-link:hover {
    color: var(--accent-gold);
}

/* Initiative & Focus Detail Styles */
.initiative-block {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--spacing-lg);
}

.initiative-block:last-child {
    border: none;
}

.initiative-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: 1rem;
}

.initiative-header h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

.role-badge {
    background: var(--accent-gold);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.detail-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Focus Grid */
.icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    display: block;
}

.focus-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.focus-detail-item {
    padding: 3rem;
    background: #fff;
    border: 1px solid var(--border-light);
    transition: transform 0.3s;
}

.focus-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Footer Enhanced */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 140px;
    margin-top: 0rem;
    margin-bottom: 1rem;
    opacity: 0.92;
}
.footer-col h4 {
    color: #fff;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #666;
}

/* Contact Form Enhanced */
.contact-section {
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    /* Expensive feel */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #eee;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(191, 161, 95, 0.05);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

/* News Styles Restored */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    background: #fff;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Expensive shadow */
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f0f0f0;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.02);
}

.news-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-source {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    font-family: var(--font-heading);
}

.news-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    text-underline-offset: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
        /* Adjusted for mobile */
    }

    .hero-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Header Responsive */
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        justify-content: center;
        text-align: center;
    }

    /* Portrait Responsive */
    .hero-image {
        aspect-ratio: 3/4;
        /* Maintain portrait ratio */
        width: 80%;
        /* Don't take full width on mobile */
        margin: 0 auto;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: 1px;
    }

    .initiative-header {
        flex-direction: column;
    }

    .urdu-text {
        text-align: left;
    }
}


/* FOR COOKIE CONSENT */

#cookie-close {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);

    width: min(1100px, 92vw);
    /* key for responsiveness */

    background: #F8F5EF;
    border: 1px solid #D9C7A3;
    border-radius: 16px;

    padding: clamp(14px, 2vw, 22px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);

    flex-wrap: wrap;
    /* allows wrap on mid screens */

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    z-index: 9999;
}

/* left group */
.cookie-left {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 18px);
    flex: 1 1 500px;
    /* flexible width */
}

/* logo scales with screen */
.cookie-logo {
    width: clamp(34px, 3vw, 48px);
    height: auto;
}

/* text scales */
.cookie-banner p {
    margin: 0;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.4;
    color: #1a1a1a;
}

/* link */
.cookie-banner a {
    color: #0F2E4C;
    text-decoration: underline;
}

/* button */
.cookie-btn {
    background: #C9A24A;
    padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 20px);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* close behavior */
#cookie-close:checked+.cookie-banner {
    display: none;
}

.story-para {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
    font-weight: 400;
    text-align: center;
}




.story-text { 
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 70px;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.story-para {
    font-size: 1.08rem;
    line-height: 1.95;
    color: #444;
    letter-spacing: 0.2px;
}

.story-para::first-letter {
    font-size: 3.2rem;
    font-weight: 600;
    float: left;
    line-height: 1;
    margin-right: 10px;
    color: #c9a227;
}

.story-quote {
    margin: 40px 0 20px;
    font-size: 1.35rem;
    font-style: italic;
    color: #c9a227;
    text-align: center;
    font-weight: 500;
}

.signature-container {
    text-align: right;
    margin-top: 15px;
}

.signature-container img {
    height: 60px;
    opacity: 0.9;
}

html{
    scroll-behavior: smooth;
}
