/* Font Faces */
@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Artegra Sans';
    src: url('/fonts/ArtegraSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Artegra Sans';
    src: url('/fonts/ArtegraSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Artegra Sans';
    src: url('/fonts/ArtegraSans-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Body Background */
body.home-new {
    background: var(--bg-hero);
    min-height: 100vh;
}

/* Other pages - add padding top for fixed header */
body:not(.home-new) {
    padding-top: 60px; /* Header height + padding */
}

/* Main Wrapper */
body.home-new .main-wrapper {
    background: transparent;
}

/* General Section Styling */
section {
    background: transparent;
}

/* Override any white backgrounds */
body.home-new .section,
body.home-new .featured-unis,
body.home-new .global-success,
body.home-new .platform-process,
body.home-new .success-cases-section,
body.home-new .features-section,
body.home-new .final-cta {
    background: transparent;
}

/* New Header Styles */
header.header-new {
    padding: 14px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #011d46, #2054a1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Home page da fixed (header stays dark navy in all states) */
body.home-new header.header-new {
    padding: 14px 0;
    position: fixed;
    top: 0;
    background: linear-gradient(to right, #011d46, #2054a1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1000;
}

/* Home page da scroll qilganda background paydo bo'ladi */
body.home-new header.header-new.scrolled {
    padding: 14px 0;
    top: 0;
    background: linear-gradient(to right, #011d46, #2054a1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

header.header-new nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 40px;
}

header.header-new .logo-new {
    display: inline-flex;
    align-items: center;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0;
}

header.header-new .logo-new img {
    display: block;
    height: 58px;
    width: auto;
}

/* Home page da logo oq bo'ladi */
body.home-new header.header-new .logo-new {
    color: #fff;
}

/* Hamburger Menu Button */
.hamburger-new {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-new span {
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Home page da hamburger oq bo'ladi */
body.home-new .hamburger-new span {
    background-color: #fff;
}

.hamburger-new.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-new.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-new.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu-new {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: flex-end;
    flex: 1;
}

.nav-links-new {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.auth-buttons-new,
.lang-switcher-new {
    flex-shrink: 0;
}

.nav-links-new a {
    color: var(--text-on-dark-dim);
    text-decoration: none;
    font-family: 'Artegra Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links-new a:hover {
    color: var(--text-on-dark);
}

.nav-links-new a.active {
    color: #4F46E5;
    font-weight: 600;
}

/* Home page header matches the other pages (page-dark-header): navy gradient + white links */
body.home-new .nav-links-new a {
    color: rgba(255, 255, 255, 0.9);
}

body.home-new .nav-links-new a:hover {
    color: #fff;
}

body.home-new .nav-links-new a.active {
    color: #fff;
}

/* Language Switcher */
.lang-switcher-new {
    position: relative;
}

.lang-switcher-new button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-on-dark);
    color: var(--text-on-dark-dim);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: inherit;
}

.lang-switcher-new button:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Home page language switcher matches the other pages */
body.home-new .lang-switcher-new button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

body.home-new .lang-switcher-new button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-switcher-new button img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.lang-switcher-new .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(1, 29, 70, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-on-dark);
    border-radius: 8px;
    min-width: 160px;
    display: none !important;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    pointer-events: none;
}

.lang-switcher-new .dropdown.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.lang-switcher-new .dropdown a {
    padding: 10px 15px;
    color: var(--text-on-dark-dim);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    white-space: nowrap;
}

.lang-switcher-new .dropdown a img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-switcher-new .dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lang-switcher-new .dropdown a.active {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
}

/* Home page da dropdown eski rangda qoladi */
body.home-new .lang-switcher-new .dropdown {
    background: rgba(20, 40, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.home-new .lang-switcher-new .dropdown a {
    color: #fff;
}

body.home-new .lang-switcher-new .dropdown a img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

body.home-new .lang-switcher-new .dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.home-new .lang-switcher-new .dropdown a.active {
    background: rgba(108, 92, 231, 0.2);
    color: #fff;
}

.auth-buttons-new {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-auth-new {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-auth-new:hover {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Home page da button eski rangda qoladi */
body.home-new .btn-auth-new {
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
}

body.home-new .btn-auth-new:hover {
    background: linear-gradient(135deg, #7c6cf7, #5844e4);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Hero Section */
.hero-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    padding-top: 120px;
    padding-left: 40px;
    padding-right: 40px;
    background: transparent;
    color: var(--text-primary);
}

/* Universities Section */
.universities-section {
    padding: 50px 0;
    background: transparent;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background: transparent;
    color: var(--text-primary);
}

/* Steps Section */
.steps-section {
    padding: 50px 0;
    background: transparent;
}

/* Choose University CTA Button */
.choose-uni-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 auto 30px;
    padding: 14px 18px 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #fff;
    font-family: 'Artegra Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 10px 30px rgba(79, 70, 229, 0.35),
        0 2px 6px rgba(6, 182, 212, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                background-position 0.6s ease;
    isolation: isolate;
}

.choose-uni-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.choose-uni-btn:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow:
        0 16px 40px rgba(79, 70, 229, 0.5),
        0 4px 12px rgba(6, 182, 212, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff;
}

.choose-uni-btn:hover::before {
    transform: translateX(120%);
}

.choose-uni-btn:active {
    transform: translateY(0);
}

.choose-uni-btn__icon,
.choose-uni-btn__text,
.choose-uni-btn__arrow {
    position: relative;
    z-index: 2;
}

.choose-uni-btn__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 15px;
}

.choose-uni-btn__arrow {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #4F46E5;
    font-size: 13px;
    transition: transform 0.3s ease;
}

.choose-uni-btn:hover .choose-uni-btn__arrow {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .choose-uni-btn {
        font-size: 15px;
        padding: 12px 14px 12px 18px;
        gap: 10px;
    }
    .choose-uni-btn__icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .choose-uni-btn__arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Main Headline */
h1.headline-new {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 88px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 30px;
    text-transform: lowercase;
    color: var(--text-primary);
}

h1.headline-new span.first-word {
    text-transform: capitalize;
    color: var(--text-primary);
}

/* Brush Stroke Effect for 'abroad' */
.highlight-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}

.highlight-bg {
    position: absolute;
    top: -15%;
    left: -20px;
    right: -20px;
    bottom: -10%;
    z-index: -1;
}

.highlight-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.highlight-text {
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    text-transform: capitalize;
}

/* Subtitle */
.subtitle-new {
    font-family: 'Artegra Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.3;
}

/* Stats Cards */
.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 0;
}

.stat-card-new {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 20px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

/* Dark mode: give the stat cards a rich navy (instead of near-black) so they
   read as a defined card against the very dark page background. */
:root[data-theme="dark"] .stat-card-new {
    background: linear-gradient(150deg, #16336b 0%, #0e2247 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.stat-card-new:hover {
    transform: translateY(-5px);
}

.stat-icon-new {
    margin-bottom: 15px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-new img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Make graph.png (rating icon) larger */
.stat-icon-new img[src="/images/graph.png"] {
    width: 100px;
    height: 100px;
}

.stat-value-new {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label-new {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: capitalize;
    line-height: 1.2;
    text-align: center;
}

/* ========================================
   Universities Section Styles
========================================= */

/* Featured Universities Section */
body.home-new .featured-unis {
    padding: 40px 0 50px;
    background: transparent;
}

body.home-new .section-header {
    text-align: center;
    margin-bottom: 35px;
}

body.home-new .section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-hero-fill);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.home-new .section-header h2 {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

body.home-new .section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* University Tabs */
body.home-new .uni-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

body.home-new .uni-tab {
    padding: 10px 20px;
    background: var(--bg-hero-fill);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.home-new .uni-tab:hover {
    background: var(--bg-surface-2);
    border-color: var(--border-strong);
}

body.home-new .uni-tab.active {
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

/* University Showcase Grid */
body.home-new .uni-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* University Card - Glass Morphism Design */
body.home-new .uni-card-new {
    background: var(--bg-hero-fill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

body.home-new .uni-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(72, 52, 212, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

body.home-new .uni-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--border-strong);
}

body.home-new .uni-card-new:hover::before {
    opacity: 1;
}

body.home-new .uni-card-new__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

body.home-new .uni-card-new__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

body.home-new .uni-card-new:hover .uni-card-new__image img {
    transform: scale(1.1);
}

body.home-new .uni-card-new__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

body.home-new .badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.home-new .badge--featured {
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a1a;
}

body.home-new .badge--top {
    background: rgba(108, 92, 231, 0.9);
    color: #fff;
}

body.home-new .badge--scholarship {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

body.home-new .save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg-hero-fill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 2;
}

body.home-new .save-btn:hover {
    background: var(--bg-surface-2);
    transform: scale(1.1);
    color: #ffd700;
}

body.home-new .uni-card-new__body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

body.home-new .uni-card-new__location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

body.home-new .uni-card-new__location img {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

body.home-new .uni-card-new__body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

body.home-new .uni-card-new__programs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

body.home-new .uni-card-new__programs span {
    padding: 5px 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

body.home-new .uni-card-new__meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

body.home-new .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

body.home-new .meta-item i {
    color: var(--text-muted);
    font-size: 12px;
}

body.home-new .uni-card-new__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.home-new .tuition {
    display: flex;
    flex-direction: column;
}

body.home-new .tuition-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

body.home-new .tuition-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

body.home-new .btn--primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

body.home-new .btn--primary:hover {
    background: linear-gradient(135deg, #7c6cf7, #5844e4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

body.home-new .btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

body.home-new .section-cta {
    text-align: center;
    margin-top: 30px;
}

body.home-new .btn--outline {
    padding: 14px 40px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.home-new .btn--outline:hover {
    background: var(--bg-surface-2);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

body.home-new .btn--large {
    padding: 14px 40px;
    font-size: 16px;
}

/* ========================================
   About Section Styles
========================================= */
body.home-new .about-section {
    padding: 50px 0;
    background: transparent;
    text-align: center;
}

body.home-new .about-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 30px;
    background: linear-gradient(to right, #5868dc, #e83a2c);
    border: none;
    color: white;
}

body.home-new .about-title {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: none;
}

body.home-new .about-subtitle {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

body.home-new .about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

body.home-new .about-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-hero-fill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

body.home-new .about-card:hover {
    background: var(--bg-surface-2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.home-new .about-value {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1;
}

body.home-new .about-label {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

body.home-new .about-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

body.home-new .partners-section {
    padding: 80px 0 100px;
    background: transparent;
}

body.home-new .partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

body.home-new .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

body.home-new .partner-logo:hover {
    opacity: 1;
}

body.home-new .partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

body.home-new .partner-logo img {
    max-width: 100%;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: filter 0.3s;
}

body.home-new .partner-logo:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
}

/* ========================================
   Platform Process Section Styles
========================================= */
body.home-new .platform-process {
    background: transparent;
}

body.home-new .platform-process__info h2 {
    color: var(--text-primary);
}

body.home-new .platform-process__info .section-desc {
    color: var(--text-secondary);
}

body.home-new .process-step__number {
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
    color: #fff;
}

body.home-new .process-step__content h4 {
    color: var(--text-primary);
}

body.home-new .process-step__content p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    header.header-new {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        backdrop-filter: blur(10px);
        padding: 12px 0;
        z-index: 1000;
    }
    
    /* Home page da gradient background */
    body.home-new header.header-new {
        background: linear-gradient(to bottom, rgba(13, 43, 92, 0.95), rgba(4, 20, 51, 0.9));
    }
    
    /* Boshqa pagelarda dark background */
    body:not(.home-new) header.header-new {
        background: rgba(1, 29, 70, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    body.has-new-header,
    body.home-new {
        padding-top: 0;
    }
    
    .hero-new {
        margin-top: 0;
        padding-top: 60px;
    }
    
    .stats-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
    
    h1.headline-new {
        font-size: 70px;
    }
    
    .logo-new {
        font-size: 60px !important;
    }
    
    .hamburger-new {
        display: flex;
        z-index: 1002;
    }
    
    /* Hamburger color fix for non-home pages - white for dark theme */
    body:not(.home-new) .hamburger-new span {
        background-color: #fff;
    }
    
    body.home-new .uni-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nav-menu-new {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 30px 30px;
        gap: 30px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    /* Home page da menu gradient background */
    body.home-new .nav-menu-new {
        background: linear-gradient(180deg, #1a3a6b 0%, #0d1f3f 100%);
    }
    
    /* Boshqa pagelarda menu dark gradient background */
    body:not(.home-new) .nav-menu-new {
        background: linear-gradient(180deg, #1a3a6b 0%, #0d1f3f 100%);
    }
    
    .nav-menu-new.active {
        right: 0;
    }
    
    .nav-links-new {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        position: static;
        transform: none;
        left: auto;
    }
    
    .nav-links-new li {
        width: 100%;
    }
    
    .nav-links-new a {
        display: block;
        padding: 12px 20px;
        font-size: 18px;
        border-radius: 8px;
        transition: all 0.3s;
        text-align: left;
    }
    
    /* Home page da link hover effect */
    body.home-new .nav-links-new a:hover {
        background: rgba(108, 92, 231, 0.2);
    }
    
    /* Boshqa pagelarda link colors - white for dark menu */
    body:not(.home-new) .nav-links-new a {
        color: #ffffff;
    }

    body:not(.home-new) .nav-links-new a.active {
        color: #a5b4fc;
    }

    /* Boshqa pagelarda link hover effect */
    body:not(.home-new) .nav-links-new a:hover {
        background: rgba(108, 92, 231, 0.2);
    }
    
    .auth-buttons-new {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .lang-switcher-new {
        width: 100%;
    }
    
    .lang-switcher-new button {
        width: 100%;
        justify-content: center;
    }
    
    .lang-switcher-new .dropdown {
        width: 100%;
        left: 0;
        right: auto;
    }
    
    .nav-v2__profile {
        width: 100%;
    }
    
    .nav-v2__dropdown {
        width: 100%;
        left: 0;
        right: auto;
    }
    
    .btn-auth-new {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hamburger should be white on home page when menu is open */
    body.home-new.menu-open .hamburger-new span {
        background-color: #fff;
    }
    
    /* Hamburger should be white on non-home pages when menu is open - dark theme */
    body:not(.home-new).menu-open .hamburger-new span {
        background-color: #fff;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (max-width: 768px) {
    .hero-new {
        margin-top: 0;
        padding-top: 90px;
        padding-bottom: 20px;
    }
    
    .logo-new {
        font-size: 50px !important;
    }
    
    h1.headline-new {
        font-size: 58px;
    }
    
    .subtitle-new {
        font-size: 16px;
    }
    
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body.home-new .uni-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.home-new .section-header h2 {
        font-size: 36px;
    }
    
    body.home-new .featured-unis {
        padding: 50px 0;
    }
    
    body.home-new .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    body.home-new .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-new {
        padding-top: 90px;
    }

    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 20px auto 0;
    }
    
    h1.headline-new {
        font-size: 48px;
    }
    
    .logo-new {
        font-size: 40px !important;
    }
    
    .search-container-new {
        max-width: 90%;
    }
    
    .stat-value-new {
        font-size: 32px;
    }
    
    .stat-icon-new img {
        width: 50px;
        height: 50px;
    }
    
    .nav-menu-new {
        width: 100%;
        right: -100%;
    }
    
    body.home-new .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.home-new .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home-new .about-title {
        font-size: 36px;
    }
}

@media (max-width: 400px) {
    .hero-new {
        padding-top: 85px;
    }

    .logo-new {
        font-size: 35px !important;
    }
    
    h1.headline-new {
        font-size: 52px;
    }
    
    .subtitle-new {
        font-size: 14px;
    }
    
    .stat-card-new {
        padding: 15px 10px;
    }
    
    .hamburger-new span {
        width: 25px;
    }
}

/* =============================================================================
   HOME AUTOCOMPLETE DROPDOWN
   ============================================================================= */
.home-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-radius: 16px;
    box-shadow: var(--shadow-card), 0 10px 25px rgba(79, 70, 229, 0.15);
    z-index: 10000;
    max-height: 450px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-autocomplete-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.home-autocomplete-dropdown .autocomplete-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    gap: 12px;
}

.home-autocomplete-dropdown .autocomplete-loading i {
    font-size: 1.5rem;
    color: #4f46e5;
}

.home-autocomplete-dropdown.loading .autocomplete-loading {
    display: flex;
}

.home-autocomplete-dropdown.loading .autocomplete-results,
.home-autocomplete-dropdown.loading .autocomplete-empty {
    display: none;
}

.home-autocomplete-dropdown .autocomplete-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
}

.home-autocomplete-dropdown .autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

.home-autocomplete-dropdown .autocomplete-results::-webkit-scrollbar-track {
    background: var(--bg-surface-2);
    border-radius: 3px;
}

.home-autocomplete-dropdown .autocomplete-results::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 3px;
}

.home-autocomplete-dropdown .autocomplete-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    gap: 12px;
}

.home-autocomplete-dropdown .autocomplete-empty i {
    font-size: 2rem;
    opacity: 0.5;
}

.home-autocomplete-dropdown.empty .autocomplete-empty {
    display: flex;
}

.home-autocomplete-dropdown.empty .autocomplete-results {
    display: none;
}

/* Category Header */
.home-autocomplete-dropdown .autocomplete-category {
    padding: 10px 14px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-autocomplete-dropdown .autocomplete-category:not(:first-child) {
    margin-top: 8px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.home-autocomplete-dropdown .autocomplete-category i {
    color: #4f46e5;
    font-size: 0.875rem;
}

/* Autocomplete Item */
.home-autocomplete-dropdown .autocomplete-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.home-autocomplete-dropdown .autocomplete-item:hover,
.home-autocomplete-dropdown .autocomplete-item.highlighted {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.home-autocomplete-dropdown .autocomplete-item__image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-surface-2);
}

.home-autocomplete-dropdown .autocomplete-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-autocomplete-dropdown .autocomplete-item__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-elevated) 100%);
    width: 100%;
    height: 100%;
}

.home-autocomplete-dropdown .autocomplete-item__image--placeholder i {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.home-autocomplete-dropdown .autocomplete-item__content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.home-autocomplete-dropdown .autocomplete-item__name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.home-autocomplete-dropdown .autocomplete-item__name mark {
    background: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
    padding: 0 2px;
    border-radius: 2px;
}

.home-autocomplete-dropdown .autocomplete-item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.home-autocomplete-dropdown .autocomplete-item__location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-autocomplete-dropdown .autocomplete-item__location i {
    font-size: 0.6875rem;
    color: #4f46e5;
}

.home-autocomplete-dropdown .autocomplete-item__flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.home-autocomplete-dropdown .autocomplete-item__ranking {
    padding: 2px 6px;
    background: var(--bg-surface-2);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: capitalize;
}

/* Footer */
.home-autocomplete-dropdown .autocomplete-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.home-autocomplete-dropdown .autocomplete-footer__hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-autocomplete-dropdown .autocomplete-footer__hint kbd {
    padding: 2px 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.6875rem;
}

.home-autocomplete-dropdown .autocomplete-footer__actions {
    display: flex;
    gap: 8px;
}

.home-autocomplete-dropdown .autocomplete-footer__action {
    font-size: 0.8125rem;
    color: #ffffff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.home-autocomplete-dropdown .autocomplete-footer__action:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.home-autocomplete-dropdown .autocomplete-footer__action--secondary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.home-autocomplete-dropdown .autocomplete-footer__action--secondary:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.home-autocomplete-dropdown .autocomplete-footer__action i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.home-autocomplete-dropdown .autocomplete-footer__action:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .home-autocomplete-dropdown {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-height: 60vh;
        border-radius: 16px;
    }

    .home-autocomplete-dropdown .autocomplete-item {
        padding: 14px;
    }

    .home-autocomplete-dropdown .autocomplete-item__image {
        width: 44px;
        height: 44px;
    }

    .home-autocomplete-dropdown .autocomplete-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .home-autocomplete-dropdown .autocomplete-footer__hint {
        justify-content: center;
        margin-bottom: 8px;
    }

    .home-autocomplete-dropdown .autocomplete-footer__actions {
        flex-direction: column;
    }

    .home-autocomplete-dropdown .autocomplete-footer__action {
        justify-content: center;
    }
}
