/* Kanit Font Import */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');

/* Global Font Reset and Base Styling */
* {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
}

/* Body and HTML Base Font Settings */
body, html {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    color: #333;
}

/* Headings */
h1, .hero-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    color: #333;
}

h2, .section-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    color: #333;
}

h3, .hero-subtitle {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    color: #666;
}

/* Paragraph Styles */
p {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

/* Form Elements */
input, 
textarea, 
button, 
select {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

/* Navigation */
.nav-link, 
.bottom-nav-item span, 
.contact-btn {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
}

/* Card and List Styles */
.project-list li,
.unit-features li,
.contact-list li,
.landmark-content h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

/* Specific Text Styles */
.hero-description,
.card-subtitle,
.unit-subtitle {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    color: #666;
}

/* Ensure Proper Text Rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Responsive Typography */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1, .hero-title {
        font-size: 24px;
    }

    h2, .section-title {
        font-size: 20px;
    }

    h3, .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    h1, .hero-title {
        font-size: 22px;
    }

    h2, .section-title {
        font-size: 18px;
    }

    h3, .hero-subtitle {
        font-size: 16px;
    }
}