/**
 * TDMAU (Termiz davlat muhandislik va agrotexnologiyalar universiteti)
 * Modern Design System & Component Stylesheet
 * 
 * Distinct, World-Class, Modern University Aesthetic
 * Engineered for Agrotechnology & Engineering Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Core Colors */
    --td-navy: #0f172a;
    --td-navy-light: #1e293b;
    --td-slate: #334155;
    --td-slate-light: #64748b;
    
    /* Agrotech & Engineering Accents */
    --td-emerald: #059669;
    --td-emerald-dark: #047857;
    --td-emerald-light: #10b981;
    --td-emerald-soft: #ecfdf5;
    --td-emerald-border: #a7f3d0;
    
    --td-blue: #2563eb;
    --td-blue-light: #3b82f6;
    --td-blue-soft: #eff6ff;
    
    --td-amber: #d97706;
    --td-amber-soft: #fef3c7;
    
    /* Backgrounds & Neutrals */
    --td-bg: #f8fafc;
    --td-surface: #ffffff;
    --td-surface-glass: rgba(255, 255, 255, 0.96);
    --td-border: #e2e8f0;
    --td-border-light: #f1f5f9;
    
    /* Typography */
    --td-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --td-font-head: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows */
    --td-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --td-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
    --td-shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
    --td-shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    --td-shadow-emerald: 0 10px 25px -5px rgba(5, 150, 105, 0.25);
    
    /* Radii */
    --td-radius-sm: 8px;
    --td-radius: 12px;
    --td-radius-md: 18px;
    --td-radius-lg: 24px;
    --td-radius-pill: 9999px;
}

/* ==========================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--td-font) !important;
    background-color: var(--td-bg) !important;
    color: var(--td-slate) !important;
    line-height: 1.6;
    overflow-x: clip;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--td-font-head) !important;
    color: var(--td-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* ==========================================================
   TOP UTILITY BAR (STRICT SINGLE LINE, SPACIOUS)
   ========================================================== */
.td-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--td-border);
    padding: 6px 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--td-slate);
    z-index: 1060;
    position: relative;
    white-space: nowrap !important;
}

.td-topbar-info {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap !important;
}

.td-topbar-info li,
.td-topbar-info a,
.td-topbar-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    color: var(--td-slate);
}

.td-topbar-info a:hover {
    color: var(--td-emerald);
}

.td-topbar-info i {
    color: var(--td-emerald);
    font-size: 12.5px;
}

.td-topbar-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap !important;
}

.td-topbar-links li {
    white-space: nowrap !important;
}

.td-topbar-links a {
    color: var(--td-slate);
    padding: 3px 6px;
    border-radius: var(--td-radius-sm);
    white-space: nowrap !important;
    font-size: 12px;
    font-weight: 500;
}

.td-topbar-links a:hover {
    color: var(--td-emerald);
    background: var(--td-emerald-soft);
}

.td-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
}

.td-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--td-border);
    background: #ffffff;
    color: var(--td-slate);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.td-icon-btn:hover {
    background: var(--td-emerald);
    border-color: var(--td-emerald);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Language Switcher Dropdown (Pill-style with Dropdown Menu) */
.td-lang-dropdown {
    position: relative;
    display: inline-block;
}

.td-lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 10px 3px 3px;
    background: #ffffff;
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius-pill);
    color: var(--td-slate);
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.td-lang-dropdown-btn:hover,
.td-lang-dropdown-btn[aria-expanded="true"] {
    background: #f8fafc;
    border-color: var(--td-teal);
    color: var(--td-teal);
}

.td-lang-dropdown-btn::after {
    display: none !important;
}

.td-lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--td-emerald);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 103, 120, 0.2);
}

.td-lang-code {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.td-lang-chevron {
    font-size: 10px;
    color: var(--td-slate-light);
    transition: transform 0.2s ease;
}

.td-lang-dropdown-btn[aria-expanded="true"] .td-lang-chevron {
    transform: rotate(180deg);
}

.td-lang-menu {
    min-width: 175px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 8px !important;
    z-index: 1060;
}

.td-lang-menu .dropdown-item {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
}

.td-lang-menu .dropdown-item:hover {
    background: #f1f5f9;
    color: var(--td-teal);
}

.td-lang-menu .dropdown-item.active {
    background: rgba(0, 103, 120, 0.08);
    color: var(--td-teal);
    font-weight: 700;
}

/* ==========================================================
   MAIN NAVBAR (FULL-WIDTH, ZERO TEXT WRAPPING, CENTERED MEGA MENU)
   ========================================================== */
.td-navbar-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.td-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    position: relative !important; /* CRITICAL FOR MEGA DROPDOWN CENTERING */
}

.td-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.td-brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.td-brand-text {
    display: flex;
    flex-direction: column;
}

.td-brand-primary {
    font-family: var(--td-font-head);
    font-size: 13px;
    font-weight: 800;
    color: var(--td-navy);
    line-height: 1.1;
    letter-spacing: 0.02em;
    white-space: nowrap !important;
}

.td-brand-secondary {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--td-emerald);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-top: 1px;
    white-space: nowrap !important;
}

/* Nav Menu Items - STRICT SINGLE LINE NO WRAP */
.td-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap !important;
}

.td-nav-item {
    position: static !important; /* MEGA DROPDOWN CENTERS RELATIVE TO NAVBAR */
    white-space: nowrap !important;
    flex-shrink: 0;
}

.td-nav-link {
    font-family: var(--td-font);
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--td-navy) !important;
    padding: 7px 8px !important;
    border-radius: var(--td-radius-sm);
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important; /* PREVENTS TWO-LINE TEXT SPLIT */
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1 !important;
}

@media (min-width: 1450px) {
    .td-nav-menu {
        gap: 6px;
    }
    .td-nav-link {
        font-size: 13.5px !important;
        padding: 7px 11px !important;
    }
}

@media (max-width: 1300px) {
    .td-nav-menu {
        gap: 2px;
    }
    .td-nav-link {
        font-size: 12px !important;
        padding: 6px 5px !important;
        gap: 2px !important;
    }
}

.td-nav-link:hover,
.td-nav-item:hover > .td-nav-link {
    color: var(--td-emerald) !important;
    background: var(--td-emerald-soft) !important;
}

.td-nav-link i.chevron {
    font-size: 9px;
    opacity: 0.55;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.td-nav-item:hover > .td-nav-link i.chevron {
    transform: rotate(180deg);
}

.td-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--td-radius-pill);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    white-space: nowrap !important;
}

.td-btn-emerald {
    background: linear-gradient(135deg, var(--td-emerald) 0%, #047857 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.td-btn-emerald:hover {
    background: linear-gradient(135deg, #10b981 0%, var(--td-emerald) 100%);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.td-btn-outline {
    background: #ffffff;
    color: var(--td-navy) !important;
    border: 1.5px solid var(--td-border);
}

.td-btn-outline:hover {
    border-color: var(--td-emerald);
    color: var(--td-emerald) !important;
    background: var(--td-emerald-soft);
}

/* ==========================================================
   MEGA MENU DROPDOWN (CENTERED, NEVER CUT OFF OR OVERFLOW)
   ========================================================== */
.td-mega-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 6px auto 0 !important;
    width: 100% !important;
    max-width: 1260px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.22) !important;
    border: 1px solid var(--td-border) !important;
    padding: 26px 30px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1090 !important;
    white-space: normal !important;
    overflow: hidden !important;
}

.td-nav-item:hover .td-mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.td-mega-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 1.05fr) !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.td-mega-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.td-mega-col-title {
    font-family: var(--td-font-head) !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--td-emerald) !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--td-emerald-soft) !important;
    white-space: normal !important;
    word-break: normal !important;
}

.td-mega-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    white-space: normal !important;
}

.td-mega-links li {
    white-space: normal !important;
}

.td-mega-links li a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--td-slate) !important;
    padding: 5px 8px !important;
    border-radius: var(--td-radius-sm) !important;
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    transition: all 0.18s ease !important;
}

.td-mega-links li a:hover {
    color: var(--td-emerald) !important;
    background: var(--td-emerald-soft) !important;
    padding-left: 12px !important;
}

/* ==========================================================
   AI ASSISTANT (WFAI-*) - PROPERLY DOCKED AND STYLED
   ========================================================== */
.wfai-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.35);
    border: 2px solid #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wfai-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.5);
}

.wfai-launcher-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: wfaiPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes wfaiPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wfai-window {
    position: fixed;
    right: 24px;
    bottom: 98px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1050;
    border: 1px solid #e2e8f0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wfai-window.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wfai-header {
    background: linear-gradient(135deg, #059669 0%, #0f172a 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wfai-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wfai-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wfai-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.wfai-subtitle {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
}

.wfai-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.wfai-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.wfai-msg {
    display: flex;
    max-width: 85%;
}

.wfai-msg-bot {
    align-self: flex-start;
}

.wfai-msg-user {
    align-self: flex-end;
}

.wfai-bubble {
    padding: 11px 15px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
}

.wfai-msg-bot .wfai-bubble {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.wfai-msg-user .wfai-bubble {
    background: #059669;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.wfai-chips {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.wfai-chip {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.wfai-chip:hover {
    background: #059669;
    color: #ffffff;
}

.wfai-footer {
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.wfai-form {
    display: flex;
    gap: 8px;
}

.wfai-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13.5px;
    outline: none;
}

.wfai-input:focus {
    border-color: #059669;
}

.wfai-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.wfai-send-btn:hover {
    background: #047857;
}

/* ==========================================================
   RESPONSIVE OVERRIDES
   ========================================================== */
@media (max-width: 1200px) {
    .td-nav-link {
        font-size: 12.5px !important;
        padding: 6px 7px !important;
    }
}

/* ==========================================================
   HERO SHOWCASE SLIDER NAVIGATION BUTTONS (GLASSMORPHISM)
   ========================================================== */
.tp-showcase-slider {
    position: relative;
    height: 1080px;
    min-height: 1080px;
    overflow: hidden;
}

.tp-showcase-slider .swiper-slide {
    height: 1080px !important;
    min-height: 1080px !important;
    padding: 0 !important;
}

.tp-showcase-slider-bg {
    height: 1080px !important;
    min-height: 1080px !important;
}

@media (max-width: 991px) {
    .tp-showcase-slider,
    .tp-showcase-slider .swiper-slide,
    .tp-showcase-slider-bg {
        height: 500px !important;
        min-height: 500px !important;
    }
}

@media (max-width: 575px) {
    .tp-showcase-slider,
    .tp-showcase-slider .swiper-slide,
    .tp-showcase-slider-bg {
        height: 340px !important;
        min-height: 340px !important;
    }
}

.tp-showcase-slider-button-wrap {
    position: static !important;
}

.tp-showcase-slider .swiper-button-prev,
.tp-showcase-slider .swiper-button-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 30 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
    margin-top: 0 !important;
    outline: none !important;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.tp-showcase-slider .swiper-button-prev::after,
.tp-showcase-slider .swiper-button-next::after {
    display: none !important;
    content: '' !important;
}

.tp-showcase-slider .swiper-button-prev {
    left: 32px !important;
    right: auto !important;
}

.tp-showcase-slider .swiper-button-next {
    right: 32px !important;
    left: auto !important;
}

.tp-showcase-slider .swiper-button-prev:hover,
.tp-showcase-slider .swiper-button-next:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.12) !important;
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.5) !important;
}

.tp-showcase-slider .swiper-button-prev svg,
.tp-showcase-slider .swiper-button-next svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    fill: none !important;
    display: block !important;
    transition: transform 0.25s ease !important;
}

.tp-showcase-slider .swiper-button-prev:hover svg {
    transform: translateX(-3px) !important;
}

.tp-showcase-slider .swiper-button-next:hover svg {
    transform: translateX(3px) !important;
}

@media (max-width: 768px) {
    .tp-showcase-slider .swiper-button-prev,
    .tp-showcase-slider .swiper-button-next {
        width: 44px !important;
        height: 44px !important;
    }
    .tp-showcase-slider .swiper-button-prev {
        left: 14px !important;
    }
    .tp-showcase-slider .swiper-button-next {
        right: 14px !important;
    }
    .tp-showcase-slider .swiper-button-prev svg,
    .tp-showcase-slider .swiper-button-next svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ==========================================================
   FOOTER (DEEP SLATE / NAVY LUXURY UNIVERSITY THEME)
   ========================================================== */
.td-footer {
    background: linear-gradient(180deg, #0b1329 0%, #070d1f 100%) !important;
    color: #94a3b8 !important;
    padding: 64px 0 28px !important;
    border-top: 4px solid #059669 !important;
    position: relative;
    z-index: 10;
}

.td-footer-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 32px;
}

.td-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1199px) {
    .td-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 639px) {
    .td-footer-container {
        padding: 0 18px;
    }
    .td-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.td-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s ease;
}

.td-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.td-footer-brand-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.td-footer-desc {
    color: #94a3b8 !important;
    font-size: 13.8px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.td-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.td-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0 !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.td-social-btn:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

.td-footer-title {
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.02em;
}

.td-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: #059669;
}

.td-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.td-footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.td-footer-links li::marker {
    display: none !important;
    content: '' !important;
}

.td-footer-links li a {
    color: #94a3b8 !important;
    font-size: 13.8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.td-footer-links li a:hover {
    color: #34d399 !important;
    transform: translateX(4px);
}

.td-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.td-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.8px;
    color: #94a3b8;
}

.td-footer-contact-item i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(5, 150, 105, 0.16);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.td-footer-contact-item a {
    color: #ffffff !important;
    transition: color 0.2s;
    text-decoration: none !important;
}

.td-footer-contact-item a:hover {
    color: #34d399 !important;
}

.td-footer-map-card {
    height: 238px;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
    background: #0f172a;
}

.td-footer-map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.td-footer-map-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #cbd5e1;
}

.td-footer-map-note a {
    color: #34d399 !important;
    font-weight: 600;
    white-space: nowrap;
}

.td-footer-map-note a:hover {
    color: #6ee7b7 !important;
}

.td-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 44px !important;
    padding-top: 24px !important;
    padding-right: 76px;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

@media (max-width: 991px) {
    .td-copyright {
        padding-right: 0;
    }
}

.td-copyright strong {
    color: #cbd5e1 !important;
}

/* ==========================================================
   DIGITAL PLATFORMS (RQP) CENTERING & BALANCED GRID
   ========================================================== */
.rqp-page {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%) !important;
}

.rqp-wrap {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 50px 20px 60px !important;
    width: 100% !important;
}

.rqp-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: stretch !important;
}

@media (max-width: 1200px) {
    .rqp-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .rqp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .rqp-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   SLEEK NEWS TICKER (MODERN SLATE & EMERALD)
   ========================================================== */
.td-ticker-bar {
    background: linear-gradient(90deg, #0b1329 0%, #0f1e3d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(5, 150, 105, 0.3);
    padding: 9px 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.td-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.18);
    color: #34d399;
    border: 1px solid rgba(5, 150, 105, 0.45);
    padding: 5px 12px;
    border-radius: var(--td-radius-pill);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 18px;
    box-shadow: 0 0 16px rgba(5, 150, 105, 0.25);
}

.td-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: td-pulse-glow 1.5s infinite;
}

@keyframes td-pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.td-ticker-marquee {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.td-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    animation: td-ticker-scroll 32s linear infinite;
    font-family: var(--td-font);
    font-size: 13.5px;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

.td-ticker-track:hover {
    animation-play-state: paused;
}

.td-ticker-sep {
    font-size: 8px;
    color: #10b981;
    opacity: 0.7;
}

@keyframes td-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================
   MEDIA (FOTO & VIDEO) SHOWCASE
   ========================================================== */
.td-media-section {
    background: #ffffff;
    border-top: 1px solid var(--td-border);
    border-bottom: 1px solid var(--td-border);
}

.td-media-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.td-media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.2) !important;
}

.td-media-card:hover img {
    transform: scale(1.05);
}

.td-media-card:hover .td-media-play-btn {
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6) !important;
}

/* ==========================================================
   DIAMOND / RHOMBUS ZIGZAG INTERACTIVE PLATFORMS
   ========================================================== */
.rqp-page {
    overflow: hidden !important;
}

.td-diamond-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 110px 10px 120px !important;
    position: relative;
    overflow: visible !important;
}

.td-diamond-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(92px, 10vw, 122px);
    margin: 0 clamp(-6px, -0.8vw, -10px);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.3s ease;
    z-index: 2;
}

.td-diamond-item:hover {
    z-index: 20;
}

/* Zigzag heights: gentle, harmonious vertical wave */
.td-diamond-item.td-diamond-top {
    transform: translateY(-30px);
}
.td-diamond-item.td-diamond-bottom {
    transform: translateY(30px);
}

.td-diamond-item.td-diamond-top:hover {
    transform: translateY(-36px);
}
.td-diamond-item.td-diamond-bottom:hover {
    transform: translateY(36px);
}

/* Rhombus Diamond Box */
.td-diamond-box {
    width: clamp(86px, 9vw, 108px);
    height: clamp(86px, 9vw, 108px);
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 14px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 3px 8px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.td-diamond-item:hover .td-diamond-box {
    border-color: #059669;
    background: #ffffff;
    box-shadow: 0 16px 32px -6px rgba(5, 150, 105, 0.28), 0 6px 14px -2px rgba(5, 150, 105, 0.15);
}

/* Icon counter-rotated to stay upright */
.td-diamond-content {
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.td-diamond-item:hover .td-diamond-content {
    color: #059669;
    transform: rotate(-45deg) scale(1.1);
}

.td-diamond-content svg {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

/* Label & Pin Pointers */
.td-diamond-top .td-diamond-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    text-align: center;
    pointer-events: none;
    margin-bottom: 6px;
}

.td-diamond-bottom .td-diamond-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    text-align: center;
    pointer-events: none;
    margin-top: 6px;
}

.td-diamond-text {
    font-family: var(--td-font-head);
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap !important;
}

.td-diamond-item:hover .td-diamond-text {
    color: #059669;
}

.td-diamond-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.td-diamond-top .td-diamond-pin {
    margin-top: 6px;
}

.td-diamond-bottom .td-diamond-pin {
    margin-bottom: 6px;
}

.td-diamond-line {
    width: 1.5px;
    height: 28px;
    background: #cbd5e1;
    transition: background 0.3s ease;
}

.td-diamond-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    transition: all 0.3s ease;
}

.td-diamond-item:hover .td-diamond-line {
    background: #059669;
}

.td-diamond-item:hover .td-diamond-dot {
    background: #059669;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.7);
}

/* ==========================================================
   MODERN STATISTICS / RAQAMLARDA CARDS
   ========================================================== */
.td-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 32px 22px 26px;
    min-height: 236px;
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: default;
}

.td-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3.5px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transform: scaleX(0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.07), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.td-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 20px 38px -10px rgba(5, 150, 105, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

.td-stat-card:hover::before {
    opacity: 1;
    left: 12%;
    right: 12%;
    transform: scaleX(1);
}

.td-stat-card:hover::after {
    opacity: 1;
}

.td-stat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 16px -4px rgba(5, 150, 105, 0.14);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.td-stat-card:hover .td-stat-icon-wrap {
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, #ecfdf5 0%, #bbf7d0 100%);
    border-color: #34d399;
    box-shadow: 0 12px 24px -4px rgba(5, 150, 105, 0.28);
}

.td-stat-icon-wrap svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.td-stat-card:hover .td-stat-icon-wrap svg {
    transform: scale(1.08);
}

.td-stat-value {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.td-stat-card:hover .td-stat-value {
    color: #047857;
}

.td-stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-left: 2px;
}

.td-stat-label {
    font-family: var(--td-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.td-stat-card:hover .td-stat-label {
    color: #334155;
}

/* ==========================================================
   STATISTICS CARDS V2 - ASYMMETRIC BENTO DATA CARDS
   ========================================================== */
.td-stat-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 24px 24px;
    min-height: 226px;
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: default;
}

.td-stat-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(5, 150, 105, 0.45);
    box-shadow: 0 20px 36px -8px rgba(5, 150, 105, 0.2), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.td-stat-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 16px;
}

.td-stat-v2-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: linear-gradient(135deg, #004b56 0%, #059669 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px -4px rgba(5, 150, 105, 0.4);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.td-stat-card-v2:hover .td-stat-v2-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 12px 24px -4px rgba(5, 150, 105, 0.55);
}

.td-stat-v2-icon svg {
    width: 28px;
    height: 28px;
}

.td-stat-v2-index {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    user-select: none;
}

.td-stat-card-v2:hover .td-stat-v2-index {
    color: #a7f3d0;
}

.td-stat-v2-body {
    width: 100%;
    text-align: left;
}

.td-stat-v2-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.td-stat-v2-num {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.td-stat-card-v2:hover .td-stat-v2-num {
    color: #004b56;
}

.td-stat-v2-unit {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 19px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 8px;
    line-height: 1.2;
}

.td-stat-v2-title {
    font-family: var(--td-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.td-stat-card-v2:hover .td-stat-v2-title {
    color: #334155;
}

.td-stat-v2-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3.5px;
    width: 100%;
    background: linear-gradient(90deg, #004b56 0%, #059669 50%, #10b981 100%);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-stat-card-v2:hover .td-stat-v2-bar {
    transform: scaleX(1);
}

/* ==========================================================
   ALUMNI / FAHRIMIZ SLIDER (EXACT 4 CARDS AS REFERENCE)
   ========================================================== */
.faxrimiz-slider-active {
    overflow: hidden !important;
    padding: 8px 0 30px !important;
}

.faxrimiz-slider-active .swiper-wrapper {
    align-items: stretch !important;
}

.faxrimiz-slider-active .swiper-slide {
    height: auto !important;
    display: flex !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

.al-card {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5ebf1 !important;
    border-radius: 14px !important;
    padding: 18px 18px 20px !important;
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.al-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.1) !important;
}

.al-photo-wrap {
    position: relative !important;
    margin-bottom: 18px !important;
}

.al-photo {
    width: 100% !important;
    aspect-ratio: 4/3 !important;
    min-height: unset !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #eef1f4 !important;
}

.al-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.al-badge {
    position: absolute !important;
    left: 14px !important;
    bottom: -14px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #006778 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 16px !important;
    box-shadow: 0 3px 8px rgba(0, 103, 120, 0.35) !important;
}

.al-name {
    margin: 8px 0 2px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #101828 !important;
    line-height: 1.35 !important;
}

.al-faculty {
    margin: 0 0 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #006778 !important;
    line-height: 1.4 !important;
}

.al-meta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 0 12px !important;
}

.al-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    font-size: 12px !important;
    color: #8b96a5 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.al-meta-item i {
    color: #c6a15b !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
}

.al-desc {
    margin: 0 0 16px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #5c6675 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
    flex: 1 0 auto !important;
}

.al-more {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #eef1f4 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #006778 !important;
    text-decoration: none !important;
}

.al-more i {
    font-size: 11px !important;
    transition: transform 0.2s !important;
}

.al-more:hover {
    color: #004a56 !important;
}

.al-more:hover i {
    transform: translateX(3px) !important;
}


/* ==========================================================
   OFFICIAL PARTNERS & GOVERNMENT LINKS BAND
   ========================================================== */
.td-partners-section {
    position: relative;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
}

.td-partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 20px;
    height: 100%;
    min-height: 145px;
    border-right: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.swiper-slide:last-child .td-partner-item {
    border-right: none;
}

.td-partner-item:hover {
    background: #f8fafc;
    text-decoration: none;
}

.td-partner-logo {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.td-partner-logo img {
    max-height: 52px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.td-partner-item:hover .td-partner-logo img {
    transform: scale(1.08);
}

.td-partner-title {
    font-family: var(--td-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #334155;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.td-partner-item:hover .td-partner-title {
    color: #006778;
}

/* ==========================================================
   GLASSMORPHISM STATISTICS HERO (KOKAND-STYLE PRESTIGE SECTION)
   ========================================================== */
.td-glass-stats-section {
    position: relative;
    padding: 85px 0 90px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(0, 75, 86, 0.90) 50%, rgba(6, 78, 59, 0.93) 100%),
                url('/lib/img/slider/hero_campus.jpg') center/cover no-repeat fixed;
    color: #ffffff;
    overflow: hidden;
}

.td-glass-glow-1 {
    position: absolute;
    top: -100px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.td-glass-glow-2 {
    position: absolute;
    bottom: -80px;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 103, 120, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.td-glass-play-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.td-glass-play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004b56;
    font-size: 24px;
    padding-left: 4px;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    animation: tdPulse 2.4s infinite;
}

.td-glass-play-btn:hover {
    transform: scale(1.1);
    color: #059669;
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.8), 0 15px 35px rgba(0, 0, 0, 0.4);
}

@keyframes tdPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5), 0 0 25px rgba(255, 255, 255, 0.3);
    }
    70% {
        box-shadow: 0 0 0 22px rgba(255, 255, 255, 0), 0 0 35px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 25px rgba(255, 255, 255, 0.3);
    }
}

.td-glass-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
}

.td-glass-brand-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.td-glass-brand-text {
    text-align: left;
    line-height: 1.15;
}

.td-glass-brand-title {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.td-glass-brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.td-glass-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto 45px;
    text-align: center;
}

/* Glassmorphic Metric Cards */
.td-glass-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 20px 22px;
    min-height: 172px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: default;
}

.td-glass-stat-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(52, 211, 153, 0.55);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.td-glass-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.92;
    margin-bottom: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.td-glass-icon svg {
    width: 32px;
    height: 32px;
}

.td-glass-stat-card:hover .td-glass-icon {
    transform: scale(1.12);
    opacity: 1;
    color: #34d399;
}

.td-glass-label {
    font-family: var(--td-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.td-glass-stat-card:hover .td-glass-label {
    color: #ffffff;
}

.td-glass-value {
    font-family: var(--td-font-head, 'Outfit', sans-serif);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.td-glass-suffix {
    font-size: 22px;
    font-weight: 700;
    color: #34d399;
}

/* Back to Top floating button */
.td-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.td-back-to-top:hover {
    background: #006778;
    color: #ffffff;
    border-color: #006778;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 103, 120, 0.35);
}

/* ==========================================================
   INNER PAGE HERO BANNER WITH UNIVERSITY BUILDING PHOTO BACKGROUND
   ========================================================== */
.td-inner-hero-banner,
div[style*="linear-gradient(135deg, #004b56 0%, #006778 100%)"] {
    position: relative !important;
    background-color: #004b56 !important;
    background-image: 
        linear-gradient(135deg, rgba(0, 50, 60, 0.88) 0%, rgba(0, 75, 86, 0.80) 50%, rgba(15, 23, 42, 0.90) 100%),
        url('../img/pics/slider-4_pr.jpg') !important;
    background-position: center 38% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: #ffffff !important;
    overflow: hidden !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
}

.td-inner-hero-banner::before,
div[style*="linear-gradient(135deg, #004b56 0%, #006778 100%)"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.td-inner-hero-banner .container,
div[style*="linear-gradient(135deg, #004b56 0%, #006778 100%)"] .container {
    position: relative !important;
    z-index: 2 !important;
}

.td-inner-hero-banner .breadcrumb-item a,
div[style*="linear-gradient(135deg, #004b56 0%, #006778 100%)"] .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.2s ease;
}

.td-inner-hero-banner .breadcrumb-item a:hover,
div[style*="linear-gradient(135deg, #004b56 0%, #006778 100%)"] .breadcrumb-item a:hover {
    color: #34d399 !important;
}









/* ==========================================================
   MOBILE OFF-CANVAS DRAWER & RESPONSIVE NAVBAR FIXES
   ========================================================== */
.td-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
}

.td-mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.td-mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1090;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-mobile-drawer.is-open {
    right: 0;
}

.td-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.td-mobile-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.td-mobile-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.td-mobile-drawer-quick {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.td-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.td-mobile-nav-group {
    border-bottom: 1px solid #f1f5f9;
}

.td-mobile-nav-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.td-mobile-nav-title::-webkit-details-marker {
    display: none;
}

.td-mobile-nav-title i {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.td-mobile-nav-group[open] .td-mobile-nav-title i {
    transform: rotate(180deg);
    color: var(--td-emerald, #059669);
}

.td-mobile-sublinks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 12px 14px;
}

.td-mobile-sublinks a {
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.td-mobile-sublinks a:hover {
    background: #f1f5f9;
    color: var(--td-emerald, #059669);
}

.td-mobile-nav-single {
    display: block;
    padding: 12px 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

.td-mobile-util-link {
    display: block;
    padding: 6px 8px;
    font-size: 13px;
    color: #334155;
    border-radius: 6px;
    font-weight: 500;
}

.td-mobile-util-link:hover {
    background: #f1f5f9;
    color: var(--td-emerald, #059669);
}

/* Responsive adjustments for Topbar & Navbar */
@media (max-width: 767.98px) {
    .td-topbar-info span {
        font-size: 11.5px !important;
    }
    .td-brand-logo {
        height: 38px !important;
    }
    .td-brand-primary {
        font-size: 12px !important;
    }
    .td-nav-btn-qabul {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 575.98px) {
    .td-topbar {
        padding: 4px 0 !important;
        font-size: 11px !important;
    }
    .td-topbar .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .td-topbar-info span {
        font-size: 10.5px !important;
    }
    .td-icon-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    .td-lang-dropdown-btn {
        padding: 2px 6px 2px 2px !important;
        font-size: 11px !important;
    }
    .td-lang-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 9px !important;
    }
    .td-navbar {
        padding: 6px 0 !important;
    }
    .td-brand {
        gap: 8px !important;
    }
    .td-brand-logo {
        height: 34px !important;
    }
    .td-brand-primary {
        font-size: 11.5px !important;
    }
    .td-nav-actions {
        gap: 6px !important;
    }
    .td-nav-btn-qabul {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }
}
