/* --- CSS Variables added for Footer/Ticker --- */
:root {
  --orange: #f5a623;
  --orange-dark: #e0941a;
  --dark: #1f1f1f;
  --darker: #141414;
  --text: #333;
  --muted: #777;
  --card-bg: #2b2b2b;
  --border: #e6e6e6;
}

/* --- General Resets & GIGW Accessibility --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: #f9f9f9; color: #333; }

/* GIGW 3.0: Mandatory Keyboard Focus Indicators */
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible {
    outline: 3px solid #d9534f;
    outline-offset: 3px;
}

/* GIGW 3.0: Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #d9534f;
    color: white;
    padding: 8px 16px;
    z-index: 100000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}
.skip-link:focus { top: 0; }

/* ==================================================
HEADER STYLES (Fixed to stack above slider)
================================================== */
.header-wrapper {
    background-color: #000000; /* Changed from white/off-white to full black */
    padding: 20px 0; 
    width: 100%;
}

.site-header {
    width: 96%;
    max-width: 1800px;
    margin: 0 auto;
    background-color: #222222; /* Set back to dark grey for the pill */
    border-radius: 60px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: relative; 
    z-index: 1000;
}

.header-container {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .site-logo {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 10px 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* --- Main Menu Links --- */
.menu { list-style: none; display: flex; align-items: center; }

/* FIX 1: Make ALL list items relative so nested menus anchor properly */
.menu li {
    position: relative;
}

.menu > li > a {
    text-decoration: none; color: #ffffff; font-weight: 700; font-size: 13px;
    padding: 35px 15px; display: block; text-transform: uppercase;
    transition: color 0.3s ease; border-radius: 30px;
}
.menu > li > a:hover { color: #d9534f; }

/* --- Dropdown Menu --- */
.sub-menu {
    list-style: none; position: absolute; top: 100%; left: -10px;
    background-color: #222222; min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    border-radius: 20px; padding: 10px 0;
    /* FIX 2: Removed 'overflow: hidden;' so 3rd-level menus can be seen */
}

/* FIX 3: Make 3rd-level menus fly out to the right */
.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 2px; /* Adds a tiny gap between the two menus */
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sub-menu li a { padding: 12px 25px; color: #fff; display: block; text-decoration: none;}
.sub-menu li a:hover, .sub-menu li a:focus { background-color: #d9534f; }

/* ==================================================
HERO SLIDER STYLES
================================================== */
.hero-slider {
    width: 100%;
    position: relative;
    background-color: #111;
    margin-top: 0; 
}

.slider-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    max-height: 610px; 
}

.slide img {
    width: 100%;
    height: 610px; 
    object-fit: cover; 
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 5%;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    font-size: 20px;
    font-weight: 600;
    border-left: 5px solid #d9534f;
}

.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #d9534f;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* ==================================================
CONTENT BLOCK STYLES
================================================== */
.content-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.content-container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.content-image-box {
    flex: 1;
    position: relative;
}

.content-image-box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #d9534f;
    color: #fff;
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 5px 15px rgba(217, 83, 79, 0.4);
}

.content-text-box {
    flex: 1.2;
}

.section-title {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: #d9534f;
    margin-bottom: 25px;
}

.content-text-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    margin-top: 15px;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background-color: #d9534f;
}

/* ==================================================
FOOTER & TICKER STYLES
================================================== */
/* Footer */
footer {
    background: var(--dark);
    color: #bbb;
    padding: 60px 24px 20px;
    margin-top: 60px;
    line-height: 1.6;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-grid h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
}
.footer-grid p, .footer-grid li {
    font-size: 13.5px;
    color: #bbb;
    margin-bottom: 10px;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-grid a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-grid a:hover {
    color: var(--orange);
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.socials a:hover, .socials a:focus-visible {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.copyright {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.copyright a {
    color: inherit;
    text-decoration: none;
}
.copyright a:hover {
    color: var(--orange);
}

/* Ticker */
.ticker-bar {
    background: var(--darker);
    color: #fff;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: sticky;
    bottom: 0;
    z-index: 9999;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}
.ticker-label {
    background: var(--orange);
    color: #fff;
    padding: 12px 22px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 16px;
    text-transform: uppercase;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    padding-left: 100%;
}
.ticker-track span {
    padding: 0 40px;
    font-size: 13.5px;
    color: #eee;
    position: relative;
}
.ticker-track span::before {
    content: "◆";
    color: var(--orange);
    margin-right: 14px;
    font-size: 10px;
}

.ticker-track a {
    color: #ffffff;
    text-decoration: none; 
}
.ticker-track a:hover, .ticker-track a:focus-visible {
    text-decoration: underline; 
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
.ticker-controls {
    display: flex;
    flex-shrink: 0;
}
.ticker-controls button {
    background: #2a2a2a;
    color: #fff;
    border: none;
    width: 38px;
    cursor: pointer;
    font-size: 14px;
    border-left: 1px solid #333;
    transition: background 0.3s;
}
.ticker-controls button:hover, .ticker-controls button:focus-visible {
    background: var(--orange);
}

/* Footer Responsive Adjustments */
@media(max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   INTRO SECTION
================================================== */
.intro { max-width: 1200px; margin: 60px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.intro-img { position: relative; border: 6px solid var(--orange); overflow: hidden; }
.intro-img img { width: 100%; height: 480px; object-fit: cover; }
.intro-img .tag { position: absolute; right: 20px; bottom: 30px; background: var(--orange); color: #fff; padding: 18px 22px; font-weight: 800; font-size: 14px; letter-spacing: 1px; line-height: 1.3; max-width: 180px; }
.intro-content h1, .intro-content h2 { font-size: 34px; font-weight: 800; color: #1a1a1a; margin-bottom: 18px; line-height: 1.2; }
.intro-content p { color: #555; font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; text-align: left; }

/* Two-col mini cards */
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--border); }
.mini-item { display: flex; gap: 14px; }
.mini-icon { width: 34px; height: 34px; background: var(--orange); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.mini-item h4 { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.mini-item p { font-size: 13px; color: #666; }
.btn { display: inline-block; background: var(--orange); color: #fff; padding: 12px 24px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 14px; border: none; cursor: pointer; text-decoration: none;}
.btn:hover { background: var(--orange-dark); }

/* ==================================================
   SERVICES SECTION
================================================== */
.services { background: #fff; padding: 60px 24px; }
.services-head { text-align: center; margin-bottom: 40px; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 3px; }
.services-head h2 { font-size: 36px; font-weight: 800; color: #1a1a1a; margin: 10px 0; position: relative; display: inline-block; padding-bottom: 14px; }
.services-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background: var(--orange); }
.services-head p { max-width: 760px; margin: 0 auto; color: #666; font-size: 14px; }
.services-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card { background: var(--card-bg); color: #ddd; padding: 36px 30px; text-align: center; position: relative; }
.service-card .ico { width: 90px; height: 90px; background: #444; margin: -70px auto 18px; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 36px; font-weight: 800; }
.service-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.service-card .eyebrow { display: block; margin-bottom: 14px; }
.service-card p { font-size: 13.5px; color: #bbb; margin-bottom: 18px; }

/* Responsive Adjustments for Middle Sections */
@media(max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .services-grid, .mini { grid-template-columns: 1fr; }
}