* {
    box-sizing: border-box;
}

h3 {
    font-size: 34px;
}

.ctr {
    text-align: center;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    width: 100%;
}

.btn {
    align-items: center;
    gap: .5rem;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    background-color: #26c6cc;
}

.btn:hover {
    opacity: .95;
}

.btn.outline {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid #ffffff;
}


/*  Section1 */

.section-1 {
    background-size: cover;
    width: 100%;
    height: 105vh;
}

.center-text {
    position: absolute;
    top: 58vh;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
    font-weight: bold;
    font-size: 2rem;
    padding: 40px 25px;
    border-radius: 15px;
    transition: all 1s ease;
    height: 22vh;
    width: 40vw;
    backdrop-filter: blur(1.5px);
    /* margin: 10vh, 20vw; */
}

.p {
    margin: 0;
    font-size: 2vw;
}

.label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    text-align: center;
    color: #ffffff;
    font: 600 16px/1.2 system-ui, sans-serif;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(o, o, o, o));
}

.circle {
    position: absolute;
    width: 13vw;
    height: 21vh;
    border-radius: 50%;
    background: #111;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 3px solid transparent;
    transition: all 1.5s ease;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    opacity: 0;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 0deg, transparent, transparent 30%, rgba(0, 255, 255, 0.4));
    transform: rotate(-45deg);
    transition: all 1s ease;
    opacity: 0;
}

.circle:hover {
    transform: scale(1.6);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.circle:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

.oilgas.final {
    top: 30%;
    left: 15%;
    right: auto;
}

.construction.final {
    top: 19%;
    left: 45%;
}

.welding.final {
    top: 30%;
    right: 15%;
    left: auto;
}

.mep.final {
    bottom: 15%;
    left: 15%;
    top: auto;
    right: auto;
}

.infrastructure.final {
    bottom: 3%;
    left: 45%;
    top: auto;
}

.heavyMachinery.final {
    bottom: 15%;
    right: 15%;
    top: auto;
    left: auto;
}

.p-tag {
    font-size: 14px;
    text-align-last: center;
    color: #d0d6e4;
}

.glow {
    border: 3px solid rgb(206, 193, 164);
    box-shadow: 0 0 25px rgb(150, 38, 38);
    transform: scale(1.30);
    opacity: 1;
}


/* Glow + blinking animation */

.text-glow {
    border: 2px solid #ddd9c3;
    animation: glowBlink 2s infinite alternate;
    color: rgb(255, 255, 255);
}

@keyframes glowBlink {
    0% {
        box-shadow: 0 0 5px rgba(147, 167, 255, 0.911), 0 0 10px rgb(185, 132, 255);
    }
    100% {
        box-shadow: 0 0 25px rgb(0, 113, 241), 0 0 50px rgb(255, 255, 255);
    }
}

.shrink {
    position: fixed;
    top: 10px;
    left: 20px;
    height: 50px;
    transform: none;
    z-index: 1200;
}


/* Hero */

.hero {
    position: unset;
    isolation: isolate;
    background-size: cover;
}

.hero .bg {
    position: absolute;
    inset: 0;
}

.hero .inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center;
    min-height: 72vh;
    margin: 0vh 9vw;
}

.card {
    background: var(--paper);
    border: 1px solid #000000;
    border-radius: 18px;
    box-shadow: var(--shadow);
    box-shadow: 0 0 25px #393E46;
    background: #d4bf9e;
}

video{
    max-height: 46vh;
    max-width: 49vw;
}

.hero-card {
    padding: 28px;
    box-shadow: 0 0 25px #393E46;
}

.eyebrow {
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem
}

.title {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    margin: .35rem 0 .75rem;
}

.container {
    margin: 15vh 19vw 0px 19vw;
}

.subtitle {
    color: var(--muted);
    max-width: 52ch;
    font-size: 25px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px
}

.stat {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #eef0f4;
    background: #fff;
    text-align: center
}

.stat b {
    font-size: 22px
}

.img {
    max-width: 100%;
    display: block;
}

.img:hover {
    transform: scale(1.5);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #ffffff;
    background: #DFD0B8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .85rem;
    color: var(--muted);
}


/* about */

.section-head {
    margin-bottom: 22px;
    top: 10%;
    text-align: center;
}

.section-head h2 {
    font-size: 28px;
    margin: 0;
}

.muted {
    color: var(--muted);
    font-size: 20px;
}


/* Services */

.grid {
    display: grid;
    gap: 16px;
}

.gri .grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-pad {
    padding: 15px;
}

.card:hover {
    transform: scale(1.02);
}

.icon {
    height: 42px;
    width: 42px;
    border-radius: 12px;
    background: #0b1220;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 700;
}


/* Clients carousel */

.logos {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.logos-track {
    display: flex;
    gap: 48px;
    animation: scroll 15s linear infinite;
    width: max-content;
}

.logo-div {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 40px;
}

.logo-item {
    height: 250px;
    width: 250px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.logo-item:hover {
    transform: scale(1.2);
}

.logo-div span {
    display: block;
    margin-top: 12px;
    font-size: 20px;
    color: #555;
}

@keyframes scroll {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(-50%)
    }
    ;
}


/* Gallery */

.gallery {
    grid-template-columns: repeat(4, 1fr);
}

.gallery img {
    border-radius: 14px;
    border: 1px solid #000000;
    box-shadow: var(--shadow);
    box-shadow: 0 0 25px #393E46;
}


/* Jobs */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
}

.input {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    outline: none;
    min-width: 220px;
}

.input:focus {
    box-shadow: 0 0 0 4px var(--ring);
    border-color: #bae6fd;
}

.job {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #eef0f4;
    background: #fff;
}

.job h4 {
    margin: 0 0 6px;
}

.tag {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: .8rem;
    color: #374151;
    background: #fff;
    margin-right: 6px;
}


/* Modal */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-card {
    max-width: 640px;
    width: 100%;
}

.modal-card .card-pad {
    padding: 22px;
}


/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
}

.contact-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.txt {
    text-decoration: none;
}

.limg{
    max-height: 20vh;
    max-width: 45vw;
}

/* Floating buttons */

.fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1200;
}

.fab a {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
}


/* Back to top */

.to-top {
    position: fixed;
    right: 76px;
    bottom: 20px;
    transform: translateY(80px);
    transition: .2s;
}

.to-top.show {
    transform: translateY(0);
}


/* Footer */

footer {
    background: #0b1220;
    color: #d0d6e4;
}

footer a {
    color: #d0d6e4;
}


/* form */

.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
}

.show {
    max-height: 1000px;
    opacity: 1;
}

.error {
    color: red;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 10px;
}