/* ---------------------------------------------------- */
/* NEW: NRT KURDISH FONT DEFINITIONS AND APPLICATION    */
/* ---------------------------------------------------- */

/* Assumes .woff2 and .ttf files are available in the specified path */

@font-face {
    font-family: "NRT Regular";
    src: url("../fonts/NRT-Reg.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/NRT-Reg.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */
        url("../fonts/NRT-Reg.ttf") format("truetype"),
        /* Safari, Android, iOS */
        url("../fonts/NRT-Reg.woff") format("woff");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "NRT Bold";
    src: url("../fonts/NRT-Bd.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/NRT-Bd.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */
        url("../fonts/NRT-Bd.ttf") format("truetype"),
        /* Safari, Android, iOS */
        url("../fonts/NRT-Bd.woff") format("woff2");
    /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}


/* All original CSS styles remain here for aesthetics and animations */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Apply NRT fonts for RTL direction (Kurdish/Arabic) */
html[dir="rtl"] body {
    font-family: 'NRT Regular', 'NRT Bold', 'Inter', sans-serif;
}

/* Ensure bold elements use the bold NRT font in RTL mode */
html[dir="rtl"] .font-bold,
html[dir="rtl"] .font-semibold,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-family: 'NRT Bold', 'NRT Regular', 'Inter', sans-serif;
    font-weight: 700;
}

/* --- Existing Styles Below --- */
.service-card,
.sdg-card,
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.service-card:hover,
.sdg-card:hover,
.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

.fade-in-section.is-visible .service-card,
.fade-in-section.is-visible .sdg-card,
.fade-in-section.is-visible .blog-card {
    opacity: 1;
    transform: translateY(0);
}

.lang-btn {
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.lang-btn:not(.active):hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.dark .lang-btn:not(.active):hover {
    background-color: #374151;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    background: linear-gradient(135deg, #ffffff 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.dark .hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.icon-hover {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-hover:hover {
    transform: scale(1.15) rotate(8deg);
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}