/* ========================================
   PRECIOUS INTERNATIONAL - MAIN STYLES
   ======================================== */

:root {
    --primary-dark: #0a1929;
    --primary-navy: #132f4c;
    --primary-blue: #1e4b6e;
    --accent-teal: #00b4aa;
    --accent-gold: #ffb74d;
    --text-light: #f5f7fa;
    --text-gray: #64748b;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    color: var(--white);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1a5d8a, #0a2a4a);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 12px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.brand-highlight {
    color: var(--accent-teal);
}

.brand-tag {
    font-size: 0.7rem;
    display: block;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-teal);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ========================================
   CREDENTIALS BAR
   ======================================== */

.credentials-bar {
    background: var(--primary-navy);
    padding: 1rem 0;
    color: var(--white);
}

.credentials-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.credential-item i {
    color: var(--accent-teal);
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */

.about-preview {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-teal);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

/* ========================================
   CAPABILITIES
   ======================================== */

.capabilities {
    padding: 80px 0;
    background: var(--bg-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.capability-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal), #008080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.capability-icon i {
    font-size: 2rem;
    color: var(--white);
}

.capability-card h3 {
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--text-gray);
}

/* ========================================
   FEATURED PROJECT
   ======================================== */

.featured-project {
    padding: 80px 0;
    background: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-features {
    list-style: none;
    margin: 1.5rem 0;
}

.project-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-features i {
    color: var(--accent-teal);
    width: 24px;
}

.project-impact {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.impact-badge {
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-teal);
}

.project-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   PAGE HEADER (About/Contact)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

/* ========================================
   MISSION SECTION (About)
   ======================================== */

.mission-section {
    padding: 80px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-teal);
}

.stat-item .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    display: inline;
}

/* Fix for images in About page */
.mission-image img,
.about-image img,
.why-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-image img,
    .about-image img,
    .why-image img {
        max-width: 100%;
    }
}

/* ========================================
   LEADERSHIP (About)
   ======================================== */

.leadership {
    padding: 80px 0;
    background: var(--bg-light);
}

.leadership-grid {
    max-width: 600px;
    margin: 0 auto;
}

.leader-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.leader-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.leader-info {
    padding: 2rem;
    text-align: center;
}

.leader-title {
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.leader-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.leader-contact a {
    color: var(--primary-navy);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.leader-contact a:hover {
    color: var(--accent-teal);
}

/* ========================================
   CREDENTIALS DETAIL (About)
   ======================================== */

.credentials-detail {
    padding: 80px 0;
}

.credentials-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
}

.credential-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.credential-row:last-child {
    border-bottom: none;
}

.credential-label {
    font-weight: 600;
    color: var(--text-dark);
}

.credential-value {
    color: var(--accent-teal);
}

/* ========================================
   WHY PAKISTAN (About)
   ======================================== */

.why-pakistan {
    padding: 80px 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-content ul {
    list-style: none;
    margin-top: 1.5rem;
}

.why-content li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-content i {
    color: var(--accent-teal);
}

.why-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent-teal);
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-card p, .info-card a {
    color: var(--text-gray);
    text-decoration: none;
}

.info-card a:hover {
    color: var(--accent-teal);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 1rem;
    text-align: center;
}

.map-section {
    padding-bottom: 80px;
}

.map-placeholder {
    background: var(--bg-light);
    padding: 3rem;
    text-align: center;
    border-radius: 16px;
    color: var(--text-gray);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.map-note {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.footer-about p {
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-desc {
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-teal);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.75rem;
    color: #64748b;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-grid,
    .project-grid,
    .mission-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .credentials-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .credential-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}