:root {
    --primary: #2d6df6;
    --primary-dark: #1747b8;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #f6f9ff;
    --white: #ffffff;
    --border: #e5ecfa;
    --shadow: 0 12px 40px rgba(29, 78, 216, 0.08);
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #020617 0%, #06152e 50%, #08203d 100%);
    position: relative;
    user-select: none;
}

a {
    color: var(--primary);
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.site-nav,
.hero-section,
.stats-section,
.section-gap,
.inner-hero,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-nav {
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.site-nav .navbar-brand,
.site-nav .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: #60a5fa !important;
}

.site-nav .navbar-toggler {
    border-color: rgba(255,255,255,0.25);
}

.site-nav .navbar-toggler:focus {
    box-shadow: none;
}

.site-nav .navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.site-nav .navbar-toggler-icon::before,
.site-nav .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    left: 0;
}

.site-nav .navbar-toggler-icon::before {
    top: -7px;
}

.site-nav .navbar-toggler-icon::after {
    top: 7px;
}

.site-nav .navbar-toggler:hover .navbar-toggler-icon,
.site-nav .navbar-toggler:hover .navbar-toggler-icon::before,
.site-nav .navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: #60a5fa;
}

.brand-badge {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.hero-tag,
.section-label {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(45,109,246,.12);
    color: #7dd3fc;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.hero-image-wrap {
    position: relative;
    padding: 30px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(45,109,246,.18), rgba(255,255,255,.92));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 24px;
}

.placeholder-photo,
.about-box {
    min-height: 420px;
    display: grid;
    place-items: center;
    border: 2px dashed rgba(179, 199, 248, 0.35);
    border-radius: 24px;
    color: #cbd5e1;
    background: rgba(255,255,255,.06);
}

.stats-section {
    margin-top: -20px;
}

.stat-card,
.service-card,
.project-card,
.blog-card,
.contact-box,
.form-card,
.dash-card,
.table-card {
    background: rgba(255,255,255,.08);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.stat-card {
    padding: 28px 20px;
}

.stat-card h2 {
    font-size: 42px;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: 6px;
}

.stat-card p {
    margin: 0;
    color: #cbd5e1;
}

.section-gap {
    padding: 90px 0;
}

.bg-light-soft {
    background: transparent;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 14px 0 18px;
    color: #ffffff;
}

.section-text,
.page-content,
.single-content {
    color: #cbd5e1;
    line-height: 1.9;
}

.lead,
.text-muted {
    color: #cbd5e1 !important;
}

.display-4,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badges span {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: #dbeafe;
    font-weight: 600;
}

.project-thumb,
.blog-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}

.project-card,
.blog-card {
    overflow: hidden;
}

.single-thumb {
    max-height: 500px;
    object-fit: cover;
}

.service-card {
    padding: 30px;
}

.contact-box,
.form-card,
.table-card {
    padding: 30px;
}

.inner-hero {
    background: linear-gradient(135deg, rgba(45,109,246,.08), rgba(255,255,255,0));
}

.site-footer {
    background: transparent;
}

.footer-link {
    margin-left: 18px;
    text-decoration: none;
    color: #cbd5e1;
}

.footer-link:hover {
    color: #60a5fa;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4a8cff);
    border: none;
    box-shadow: 0 10px 25px rgba(45,109,246,.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline-primary {
    color: #93c5fd;
    border-color: rgba(147,197,253,.5);
}

.btn-outline-primary:hover {
    background: rgba(45,109,246,.15);
    border-color: #60a5fa;
    color: #ffffff;
}

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 14px;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: #ffffff;
}

.form-control::placeholder,
.form-select::placeholder {
    color: #cbd5e1;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255,255,255,.08);
    color: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.15);
}

textarea.form-control {
    min-height: auto;
}

.admin-login-bg {
    background: linear-gradient(180deg, #eef5ff, #fefeff);
    min-height: 100vh;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #0f172a;
    color: white;
    padding: 28px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-sidebar a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.admin-sidebar a:hover {
    background: rgba(255,255,255,.08);
    color: white;
}

.admin-content {
    flex: 1;
    padding: 32px;
}

.dash-card {
    padding: 28px;
}

.dash-card h3 {
    font-size: 40px;
    color: var(--primary);
    font-weight: 800;
}

.table-card table {
    margin-bottom: 0;
}

hr {
    border-color: rgba(255,255,255,.12);
}

.counter {
    transition: all 0.3s ease;
}

/* About feature cards */
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    transition: all 0.3s ease;
}

.about-feature i {
    font-size: 22px;
    color: #60a5fa;
}

.about-feature h6 {
    margin: 0;
    color: #e2e8f0;
    font-weight: 600;
}

.about-feature:hover {
    transform: translateY(-6px);
    background: rgba(96,165,250,.15);
}

/* glow card */
.glow-card {
    transition: 0.3s;
}

.glow-card:hover {
    box-shadow: 0 0 30px rgba(96,165,250,.4);
    transform: translateY(-5px);
}

/* service style card */
.service-style-card {
    padding: 22px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-style-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(96,165,250,0.2), transparent);
    opacity: 0;
    transition: 0.4s;
}

.service-style-card:hover::before {
    opacity: 1;
}

.service-style-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(96,165,250,0.6);
}

.service-style-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #60a5fa, transparent);
    transition: 0.4s;
}

.service-style-card:hover::after {
    width: 100%;
}

.service-icon-wrap {
    width: 55px;
    height: 55px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: rgba(96,165,250,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #60a5fa;
    transition: 0.3s;
}

.service-style-card:hover .service-icon-wrap {
    transform: rotate(8deg) scale(1.1);
    background: rgba(96,165,250,.25);
}

.service-style-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.service-style-text {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* mobile compact hero/services */
.custom-hero {
    padding: 20px 0 10px;
}

.custom-gap {
    padding-top: 20px;
}

@media (max-width: 991px) {
    .section-gap {
        padding: 70px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 28px;
    }

    .stat-card h2 {
        font-size: 32px;
    }

    .hero-image {
        max-height: 420px;
    }

    .admin-content {
        padding: 18px;
    }

    .footer-link {
        display: inline-block;
        margin: 8px 10px 0 0;
    }

    .custom-hero {
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .section-gap {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .service-style-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .service-style-title {
        font-size: 16px;
    }

    .service-style-text {
        font-size: 12px;
    }
}