/**
 * BrandX Technical Works L.L.C — Inner Pages Shared CSS
 * Premium design system for About, Services, Projects, Industries, Careers, Contact
 */

/* =========================================================================
   1. PAGE HERO
   ========================================================================= */

.page-hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(160deg, #040810 0%, #0b1628 60%, #0d1f12 100%);
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(123,226,54,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 70%, rgba(41,121,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(123,226,54,0.12);
    border: 1px solid rgba(123,226,54,0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #7BE236;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 22px;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover { color: #7BE236; }

.page-breadcrumb span { color: rgba(255,255,255,0.3); }

.page-breadcrumb .current { color: #7BE236; font-weight: 600; }

/* Wave divider */
.page-hero .page-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.page-hero .page-wave svg {
    display: block;
    width: calc(100% + 1px);
    height: 70px;
}

.page-hero .page-wave .shape-fill { fill: #FFFFFF; }

/* =========================================================================
   2. PAGE SECTION WRAPPER
   ========================================================================= */

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

.page-section.bg-light  { background: #F8FAFC; }
.page-section.bg-dark   { background: #040810; color: #fff; }
.page-section.bg-tinted { background: linear-gradient(135deg, rgba(123,226,54,0.03) 0%, rgba(41,121,255,0.03) 100%); }

.section-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7BE236;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0F172A;
    margin-bottom: 16px;
}

.bg-dark .section-title { color: #fff; }

.section-subtitle {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.7;
}

.bg-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* =========================================================================
   3. SHARED CARD BASE
   ========================================================================= */

.p-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
}

.p-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.p-card-dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.p-card-dark:hover {
    background: rgba(255,255,255,0.07);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* =========================================================================
   4. VALUE / ICON CARDS
   ========================================================================= */

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

.value-card {
    padding: 36px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 24px rgba(15,23,42,0.05);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.value-icon.green  { background: rgba(123,226,54,0.12); color: #5ab822; }
.value-icon.blue   { background: rgba(41,121,255,0.1);  color: #2979FF; }
.value-icon.orange { background: rgba(255,145,0,0.1);   color: #FF9100; }
.value-icon.purple { background: rgba(213,0,249,0.08);  color: #D500F9; }

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F172A;
}

.value-card p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.65;
}

/* =========================================================================
   5. STORY SECTION (2-col)
   ========================================================================= */

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 520px;
}

.story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.story-img-wrap:hover img { transform: scale(1.04); }

.story-img-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: rgba(11,17,32,0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(123,226,54,0.2);
    border-radius: 14px;
    padding: 18px 24px;
    color: #fff;
}

.story-img-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #7BE236;
    line-height: 1;
}

.story-img-badge span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.story-content h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #0F172A;
    margin-bottom: 22px;
}

.story-content p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 18px;
}

.story-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(15,23,42,0.08);
}

.story-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #7BE236;
    line-height: 1;
    margin-bottom: 4px;
}

.story-stat span {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================================
   6. MISSION / VISION CARDS
   ========================================================================= */

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    padding: 48px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.mv-card.mission {
    background: linear-gradient(135deg, #0B1120 0%, #0F1F12 100%);
    border: 1px solid rgba(123,226,54,0.15);
}

.mv-card.vision {
    background: linear-gradient(135deg, #0B1120 0%, #0D1628 100%);
    border: 1px solid rgba(41,121,255,0.15);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    opacity: 0.06;
}

.mv-card.mission::before { background: #7BE236; }
.mv-card.vision::before  { background: #2979FF; }

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.mv-card.mission .mv-icon { background: rgba(123,226,54,0.15); color: #7BE236; }
.mv-card.vision  .mv-icon { background: rgba(41,121,255,0.15);  color: #5B9EFF; }

.mv-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.mv-card p {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
}

/* =========================================================================
   7. MILESTONE TIMELINE
   ========================================================================= */

.timeline-track {
    position: relative;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.timeline-track::-webkit-scrollbar { display: none; }

.timeline-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(123,226,54,0.6), rgba(41,121,255,0.3));
}

.timeline-item {
    flex: 0 0 220px;
    padding-top: 60px;
    position: relative;
    text-align: center;
}

.timeline-dot {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #7BE236;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(123,226,54,0.4), 0 4px 12px rgba(123,226,54,0.3);
    z-index: 2;
}

.timeline-year {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7BE236;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.5;
    padding: 0 10px;
}

/* =========================================================================
   8. TEAM CARDS
   ========================================================================= */

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

.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.team-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.team-card:hover .team-img-wrap img { transform: scale(1.06); }

.team-info {
    padding: 24px 28px;
}

.team-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: #7BE236;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.team-socials {
    display: flex;
    gap: 10px;
}

.team-socials a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(15,23,42,0.05);
    color: #64748B;
    text-decoration: none;
    transition: all 0.25s ease;
}

.team-socials a:hover {
    background: rgba(123,226,54,0.12);
    color: #5ab822;
}

/* =========================================================================
   9. CERTIFICATION STRIP
   ========================================================================= */

.cert-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(15,23,42,0.05);
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.cert-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(123,226,54,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #5ab822;
}

.cert-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* =========================================================================
   10. SERVICE CARDS (Services Page)
   ========================================================================= */

.page-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.13);
}

.service-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover .service-img img { transform: scale(1.08); }

.service-icon-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #7BE236;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(123,226,54,0.4);
}

.service-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 22px;
}

.service-card-body .btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F172A;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(15,23,42,0.15);
    transition: all 0.25s ease;
}

.service-card-body .btn-service:hover {
    background: #7BE236;
    border-color: #7BE236;
    color: #111;
    transform: translateX(3px);
}

.service-card-body .btn-service i {
    transition: transform 0.25s ease;
}

.service-card-body .btn-service:hover i {
    transform: translateX(4px);
}

/* =========================================================================
   11. PROCESS STEPS
   ========================================================================= */

.process-grid {
    display: flex;
    gap: 0;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(123,226,54,0.4), rgba(41,121,255,0.2));
}

.process-step-item {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.process-step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(123,226,54,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7BE236;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(123,226,54,0.15);
    transition: all 0.3s ease;
}

.process-step-item:hover .process-step-num {
    background: #7BE236;
    color: #111;
    box-shadow: 0 8px 30px rgba(123,226,54,0.35);
}

.process-step-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.process-step-item p {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.55;
}

/* =========================================================================
   12. PROJECT GRID (Our Work)
   ========================================================================= */

.project-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: 50px;
    border: 1.5px solid rgba(15,23,42,0.12);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
    background: #7BE236;
    border-color: #7BE236;
    color: #111;
}

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

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #0B1120;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
    opacity: 0.85;
}

.project-card:hover img {
    transform: scale(1.08);
    opacity: 0.65;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,17,32,0.9) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.35s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(11,17,32,0.95) 0%, rgba(11,17,32,0.3) 100%);
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(123,226,54,0.2);
    border: 1px solid rgba(123,226,54,0.4);
    font-size: 0.72rem;
    font-weight: 700;
    color: #7BE236;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    align-self: flex-start;
}

.project-overlay h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.project-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.project-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #7BE236;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 8px 25px rgba(123,226,54,0.4);
}

.project-card:hover .project-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* =========================================================================
   13. INDUSTRY CARDS
   ========================================================================= */

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

.industry-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.industry-card:hover img { transform: scale(1.08); }

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,17,32,0.92) 0%, rgba(11,17,32,0.2) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.35s ease;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(11,17,32,0.96) 0%, rgba(11,17,32,0.4) 100%);
}

.industry-overlay .ind-icon {
    font-size: 1.8rem;
    color: #7BE236;
    margin-bottom: 10px;
}

.industry-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.industry-overlay p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.industry-card:hover .industry-overlay p { max-height: 60px; }

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7BE236;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}

.industry-card:hover .industry-link {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   14. CAREERS PAGE
   ========================================================================= */

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

.benefit-card {
    padding: 36px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 24px rgba(15,23,42,0.05);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.6;
}

/* Job cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.job-card {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 24px rgba(15,23,42,0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: rgba(123,226,54,0.3);
    box-shadow: 0 12px 40px rgba(15,23,42,0.1);
    transform: translateY(-3px);
}

.job-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.job-dept {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7BE236;
    background: rgba(123,226,54,0.1);
    border: 1px solid rgba(123,226,54,0.25);
    padding: 4px 10px;
    border-radius: 50px;
}

.job-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    flex: 1;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 500;
}

.job-meta i { color: #7BE236; font-size: 0.75rem; }

.job-card .btn-apply {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, #B7FF39 0%, #7BE236 100%);
    color: #111;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.job-card .btn-apply:hover {
    box-shadow: 0 8px 25px rgba(123,226,54,0.35);
    transform: scale(1.03);
}

/* Application form */
.apply-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

/* =========================================================================
   15. CONTACT PAGE
   ========================================================================= */

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-info-pill {
    padding: 28px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 20px rgba(15,23,42,0.05);
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.contact-info-pill:hover {
    border-color: rgba(123,226,54,0.3);
    box-shadow: 0 12px 40px rgba(15,23,42,0.1);
    transform: translateY(-4px);
}

.contact-pill-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 14px;
}

.contact-info-pill h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 6px;
}

.contact-info-pill p {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.5;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.contact-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    border: 1px solid rgba(15,23,42,0.07);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact form card */
.contact-form-panel {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 8px 40px rgba(15,23,42,0.07);
    border-radius: 24px;
    padding: 44px;
}

/* =========================================================================
   16. SHARED FORM STYLES
   ========================================================================= */

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1.5px solid rgba(15,23,42,0.12);
    background: #F8FAFC;
    font-size: 0.95rem;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: rgba(123,226,54,0.5);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123,226,54,0.08);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, #B7FF39 0%, #7BE236 100%);
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(123,226,54,0.2);
}

.btn-submit:hover {
    box-shadow: 0 10px 35px rgba(123,226,54,0.4);
    transform: translateY(-2px);
}

/* =========================================================================
   17. FAQ ACCORDION
   ========================================================================= */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 14px;
    border: 1.5px solid rgba(15,23,42,0.09);
    overflow: hidden;
    background: #fff;
    transition: border-color 0.25s ease;
}

.faq-item.open { border-color: rgba(123,226,54,0.35); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 0.97rem;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Inter', sans-serif;
    gap: 16px;
    line-height: 1.4;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(123,226,54,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #5ab822;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: #7BE236;
    color: #111;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.75;
    border-top: 1px solid rgba(15,23,42,0.06);
    padding-top: 16px;
}

/* =========================================================================
   18. DARK CTA BLOCK
   ========================================================================= */

.dark-cta-block {
    background: linear-gradient(135deg, #0B1120 0%, #0F1F12 100%);
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(123,226,54,0.12);
}

.dark-cta-block::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,226,54,0.1), transparent 70%);
    pointer-events: none;
}

.dark-cta-block::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41,121,255,0.07), transparent 70%);
    pointer-events: none;
}

.dark-cta-block h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.dark-cta-block p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.dark-cta-block .cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: 50px;
    background: linear-gradient(135deg, #B7FF39 0%, #7BE236 100%);
    color: #111;
    font-size: 0.97rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(123,226,54,0.25);
}

.btn-cta-primary:hover {
    box-shadow: 0 12px 35px rgba(123,226,54,0.45);
    transform: translateY(-2px);
}

.btn-cta-primary i { transition: transform 0.25s ease; }
.btn-cta-primary:hover i { transform: translateX(4px); }

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    color: #fff;
}

/* =========================================================================
   19. RESPONSIVE
   ========================================================================= */

@media (max-width: 1100px) {
    .value-grid        { grid-template-columns: repeat(2, 1fr); }
    .benefit-grid      { grid-template-columns: repeat(2, 1fr); }
    .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
    .team-grid         { grid-template-columns: repeat(2, 1fr); }
    .story-grid        { grid-template-columns: 1fr; }
    .story-img-wrap    { height: 380px; }
}

@media (max-width: 900px) {
    .page-section .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid     { grid-template-columns: repeat(2, 1fr); }
    .industry-grid     { grid-template-columns: repeat(2, 1fr); }
    .mv-grid           { grid-template-columns: 1fr; }
    .contact-main-grid { grid-template-columns: 1fr; }
    .process-grid      { flex-wrap: wrap; }
    .process-step-item { flex: 0 0 50%; }
    .process-grid::before { display: none; }
    .dark-cta-block    { padding: 50px 30px; }
}

@media (max-width: 640px) {
    .page-hero         { padding: 150px 0 90px; }
    .page-hero-inner   { padding: 0 20px; }
    .page-section      { padding: 60px 0; }
    .section-container { padding: 0 20px; }
    .page-section .services-grid { grid-template-columns: 1fr; }
    .projects-grid     { grid-template-columns: 1fr; }
    .industry-grid     { grid-template-columns: 1fr; }
    .value-grid        { grid-template-columns: 1fr 1fr; }
    .benefit-grid      { grid-template-columns: 1fr 1fr; }
    .contact-info-cards { grid-template-columns: 1fr 1fr; }
    .team-grid         { grid-template-columns: 1fr; }
    .jobs-grid         { grid-template-columns: 1fr; }
    .form-row          { grid-template-columns: 1fr; }
    .contact-form-panel { padding: 28px 20px; }
    .dark-cta-block    { padding: 40px 20px; border-radius: 20px; }
    .timeline-item     { flex: 0 0 180px; }
    .cert-strip        { gap: 24px; }
    .process-step-item { flex: 0 0 100%; }
}

/* =========================================================================
   20. BRANDX PREMIUM INNER PAGE EXTENSIONS
   ========================================================================= */

.bx-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(180deg, rgba(4, 8, 16, 0.56), rgba(4, 8, 16, 0.92)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    text-align: left;
}

.bx-hero .page-hero-inner {
    max-width: 1160px;
    width: 100%;
}

.bx-hero .page-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 30px;
}

.bx-hero h1 {
    max-width: 980px;
    font-size: clamp(3.25rem, 7vw, 5rem);
}

.bx-hero p {
    margin-left: 0;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.26);
}

.stats-band {
    padding: 34px 0;
    background: #fff;
}

.inner-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.inner-stat-card {
    min-height: 150px;
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: 18px;
    background: rgba(255,255,255,0.86);
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inner-stat-card i {
    color: #7BE236;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.inner-stat-card strong {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    line-height: 1;
    color: #0F172A;
}

.inner-stat-card span {
    margin-top: 8px;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.split-feature {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.split-feature.reverse {
    grid-template-columns: 1.05fr 0.95fr;
}

.feature-image-stack {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 18px;
    align-items: end;
}

.feature-image-stack img,
.feature-image-wide img,
.gallery-grid img,
.project-image-row img,
.before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.feature-image-stack img,
.feature-image-wide,
.gallery-grid img,
.project-image-row img,
.before-after figure,
.before-after > img {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.12);
}

.feature-image-stack img:first-child {
    height: 420px;
}

.feature-image-stack img:last-child {
    height: 520px;
}

.feature-image-wide {
    height: 540px;
}

.signature-card {
    margin-top: 28px;
    padding: 22px 26px;
    border-left: 4px solid #7BE236;
    background: #F8FAFC;
    border-radius: 14px;
}

.signature-card strong,
.signature-card span {
    display: block;
}

.signature-card span {
    color: #64748B;
    font-size: 0.88rem;
}

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: 18px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(15,23,42,0.06);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}

.feature-card i {
    color: #7BE236;
    font-size: 1.45rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.65;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-grid img {
    height: 360px;
}

.gallery-grid img:nth-child(2) {
    height: 460px;
}

.gallery-grid.mini {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

.gallery-grid.mini img {
    height: 260px;
}

.gallery-grid.mini img:first-child {
    grid-column: span 2;
}

.check-list,
.tech-tags,
.compact-process {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.check-list span,
.tech-tags span,
.compact-process span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #F8FAFC;
    border: 1px solid rgba(15,23,42,0.08);
    padding: 10px 16px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
}

.check-list i {
    color: #7BE236;
}

.compact-process.vertical {
    flex-direction: column;
    align-items: flex-start;
}

.service-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
}

.masonry-grid {
    grid-auto-flow: dense;
}

.project-card.tall {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 520px;
}

.project-card p i {
    margin-right: 6px;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.before-after > img,
.before-after figure {
    height: 430px;
}

.before-after.labeled figure {
    position: relative;
    margin: 0;
}

.before-after figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(5, 8, 17, 0.8);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 46px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-hero-image {
    position: relative;
    height: 520px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15,23,42,0.15);
    margin-bottom: 40px;
}

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

.detail-hero-image span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #111;
    background: linear-gradient(135deg, #B7FF39 0%, #7BE236 100%);
    box-shadow: 0 12px 35px rgba(123,226,54,0.36);
    font-size: 1.4rem;
}

.content-block {
    margin-bottom: 42px;
}

.content-block h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    margin-bottom: 16px;
}

.content-block p {
    color: #64748B;
    line-height: 1.8;
    font-size: 1.02rem;
}

.detail-card-grid,
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 42px;
}

.case-study-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 42px;
}

.project-image-row img {
    height: 240px;
}

.detail-sidebar {
    min-width: 0;
}

.sticky-panel {
    position: sticky;
    top: 120px;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 22px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.12);
}

.sidebar-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: linear-gradient(135deg, #B7FF39 0%, #7BE236 100%);
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.sticky-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.sticky-panel p {
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 24px;
}

.sidebar-link {
    display: inline-flex;
    margin-top: 18px;
    gap: 8px;
    color: #64748B;
    font-weight: 700;
    font-size: 0.88rem;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.spec-list li {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.spec-list span,
.project-spec-row span {
    display: block;
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-list strong,
.project-spec-row strong {
    color: #0F172A;
    font-size: 0.95rem;
}

.project-spec-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 42px;
}

.project-spec-row div {
    padding: 20px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid rgba(15,23,42,0.07);
}

.project-gallery-slider {
    margin-bottom: 42px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.project-gallery-slider .swiper-slide {
    height: 430px;
}

.project-gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-nav {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
}

.support-panel,
.empty-state {
    margin-top: 22px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
}

.support-panel h3,
.contact-form-panel h2 {
    margin-bottom: 16px;
}

.support-panel p {
    display: flex;
    gap: 10px;
    color: #64748B;
    margin-bottom: 12px;
}

.support-panel i {
    color: #7BE236;
    margin-top: 4px;
}

.contact-socials {
    margin-top: 22px;
}

.empty-state {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 2.8rem;
    color: #7BE236;
    margin-bottom: 18px;
}

.job-card p {
    color: #64748B;
    line-height: 1.65;
    font-size: 0.92rem;
}

.faq-list.compact {
    margin-left: 0;
}

@media (max-width: 1100px) {
    .inner-stats-grid,
    .feature-card-grid,
    .project-spec-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-layout,
    .split-feature,
    .split-feature.reverse {
        grid-template-columns: 1fr;
    }

    .detail-sidebar .sticky-panel {
        position: static;
    }

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

@media (max-width: 760px) {
    .bx-hero {
        min-height: 620px;
    }

    .hero-actions,
    .hero-actions .btn-premium {
        width: 100%;
    }

    .inner-stats-grid,
    .feature-card-grid,
    .service-catalog-grid,
    .detail-card-grid,
    .case-study-grid,
    .project-image-row,
    .project-spec-row,
    .before-after,
    .gallery-grid,
    .gallery-grid.mini {
        grid-template-columns: 1fr;
    }

    .gallery-grid.mini img:first-child {
        grid-column: auto;
    }

    .detail-hero-image,
    .feature-image-wide,
    .project-gallery-slider .swiper-slide,
    .before-after > img,
    .before-after figure,
    .gallery-grid img,
    .gallery-grid img:nth-child(2) {
        height: 320px;
    }

    .project-card.tall {
        min-height: 380px;
    }
}
