/* variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #ff6b35;
    --primary-text: #1a1a2e;
    --secondary-text: #2c3e50;
    --bg-grey: #f4f4f4;
    --text-mute: #e0e0e0;
    --text-grey: #666;

    --text-success: #3fe004;
    --text-error: #f70000;
    --common-transition: 300ms ease-in-out;
}

/* set sensible defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--secondary-text);
}

/* utility classes start */

.h1 {
    font-size: 2.8rem;
    color: var(--primary-text);
}

.h2 {
    font-size: 2.4rem;
    color: var(--primary-text);
}

.h3 {
    font-size: 2rem;
    color: var(--primary-text);
}

.h4 {
    font-size: 1.6rem;
    color: var(--primary-text);
}

.h5 {
    font-size: 1.2rem;
    color: var(--primary-text);
}

.h6 {
    font-size: 1rem;
    color: var(--primary-text);
}

.d-block-inline {
    display: block-inline;
}

.d-hidden {
    display: none;
}

.text-grey {
    color: var(--text-grey);
}

.list-none {
    list-style: none;
}

.common-transition {
    transition: var(--common-transition);
}

.text-error {
    color: var(--text-error);
}

.text-success {
    color: var(--text-success);
}

/* utility classes end */

/* components start */

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: var(--common-transition);
    display: inline-block;
    outline: none;
    border: 0;
}

.btn-tertiary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: var(--common-transition);
    display: inline-block;
    outline: none;
}

.btn-primary:hover {
    background-color: #ff5e1f;
    transform: translateY(-8px);
    transition: var(--common-transition);
    box-shadow: 0 0 8px 2px var(--secondary-color);
    cursor: pointer;
}

.btn-tertiary:hover {
    transition: var(--common-transition);
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
}

/* components end */

/* navbar start */

#logo {
    height: 50px;
    margin-left: 2rem;
    border-radius: 4px;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
}

#navbar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-right: 3rem;
    transition: var(--common-transition);
}

#navbar li {
    padding: 0.5rem;
}

#navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--common-transition)
}

#navbar a:hover {
    color: var(--secondary-color);
    transition: var(--common-transition);
}

#navbar a + span {
    height: 3px;
    width: 0;
    margin-top: 1px;
    display: block;
    border-radius: 12px;
    background-color: var(--secondary-color);
}

#nav-ham-button {
    position: relative;
    width: 40px;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: white;
    border-radius: 4px;
    margin-right: 2rem;
    display: none;
}

#navbar a:hover + span {
    width: 100%;
    transition: var(--common-transition)
}

/* navbar start */

/* body start */
.sections {
    padding-inline: 3rem;
}

#hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    z-index: -2;
    height: 100%;
}

#hero-bg-overlay {
    background-color: var(--primary-color);
    z-index: -1;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.95;
}

#hero {
    color: white;
    position: relative;
    top: 0;
    left: 0;
    padding-inline: 3rem;
    padding-top: 5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 3rem;
}

#hero-content > div:first-of-type {
    max-width: 90%;
}

#hero-content > div h1 {
    margin-bottom: 2rem;
    color: white;
}

#hero-content > div p {
    color: var(--text-mute);
}

#hero-pointers > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 90%;
    margin-inline: auto;
    margin-block: 2rem;
    border-top: 2px solid rgb(255, 255, 255, 0.2);
    border-bottom: 2px solid rgb(255, 255, 255, 0.2);
    padding-block: 2rem;
}

#hero-pointers > ul > li {
    flex: 1 1 0;
    width: 100%;
}

#hero-pointers > ul h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

#hero-pointers > ul p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

#hero-button-group {
    display: flex;
    gap: 3rem;
}

/* About start */

#about {
    background-color: white;
    padding-block: 6rem 4rem;
}

#about > p {
    font-size: 1.1rem;
    margin-block: 1rem;
    max-width: 65%;
}

#about > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 4;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

#about > ul > li {
    background-color: var(--bg-grey);
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    aspect-ratio: 16 / 9;
    max-width: 320px;
}

#about > ul > li > h3{
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

/* About end */

/* Capabilities start */

#capabilities {
    background-color: var(--bg-grey);
    padding-block: 6rem 4rem;
}

#capabilities > p {
    font-size: 1.1rem;
    margin-block: 1.5rem;
    max-width: 65%;
}

#capabilities-cards-list {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    margin-top: 3rem;
}

#capabilities-cards-list > li {
    background-color: white;
    padding: 2rem;
    max-width: 380px;
    transition: var(--common-transition);
    border-radius: 8px;
}

#capabilities-cards-list > li > h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

#capabilities-cards-list > li > ul {
    list-style: disclosure-closed;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#capabilities-cards-list > li > ul > li::marker {
    color: var(--secondary-color);
}

/* Capabilities end */

/* Indsutries start */

#industries {
    padding: 3rem 2rem;
}

#industries > p {
    font-size: 1.1rem;
    margin-block: 1.5rem;
    max-width: 65%;
}

#industries-card-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

#industries-card-list li {
    max-width: 360px;
    height: auto;
    box-shadow: 0 0 16px -6px grey;
    border-radius: 8px;
    background-color: var(--primary-color);
    transition: var(--common-transition);
}

#industries-card-list li img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    border-radius: 8px 8px 0 0;
}

#industries-card-list li div {
    padding: 2rem;
    color: white;
}

#industries-card-list li div p {
    color: var(--bg-grey);
    font-size: 0.9rem;
    margin-block: 1rem;
}

/* Common card hover for capabilites & industries sector */

#capabilities-cards-list > li:hover, #industries-card-list > li:hover {
    box-shadow: 0 0 24px 0px grey;
    transition: var(--common-transition);
    transform: translateY(-8px);
}

/* Indsutries end */

/* Locations start */

#locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-grey);
    padding: 3rem 2rem;
    gap: 3rem;
}

#locations-left > h2 {
    margin-bottom: 2rem;
}

#locations-map {
    max-width: 100%;
    height: 400px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

#locations > div {
    flex: 1 1 0;
}

#locations-right {
}

#locations-right > ul {
    margin-top: 2rem;
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#locations-right > ul > li {
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 1024px;
    width: fit-content;
    padding: 1rem 1.5rem;
    font-weight: bold;
}

/* Locations end */

/* Clients start */

#clients {
    padding: 3rem 2rem;
}

#clients h2 {
    margin-bottom: 2rem;
}

#clients-list {
    max-width: 1200px;
    margin-inline: auto;
    margin-top: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
}

#clients-list::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: slide 9s infinite linear;
    padding-right: 1rem;
}

.group > li {
    flex-grow: 1;
    margin: 1rem;
}

.group > li > img {
    max-width: 320px;
}
/* Clients end */

/* Vision & Mission start */

#vision-mission {
    padding: 6rem 2rem;
    position: relative;
    top: 0;
    left: 0;
}

#vision-mission-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#vision-mission-bg-overlay {
    background-color: var(--primary-color);
    opacity: 0.91;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#vision-mission > div {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

#vision-mission h2 {
    color: white;
    margin-bottom: 2rem;
}

#vision-mission > div > div {
    flex: 1 1 0;
}

#vision-mission > div > div > h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

#vision-mission > div > div > p {
    color: white;
    padding-right: 2rem;
}

/* Vision & Mission end */

/* Contact start */

#contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--bg-grey);
    padding: 5rem 5rem;
    gap: 4rem;
}

#contact > div {
    flex: 1 1 0;
}

#contact-details h2 {
    margin-bottom: 2rem;
}

#contact-details > div {
    margin-top: 2rem;
}

#contact-details h3 {
    color: var(--secondary-color);
}

#contact-details p {
    margin-top: 1rem;
    color: var(--text-grey);
}

#contact-form {
    background-color: white;
    box-shadow: 0 0 8px 2px lightgrey;
    padding: 2rem;
    border-radius: 6px;
}

#contact-form > form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#contact-form > form label {
    font-weight: bold;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

#contact-form > form input {
    height: 40px;
    font-size: 1rem;
    padding: 8px;
}

#contact-form > form textarea {
    font-size: 1rem;
    padding: 8px;
}

#contact-form > form button {
    margin-top: 1rem;
}

#inquiry-form-success {
    text-align: center;
    margin-block: 50%;
}

#inquiry-form-success > p {
    margin-top: 1rem;
}

/* Contact end */

/* Footer start */

footer {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    vertical-align: center;
    padding-block: 1rem;
}

/* Footer end */

/* Media Queries start */

@media screen and (max-width: 1080px) {
    #navbar ul {
        flex-direction: column;
        position: absolute;
        top: -50vh;
        left: 0;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        overflow: hidden;
        z-index: -1;
        padding-block: 2rem;
    }
    #nav-ham-button {
        display: flex;
    }
}

@media screen and (max-width: 720px) {
    #hero-pointers > ul {
        flex-direction: column;
    }
    #hero-button-group {
        flex-direction: column;
    }
    #locations {
        flex-direction: column;
    }
    #vision-mission > div {
        flex-direction: column;
    }
    #contact {
        padding: 5rem 3rem;
    }
}

/* Media Queries end */

/* Animations start */

/* Marquee start */

@keyframes slide {
    from {translate: 0;}
    to {translate: -100%;}
}

/* Marquee end */

/* Animations end */

/* HTMX start */

.htmx-request input,
.htmx-request textarea,
.htmx-request select {
    pointer-events: none;
    opacity: 0.7;
}

.htmx-request button:hover {
    cursor: not-allowed;
}


.htmx-indicator {
    display: none;
}
.htmx-request .default {
    display: none;
}
.htmx-request .htmx-indicator {
    display: inline;
}
.htmx-request .btn-primary{
    background: #9ca3af;
}

.htmx-request .btn-primary:hover{
    box-shadow: none;
}

/* HTMX end */
