/* assets/css/style.css - Asresoft Design System */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #090d16;
    --bg-surface: #0f172a;
    --bg-card: #1e293b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.4);

    --primary-blue: #3b82f6;
    --primary-indigo: #6366f1;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --danger-red: #ef4444;

    --text-white: #ffffff;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #f1f5f9;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.4);

    --text-white: #0f172a;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .marquee-strip {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] footer {
    background: #f1f5f9;
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .field select option {
    background: #ffffff;
    color: #0f172a;
}

[data-theme="light"] .admin-bg {
    background: #f1f5f9;
}

[data-theme="light"] .admin-nav {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #60a5fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ---------- Hero Animations & Loaders ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim {
    opacity: 0;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim.d1 {
    animation-delay: 0.05s;
}

.hero-anim.d2 {
    animation-delay: 0.15s;
}

.hero-anim.d3 {
    animation-delay: 0.25s;
}

.hero-anim.d4 {
    animation-delay: 0.35s;
}

.hero-anim.d5 {
    animation-delay: 0.45s;
}

/* ---------- Typography & Utility ---------- */
.eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 36px;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-group .reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-group .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal-group .reveal:nth-child(3) {
    transition-delay: 0.25s;
}

.reveal-group .reveal:nth-child(4) {
    transition-delay: 0.35s;
}

.reveal-group .reveal:nth-child(5) {
    transition-delay: 0.45s;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-indigo));
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
}

.btn-outline-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-color: var(--border-color);
    color: var(--text-muted);
}

.btn-outline-sm:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-danger-sm {
    padding: 8px 14px;
    font-size: 13px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger-red);
}

.btn-danger-sm:hover {
    background: var(--danger-red);
    color: #ffffff;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15.5px;
    border-radius: 12px;
}

/* ---------- Navbar & Header ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-white);
}

.logo-mark {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-indigo));
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
}

.logo .dot {
    color: var(--primary-blue);
}

.logo-tag {
    font-size: 10px;
    font-weight: 800;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-blue);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 100px 0 80px;
}

.hero-bg-glow {
    position: absolute;
    top: -120px;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(9, 13, 22, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 30px;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
}

.badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 .accent-glow {
    background: linear-gradient(135deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 16.5px;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero Card */
.hero-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.agency-brand-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.status-live {
    font-size: 12px;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.agency-pillar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease;
}

.pillar-item:hover {
    border-color: var(--border-highlight);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.pillar-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-white);
}

.pillar-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-founder-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.founder-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.hero-founder-note strong {
    display: block;
    color: var(--text-white);
    font-size: 14px;
}

.hero-founder-note span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- Marquee Ticker ---------- */
.marquee-strip {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 35s linear infinite;
}

.marquee-track span {
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 0 28px;
    text-transform: uppercase;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}

.about-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.photo-badge,
.photo-badge.light-version {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 14px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.photo-badge .num,
.photo-badge.light-version .num {
    font-size: 26px;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.1;
}

.photo-badge .lbl,
.photo-badge.light-version .lbl {
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2px;
    line-height: 1.3;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0) 100%);
}

.photo-caption strong {
    display: block;
    color: #ffffff !important;
    font-size: 16px;
}

.photo-caption span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.about-copy h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 16px;
}

.about-copy p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 15.5px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
}

/* ---------- Services Tabs & Cards ---------- */
.service-category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.svc-tab {
    padding: 11px 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.svc-tab.active,
.svc-tab:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.svc-group {
    display: none;
}

.svc-group.active {
    display: grid;
}

.service-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: inline-block;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.service-card h4 {
    font-size: 19px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-blue);
    border-radius: 6px;
}

/* ---------- Portfolio Grid & Case Studies ---------- */
.portfolio-filter-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.project-thumb {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--text-primary);
    text-align: center;
    padding: 24px;
}

.thumb-placeholder h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: var(--text-primary);
}

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

.project-card:hover .project-thumb img {
    transform: scale(1.04);
}

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: 6px;
}

.media-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
}

.video-badge {
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
}

.image-badge {
    background: rgba(59, 130, 246, 0.9);
    color: #ffffff;
}

.project-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-body .meta {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.project-body h4 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.project-body p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.project-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.link-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: auto;
}

.center-btn {
    text-align: center;
    margin-top: 48px;
}

/* ---------- Estimator Calculator ---------- */
.estimator-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.estimator-options h4 {
    color: var(--text-white);
    margin-bottom: 16px;
    font-size: 16px;
}

.est-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.est-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14.5px;
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.est-option:hover {
    border-color: var(--border-highlight);
}

.est-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.est-timeline-row {
    display: flex;
    gap: 12px;
}

.btn-timeline {
    flex: 1;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-timeline.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

.estimator-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.summary-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.est-price-display {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.est-scope-lbl {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.summary-perks {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------- Blog Section ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-thumb {
    height: 190px;
    position: relative;
    background: #1e293b;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    background: var(--primary-blue);
    color: #ffffff;
    border-radius: 4px;
}

.blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-body h4 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.35;
}

.blog-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ---------- Process Section ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.process-grid h5 {
    font-size: 16.5px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.process-grid p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    margin-top: 32px;
}

.contact-info h4 {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item .lbl {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-item .val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: inherit;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.field select option {
    background: var(--bg-surface);
    color: #ffffff;
}

/* ---------- Single Pages & Sidebar ---------- */
.page-header {
    padding: 60px 0 30px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
}

.project-detail-layout,
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}

.detail-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.detail-hero-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.highlight-metric-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.metric-icon {
    font-size: 32px;
}

.metric-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--accent-emerald);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.media-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-caption {
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.sidebar-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.sidebar-list {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- Admin Panel Styles ---------- */
.admin-bg {
    background: #070a12;
}

.admin-login-card {
    max-width: 420px;
    margin: 90px auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.admin-login-logo {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
}

.admin-login-logo .subtitle {
    font-size: 11px;
    color: var(--primary-blue);
    letter-spacing: 2px;
    margin-top: 4px;
}

.admin-nav {
    background: #0b1120;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.admin-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.admin-menu a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.admin-menu a.active,
.admin-menu a:hover {
    color: var(--text-white);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.admin-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.admin-stat-card .stat-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.admin-stat-card .num {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-white);
}

.admin-stat-card .lbl {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.admin-stat-card .stat-link {
    font-size: 13px;
    font-weight: 700;
    margin-top: auto;
}

.admin-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 28px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-card-header h3 {
    color: var(--text-white);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11.5px;
}

.admin-table td {
    color: var(--text-primary);
}

.tag-sm {
    font-size: 11.5px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-blue);
    border-radius: 4px;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}

.admin-media-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.admin-media-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
}

.text-danger {
    color: var(--danger-red);
}

/* ---------- Footer ---------- */
footer {
    background: #050811;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-row a {
    width: 38px;
    height: 38px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 14px;
}

footer h5 {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer ul a,
footer ul li {
    font-size: 14px;
    color: var(--text-muted);
}

footer ul a:hover {
    color: var(--text-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .contact-grid,
    .estimator-grid,
    .project-detail-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-cards,
    .blog-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .service-cards,
    .portfolio-grid,
    .blog-grid,
    .admin-stats-grid,
    .media-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Team Section Styles */
.team-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.team-photo-container {
    width: 80px;
    height: 80px;
    position: relative;
}

.team-photo, .team-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 800;
}

.team-info h3 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-block;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}