/* Headers CSS - Pakistani Flag Theme */
/* GameDevelopers.Store Header Styling */

/* Main Typography for all headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #006A4E !important; /* Pakistani Flag Green */
    margin-bottom: 1rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Specific header sizes with Pakistani theme */
h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #006A4E !important;
    text-shadow: 0 2px 4px rgba(0, 106, 78, 0.1);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #006A4E !important;
    text-shadow: 0 1px 3px rgba(0, 106, 78, 0.1);
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #006A4E !important;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #006A4E !important;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #006A4E !important;
}

h6 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #006A4E !important;
}

/* Section headers with enhanced Pakistani styling */
.section-header h1,
.section-header h2,
.section-header h3 {
    color: #006A4E !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

/* Add a subtle underline with Pakistani colors */
.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #006A4E 0%, #00A86B 100%);
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Project card headers */
.project-info h3,
.service-overview-info h3,
.service-card h3 {
    color: #006A4E !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.project-info h3:hover,
.service-overview-info h3:hover,
.service-card h3:hover {
    color: #00A86B !important; /* Lighter Pakistani green on hover */
}

/* Plan headers */
.plan-header h3 {
    color: #006A4E !important;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* FAQ headers */
.faq-question span {
    color: #006A4E !important;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer headers */
.footer-section h4 {
    color: #006A4E !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact section headers */
.contact-item h4 {
    color: #006A4E !important;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Trust section headers */
.trust-item h4,
.security-item h4 {
    color: #006A4E !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Hero section hidden header */
.hero h1 {
    color: #006A4E !important;
    font-weight: 700;
}

/* About section mission header */
.about-text h3 {
    color: #006A4E !important;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Responsive header adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Pakistani flag inspired gradient headers for special sections */
.hero-desc-content h2 {
    background: linear-gradient(135deg, #006A4E 0%, #00A86B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Print styles for headers */
@media print {
    h1, h2, h3, h4, h5, h6 {
        color: #006A4E !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
