/* Font Definitions for Jawad Khan Foundation Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

/* Font Face Definitions */
:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-arabic: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Font Settings */
body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: #2c3e50;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

/* Arabic Text */
.arabic-text {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
}

.urdu-text {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* Special Text Classes */
.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.memorial-text {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.highlight-text {
    font-weight: 600;
    color: #159895;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    body {
        font-size: 0.95rem;
    }
}

/* Font Weights Utility Classes */
.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

/* Line Height */
.line-height-normal {
    line-height: 1.6;
}

.line-height-relaxed {
    line-height: 1.8;
}

.line-height-tight {
    line-height: 1.3;
}

/* Text Colors */
.text-primary {
    color: #1a5f7a;
}

.text-secondary {
    color: #159895;
}

.text-accent {
    color: #FF9F1C;
}

.text-light {
    color: #f8f9fa;
}

.text-dark {
    color: #2c3e50;
}

.text-gray {
    color: #6c757d;
}

/* Text Transforms */
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

/* Text Decoration */
.underline {
    text-decoration: underline;
}

.line-through {
    text-decoration: line-through;
}

.no-underline {
    text-decoration: none;
}

/* Letter Spacing */
.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-normal {
    letter-spacing: 0;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}