/* ==========================================================================
   EES Website Design Theme (OceanWP & Elementor Emulation)
   ========================================================================== */

:root {
    --primary: #004271;
    --hover-blue: #0b2a8e;
    --active-blue: #0066bf;
    --body-text: #333333;
    --light-grey: #f5f5f5;
    --border-color: #e4e4e4;
    --white: #ffffff;
    --font-family-body: 'Roboto', Arial, sans-serif;
    --font-family-heading: 'Raleway', 'Roboto', sans-serif;
}

/* General Reset & Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body);
    font-size: 14px;
    line-height: 1.8;
    color: var(--body-text);
    background-color: var(--white);
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: #333333;
    font-weight: 700;
    margin-bottom: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: 20px;
}

ul {
    margin-bottom: 20px;
}

/* Topbar Styles */
.topbar {
    background-color: #005a9c;
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
}

.topbar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.95;
    font-size: 12px;
}

.topbar-link:hover {
    color: #d0e4f5;
}

/* Header & Sticky Navigation */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 75px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    max-width: 170px;
    max-height: 55px;
    display: block;
}

/* Menu links styling */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    height: 75px;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #444444;
    text-transform: uppercase;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #0096db;
}

.nav-item.active .nav-link {
    color: #0096db;
}

.search-icon-btn {
    padding: 0 10px 0 15px;
    color: #666666;
    font-size: 14px;
}

.search-icon-btn:hover {
    color: #0096db;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* Page Banner */
.page-banner {
    background-color: #0073bb;
    border-bottom: none;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 30px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0;
}

/* Homepage Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #000000;
}

.slider-wrapper {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 1200px;
    padding: 0 40px;
    width: 100%;
}

.slide-content h2 {
    color: #00b0f0;
    font-family: var(--font-family-body);
    font-size: 50px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 15px;
}

.slide-subtitle {
    font-size: 20px;
    color: var(--white);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}

.slide-description {
    font-size: 25px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 15px;
}

.slide-subdesc {
    font-size: 25px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.3;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    font-size: 32px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.slider-dot.active {
    background-color: #ffffff;
}

/* Section general spacing */
.section {
    padding: 60px 0;
}

/* Divider block */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0 25px 0;
}

/* Form alert banners */
.form-alert {
    padding: 12px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
}

.form-alert-success {
    background-color: #e6f9ed;
    color: #1e7e34;
    border: 1px solid #c3edd2;
}

.form-alert-danger {
    background-color: #fdf2f2;
    color: #dc3545;
    border: 1px solid #f8d7da;
}

/* Two-column rows */
.row-two-col {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.col-left {
    flex: 0 0 220px;
    width: 220px;
}

.col-right {
    flex: 1;
}

.col-left h2 {
    font-size: 18px;
    color: #333333;
    font-weight: 700;
}

.col-right h2 {
    font-size: 18px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 15px;
}

.col-right ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.col-right li {
    margin-bottom: 8px;
}

.col-right ul ul {
    margin-top: 10px;
    margin-bottom: 10px;
    list-style-type: circle;
}

/* Software grid on services */
.software-subgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 15px;
}

.software-block {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 15px;
}

.software-block:last-child {
    border-bottom: none;
}

.software-block h3 {
    font-size: 15px;
    color: #333333;
    margin-bottom: 8px;
}

/* Job Requirements list layout */
.job-detail-row {
    margin-bottom: 30px;
}

.job-label {
    font-weight: 700;
    color: #333333;
}

/* Projects page Reach Map */
.projects-map {
    text-align: center;
    margin-bottom: 40px;
}

.projects-map img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    image-rendering: -webkit-optimize-contrast;
}

/* Projects page statistics counters */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.counter-card {
    text-align: center;
}

.counter-title {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.counter-number {
    font-size: 50px;
    font-weight: 500;
    color: var(--hover-blue);
    line-height: 1;
}

/* Contact page structures */
.contact-section {
    padding: 50px 0 60px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-company-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.contact-text-block {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
}

.contact-text-block p {
    margin-bottom: 12px;
}

.contact-text-block strong {
    color: #333333;
}

.contact-text-block a {
    color: #0073bb;
}

.contact-map iframe {
    width: 100%;
    height: 370px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    display: block;
}

/* Form Styles */
.contact-form-box {
    background-color: #ffffff;
}

.form-title {
    font-size: 20px;
    margin-bottom: 22px;
    font-weight: 700;
    color: #2c5e8a;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    background-color: var(--white);
    font-family: var(--font-family-body);
    font-size: 14px;
    color: var(--body-text);
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00a8ec;
}

textarea.form-control {
    height: 180px;
    resize: vertical;
}

.submit-btn {
    background-color: #00a8ec;
    color: var(--white);
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #0092ce;
}

/* Footer widget blocks */
.main-footer {
    background-color: #222222;
    color: #888888;
    margin-top: auto;
    font-size: 13px;
}

.footer-widgets {
    padding: 45px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

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

.footer-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-icon {
    color: #00a8ec;
    font-size: 14px;
    margin-top: 3px;
}

.footer-bottom {
    background-color: #141414;
    padding: 16px 0;
    font-size: 12px;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom p {
    margin-bottom: 0;
    text-align: center;
    color: #888888;
}

.footer-bottom a {
    color: var(--white);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll top button */
.scroll-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #141414;
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    border-radius: 2px;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #00a8ec;
}

.nocopy-alert {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 100000;
    display: none;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .row-two-col {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .col-left, .col-right {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 116px; /* 36px topbar + 80px header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 116px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        padding: 15px 25px;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .slider-container {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 30px;
    }

    .slide-subtitle, .slide-description, .slide-subdesc {
        font-size: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .counters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Career Jobs List Custom Layout */
.career-jobs-box {
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    background-color: var(--white);
    overflow: hidden;
    margin-bottom: 40px;
}

.job-detail-row {
    padding: 30px;
}

.job-detail-row:not(:last-child) {
    border-bottom: 2px solid #707070; /* Solid darker line separating job listings */
}

.job-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-row:last-child {
    margin-bottom: 0;
}

.job-label {
    flex: 0 0 150px;
    font-size: 14px;
    font-weight: bold;
    color: #1e73be;
}

.job-value {
    flex: 1;
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

.job-value ul {
    margin-bottom: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.job-value li {
    margin-bottom: 8px;
    color: #555555;
}

.job-value li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .job-row {
        flex-direction: column;
    }
    .job-label {
        flex: 0 0 auto;
        margin-bottom: 5px;
    }
    .job-detail-row {
        padding: 20px;
    }
}
