﻿
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 8px 24px;
}

/* Gradient Background Section */
.contact-header {
    position: relative;
    padding: 120px 20px 180px;
    text-align: center;
    background: linear-gradient(135deg, #0047ab, #002b66);
    color: #fff;
    overflow: hidden;
}

    /* Heading Styling */
    .contact-header h1 {
        font-size: 48px;
        line-height: 1.3;
        font-weight: 700;
        margin-bottom: 20px;
    }

        .contact-header h1 span {
            color: #ffca28; /* Yellow Color */
        }

    /* Sub heading text */
    .contact-header p {
        font-size: 18px;
        max-width: 700px;
        margin: 0 auto;
        opacity: 0.9;
    }


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
}

.brand {
    font-size: 42px;
    font-weight: 700;
    color: #0D2A40;
}

.subtitle {
    margin-left: 12px;
    font-size: 20px;
    color: #0D2A40;
    font-weight: 600;
}

.menu a {
    margin: 0 18px;
    text-decoration: none;
    color: #222;
    font-size: 18px;
}

    .menu a:hover {
        color: #0066ff;
    }

.cta-btn {
    background: #007bff;
    color: white;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

    .cta-btn:hover {
        background: #0064d6;
    }

/* NAV BASE */
.my-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width:1023px) {
    .my-nav {
        display: none;
    }
}

/* Normal nav links */
.nav-link {
    color: var(--dark-text-color);
    /* font-weight: 500;*/
    font-size: 16px;
    text-decoration: none;
    transition: color .15s;
}

    .nav-link:hover {
        color: var(--primary-color);
    }

/* Dropdown wrapper */
.dropdown-robust {
    position: relative;
    display: inline-block;
}

/* Dropdown panel default */
.dropdown-panel {
    position: absolute;
    top: 175%;
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .20s ease, transform .20s ease;
}

/* Show on hover or JS-open */
.dropdown-robust.open .dropdown-panel,
.dropdown-robust:hover .dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* SERVICES items */
.dropdown-panel a.item {
    display: block;
    padding: 9px 14px;
    text-decoration: none;
    color: #444;
    border-radius: 6px;
}

    .dropdown-panel a.item:hover {
        background: #f6f6f6;
        color: var(--primary-color);
    }

/* Caret arrow */
.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.caret {
    font-size: .7rem;
}

/* CENTERED MEGA PANEL POSITION */
#drop-industries .dropdown-panel {
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
}

#drop-industries.open .dropdown-panel {
    transform: translateX(-50%) translateY(0) !important;
}

/* SERVICE PANEL */
.service-panel {
    width: 155px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    /* SERVICE PANEL LINKS */
    .service-panel a {
        display: block;
        width: 100%;
        padding: 10px 0 20px;
        position: relative;
        text-align: center;
        color: #444;
        text-decoration: none;
        font-size: 15px;
        transition: 0.2s;
    }

        /* SERVICE UNDERLINE */
        .service-panel a::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 4px;
            width: 75%; /* underline size */
            height: 2px;
            background: #d8d8d8;
            border-radius: 20px;
        }

        /* HOVER */
        .service-panel a:hover {
            color: var(--primary-color);
        }

            .service-panel a:hover::after {
                background: var(--primary-color);
            }

/* INDUSTRIES PANEL */
.industries-panel {
    width: 1000px;
    padding: 40px;
}

/* GRID: 4 COLUMNS ON DESKTOP */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*gap: 10px 50px;*/
    padding-left: 20px;
}

    /* INDUSTRY ITEM */
    .industries-grid a {
        display: inline-block;
        padding: 10px 0 18px 0;
        background: transparent;
        text-decoration: none;
        color: #444;
        font-size: 14px;
        position: relative;
        text-align: center;
        transition: 0.15s;
    }

        /* INDUSTRY UNDERLINE */
        .industries-grid a::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 4px;
            width: 100%;
            height: 2px;
            background: #d8d8d8;
            border-radius: 20px;
        }

        /* HOVER */
        .industries-grid a:hover {
            color: var(--primary-color);
        }

            .industries-grid a:hover::after {
                background: var(--primary-color);
            }

/* RESPONSIVE */
@media (max-width: 768px) {
    .industries-panel {
        width: 100%;
        padding: 20px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 20px;
    }

        .industries-grid a,
        .service-panel a {
            font-size: 14px;
            text-align: center;
        }
}

/* MOBILE */
@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

        .industries-grid a,
        .service-panel a {
            font-size: 14px;
        }

    .service-panel {
        width: 100%;
        text-align: center;
    }
}
