/* ================= ROOT VARIABLES ================= */
:root {
    --color-bg: #000;
    --color-bg-dark: #0b0b0b;
    --color-bg-light: #111;
    --color-text: #fff;
    --color-text-light: #ccc;
    --color-text-muted: #aaa;
    --color-border: #222;
    --color-border-light: #111;
    --color-accent: #0dcaf0;
    /* cyan accent for icons */
    --color-success: #28a745;
    /* green for checkmarks */
    --color-font: #ec6c22;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    --h1-size: 52px;
    --h2-size: 42px;
    --h3-size: 32px;
    --text-size: 16px;

    --section-padding: 100px;
    --transition: .3s;
}

/* ================= GLOBAL & OVERFLOW FIX ================= */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--text-size);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

section {
    padding: var(--section-padding) 0;
}

/* ================= NAVBAR ================= */
.main-navbar {
    background: transparent;
    transition: var(--transition);
}

.main-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: top 0.4s ease, background 0.3s ease;
}

.logo {
    font-weight: 600;
    font-size: 22px;
}

.nav-link {
    color: var(--color-text) !important;
    margin-left: 15px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    background: #111;
    border: 1px solid var(--color-border);
}

.dropdown-item {
    color: var(--color-text-light);
}

.dropdown-item:hover {
    background: #222;
    color: var(--color-text);
}

/* ================= HERO (Home) ================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: var(--h1-size);
    font-weight: 700;
}

.hero-section p {
    margin-top: 20px;
    color: var(--color-text-light);
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin-right: 15px;
}

/* ================= ABOUT HERO ================= */
.about-hero-section {
    padding: 180px 0 120px;
    background: var(--color-bg-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero-section h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.about-hero-section p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= ABOUT / CONTACT SECTION ================= */
.about-section {
    background: var(--color-bg-dark);
}

.about-section h2 {
    margin-bottom: 1.5rem;
}

/* ================= SERVICES / VALUES / CARDS ================= */
.services-section {
    background: var(--color-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--h2-size);
}

.section-title p {
    color: var(--color-text-muted);
}

.service-card {
    border: 1px solid var(--color-border);
    padding: 30px;
    height: 100%;
    background: #050505;
    transition: transform .4s ease, box-shadow .4s ease, border .3s;
}

.service-card:hover {
    border-color: var(--color-text);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.08);
}

.service-card h3,
.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
}

/* ================= CTA ================= */
.cta-section {
    background: var(--color-bg-light);
}

.cta-section h2 {
    font-size: var(--h2-size);
}

/* ================= ENGINEERING & STANDARDS ================= */
.engineering-section {
    background: #000;
}

.standards-box {
    border: 1px solid #222;
    padding: 35px;
    border-radius: 8px;
    background: #050505;
    height: 100%;
}

.standards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.standards-list li {
    padding: 12px 0;
    color: #ccc;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
}

.standards-list li:last-child {
    border-bottom: none;
}

.standards-list i {
    margin-right: 12px;
    color: var(--color-success);
    font-size: 1.3rem;
}

.standard-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.6rem;
    flex-shrink: 0;
    background: #0a0a0a;
}

.icon-box i {
    color: var(--color-accent);
}

.standard-item h5 {
    margin-bottom: 0.5rem;
}

.standard-item p {
    color: #aaa;
    margin: 0;
}

/* ================= FORM STYLING ================= */
.form-control {
    background: #000;
    border: 1px solid #222;
    color: #fff;
    border-radius: 6px;
}

.form-control:focus {
    background: #000;
    color: #fff;
    border-color: var(--color-text);
    box-shadow: none;
}

.form-control::placeholder {
    color: #777;
}

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

select.form-control {
    background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23aaa' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right 0.75rem center/8px 10px;
    color: #fff;
}

/* ================= MAP ================= */
.map-container {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #050505;
}

/* ================= FOOTER ================= */
.main-footer {
    background: var(--color-bg);
    /* padding: 60px 0 30px; */
    border-top: 1px solid var(--color-border-light);
}

.footer-logo img {
    height: 200px;
    margin-bottom: 20px;
}

.footer-text {
    /* max-width: 200px; */
    /* margin: 0 auto 30px; */
    color: var(--color-text-muted);
}

.main-footer hr {
    display: none;
    border-color: var(--color-border);
    margin: 30px 0;
}

.footer-copy {
    color: #888;
    font-size: 14px;
}

/* ================= MOBILE MENU OVERLAP PREVENTION ================= */
body.mobile-menu-open {
    transition: padding-top 0.35s ease;
}

@media (max-width: 991.98px) {

    .hero-section,
    .about-hero-section {
        transition: margin-top 0.35s ease, padding-top 0.35s ease;
    }
}

/* CONTACT INFO CARDS - side by side */
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
    /* consistent height */
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.08);
    border-color: var(--color-text);
}

.contact-icon {
    font-size: 3rem;
    color: var(--color-accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #0a0a0a;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(13, 202, 240, 0.12);
    border-color: var(--color-accent);
}

.contact-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-item p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* FORM ENHANCEMENTS */
.form-container {
    background: linear-gradient(145deg, #050505 0%, #0b0b0b 100%);
    border-color: #333;
}

.form-container h3 {
    color: var(--color-font);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .contact-item {
        min-height: auto;
    }

    .contact-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }
}

/* Quick fixes for modal in dark theme – move to style.css later if needed */
.modal-content {
    background: var(--color-bg-light, #111);
    color: var(--color-text, #fff);
    border: 1px solid var(--color-border, #222);
}

.modal-header,
.modal-footer {
    border-color: var(--color-border, #222);
}

.form-control,
.form-select {
    background: var(--color-bg-dark, #0b0b0b);
    color: var(--color-text, #fff);
    border-color: var(--color-border, #222);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent, #0dcaf0);
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
}

.honeypot {
    display: none;
}

/* Marquee auto-scroll (pure CSS) */
.clients-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}
.clients-marquee {
  position: relative;
  width: 100vw;
  background-color: #000;
  overflow-x: auto;  /* Enable horizontal scrolling by user */
  overflow-y: hidden;
  white-space: nowrap;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  scroll-behavior: smooth;  /* smooth manual scroll */
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  cursor: grab;
}

.clients-marquee:active {
  cursor: grabbing;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  /* No animation here; JS will handle auto scroll */
}

.marquee-content img {
  height: 70px;
  margin: 0 40px;
  object-fit: contain;

  /* filter: brightness(0) invert(1) grayscale(1) contrast(150%); */
  transition: transform 0.3s ease;
  cursor: pointer;
}

.marquee-content img:hover {
  transform: scale(1.1);
}
/* ================= NAVBAR ================= */
.main-navbar {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: top 0.4s ease, background 0.3s ease;
}

.main-navbar.scrolled,
.main-navbar.show-menu {
    background: #000 !important;
}

/* Logo */
.logo img {
    height: 60px;
    transition: height 0.3s ease;
}

/* Nav links */
.nav-link {
    color: #fff !important;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* .nav-link:hover,
.nav-link.active {
    color: #0dcaf0 !important;
} */

/* Dropdown menu (desktop hover) */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Dropdown items */
.dropdown-item {
    color: #ccc;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background: #222;
    color: #0dcaf0;
}

