/* Universal Typography Styles - Extracted from Figma Design */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #000000;
}

/* Header Styles - Using Agdasima Font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Agdasima', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #005b91;
}

/* Specific Header Sizes based on Figma extractions */
h1 {
    font-size: 400px;
    font-weight: 400;
    line-height: 380px;
    letter-spacing: 0;
    text-align: center;
    color: #ffda3c;
    /* For large display headers like "10 MILLION+" */
}

h2 {
    font-size: 55px;
    font-weight: 700;
    line-height: 65.78px;
    letter-spacing: 0;
    text-align: left;
    color: #005b91;
    /* For section headers like "Reimagining Education" */
}

h3 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

h4 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

h5 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

h6 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

/* Paragraph Styles - Using Open Sans Font */
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.4px;
    letter-spacing: 0;
    text-align: left;
    color: #000000;
    margin-bottom: 1rem;
}

/* Paragraph Variations */
p.large {
    font-size: 20px;
    line-height: 26px;
}

p.small {
    font-size: 16px;
    line-height: 20.8px;
}

p.medium {
    font-size: 18px;
    line-height: 23.4px;
}

/* Text Weight Utilities */
.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-semibold {
    font-weight: 600;
}

.text-bold {
    font-weight: 700;
}

.text-extrabold {
    font-weight: 800;
}

/* Text Alignment Utilities */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Color Utilities based on Figma colors */
.text-primary {
    color: #005b91;
}

.text-accent {
    color: #ffda3c;
}

.text-dark {
    color: #000000;
}

.text-white {
    color: #ffffff;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 200px;
        line-height: 190px;
    }
    
    h2 {
        font-size: 36px;
        line-height: 42px;
    }
    
    h3 {
        font-size: 32px;
    }
    
    h4 {
        font-size: 28px;
    }
    
    h5 {
        font-size: 22px;
    }
    
    h6 {
        font-size: 16px;
    }
    
    p {
        font-size: 16px;
        line-height: 20.8px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 120px;
        line-height: 114px;
    }
    
    h2 {
        font-size: 28px;
        line-height: 32px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    h6 {
        font-size: 16px;
    }
    
    p {
        font-size: 14px;
        line-height: 18.2px;
    }
}
