:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --primary-mid: #0f1f38;
    --secondary: #ff6b35;
    --accent: #f7931e;
    --gold: #d4af37;
    --text-light: #ffffff;
    --text-muted: #8fa8c8;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #c9a227 100%);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-orange: rgba(255, 107, 53, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: var(--primary);
    color: var(--text-light);
}

/* ================================
   TECH GRID OVERLAY
================================ */
.tech-grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 107, 53, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ================================
   NAVIGATION
================================ */
.navbar {
    background: rgba(10, 22, 40, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.97) !important;
    padding: 12px 0;
    border-bottom-color: var(--border-orange);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.navbar-brand:hover { opacity: 0.85; }
.navbar-brand span { color: var(--secondary); }
.navbar-brand img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 53, 0.4);
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 16px !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--text-light) !important; }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary) !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 22px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav:hover { background: var(--secondary); color: white !important; }

/* ================================
   HERO — DRAMATIC FULL SCREEN
================================ */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1573804633927-bfcbcd909acd?w=1920&q=80&auto=format');
    background-size: cover;
    background-position: center;
    filter: brightness(0.2) saturate(1.2);
    z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.96) 0%, rgba(10,22,40,0.65) 60%, rgba(10,22,40,0.85) 100%);
    z-index: 1;
}

.hero-grid {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    top: -200px; right: -200px; z-index: 2;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.hero-content { position: relative; z-index: 3; }

.hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-overline .overline-bar {
    width: 28px; height: 1px;
    background: var(--secondary);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title .thin { font-weight: 300; display: block; color: rgba(255,255,255,0.9); }
.hero-title .bold { font-weight: 900; display: block; color: white; }
.hero-title .accent-word { color: var(--secondary); }

.hero-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    line-height: 1.85;
    margin-bottom: 48px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px 38px;
    border: 1px solid var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--secondary);
    box-shadow: 0 0 30px rgba(255,107,53,0.25);
}

.btn-hero-outline {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px 38px;
    border: 1px solid rgba(255,255,255,0.22);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem; letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ================================
   STATS BAR
================================ */
.stats-bar {
    background: var(--primary-light);
    border-top: 1px solid var(--border-orange);
    border-bottom: 1px solid var(--border-orange);
    position: relative; z-index: 4;
}

.stat-bar-item {
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.stat-bar-item:last-child { border-right: none; }

.stat-bar-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1; margin-bottom: 6px;
}

.stat-bar-label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted);
}

/* ================================
   HEX GRID SECTION
================================ */
.hex-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.section-overline {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--secondary); margin-bottom: 14px;
}

.section-overline::before {
    content: ''; width: 28px; height: 2px;
    background: var(--secondary); flex-shrink: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.15;
    margin-bottom: 16px; letter-spacing: -0.02em;
}

.section-title .accent { color: var(--secondary); }
.section-title .gold { color: var(--gold); }

.section-desc {
    color: var(--text-muted);
    font-size: 0.92rem; line-height: 1.8;
    max-width: 540px;
}

.hex-grid {
    display: flex; flex-direction: column;
    align-items: center; gap: 0;
}

.hex-row {
    display: flex; justify-content: center;
    margin-bottom: -30px; gap: 8px;
}

.hex-item {
    position: relative;
    width: 255px; height: 294px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden; cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
    flex-shrink: 0;
}

.hex-item:hover {
    transform: scale(1.06) translateY(-10px);
    filter: brightness(1.12);
    z-index: 10;
}

.hex-bg {
    position: absolute; inset: -15px;
    background-size: cover; background-position: center;
    transition: transform 0.6s ease;
}

.hex-item:hover .hex-bg { transform: scale(1.1); }

.hex-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.35) 0%, rgba(10,22,40,0.88) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding-bottom: 52px; text-align: center;
    transition: background 0.4s ease;
}

.hex-item:hover .hex-overlay {
    background: linear-gradient(180deg, rgba(255,107,53,0.15) 0%, rgba(10,22,40,0.92) 100%);
}

.hex-icon {
    font-size: 2rem; color: var(--secondary);
    margin-bottom: 8px; display: block;
    transition: transform 0.3s ease;
}

.hex-item:hover .hex-icon { transform: scale(1.2); }

.hex-title {
    font-size: 0.88rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: white; line-height: 1.3;
}

.hex-btn {
    display: inline-block; margin-top: 8px;
    font-size: 0.6rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(255,255,255,0);
    border: 1px solid rgba(255,255,255,0);
    padding: 5px 14px; text-decoration: none;
    transition: all 0.3s ease 0.05s;
}

.hex-item:hover .hex-btn {
    color: white; border-color: rgba(255,255,255,0.55);
}

/* ================================
   SERVICES SECTION
================================ */
.services-section { padding: 100px 0; background: var(--primary-mid); }

.service-card-new {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    padding: 38px 30px; height: 100%;
    position: relative; overflow: hidden;
    transition: all 0.4s ease;
}

.service-card-new::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-new:hover {
    border-color: var(--border-orange);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-card-new:hover::before { transform: scaleX(1); }

.service-card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,107,53,0.08);
    border-left: 3px solid var(--secondary);
    font-size: 1.5rem; color: var(--secondary);
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card-new:hover .service-card-icon {
    background: var(--secondary); color: white; border-left-color: var(--accent);
}

.service-card-new h4 {
    font-size: 1rem; font-weight: 700;
    letter-spacing: -0.01em; margin-bottom: 12px;
}

.service-card-new p {
    color: var(--text-muted); font-size: 0.87rem;
    line-height: 1.75; margin-bottom: 20px;
}

.service-link {
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--secondary); text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover { gap: 14px; color: var(--secondary); }

/* ================================
   ABOUT STRIP
================================ */
.about-strip { padding: 100px 0; background: var(--primary); }

.about-img-wrap { position: relative; overflow: hidden; }
.about-img-wrap img {
    width: 100%; height: 480px;
    object-fit: cover; filter: brightness(0.7) saturate(1.1);
    transition: transform 0.6s ease;
    display: block;
}
.about-img-wrap:hover img { transform: scale(1.03); }

.about-year-badge {
    position: absolute; bottom: 0; right: 0;
    background: var(--secondary); color: white;
    padding: 22px 28px; text-align: center;
}

.about-year-badge .y-num {
    font-size: 2.8rem; font-weight: 900; line-height: 1;
}

.about-year-badge .y-label {
    font-size: 0.68rem; letter-spacing: 0.1em;
    text-transform: uppercase; opacity: 0.9;
}

.about-feature {
    display: flex; align-items: flex-start;
    gap: 16px; margin-bottom: 26px;
}

.about-feature-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,107,53,0.08);
    border-left: 3px solid var(--secondary);
    font-size: 1rem; color: var(--secondary); flex-shrink: 0;
}

.about-feature-text h6 {
    font-size: 0.88rem; font-weight: 700; margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.82rem; color: var(--text-muted);
    margin: 0; line-height: 1.65;
}

/* ================================
   PROJECTS SECTION
================================ */
.projects-section { padding: 100px 0; background: var(--primary-mid); }

.project-card-new {
    position: relative; overflow: hidden;
    height: 310px; background: var(--primary-light);
    cursor: pointer; border: 1px solid var(--border-subtle);
    transition: border-color 0.4s ease;
}

.project-card-new:hover { border-color: var(--border-orange); }

.project-card-new img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.55) saturate(1.1);
    transition: all 0.6s ease;
}

.project-card-new:hover img {
    transform: scale(1.08); filter: brightness(0.35);
}

.project-overlay {
    position: absolute; inset: 0; padding: 28px;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 25%, rgba(10,22,40,0.92) 100%);
}

.project-cat-tag {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--secondary); margin-bottom: 6px;
}

.project-overlay h4 {
    font-size: 1rem; font-weight: 700; margin-bottom: 0;
}

.project-reveal {
    overflow: hidden; max-height: 0;
    transition: max-height 0.4s ease, margin 0.4s ease;
    font-size: 0.82rem; color: var(--text-muted); line-height: 1.65;
}

.project-card-new:hover .project-reveal { max-height: 80px; margin-top: 10px; }

.project-view-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: white; text-decoration: none;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 8px 18px; margin-top: 14px;
    transition: all 0.3s ease; opacity: 0;
    transform: translateY(8px);
}

.project-card-new:hover .project-view-link { opacity: 1; transform: translateY(0); }
.project-view-link:hover { background: var(--secondary); border-color: var(--secondary); color: white; }

/* ================================
   TESTIMONIALS SECTION
================================ */
.testimonials-section { padding: 100px 0; background: var(--primary); }

.testimonial-card-new {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    padding: 38px 34px; height: 100%;
    position: relative; overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card-new::before {
    content: '"';
    position: absolute; top: 0; left: 28px;
    font-size: 100px; font-family: Georgia, serif;
    line-height: 1; color: var(--secondary);
    opacity: 0.12; pointer-events: none;
}

.testimonial-card-new:hover {
    border-color: var(--border-orange);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.testimonial-text-new {
    font-size: 0.9rem; line-height: 1.85;
    color: rgba(255,255,255,0.72); margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author-new {
    display: flex; align-items: center; gap: 14px;
    padding-top: 22px; border-top: 1px solid var(--border-subtle);
}

.testimonial-initials-new {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem;
    color: var(--primary); text-transform: uppercase; flex-shrink: 0;
}

.testimonial-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.testimonial-role-new { font-size: 0.74rem; color: var(--secondary); letter-spacing: 0.04em; }

/* ================================
   CTA BAND
================================ */
.cta-band {
    padding: 80px 0; background: var(--primary-light);
    border-top: 1px solid var(--border-orange);
    border-bottom: 1px solid var(--border-orange);
    position: relative; overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 450px; height: 450px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}

.cta-band p { color: var(--text-muted); font-size: 0.93rem; margin-top: 10px; margin-bottom: 0; }

/* ================================
   TEAM SECTION
================================ */
.team-section { padding: 100px 0; background: var(--primary-mid); }

.team-card-new {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    padding: 36px 28px; text-align: center; height: 100%;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}

.team-card-new::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-card-new:hover { border-color: var(--border-orange); transform: translateY(-6px); }
.team-card-new:hover::after { transform: scaleX(1); }

.team-initials-new {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.5rem;
    color: var(--primary); text-transform: uppercase;
    margin: 0 auto 20px;
    border: 3px solid rgba(212,175,55,0.25);
}

.team-card-new h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.team-role-badge { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); }

/* ================================
   PAGE HEADERS — INNER PAGES
================================ */
.page-hero {
    min-height: 50vh; position: relative;
    display: flex; align-items: center;
    overflow: hidden; padding-top: 80px;
}

.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.18) saturate(1.2); z-index: 0;
}

.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.97) 0%, rgba(10,22,40,0.75) 100%);
    z-index: 1;
}

.page-hero-grid {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

.page-hero-content .overline {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--secondary); margin-bottom: 16px;
    display: flex; align-items: center;
    justify-content: center; gap: 16px;
}

.page-hero-content .overline::before,
.page-hero-content .overline::after {
    content: ''; width: 36px; height: 1px; background: var(--secondary);
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300; letter-spacing: -0.02em;
    text-transform: uppercase; line-height: 1.1;
}

.page-hero-content h1 strong { font-weight: 900; }

.breadcrumb { background: transparent; justify-content: center; margin-top: 16px; margin-bottom: 0; }
.breadcrumb-item a { color: var(--secondary); text-decoration: none; font-size: 0.8rem; }
.breadcrumb-item.active { color: rgba(255,255,255,0.45); font-size: 0.8rem; }

/* ================================
   CONTENT AREAS
================================ */
.content-section { padding: 90px 0; }
.content-section.dark { background: var(--primary); }
.content-section.darker { background: var(--primary-mid); }
.content-section.mid { background: var(--primary-light); }

/* ================================
   FORM STYLES
================================ */
.form-control, .form-select {
    background: var(--primary-mid) !important;
    border: 1px solid var(--border-subtle) !important;
    color: white !important;
    padding: 14px 18px; border-radius: 0;
    font-size: 0.9rem; transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: var(--primary-mid) !important;
    border-color: var(--secondary) !important;
    box-shadow: none !important; color: white !important;
}

.form-control::placeholder { color: rgba(255,255,255,0.28); }

.form-label {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 8px;
}

textarea.form-control { resize: vertical; min-height: 140px; }

/* ================================
   BLOG CARDS
================================ */
.blog-card {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    height: 100%; transition: all 0.4s ease; overflow: hidden;
}

.blog-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.blog-card-img-wrap { overflow: hidden; height: 215px; }

.blog-card-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.8) saturate(1.1);
    transition: all 0.5s ease; display: block;
}

.blog-card:hover .blog-card-img { transform: scale(1.06); filter: brightness(0.65); }

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

.blog-cat-tag {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--secondary); margin-bottom: 10px; display: block;
}

.blog-card-title {
    font-size: 0.97rem; font-weight: 700;
    line-height: 1.45; margin-bottom: 12px;
    color: white; text-decoration: none; display: block;
    transition: color 0.3s;
}

.blog-card-title:hover { color: var(--secondary); }

.blog-card-excerpt {
    font-size: 0.83rem; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 20px;
}

.blog-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 0.72rem; color: rgba(255,255,255,0.38);
    border-top: 1px solid var(--border-subtle); padding-top: 14px;
}

.blog-meta i { color: var(--secondary); }

/* ================================
   CONTACT PAGE
================================ */
.contact-info-card {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    padding: 34px; height: 100%;
    transition: border-color 0.3s;
}

.contact-info-card:hover { border-color: var(--border-orange); }

.contact-info-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,107,53,0.08);
    border-left: 3px solid var(--secondary);
    font-size: 1.3rem; color: var(--secondary); margin-bottom: 18px;
}

.contact-info-card h5 {
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 8px;
}

.contact-info-card p { font-size: 0.9rem; color: white; margin: 0; line-height: 1.6; }

.contact-form-card {
    background: var(--primary-light);
    border: 1px solid var(--border-subtle);
    padding: 48px 44px;
}

/* ================================
   PORTFOLIO FILTER
================================ */
.filter-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 50px; }

.filter-btn {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 9px 20px;
    border: 1px solid var(--border-subtle);
    background: transparent; color: var(--text-muted);
    cursor: pointer; transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--secondary); color: var(--secondary);
    background: rgba(255,107,53,0.08);
}

/* ================================
   PROCESS STEPS
================================ */
.process-step { display: flex; gap: 22px; margin-bottom: 38px; align-items: flex-start; }

.process-num {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border: 2px solid var(--secondary);
    color: var(--secondary); font-size: 0.95rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.process-step h5 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ================================
   BLOG POST PAGE
================================ */
.blog-post-hero { position: relative; height: 60vh; min-height: 400px; overflow: hidden; }

.blog-post-hero img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.35) saturate(1.1);
}

.blog-post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10,22,40,0.95) 100%);
    display: flex; align-items: flex-end; padding-bottom: 60px;
}

.blog-post-meta {
    display: flex; align-items: center;
    gap: 24px; flex-wrap: wrap;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem; margin-top: 16px;
}

.blog-post-meta i { color: var(--secondary); }

.blog-post-content {
    font-size: 1rem; line-height: 1.9;
    color: rgba(255,255,255,0.85);
}

.blog-post-content h2 { color: var(--secondary); font-size: 1.6rem; margin: 36px 0 16px; font-weight: 700; }
.blog-post-content h3 { color: white; font-size: 1.3rem; margin: 28px 0 12px; font-weight: 700; }
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 20px 24px; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content a { color: var(--secondary); }
.blog-post-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 16px 24px; margin: 28px 0;
    background: rgba(255,107,53,0.06);
    font-style: italic; color: rgba(255,255,255,0.75);
}

.blog-post-content div[style*="background: #f8f9fa"],
.blog-post-content div[style*="background:#f8f9fa"] { color: #333 !important; }
.blog-post-content div[style*="background: #f8f9fa"] p,
.blog-post-content div[style*="background:#f8f9fa"] p,
.blog-post-content div[style*="background: #f8f9fa"] span,
.blog-post-content div[style*="background:#f8f9fa"] span { color: #333 !important; }

/* ================================
   ALERTS & BADGES
================================ */
.badge-primary-custom {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--secondary); border: 1px solid var(--border-orange);
    padding: 4px 12px; background: rgba(255,107,53,0.08);
}

.divider-orange {
    height: 1px; background: var(--border-orange); margin: 60px 0;
}

/* ================================
   REVEAL ANIMATION
================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================
   FOOTER
================================ */
footer {
    background: var(--primary-mid);
    border-top: 1px solid var(--border-orange);
    padding: 64px 0 28px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-brand span { color: var(--secondary); }

.footer-brand img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    min-width: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--border-orange);
    object-fit: cover;
    display: block;
}

.footer-tagline {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-social a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(255,107,53,0.08);
}

.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-list li { margin-bottom: 10px; }

.footer-links-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.footer-links-list a:hover { color: var(--secondary); }
.footer-links-list a:hover::before { opacity: 1; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: var(--border-subtle);
    margin: 40px 0 24px;
}

.footer-bottom {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover { color: var(--secondary); }

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(10,22,40,0.98); padding: 24px;
        margin-top: 12px; border: 1px solid var(--border-subtle);
    }
    .navbar-nav { text-align: center; gap: 4px; }
    .nav-link::after { display: none; }
    .btn-nav { display: inline-block; margin: 12px auto 0; }
    .hex-item { width: 200px; height: 230px; }
    .hex-row { margin-bottom: -22px; }
    .stat-bar-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .stat-bar-item:last-child { border-bottom: none; }
    .content-section { padding: 70px 0; }
}

@media (max-width: 768px) {
    /* Hero: kill the blank space by removing fixed min-height centering */
    .hero-section {
        min-height: 0;
        display: block;
        padding-top: 90px;
        padding-bottom: 50px;
    }
    .hero-content { padding-top: 0; }
    .hero-scroll { display: none; }

    /* Page heroes: compact on mobile */
    .page-hero { min-height: 0; padding: 90px 0 30px; }
    .page-hero-content { padding: 20px 0 10px; }
    .page-hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

    /* Typography */
    .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); }
    .hero-description { font-size: 0.88rem; }
    .section-title { font-size: 1.75rem; }

    /* Hex grid */
    .hex-item { width: 155px; height: 178px; }
    .hex-title { font-size: 0.72rem; }
    .hex-icon { font-size: 1.4rem; }
    .hex-overlay { padding-bottom: 32px; }

    /* Sections */
    .content-section { padding: 55px 0; }
    .about-strip { padding: 55px 0; }
    .contact-form-card { padding: 28px 20px; }
    .about-img-wrap img { height: 280px; }

    /* Stat bar stacks */
    .stat-bar { flex-direction: column; }
    .stat-bar-item { border-right: none; border-bottom: 1px solid var(--border-subtle); padding: 20px 16px; }
    .stat-bar-item:last-child { border-bottom: none; }

    /* Footer */
    footer { padding: 48px 0 24px; }
    .footer-tagline { max-width: 100%; }
}

@media (max-width: 576px) {
    /* Hero */
    .hero-section { padding-top: 80px; padding-bottom: 40px; }
    .hero-title { font-size: clamp(1.8rem, 9.5vw, 2.6rem); }
    .hero-overline { font-size: 0.62rem; letter-spacing: 0.2em; }
    .btn-hero-primary, .btn-hero-outline { padding: 12px 22px; font-size: 0.72rem; }
    .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* Hex */
    .hex-item { width: 118px; height: 136px; }
    .hex-title { font-size: 0.58rem; letter-spacing: 0.04em; }
    .hex-icon { font-size: 1rem; margin-bottom: 2px; }
    .hex-overlay { padding-bottom: 18px; }
    .hex-row { gap: 2px; margin-bottom: -12px; }

    /* Typography */
    .stat-bar-number { font-size: 1.9rem; }
    .page-hero-content h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
    .section-title { font-size: 1.5rem; }

    /* Footer stack nicely */
    footer .col-lg-2, footer .col-lg-3 { margin-bottom: 8px; }
    .footer-social { flex-wrap: wrap; }
}
