/* Pixel Perfect Styling following Screenshot 1 */

:root {
    --bg-dark: #000000;
    --bg-gray: #555651;
    --accent-red: #d32f2f;
    --text-light: #f2f2eb;
}

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

.fw-black { font-weight: 900; }

/* Navbar */
.navbar {
    background-color: transparent;
    transition: background 0.3s;
    padding: 1.5rem 0;
}
.navbar.scrolled {
    background-color: rgba(0,0,0,0.9);
    padding: 0.8rem 0;
}
.nav-link {
    color: white !important;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 10px;
    letter-spacing: 1px;
}

/* Hero */
.hero-section {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    z-index: 2;
    position: relative;
}
.hero-sub {
    z-index: 2;
    position: relative;
    margin-top: 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.hero-divider {
    width: 40px;
    height: 1px;
    background: white;
}

/* Grid System (Screenshot 1 Layout) */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
}
.grid-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.grid-item:hover img { transform: scale(1.05); }
.grid-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.grid-item.tall { grid-row: span 2; aspect-ratio: auto; }
.grid-item.wide { grid-column: span 2; }

/* Sections */
.section-title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.5rem;
}
.arsenal-style-section { background: var(--bg-gray); }
.bg-light-gray { background: #f2f2eb; }

.news-heading {
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.1;
}
.grayscale { filter: grayscale(100%); transition: 0.3s; }
.grayscale:hover { filter: grayscale(0%); }

/* Split Section */
.split-left { 
    background-color: #383934; 
    flex: 1; min-width: 300px; min-height: 500px;
}
.split-right { 
    background-color: #6a6b65; 
    flex: 1; min-width: 300px; min-height: 500px;
}
.form-control {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 0;
}
.form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

/* Animations */
.reveal { opacity: 0; }

/* Responsive */
@media (max-width: 992px) {
    .custom-grid { grid-template-columns: 1fr; }
    .grid-item.wide { grid-column: span 1; }
    .grid-item.tall { grid-row: span 1; height: 300px; }
}

/* Inner page baseline */
.inner-page-main {
    padding-top: 110px;
}

/* About page */
.section-dark {
    background: #060606;
    color: var(--text-light);
}

.section-light {
    background: #f2f2eb;
    color: #111;
}

.about-hero,
.about-logos,
.about-pillars,
.about-awards {
    padding: 5rem 0;
}

.about-kicker {
    color: #d87474;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.about-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.05;
    max-width: 980px;
}

.about-hero-image {
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-hero-image:hover img {
    transform: scale(1.04);
}

.about-copy p {
    margin-bottom: 1.2rem;
    color: rgba(242, 242, 235, 0.86);
    line-height: 1.8;
    font-size: 0.95rem;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(17, 17, 17, 0.65);
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 1rem;
    align-items: center;
}

.logo-item {
    background: #fff;
    border: 1px solid #ececec;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.logo-item img {
    max-width: 92px;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pillar-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem 1.7rem;
}

.pillar-icon,
.award-icon {
    font-size: 1.6rem;
    color: #d87474;
    display: inline-flex;
    margin-bottom: 0.9rem;
}

.pillar-card h3,
.award-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.pillar-card p {
    color: rgba(242, 242, 235, 0.78);
    margin: 0;
    line-height: 1.75;
    font-size: 0.92rem;
}

.award-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 1.5rem;
}

.award-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.7;
    font-size: 0.92rem;
}

@media (max-width: 991px) {
    .inner-page-main {
        padding-top: 96px;
    }

    .about-hero,
    .about-logos,
    .about-pillars,
    .about-awards {
        padding: 3.5rem 0;
    }

    .logo-strip {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* Contact page */
.contact-page {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, #f7f7f9 0%, #f1f2f6 100%);
}

.contact-main-title {
    color: #171717;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.05;
    max-width: 560px;
}

.contact-intro {
    color: rgba(20, 20, 20, 0.74);
    max-width: 620px;
    line-height: 1.8;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: #8f2f2f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-detail-item .label {
    margin: 0;
    color: rgba(20, 20, 20, 0.6);
    font-size: 0.84rem;
}

.contact-detail-item .value {
    margin: 0.15rem 0 0;
    color: #161616;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01rem;
}

.contact-form-card {
    background: #fff;
    border-top: 3px solid #8f2f2f;
    box-shadow: 0 16px 38px rgba(15, 18, 40, 0.12);
    padding: 2.1rem 1.7rem;
}

.form-kicker {
    color: #8f2f2f;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
}

.contact-form-card h2 {
    color: #171717;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 900;
    margin: 0;
}

.contact-input {
    background: #f6f6f8;
    border: 1px solid #e3e4eb;
    color: #111;
}

.contact-input::placeholder {
    color: #8c8c95;
}

.contact-input:focus {
    background: #fff;
    color: #111;
    border-color: #8f2f2f;
    box-shadow: none;
}

.contact-page .btn-danger {
    background-color: #8f2f2f;
    border-color: #8f2f2f;
    font-weight: 700;
    letter-spacing: 0.02rem;
}

.contact-page .btn-danger:hover,
.contact-page .btn-danger:focus {
    background-color: #762727;
    border-color: #762727;
}

.contact-page .btn-danger.is-loading {
    opacity: 0.9;
    cursor: not-allowed;
}

.contact-map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 991px) {
    .contact-page {
        padding: 3.5rem 0 2.75rem;
    }

    .contact-detail-item .value {
        font-size: 1.04rem;
    }

    .contact-form-card {
        padding: 1.4rem;
    }

    .contact-map-section iframe {
        height: 330px;
    }
}

/* Services page */
.services-hero,
.services-grid,
.services-feature,
.services-showcase,
.services-process,
.services-metrics,
.services-industries,
.services-testimonial,
.services-cta {
    padding: 5rem 0;
}

.services-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 900;
    line-height: 1.02;
    max-width: 980px;
}

.services-hero .hero-lead {
    max-width: 780px;
    color: rgba(242, 242, 235, 0.82);
    margin-top: 1rem;
    line-height: 1.8;
}

.service-card {
    background: #fff;
    border: 1px solid #ececf0;
    padding: 1.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
    font-size: 1.6rem;
    color: var(--accent-red);
}

.service-card h3 {
    margin: 0.85rem 0 0.55rem;
    color: #111a44;
    font-size: 1.05rem;
    font-weight: 800;
}

.service-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.72);
    line-height: 1.7;
    font-size: 0.92rem;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.feature-image {
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

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

.services-feature h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

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

.feature-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.7rem;
    color: rgba(242, 242, 235, 0.84);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    background: var(--accent-red);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.showcase-item {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

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

.showcase-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
    padding: 1.4rem 1rem 1rem;
}

.showcase-overlay h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.showcase-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.5;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.process-card {
    background: #fff;
    border: 1px solid #e9e9ee;
    padding: 1.6rem;
}

.process-card span {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 900;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.process-card h3 {
    color: #111a44;
    font-size: 1.05rem;
    font-weight: 800;
}

.process-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.74);
    line-height: 1.7;
    font-size: 0.92rem;
}

.metric-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    height: 100%;
}

.metric-card h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
}

.metric-card p {
    margin: 0;
    color: rgba(242, 242, 235, 0.8);
    line-height: 1.6;
    font-size: 0.9rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.industry-tags span {
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 0.65rem 1rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    color: rgba(242, 242, 235, 0.9);
}

.testimonial-photo {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #e9e9ee;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-testimonial h2 {
    color: #111a44;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.testimonial-body {
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.8;
    margin: 0;
}

.testimonial-meta {
    margin: 1rem 0 0;
    font-weight: 700;
    font-size: 0.9rem;
    color: #111a44;
}

.cta-box {
    background: #fff;
    border: 1px solid #eaeaf0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-box h2 {
    color: #111a44;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 900;
    margin: 0;
}

.cta-box p {
    margin: 0.5rem 0 0;
    color: rgba(17, 17, 17, 0.7);
}

@media (max-width: 991px) {
    .services-hero,
    .services-grid,
    .services-feature,
    .services-showcase,
    .services-process,
    .services-metrics,
    .services-industries,
    .services-testimonial,
    .services-cta {
        padding: 3.5rem 0;
    }

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

    .showcase-item {
        min-height: 280px;
    }

    .testimonial-photo {
        min-height: 300px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.4rem;
    }
}

/* Sectors / Who we serve page */
.sectors-hero,
.sectors-overview,
.sectors-usecases,
.sectors-model,
.sectors-proof,
.sectors-cta {
    padding: 5rem 0;
}

.sectors-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.03;
    max-width: 980px;
}

.sector-card {
    background: #fff;
    border: 1px solid #ebebef;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.sector-card-body {
    padding: 1.2rem 1.1rem 1.3rem;
}

.sector-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111a44;
}

.sector-card-body p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(17, 17, 17, 0.74);
    line-height: 1.7;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.usecase-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
}

.usecase-card h3 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.usecase-card p {
    margin: 0;
    color: rgba(242, 242, 235, 0.82);
    line-height: 1.7;
    font-size: 0.92rem;
}

.model-image {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #ececf1;
}

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

.sectors-model h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    color: #111a44;
    font-weight: 900;
    margin-bottom: 1rem;
}

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

.model-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.65rem;
    color: rgba(17, 17, 17, 0.8);
}

.model-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    background: var(--accent-red);
}

.proof-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.4rem;
    height: 100%;
}

.proof-card h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    font-weight: 900;
}

.proof-card p {
    margin: 0;
    color: rgba(242, 242, 235, 0.8);
    line-height: 1.6;
    font-size: 0.88rem;
}

@media (max-width: 991px) {
    .sectors-hero,
    .sectors-overview,
    .sectors-usecases,
    .sectors-model,
    .sectors-proof,
    .sectors-cta {
        padding: 3.5rem 0;
    }

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

    .model-image {
        min-height: 300px;
    }
}