/* 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: linear-gradient(to right, #011d46, #2054a1);
    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: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Home page da sticky va transparent bo'ladi */
body.home-new header.header-new {
    padding: 8px 0;
    position: sticky;
    top: 40px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
}

/* Home page da scroll qilganda background paydo bo'ladi */
body.home-new header.header-new.scrolled {
    padding: 8px 0;
    top: 0;
    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);
}

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

header.header-new .logo-new {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    letter-spacing: 3px;
    color: #0F172A;
    text-decoration: none;
    line-height: 1;
    font-weight: 700;
    z-index: 1001;
    flex-shrink: 0;
}

/* 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: #334155;
    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: #4F46E5;
}

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

/* Home page da navigation oq bo'ladi */
body.home-new .nav-links-new a {
    color: #fff;
}

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

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

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

.lang-switcher-new button {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #334155;
    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(0, 0, 0, 0.08);
}

/* Home page da language switcher oq bo'ladi */
body.home-new .lang-switcher-new button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

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

.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(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    min-width: 160px;
    display: none !important;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    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: #334155;
    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(0, 0, 0, 0.05);
}

.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;
    padding-top: 100px;
    padding-left: 40px;
    padding-right: 40px;
    background: transparent;
    color: white;
}

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

/* About Section */
.about-section {
    padding: 50px 0;
    background: transparent;
    color: #fff;
}

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

/* Search Bar */
.search-container-new {
    margin: 0 auto 25px;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-input-new {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: #113b79;
    backdrop-filter: blur(10px);
    color: #fff;
    outline: none;
    font-family: 'Artegra Sans', sans-serif;
    font-size: 16px;
}

.search-input-new::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Artegra Sans', sans-serif;
}

.search-icon-new {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.8;
    z-index: 10;
}

/* Search Submit Button */
.search-submit-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    animation: fadeInScale 0.3s forwards;
}

.search-submit-btn:hover {
    background: linear-gradient(135deg, #4338CA, #0891B2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.search-submit-btn i {
    font-size: 14px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Adjust input padding when button is visible */
.search-input-new.has-submit {
    padding-right: 50px;
}

/* Main Headline */
h1.headline-new {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 120px;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 30px;
    text-transform: lowercase;
    color: #ffffff;
}

h1.headline-new span.first-word {
    text-transform: capitalize;
    color: #ffffff;
}

/* 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: white;
    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: #dbe4f0;
    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%;
    margin-top: 50px;
}

.stat-card-new {
    background: linear-gradient(to bottom, #3b6cb5, #244f91);
    padding: 20px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.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: rgba(255, 255, 255, 0.9);
    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: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    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: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

body.home-new .section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    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: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #fff;
    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: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

body.home-new .uni-tab.active {
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
    border-color: transparent;
    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: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    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: rgba(255, 255, 255, 0.3);
}

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: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 2;
}

body.home-new .save-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    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: rgba(255, 255, 255, 0.7);
}

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: #fff;
    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: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    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 rgba(255, 255, 255, 0.1);
}

body.home-new .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

body.home-new .meta-item i {
    color: rgba(255, 255, 255, 0.5);
    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: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

body.home-new .tuition-amount {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

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: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    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: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    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: #fff;
    text-transform: none;
}

body.home-new .about-subtitle {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    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: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

body.home-new .about-card:hover {
    background: rgba(255, 255, 255, 0.12);
    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: #fff;
    margin-bottom: 15px;
    line-height: 1;
}

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

body.home-new .about-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

body.home-new .brands-section {
    margin-top: 70px;
}

body.home-new .brands-title {
    font-family: 'Artegra Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

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

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

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

body.home-new .brand-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: #fff;
}

body.home-new .platform-process__info .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

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

body.home-new .process-step__content h4 {
    color: #fff;
}

body.home-new .process-step__content p {
    color: rgba(255, 255, 255, 0.8);
}

/* 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: 40px;
    }
    
    .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: 70px;
        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 .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-new {
        padding-top: 60px;
    }
    
    .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 .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body.home-new .about-title {
        font-size: 36px;
    }
}

@media (max-width: 400px) {
    .hero-new {
        padding-top: 55px;
    }
    
    .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: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 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: #6b7280;
    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: #f3f4f6;
    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: #6b7280;
    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: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f3f4f6;
    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 #f3f4f6;
    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: #f3f4f6;
}

.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, #f3f4f6 0%, #e5e7eb 100%);
    width: 100%;
    height: 100%;
}

.home-autocomplete-dropdown .autocomplete-item__image--placeholder i {
    font-size: 1.25rem;
    color: #9ca3af;
}

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

.home-autocomplete-dropdown .autocomplete-item__name {
    font-weight: 600;
    color: #111827;
    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: #6b7280;
}

.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: #f3f4f6;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: capitalize;
}

/* Footer */
.home-autocomplete-dropdown .autocomplete-footer {
    padding: 12px 16px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    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: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-autocomplete-dropdown .autocomplete-footer__hint kbd {
    padding: 2px 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    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;
    }
}
