/* ============================================
   NURAN TECHNOLOGY SOLUTIONS
   Premium Enterprise Website Stylesheet v2.0
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    /* Brand Colors */
    --nuran-blue: #0A66FF;
    --nuran-blue-hover: #0050D8;
    --nuran-blue-light: rgba(10, 102, 255, 0.1);
    --nuran-blue-glow: rgba(10, 102, 255, 0.4);
    --nuran-cyan: #38BDF8;
    --nuran-black: #050A15;
    --nuran-dark: #0C1424;
    --nuran-dark-2: #0F1A2E;
    --nuran-white: #FFFFFF;
    --nuran-gray: #E8EDF5;
    --nuran-light: #F4F7FF;

    /* Compatibility aliases */
    --nuran-dark-gray: #0C1424;
    --nuran-light-blue: rgba(10, 102, 255, 0.1);
    --white: #FFFFFF;
    --primary: #0A66FF;
    --light: #F4F7FF;
    --radius-md: 12px;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #6B7280;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A66FF 0%, #38BDF8 100%);
    --gradient-primary-r: linear-gradient(135deg, #38BDF8 0%, #0A66FF 100%);
    --gradient-dark: linear-gradient(160deg, #050A15 0%, #0C1424 50%, #0F1A2E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(5,10,21,0.97) 0%, rgba(10,102,255,0.88) 100%);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-md: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-light: rgba(255, 255, 255, 0.75);

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
    --shadow-blue: 0 8px 30px rgba(10, 102, 255, 0.25);
    --shadow-blue-lg: 0 20px 50px rgba(10, 102, 255, 0.3);

    /* Borders */
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---- Global Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Tajawal', sans-serif;
    color: var(--text-primary);
    background: var(--nuran-white);
    line-height: 1.6;
}

body[dir="rtl"] {
    font-family: 'Tajawal', 'Inter', sans-serif;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f4f9; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--nuran-blue), var(--nuran-cyan));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--nuran-blue-hover); }

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--nuran-black);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: var(--nuran-blue);
    border-right-color: var(--nuran-cyan);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 1; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-nuran {
    background: rgba(255, 255, 255, 0.97) !important;
    padding: 18px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(10, 102, 255, 0.08);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.navbar-nuran.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(10, 102, 255, 0.12);
}

.navbar-nuran .navbar-brand {
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--nuran-blue) !important;
    letter-spacing: -0.5px;
}

.navbar-nuran .nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
    font-size: 0.93rem;
    letter-spacing: 0.2px;
}

.navbar-nuran .nav-link:hover,
.navbar-nuran .nav-link.active {
    color: var(--nuran-blue) !important;
}

.navbar-nuran .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-nuran .nav-link:hover::after,
.navbar-nuran .nav-link.active::after {
    left: 16px;
    right: 16px;
}

.lang-switch {
    background: var(--nuran-gray);
    color: var(--nuran-black);
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.lang-switch:hover {
    background: var(--nuran-blue);
    color: var(--nuran-white);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-nuran {
    background: var(--gradient-primary);
    color: var(--nuran-white);
    border: none;
    padding: 13px 34px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}

.btn-nuran::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.btn-nuran:hover {
    color: var(--nuran-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue-lg);
}

.btn-nuran:hover::before { opacity: 1; }

.btn-nuran-outline {
    background: transparent;
    color: var(--nuran-blue);
    border: 2px solid var(--nuran-blue);
    padding: 11px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-nuran-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-nuran-outline:hover {
    color: var(--nuran-white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-nuran-outline:hover::before { opacity: 1; }

.btn-nuran-white {
    background: var(--nuran-white);
    color: var(--nuran-blue);
    border: 2px solid var(--nuran-white);
    padding: 11px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-nuran-white:hover {
    background: transparent;
    color: var(--nuran-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 92vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Animated grid mesh background */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* Glowing orb top-right */
.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 102, 255, 0.2) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

body[dir="rtl"] .hero-section::after {
    right: auto;
    left: -10%;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--nuran-white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
    max-width: 580px;
    margin-bottom: 44px;
    font-weight: 400;
}

.hero-tech-icon {
    font-size: 18rem;
    color: rgba(10, 102, 255, 0.08);
    position: absolute;
    right: -20px;
    bottom: -80px;
    transform: rotate(-15deg);
    z-index: 2;
    filter: blur(1px);
}

body[dir="rtl"] .hero-tech-icon {
    right: auto;
    left: -20px;
    transform: rotate(15deg) scaleX(-1);
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 102, 255, 0.12);
    border: 1px solid rgba(10, 102, 255, 0.3);
    color: var(--nuran-cyan);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--nuran-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--nuran-cyan);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-tag {
    display: inline-block;
    background: var(--nuran-blue-light);
    color: var(--nuran-blue);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(10, 102, 255, 0.2);
}

.section-header h2 {
    font-size: 2.7rem;
    font-weight: 900;
    color: var(--nuran-black);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 28px auto 0;
    line-height: 1.85;
}

/* ============================================
   TECH FEATURE CARDS (Home Page)
   ============================================ */
.tech-feature-section {
    position: relative;
}

.tech-feature-wrapper {
    perspective: 1200px;
    height: 100%;
}

.tech-feature-card {
    background: var(--nuran-white);
    border: 1px solid rgba(10, 102, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    height: 100%;
    transform-style: preserve-3d;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(10, 102, 255, 0.07) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.tech-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-feature-wrapper:hover .tech-feature-card {
    transform: translateY(-12px) rotateX(4deg) rotateY(3deg);
    border-color: rgba(10, 102, 255, 0.25);
    box-shadow: 0 24px 50px rgba(10, 102, 255, 0.15);
}

.tech-feature-wrapper:hover .tech-feature-card::before { opacity: 1; }

.tech-feature-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10,102,255,0.08) 0%, rgba(56,189,248,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--nuran-blue);
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
    border: 1px solid rgba(10, 102, 255, 0.15);
}

.tech-feature-icon::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.tech-feature-wrapper:hover .tech-feature-icon {
    background: var(--gradient-primary);
    color: var(--nuran-white);
    transform: translateZ(40px) scale(1.08);
    box-shadow: 0 12px 30px rgba(10, 102, 255, 0.35);
    border-color: transparent;
}

.tech-feature-wrapper:hover .tech-feature-icon::after { width: 70%; }

.tech-feature-card h5 {
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--nuran-black);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.tech-feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

/* ============================================
   SERVICE LIST CARDS
   ============================================ */
.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--nuran-white);
    border: 1px solid rgba(10, 102, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.service-list-item:hover {
    box-shadow: var(--shadow-blue);
    border-color: rgba(10, 102, 255, 0.25);
    transform: translateY(-4px);
}

.service-list-item i {
    font-size: 2.2rem;
    color: var(--nuran-blue);
    margin-top: 5px;
}

.service-list-item-content h5 {
    font-weight: 800;
    color: var(--nuran-black);
    margin-bottom: 8px;
}

.service-list-item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   TECH STATS SECTION
   ============================================ */
.tech-stats-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

/* Mesh grid background */
.tech-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

/* Large glow blob */
.tech-stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(10, 102, 255, 0.15) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.tech-stat-wrapper {
    perspective: 1000px;
    height: 100%;
}

.tech-stat-card {
    background: var(--glass-bg-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 36px 20px;
    text-align: center;
    transition: var(--transition-slow);
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.tech-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-stat-wrapper:hover .tech-stat-card {
    transform: translateY(-10px) rotateX(8deg);
    border-color: rgba(10, 102, 255, 0.4);
    box-shadow: 0 20px 50px rgba(10, 102, 255, 0.2);
    background: rgba(10, 102, 255, 0.1);
}

.tech-stat-wrapper:hover .tech-stat-card::before { opacity: 1; }

.tech-stat-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-slow);
    transform: translateZ(20px);
    display: block;
}

.tech-stat-wrapper:hover .tech-stat-icon {
    transform: translateZ(40px) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(10, 102, 255, 0.6));
}

.tech-stat-number {
    font-size: 3.4rem;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff 30%, rgba(56, 189, 248, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-slow);
    transform: translateZ(30px);
    letter-spacing: -1px;
}

.tech-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transform: translateZ(10px);
    transition: var(--transition);
}

.tech-stat-wrapper:hover .tech-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   PROJECT / PORTFOLIO CARDS
   ============================================ */
.portfolio-section {
    background: var(--nuran-light);
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    height: 360px;
    cursor: pointer;
    background: var(--nuran-dark);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.88;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.project-card:hover img {
    transform: scale(1.1);
    opacity: 0.45;
}

/* Gradient border on hover */
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.project-card:hover::before { opacity: 1; }

.project-card .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 34px 28px;
    background: linear-gradient(transparent, rgba(5, 10, 21, 0.97));
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 2;
}

.project-card:hover .overlay { transform: translateY(0); }

.project-card .overlay h5 {
    color: var(--nuran-white);
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.25rem;
    line-height: 1.35;
}

.project-card .overlay p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-card .overlay .badge {
    background: var(--gradient-primary);
    color: var(--nuran-white);
    font-size: 0.72rem;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border: none;
}

/* ============================================
   SERVICE / FEATURE CARD (Legacy)
   ============================================ */
.service-feature-card {
    background: var(--nuran-white);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(10, 102, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.service-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(10, 102, 255, 0.25);
}

.service-feature-card .icon-wrap {
    width: 80px; height: 80px;
    background: var(--nuran-blue-light);
    color: var(--nuran-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-feature-card:hover .icon-wrap {
    background: var(--gradient-primary);
    color: var(--nuran-white);
    box-shadow: var(--shadow-blue);
}

.service-feature-card h5 {
    font-weight: 800;
    color: var(--nuran-black);
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.service-feature-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.93rem;
    margin: 0;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
    background: var(--gradient-dark);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.brands-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.brands-section .section-header h2 { color: var(--nuran-white); }
.brands-section .section-header p { color: rgba(255,255,255,0.55); }
.brands-section .section-header h2::after { background: var(--gradient-primary); }

.brand-logo {
    background: var(--glass-bg-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: translateY(-6px);
    background: rgba(10, 102, 255, 0.12);
    border-color: rgba(10, 102, 255, 0.3);
    box-shadow: var(--shadow-blue);
}

.brand-logo img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.55);
    transition: var(--transition);
}

.brand-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

.brand-logo span {
    font-weight: 800;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}

.brand-logo:hover span {
    color: var(--nuran-blue);
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    background: var(--nuran-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(10, 102, 255, 0.06);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(10, 102, 255, 0.2);
}

.blog-card .card-img-top {
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-top { transform: scale(1.04); }

.blog-card .card-body { padding: 28px; }

.blog-card .card-title {
    font-weight: 800;
    color: var(--nuran-black);
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .card-text {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
    margin-bottom: 22px;
}

.blog-card .read-more {
    color: var(--nuran-blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: var(--nuran-blue-light);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.blog-card .read-more:hover {
    background: var(--nuran-blue);
    color: var(--nuran-white);
    gap: 12px;
}

.blog-card .card-img-wrapper {
    overflow: hidden;
    height: 230px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-meta i {
    color: var(--nuran-blue);
    font-size: 0.78rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-dark);
    padding: 110px 0;
    text-align: center;
    color: var(--nuran-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(10, 102, 255, 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
    font-weight: 900;
    font-size: 2.6rem;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.cta-section h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 44px;
    line-height: 1.85;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 52px 40px;
    color: var(--nuran-white);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10, 102, 255, 0.15);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(10, 102, 255, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.contact-info-card h3, .contact-info-card h4 {
    font-weight: 800;
    margin-bottom: 34px;
    color: var(--nuran-white);
    position: relative;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.contact-info-item .icon {
    width: 50px; height: 50px;
    min-width: 50px;
    background: rgba(10, 102, 255, 0.15);
    border: 1px solid rgba(10, 102, 255, 0.25);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuran-cyan);
    font-size: 1.15rem;
    transition: var(--transition);
}

.contact-info-item:hover .icon {
    background: var(--nuran-blue);
    border-color: var(--nuran-blue);
    box-shadow: var(--shadow-blue);
}

.contact-info-item h6 {
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-info-item p {
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 36px;
    position: relative;
    z-index: 1;
}

.social-links a {
    width: 44px; height: 44px;
    background: var(--glass-bg-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--nuran-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.contact-form .form-control {
    border: 1.5px solid rgba(10, 102, 255, 0.1);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--nuran-light);
    color: var(--text-primary);
}

.contact-form .form-control:focus {
    border-color: var(--nuran-blue);
    box-shadow: 0 0 0 4px rgba(10, 102, 255, 0.08);
    background: var(--nuran-white);
    outline: none;
}

.contact-form .form-control::placeholder { color: #9CA3AF; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gradient-dark);
    padding: 90px 0 0;
    color: rgba(255,255,255,0.55);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(10, 102, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.footer .container { position: relative; z-index: 1; }

.footer h5 {
    color: var(--nuran-white);
    font-weight: 800;
    margin-bottom: 24px;
    font-size: 1.2rem;
    letter-spacing: 0.2px;
}

.footer p { line-height: 1.85; font-size: 0.92rem; }

.footer a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    font-size: 0.92rem;
}

.footer a:hover {
    color: var(--nuran-cyan);
    padding-inline-start: 6px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer ul li:last-child { border-bottom: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.35);
    position: relative;
    z-index: 1;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
    background: var(--gradient-dark);
    padding: 160px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 102, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 102, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(10, 102, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--nuran-white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 20px 0 0;
    font-size: 1rem;
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
    content: "›";
    padding: 0 10px;
}

[dir="rtl"] .page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "‹";
}

.page-header .breadcrumb-item a {
    color: var(--nuran-cyan);
    font-weight: 600;
}

.page-header .breadcrumb-item a:hover { color: var(--nuran-white); }

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.65);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-feature {
    background: var(--nuran-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 102, 255, 0.08);
    transition: var(--transition-slow);
    height: 100%;
}

.about-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(10, 102, 255, 0.25);
}

.about-feature .icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, rgba(10,102,255,0.08) 0%, rgba(56,189,248,0.12) 100%);
    border: 1px solid rgba(10, 102, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuran-blue);
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.about-feature:hover .icon {
    background: var(--gradient-primary);
    color: var(--nuran-white);
    box-shadow: var(--shadow-blue);
    border-color: transparent;
}

/* ============================================
   PORTFOLIO FILTER
   ============================================ */
.portfolio-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.portfolio-filter .filter-btn {
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(10, 102, 255, 0.15);
    background: var(--nuran-white);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
}

.portfolio-filter .filter-btn.active,
.portfolio-filter .filter-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--nuran-white);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    color: var(--nuran-white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-blue);
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue-lg);
}

body[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    background: var(--nuran-dark);
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ============================================
   STATS SECTION (Legacy)
   ============================================ */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    color: var(--nuran-white);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body[dir="rtl"] .stat-item {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.col-md-3:last-child .stat-item { border: none !important; }

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .hero-title { font-size: 3.2rem; }
}

@media (max-width: 991px) {
    .navbar-nuran { padding: 12px 0; }

    .hero-title { font-size: 2.7rem; }

    .hero-tech-icon { display: none; }

    section { padding: 80px 0; }

    .section-header h2 { font-size: 2.2rem; }

    .stat-item {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 20px;
        padding-bottom: 30px;
    }

    .col-md-3:last-child .stat-item { border-bottom: none; }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle { font-size: 1.05rem; }

    .hero-content { text-align: center; padding: 50px 0; }

    .hero-content .d-flex { justify-content: center; }

    .hero-section { min-height: 85vh; }

    .btn-nuran,
    .btn-nuran-white,
    .btn-nuran-outline { margin-bottom: 10px; }

    .page-header { padding: 130px 0 70px; }

    .page-header h1 { font-size: 2.1rem; }

    .section-header h2 { font-size: 1.9rem; }

    .section-header { margin-bottom: 48px; }

    .tech-stat-number { font-size: 2.8rem; }

    .contact-info-card { padding: 36px 24px; }

    .cta-section { padding: 80px 0; }
    .cta-section h2 { font-size: 2rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.9rem; }
    .project-card { height: 300px; }
}
