/* =============================================
   Study in Turkey - Main Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --primary:        #0a2342;
    --primary-light:  #1e3a5f;
    --primary-lighter:#2d5282;
    --secondary:      #c9a84c;
    --secondary-light:#e8c97d;
    --secondary-dark: #a88030;
    --accent:         #e74c3c;
    --success:        #27ae60;
    --bg-light:       #f5f7fa;
    --bg-card:        #ffffff;
    --white:          #ffffff;
    --text-dark:      #0d1b2a;
    --text-medium:    #4a5568;
    --text-light:     #9aabb8;
    --border:         #e2e8f0;
    --border-light:   #f0f4f8;
    --shadow-sm:      0 2px 8px rgba(10,35,66,0.06);
    --shadow-md:      0 4px 20px rgba(10,35,66,0.10);
    --shadow-lg:      0 8px 40px rgba(10,35,66,0.14);
    --shadow-gold:    0 4px 20px rgba(201,168,76,0.30);
    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      28px;
    --transition:     all 0.3s ease;
    --font-ar:        'Cairo', sans-serif;
    --font-en:        'Poppins', sans-serif;
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ar);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

body.ltr-body { font-family: var(--font-en); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

/* ---- Preloader ---- */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; color: var(--white); }
.spinner {
    width: 50px; height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-inner p { font-size: 14px; opacity: 0.7; margin: 0; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.top-bar-info { display: flex; gap: 20px; align-items: center; }
.top-bar-info a {
    color: rgba(255,255,255,0.85);
    display: flex; align-items: center; gap: 6px;
    font-size: 13px;
}
.top-bar-info a:hover { color: var(--secondary); }
.top-bar-info i { color: var(--secondary); font-size: 12px; }
.top-bar-right {
    display: flex; align-items: center; justify-content: flex-end; gap: 16px;
}
.top-bar .social-links { display: flex; gap: 10px; }
.top-bar .social-links a {
    color: rgba(255,255,255,0.7);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
    font-size: 13px;
}
.top-bar .social-links a:hover { background: var(--secondary); color: var(--primary); }

.lang-switcher .lang-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}
.lang-switcher .lang-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(201,168,76,0.1);
}
.lang-switcher .lang-btn img {
    width: 16px; height: 12px;
    object-fit: cover; border-radius: 2px;
}

/* ---- Navbar ---- */
.main-navbar {
    background: var(--white);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 1000;
    transition: var(--transition);
}
.main-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 25px rgba(10,35,66,0.12);
}

.navbar-brand { padding: 0; }
.logo-text {
    display: flex; align-items: center; gap: 10px;
}
.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(10,35,66,0.2);
}
.logo-words { display: flex; flex-direction: column; line-height: 1.2; }
.logo-primary { font-size: 18px; font-weight: 800; color: var(--primary); }
.logo-secondary { font-size: 13px; font-weight: 600; color: var(--secondary); }
.navbar-logo { height: 50px; }

.main-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}
.main-navbar .nav-link::after {
    content: '';
    position: absolute; bottom: 2px; left: 50%; right: 50%;
    height: 2px; background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
    background: rgba(10,35,66,0.04);
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    left: 14px; right: 14px;
}

.btn-register {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary) !important;
    border: none !important;
    font-weight: 700;
    padding: 10px 22px !important;
    border-radius: 25px !important;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.45);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
}

/* ---- Section Titles ---- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(201,168,76,0.12);
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0.3);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.3;
}
.section-desc {
    color: var(--text-medium);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 60%, #1a5276 100%);
    min-height: 600px;
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--bg-light);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--secondary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-badge i { color: var(--secondary); }
.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 18px;
}
.hero-title span { color: var(--secondary); }
.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btns .btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}
.hero-btns .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201,168,76,0.5);
}
.hero-btns .btn-hero-outline {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    font-size: 15px;
    transition: var(--transition);
}
.hero-btns .btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}
.hero-stats {
    display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stat { display: flex; align-items: center; gap: 10px; }
.hero-stat-num {
    font-size: 28px; font-weight: 900; color: var(--secondary);
    line-height: 1;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.3; }
.hero-image { position: relative; z-index: 2; text-align: center; }
.hero-image img {
    max-height: 420px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-cards {
    display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2;
}
.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex; align-items: center; gap: 14px;
    transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.13); transform: translateX(-4px); }
.hero-card-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--primary);
    flex-shrink: 0;
}
.hero-card-title { font-size: 15px; font-weight: 700; color: var(--white); margin: 0; }
.hero-card-desc { font-size: 12px; color: rgba(255,255,255,0.65); margin: 0; }

/* ---- Stats Section ---- */
.stats-section { padding: 60px 0; background: var(--white); }
.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-icon {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, rgba(10,35,66,0.08), rgba(10,35,66,0.04));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--primary);
    margin: 0 auto 14px;
}
.stat-number { font-size: 2.4rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--secondary); }
.stat-label { color: var(--text-medium); font-size: 14px; font-weight: 600; }

/* ---- University Cards ---- */
.universities-section { padding: 80px 0; background: var(--bg-light); }

.uni-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
    cursor: pointer;
    position: relative;
}
.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.uni-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
}
.rtl-body .uni-card-badge { right: auto; left: 14px; }
.uni-card-cover {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #f8faff, var(--bg-light));
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.uni-card-cover.has-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.uni-card-cover.has-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 66, 0.45);
    pointer-events: none;
}
.uni-card-logo {
    width: 90px; height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(10,35,66,0.18);
    border: 3px solid var(--white);
    transition: var(--transition);
}
.uni-card-logo img {
    max-height: 62px;
    max-width: 62px;
    object-fit: contain;
    transition: var(--transition);
}
.uni-card:hover .uni-card-logo img { transform: scale(1.05); }
.uni-card-logo .logo-placeholder {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    font-weight: 900;
    color: var(--secondary);
}

.uni-card-body {
    padding: 22px;
    flex: 1;
    display: flex; flex-direction: column;
}
.uni-card-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.35;
}
.uni-card-founded {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.uni-card-founded span { color: var(--secondary-dark); font-weight: 700; }
.uni-card-location {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 600;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}
.uni-card-location i { color: var(--accent); font-size: 14px; }
.uni-card-location a { color: var(--primary); font-weight: 700; }
.uni-card-location a:hover { color: var(--secondary); }

/* ---- University Detail Page ---- */
.uni-detail-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    padding: 60px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.uni-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 66, 0.65);
    z-index: 1;
}
.uni-detail-hero > * {
    position: relative;
    z-index: 2;
}
.uni-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--bg-light);
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 3;
}
.uni-detail-logo-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 160px; height: 160px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}
.uni-detail-logo-wrap img {
    max-width: 120px; max-height: 120px;
    object-fit: contain;
}
.uni-detail-name { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.uni-detail-founded { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.uni-meta-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.uni-meta-tag {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px; padding: 6px 14px;
    font-size: 13px; color: var(--white);
}
.uni-meta-tag i { color: var(--secondary); }

.uni-ranking-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    color: var(--white);
}
.uni-ranking-box h4 { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.uni-ranking-box .rank-num { font-size: 2.5rem; font-weight: 900; color: var(--secondary); }
.uni-ranking-box small { font-size: 12px; color: rgba(255,255,255,0.6); }

.uni-register-btn {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary);
    font-weight: 800;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    box-shadow: var(--shadow-gold);
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.uni-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201,168,76,0.5);
    color: var(--primary);
}

.content-section { padding: 70px 0; }
.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 28px;
}
.content-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}
.content-card-title i { color: var(--secondary); font-size: 1.2rem; }
.content-p { color: var(--text-medium); line-height: 1.9; font-size: 15.5px; }

/* ---- Search & Filter Bar ---- */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 36px;
}
.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 11px 16px;
    font-size: 14.5px;
    color: var(--text-dark);
    transition: var(--transition);
}
.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
}
.filter-bar .btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 24px;
    font-weight: 600;
    transition: var(--transition);
}
.filter-bar .btn-search:hover { background: var(--primary-lighter); transform: none; }

/* ---- Services ---- */
.services-section { padding: 80px 0; }
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--secondary);
    margin: 0 auto 22px;
    box-shadow: 0 6px 20px rgba(10,35,66,0.15);
    transition: var(--transition);
}
.service-card:hover .service-icon { transform: rotateY(180deg); }
.service-title {
    font-size: 18px; font-weight: 800;
    color: var(--primary); margin-bottom: 12px;
}
.service-desc { color: var(--text-medium); font-size: 14.5px; line-height: 1.8; }
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--secondary-dark);
    font-weight: 700; font-size: 14px;
    margin-top: 16px;
    padding: 8px 20px;
    border: 2px solid var(--secondary);
    border-radius: 25px;
    transition: var(--transition);
}
.service-link:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ---- Golden Service Card ---- */
.service-card-golden {
    background: linear-gradient(135deg, #0a2342 0%, #1e3a5f 60%, #0a2342 100%);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    border: 2px solid var(--secondary);
    box-shadow: 0 8px 40px rgba(201,168,76,0.25);
    position: relative;
    overflow: hidden;
}
.service-card-golden::before {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.service-card-golden::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.service-card-golden .golden-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary);
    font-weight: 800; font-size: 13px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.service-card-golden .golden-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 38px; color: var(--primary);
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.service-card-golden .golden-title {
    font-size: 22px; font-weight: 900;
    color: var(--secondary-light);
    margin-bottom: 14px;
}
.service-card-golden .golden-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15.5px; line-height: 1.9;
    margin-bottom: 28px;
}
.service-card-golden .golden-price {
    font-size: 26px; font-weight: 900;
    color: var(--secondary);
    margin-bottom: 24px;
}
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 800; font-size: 16px;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

/* ---- Comparison Table ---- */
.comparison-section { padding: 80px 0; }
.comparison-select-area {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}
.comparison-table { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.comparison-table table { margin: 0; }
.comparison-table thead th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 18px 22px;
    font-size: 15px;
    border: none;
    text-align: center;
}
.comparison-table thead th:first-child { text-align: right; }
.comparison-table tbody td {
    padding: 14px 22px;
    font-size: 14.5px;
    border-color: var(--border-light);
    vertical-align: middle;
    text-align: center;
}
.comparison-table tbody td:first-child {
    font-weight: 700; color: var(--primary);
    background: var(--bg-light);
    text-align: right;
}
.comparison-table tbody tr:hover { background: rgba(10,35,66,0.02); }
.check-yes { color: var(--success); font-size: 18px; }
.check-no { color: #dc3545; font-size: 18px; }

/* ---- Blog ---- */
.blog-section { padding: 80px 0; }
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img {
    height: 210px; overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
}
.blog-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-img .img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--secondary);
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(10,35,66,0.06);
    color: var(--primary);
    border-radius: 20px; font-size: 12px; font-weight: 700;
    margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-card-title {
    font-size: 17px; font-weight: 800;
    color: var(--primary); margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-title:hover { color: var(--secondary-dark); }
.blog-card-meta {
    display: flex; gap: 14px; align-items: center;
    font-size: 12.5px; color: var(--text-light);
    margin-bottom: 12px;
}
.blog-card-meta i { color: var(--secondary); }
.blog-card-desc {
    color: var(--text-medium); font-size: 14px; line-height: 1.75;
    margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 700; font-size: 14px;
    transition: var(--transition);
}
.blog-card-link:hover { color: var(--secondary-dark); gap: 10px; }

/* ---- About Page ---- */
.about-section { padding: 80px 0; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-badge-float {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    font-weight: 800;
}
.about-badge-float .big-num { font-size: 2.2rem; display: block; line-height: 1; }
.about-badge-float small { font-size: 12px; font-weight: 700; }
.rtl-body .about-badge-float { right: auto; left: -20px; }

.feature-item {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 24px;
}
.feature-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(10,35,66,0.08), rgba(10,35,66,0.04));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--primary);
}
.feature-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.feature-desc { color: var(--text-medium); font-size: 14px; line-height: 1.7; }

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    margin: 0 auto 16px;
    display: block;
}
.team-photo-placeholder {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: var(--secondary);
    margin: 0 auto 16px;
    border: 3px solid var(--secondary);
}
.team-name { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--secondary-dark); font-weight: 600; }

/* ---- Static Legal Pages ---- */
.static-page-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.static-page-body {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--text-medium);
}
.static-page-body h1,
.static-page-body h2,
.static-page-body h3,
.static-page-body h4 {
    color: var(--primary);
    font-weight: 800;
    margin-top: 32px;
    margin-bottom: 12px;
}
.static-page-body ul,
.static-page-body ol {
    padding-inline-start: 24px;
    margin-bottom: 16px;
}
.static-page-body p { margin-bottom: 14px; }
.static-page-body a { color: var(--secondary-dark); text-decoration: underline; }
@media (max-width: 767px) {
    .static-page-card { padding: 28px 20px; }
}

/* ---- Contact Page ---- */
.contact-section { padding: 80px 0; }
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    height: 100%;
}
.contact-info-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 30px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
}
.contact-item-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--secondary);
}
.contact-item-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-item-value { font-size: 15px; font-weight: 700; color: var(--white); }
.contact-item-value a { color: var(--white); }
.contact-item-value a:hover { color: var(--secondary); }
.contact-social { display: flex; gap: 10px; margin-top: 30px; }
.contact-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 16px;
    transition: var(--transition);
}
.contact-social a:hover { background: var(--secondary); color: var(--primary); }

.form-group { margin-bottom: 20px; }
.form-label { font-weight: 700; font-size: 14px; color: var(--primary); margin-bottom: 7px; }
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    font-family: var(--font-ar);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
}
.btn-submit {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary);
    font-weight: 800;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.45); }

/* ---- Why Turkey Section ---- */
.why-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    position: relative; overflow: hidden;
}
.why-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-5px);
}
.why-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--primary);
    margin: 0 auto 18px;
}
.why-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.why-desc { color: rgba(255,255,255,0.75); font-size: 13.5px; line-height: 1.7; }

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 50px;
    background: var(--bg-light);
    clip-path: ellipse(70% 100% at 50% 100%);
}
.page-header h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 550px; margin: 0 auto; }
.breadcrumb-area { margin-top: 16px; }
.breadcrumb-item, .breadcrumb-item.active {
    color: rgba(255,255,255,0.7); font-size: 14px;
}
.breadcrumb-item a { color: rgba(255,255,255,0.85); }
.breadcrumb-item a:hover { color: var(--secondary); }
.breadcrumb-item.active { color: var(--secondary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Buttons ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700; font-size: 15px;
    transition: var(--transition);
}
.btn-primary-custom:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-secondary-custom {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--primary);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700; font-size: 15px;
    transition: var(--transition);
}
.btn-secondary-custom:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--primary); }
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: var(--radius-md);
    font-weight: 700; font-size: 15px;
    transition: var(--transition);
}
.btn-outline-custom:hover { background: var(--primary); color: var(--white); }

/* ---- Steps Section ---- */
.steps-section { padding: 90px 0; background: var(--bg-light); }
.steps-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}
.steps-track::before {
    content: '';
    position: absolute;
    top: 56px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary-lighter));
    z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 28px; height: 28px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    font-size: 13px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px;
    position: relative; z-index: 2;
    box-shadow: 0 2px 8px rgba(201,168,76,0.4);
}
.step-icon {
    width: 60px; height: 60px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--primary);
    margin: 0 auto 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.step-item:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--text-medium); line-height: 1.7; }
@media (max-width: 991px) {
    .steps-track { grid-template-columns: repeat(3, 1fr); }
    .steps-track::before { display: none; }
}
@media (max-width: 575px) {
    .steps-track { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Specializations Section ---- */
.specializations-section { padding: 90px 0; background: var(--white); }
.major-card {
    display: block;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    color: inherit;
}
.major-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    background: var(--white);
}
.major-icon {
    width: 66px; height: 66px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.major-card:hover .major-icon { transform: scale(1.1); }
.major-title { font-size: 15px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.major-desc { font-size: 12px; color: var(--text-medium); line-height: 1.65; margin-bottom: 14px; }
.major-link {
    font-size: 13px; font-weight: 700; color: var(--primary);
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.major-card:hover .major-link { color: var(--secondary); }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: #25d366;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 12px 18px 12px 14px;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float span { font-size: 13px; font-weight: 700; max-width: 0; overflow: hidden; white-space: nowrap; transition: var(--transition); }
.whatsapp-float:hover { border-radius: 50px; }
.whatsapp-float:hover span { max-width: 120px; }
.rtl-body .whatsapp-float { right: auto; left: 24px; }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none; border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    z-index: 998;
    cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--secondary); color: var(--primary); transform: translateY(-3px); }
.rtl-body .back-to-top { right: auto; left: 24px; }

/* ---- Footer ---- */
.main-footer { background: var(--primary); color: rgba(255,255,255,0.85); }
.footer-top { padding: 60px 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-icon {
    width: 46px; height: 46px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--secondary);
}
.footer-logo-primary { font-size: 18px; font-weight: 800; color: var(--white); display: block; }
.footer-logo-secondary { font-size: 13px; font-weight: 600; color: var(--secondary); }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.8; margin-top: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social .social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--white);
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
}
.footer-social .social-link:hover { transform: translateY(-3px); }
.footer-social .social-link.facebook:hover { background: #1877f2; }
.footer-social .social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social .social-link.twitter:hover { background: #1da1f2; }
.footer-social .social-link.youtube:hover { background: #ff0000; }
.footer-social .social-link.whatsapp:hover { background: #25d366; }

.footer-title {
    font-size: 15px; font-weight: 800;
    color: var(--white); margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    display: flex; align-items: center; gap: 7px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-inline-start: 5px; }
.footer-links a i { font-size: 12px; color: var(--secondary); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex; gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.footer-contact li i {
    color: var(--secondary); font-size: 15px;
    margin-top: 3px; flex-shrink: 0;
}
.footer-contact li span,
.footer-contact li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-contact li a:hover { color: var(--secondary); }
.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a {
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}
.footer-bottom a:hover { color: var(--secondary); }

/* ---- Pagination ---- */
.pagination .page-link {
    color: var(--primary);
    border-color: var(--border);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
}
.pagination .page-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ---- Utility ---- */
.bg-primary-dark { background: var(--primary) !important; }
.bg-gold { background: var(--secondary) !important; }
.text-primary-dark { color: var(--primary) !important; }
.text-gold { color: var(--secondary) !important; }
.text-muted-custom { color: var(--text-medium) !important; }

.gap-section { padding: 80px 0; }
.gap-section-sm { padding: 50px 0; }

.card-hover {
    transition: var(--transition);
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---- Alert ---- */
.alert-success { background: #d4edda; border-color: #c3e6cb; color: #155724; }
.alert-danger { background: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.alert-info { background: #d1ecf1; border-color: #bee5eb; color: #0c5460; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-section { padding: 60px 0 80px; }
    .hero-title { font-size: 1.8rem; }
    .hero-cards { display: none; }
    .top-bar .top-bar-info { display: none; }
    .top-bar-right { justify-content: flex-end; }
    .section-title { font-size: 1.6rem; }
    .uni-detail-name { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 20px; }
    .hero-stat-num { font-size: 22px; }
    .contact-form-wrap { padding: 24px; }
    .content-card { padding: 22px; }
    .section-title { font-size: 1.4rem; }
    .filter-bar { padding: 16px; }
    .footer-top { padding: 40px 0; }
    .whatsapp-float { bottom: 70px; }
}
