* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #111111;
    background: #ffffff;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
}


a {
    text-decoration: none;
}


button {
    font-family: inherit;
}



/* =========================================================
   VARIABLES
========================================================= */

:root {

    --navy: #08273D;

    --red: #ff0808;

    --white: #ffffff;

    --black: #111111;

    --light: #f5f5f5;

    --grey: #666666;

}



/* =========================================================
   NAVIGATION — SERVICES + INDUSTRIES + CONTACT
   BLACK TEXT VERSION
========================================================= */

.navbar {
    width: 100%;
    height: 70px;

    background: #ffffff;

    position: relative;
    z-index: 1000;

    border-bottom: none;
}

.nav-container {
    width: 100%;
    max-width: 1250px;
    height: 100%;

    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo img {
    display: block;

    width: 70px;
    height: auto;
}


/* NAVIGATION LINKS */

.nav-menu {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 38px;
}

.nav-menu a {
    height: 100%;

    position: relative;

    display: flex;
    align-items: center;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    color: #111111;

    transition: color 0.3s ease;
}


/* ACTIVE + HOVER */

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff0808;
}

.nav-menu a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: #ff0808;
}


/* HAMBURGER */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    background: transparent;

    color: #111111;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}


/* TABLET */

@media (max-width: 900px) {

    .nav-menu {
        gap: 24px;
    }

    .nav-menu a {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 750px) {

    .navbar {
        height: 65px;
        background: #ffffff;
    }

    .nav-container {
        width: 100%;
        height: 65px;

        padding: 0 16px;

        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        margin: 0;
        padding: 0;

        border: none;
        background: transparent;

        color: var(--navy);

        font-size: 25px;
        line-height: 1;

        cursor: pointer;

        order: 1;
    }

    .logo {
        margin-left: 12px;
        margin-right: 0;

        order: 2;
    }

    .logo img {
        width: 56px;
    }

    .nav-menu {
        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;
        height: auto;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 8px 16px 14px;

        background: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.10);

        z-index: 999;
    }

    .nav-menu.active,
    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        height: auto;

        display: block;

        padding: 14px 5px;

        color: #111111;

        font-size: 13px;
        font-weight: 600;

        text-align: left;

        border-bottom: 1px solid #eeeeee;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--red);
    }
}





/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;
    padding: 55px 20px;
    background: #ffffff;
}

.contact-wrapper {
    position: relative;
    max-width: 1200px;
    min-height: 560px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;

    overflow: hidden;
    border-radius: 4px;

    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 255, 255, 0.78)
        ),
        url("images/cont.jpg");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.contact-info {
    padding: 50px 55px;
    position: relative;
    z-index: 2;
}

.contact-label {
    display: block;
    margin-bottom: 18px;

    font-size: 17px;
    font-weight: 500;
    color: #f20b0b;
    letter-spacing: 0.2px;
}

.contact-info h2 {
    margin: 0;

    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.18;
    font-weight: 700;

    color: #111128;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    margin-top: 42px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 42px;

    color: #111111;
    font-size: 16px;
}

.contact-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #092638;
    color: #ffffff;

    font-size: 17px;
}

.contact-item:nth-child(3) .contact-icon,
.contact-item:nth-child(4) .contact-icon {
    background: #000000;
}


/* =========================================================
   LINKEDIN BUTTON
========================================================= */

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 32px;
    padding: 10px 17px;

    border: 1.5px solid #111111;
    border-radius: 25px;

    background: #ffffff;
    color: #111111;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    background: #111111;
    color: #ffffff;
}

.linkedin-btn i {
    font-size: 12px;
}


/* =========================================================
   FORM CONTAINER
========================================================= */

.contact-form-container {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 440px;

    margin-left: auto;
    margin-right: 25px;

    padding: 32px 30px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #9aa4a8;
    border-radius: 16px;

    box-sizing: border-box;
}


/* =========================================================
   FORM
========================================================= */

#contactForm {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 500;

    color: #111111;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 10px 12px;

    box-sizing: border-box;

    border: 1px solid #b7b7b7;
    border-radius: 5px;

    background: #ffffff;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition: 0.2s ease;
}

.form-group input {
    height: 40px;
}

.form-group textarea {
    min-height: 78px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   ERROR STATE
========================================================= */

.form-group.error input,
.form-group.error textarea {
    border-color: #f20b0b;
}

.error-message {
    display: block;

    margin-top: 4px;

    font-size: 10px;
    color: #f20b0b;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.consultation-btn {
    width: 100%;
    height: 38px;

    margin-top: 2px;

    border: none;
    border-radius: 20px;

    background: #000000;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.consultation-btn:hover {
    background: #f20b0b;
    transform: translateY(-1px);
}


/* =========================================================
   FORM NOTE
========================================================= */

.form-note {
    margin: 7px 0 0;

    text-align: center;

    font-size: 7px;
    color: #777777;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.form-success {
    display: none;

    margin-top: 15px;
    padding: 10px;

    border-radius: 5px;

    background: #eef8ee;
    color: #267326;

    text-align: center;
    font-size: 12px;
}

.form-success.show {
    display: block;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--navy);

    color: white;
}

.footer-container {
    max-width: 1200px;

    margin: auto;

    padding: 40px 30px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1.2fr;

    gap: 60px;
}

.footer-logo {
    width: 80px;
}

.footer-container p {
    margin-top: 12px;

    font-size: 13px;

    line-height: 1.7;
}

.footer-container h3 {
    margin-bottom: 17px;

    font-size: 16px;
}

.footer-container a {
    display: block;

    margin-bottom: 9px;

    color: white;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-container a:hover {
    color: var(--red);
}

.footer-container i {
    margin-right: 8px;

    color: var(--red);
}

.footer-bottom {
    padding: 18px;

    border-top: 1px solid rgba(255,255,255,0.15);

    text-align: center;

    font-size: 11px;

    color: #dddddd;
}
/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .contact-section {
        padding: 45px 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 25px;

        padding: 18px;
    }

    .contact-info {
        padding: 30px 22px 10px;
    }

    .contact-info h2 {
        font-size: 40px;
    }

    .contact-form-container {
        max-width: 100%;

        margin: 0;

        padding: 28px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 38px 15px;
    }

    .contact-wrapper {
        padding: 8px;

        gap: 20px;
    }

    .contact-info {
        padding: 25px 12px 12px;
    }

    .contact-label {
        font-size: 14px;
    }

    .contact-info h2 {
        font-size: 34px;
        line-height: 1.15;
    }

    .contact-details {
        margin-top: 25px;

        gap: 12px;
    }

    .contact-item {
        font-size: 14px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .linkedin-btn {
        margin-top: 22px;
    }

    .contact-form-container {
        padding: 22px 18px;

        border-radius: 12px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 26px;

        padding: 38px 20px;
    }

    .footer-contact {
        grid-column: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .nav-container {
        padding: 0 14px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;

        font-size: 23px;
    }

    .logo {
        margin-left: 10px;
    }

    .logo img {
        width: 52px;
    }

    .contact-section {
        padding: 32px 12px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .contact-item {
        gap: 10px;

        font-size: 13px;
    }

    .contact-form-container {
        padding: 20px 15px;
    }
}
/* =========================================================
   SERVICES + INDUSTRIES MEGA DROPDOWN
========================================================= */

/*
   IMPORTANT:
   position: static allows the dropdown to position itself
   relative to the full navbar instead of only the nav item.
*/
.nav-dropdown {
    position: static;
    height: 100%;

    display: flex;
    align-items: center;
}


/* =========================================================
   DROPDOWN TRIGGER
========================================================= */

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 7px;

    cursor: pointer;
}


/* SMALL ARROW NEXT TO SERVICES / INDUSTRIES */

.dropdown-toggle i {
    font-size: 10px;

    transition: transform 0.3s ease;
}


/* Turn arrow upward when menu opens */

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}


/* =========================================================
   LARGE HORIZONTAL DROPDOWN
========================================================= */

.dropdown-menu {
    position: absolute;

    top: calc(100% + 8px);
    left: 50%;

    width: min(1200px, calc(100vw - 80px));

    padding: 38px 40px;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;

    background: #ffffff;

    border: none;
    border-radius: 30px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 15px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 5000;
}


/* =========================================================
   SHOW DROPDOWN
========================================================= */

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);
}


/* =========================================================
   DROPDOWN ITEMS
========================================================= */

.nav-menu .dropdown-menu a {
    width: 130px;
    height: auto;

    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 14px;

    color: #111111;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;

    line-height: 1.25;

    white-space: normal;

    border: none;

    text-align: left;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* Remove navbar active underline inside dropdown */

.nav-menu .dropdown-menu a::after {
    display: none;
}


/* =========================================================
   DROPDOWN ICONS
========================================================= */

.nav-menu .dropdown-menu a i {
    color: var(--red);

    font-size: 29px;

    margin: 0;

    transition: transform 0.25s ease;
}


/* =========================================================
   HOVER EFFECT
========================================================= */

.nav-menu .dropdown-menu a:hover {
    color: var(--red);

    transform: translateY(-3px);
}

.nav-menu .dropdown-menu a:hover i {
    transform: translateY(-2px);
}


/* =========================================================
   KEEP DROPDOWN OPEN WHILE MOUSE IS INSIDE
========================================================= */

.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .dropdown-menu {
        width: calc(100vw - 40px);

        padding: 30px 25px;

        gap: 18px;

        overflow-x: auto;

        justify-content: flex-start;

        border-radius: 24px;
    }


    .nav-menu .dropdown-menu a {
        min-width: 115px;
        width: 115px;

        font-size: 12px;
    }


    .nav-menu .dropdown-menu a i {
        font-size: 25px;
    }
}


/* =========================================================
   FINAL MOBILE RESPONSIVE OVERRIDES
   Added to keep the layout clean on tablet and mobile
========================================================= */

@media (max-width: 750px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .navbar {
        width: 100%;
        height: 65px;
    }

    .nav-container {
        width: 100%;
        height: 65px;
        padding-left: 16px;
        padding-right: 16px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        order: 1;
        z-index: 1002;
    }

    .logo {
        display: flex;
        align-items: center;
        margin-left: 12px;
        margin-right: 0;
        order: 2;
    }

    .logo img {
        width: 55px;
        height: auto;
    }

    .nav-menu {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 16px;
        z-index: 1001;
    }

    .nav-menu.active,
    .nav-menu.show {
        display: flex;
    }

    .nav-menu > a,
    .nav-dropdown > a,
    .nav-menu > li > a {
        width: 100%;
        height: auto;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 5px;
    }

    .nav-dropdown {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
    }

    /* Keep mobile navigation simple and prevent the desktop
       mega menu from overflowing the screen. */
    .dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 430px) {

    .nav-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 23px;
    }

    .logo {
        margin-left: 10px;
    }

    .logo img {
        width: 52px;
    }
}


/* CONTACT PAGE */
@media (max-width: 900px) {
    .contact-section {
        padding: 42px 18px;
    }

    .contact-wrapper {
        width: 100%;
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 18px;
        background-position: center;
    }

    .contact-info {
        padding: 28px 22px 8px;
    }

    .contact-form-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 26px 24px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 30px 12px;
    }

    .contact-wrapper {
        padding: 8px;
        gap: 18px;
        overflow: visible;
    }

    .contact-info {
        padding: 24px 12px 10px;
    }

    .contact-label {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .contact-info h2 {
        font-size: clamp(31px, 10vw, 40px);
        line-height: 1.12;
    }

    .contact-details {
        margin-top: 24px;
        gap: 11px;
    }

    .contact-item {
        gap: 11px;
        min-height: 38px;
        font-size: 13px;
        align-items: flex-start;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .contact-item span {
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.45;
    }

    .linkedin-btn {
        max-width: 100%;
        margin-top: 20px;
        padding: 10px 14px;
        font-size: 12px;
        white-space: normal;
    }

    .contact-form-container {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 16px;
    }

    .form-group input {
        height: 44px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .consultation-btn {
        min-height: 44px;
        height: auto;
        padding: 11px 14px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 20px;
    }
}
/* =========================================================
   FINAL MOBILE DROPDOWN FIX
   CONTACT PAGE
========================================================= */

@media (max-width: 750px) {

    /* =====================================================
       DROPDOWN WRAPPER
    ===================================================== */

    .nav-dropdown {
        width: 100%;
        height: auto;

        display: block;

        position: relative;
    }


    /* =====================================================
       SERVICES / INDUSTRIES TOGGLE
    ===================================================== */

    .nav-dropdown > .dropdown-toggle {
        width: 100%;
        min-height: 46px;

        position: relative;

        display: flex !important;

        align-items: center;

        justify-content: flex-start;

        padding:
            12px
            38px
            12px
            5px;


        color: #111111;


        font-size: 13px;

        font-weight: 600;


        cursor: pointer;
    }


    /* =====================================================
       HIDE ORIGINAL FONTAWESOME ARROW
    ===================================================== */

    .nav-dropdown >
    .dropdown-toggle >
    i {

        display: none !important;

    }


    /* =====================================================
       MOBILE DROPDOWN ARROW
    ===================================================== */

    .nav-dropdown >
    .dropdown-toggle::after {

        content: "▼" !important;

        display: block !important;


        position: absolute;

        top: 50%;
        right: 8px;


        color: #111111;


        font-size: 10px;


        opacity: 1 !important;

        visibility: visible !important;


        pointer-events: none;


        transform:
            translateY(-50%);


        transform-origin: center;


        transition:
            transform 0.3s ease;

    }


    /* OPEN ARROW */

    .nav-dropdown.open >
    .dropdown-toggle::after {

        transform:
            translateY(-50%)
            rotate(180deg);

    }


    /* =====================================================
       MOBILE DROPDOWN MENU
    ===================================================== */

    .nav-dropdown >
    .dropdown-menu {

        position: static !important;


        top: auto !important;

        left: auto !important;


        width: 100% !important;

        height: auto;


        margin: 0 !important;


        padding:
            6px
            0
            10px
            14px !important;


        display: none !important;


        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;


        gap: 0;


        background: #ffffff;


        border: none;

        border-radius: 0;


        box-shadow: none;


        opacity: 1 !important;

        visibility: visible !important;


        pointer-events: auto !important;


        transform: none !important;


        overflow: visible !important;

    }


    /* =====================================================
       OPEN DROPDOWN
    ===================================================== */

    .nav-dropdown.open >
    .dropdown-menu {

        display: flex !important;

    }


    /* =====================================================
       DROPDOWN LINKS
    ===================================================== */

    .nav-menu
    .dropdown-menu
    a {

        width: 100% !important;

        min-width: 0 !important;

        height: auto;


        display: flex;


        flex-direction: row;


        align-items: center;

        justify-content: flex-start;


        gap: 12px;


        padding:
            11px
            10px;


        color: #111111;


        font-family:
            "Inter",
            sans-serif;


        font-size: 13px;

        font-weight: 600;


        line-height: 1.4;


        white-space: normal;


        text-align: left;


        border-bottom:
            1px solid #e8e8e8;


        transform: none;

    }


    /* =====================================================
       HOVER
    ===================================================== */

    .nav-menu
    .dropdown-menu
    a:hover {

        color: var(--red);

        transform: none;

    }


    /* =====================================================
       DROPDOWN ICONS
    ===================================================== */

    .nav-menu
    .dropdown-menu
    a i {

        display: inline-flex !important;


        width: 24px;


        flex:
            0 0 24px;


        align-items: center;

        justify-content: center;


        color: var(--red);


        font-size: 18px;


        margin: 0;


        transform: none;

    }


    .nav-menu
    .dropdown-menu
    a:last-child {

        border-bottom: none;

    }


    /* =====================================================
       REMOVE DESKTOP DROPDOWN POSITIONING
    ===================================================== */

    .nav-dropdown:hover >
    .dropdown-menu {

        transform: none !important;

    }

}