/* ----------------------------------------------------------
   BASE
---------------------------------------------------------- */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #FFFFFF;
    color: #4A4A4A;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    display: block;
}

/* ----------------------------------------------------------
   HEADER — PREMIUM SHRINK + FADE
---------------------------------------------------------- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;

    height: 120px;
    background: #000000;
    backdrop-filter: none;

    display: flex;
    align-items: center;

    transition: height 0.35s ease;
}

.header.shrink {
    height: 75px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 75px;
    white-space: nowrap;
}

.header-logo {
    height: 100px;
    transition: height 0.35s ease;
}

.header.shrink .header-logo {
    height: 55px;
}

.header-tagline {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.header.shrink .header-tagline {
    opacity: 0.85;
    height: auto;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Menu */
.header-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #FFFFFF;
    color: #4A4A4A;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 8px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content,
.dropdown-content li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content a {
    display: block;
    padding: 8px 15px;
    color: #4A4A4A;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Support button */
.support-btn {
    background: #0057A0;
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.support-btn:hover {
    background: #0074d9;
    box-shadow: 0 0 12px rgba(0, 116, 217, 0.7),
                0 0 24px rgba(0, 116, 217, 0.4);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 3px;
}

/* ----------------------------------------------------------
   MOBILE MENU
---------------------------------------------------------- */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #000000;
    padding: 20px 40px;
    gap: 10px;
    margin-top: 120px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 6px 0;
}

.mobile-dropbtn {
    background: none;
    border: none;
    color: #FFFFFF;
    text-align: left;
    padding: 6px 0;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    gap: 4px;
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-support-btn {
    background: #0057A0;
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* ----------------------------------------------------------
   HERO SLIDER
---------------------------------------------------------- */
.hero-slider {
    position: relative;
    height: 450px;
    max-width: 1200px;
    margin: 160px auto 20px;
    border-radius: 16px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    background: rgba(0,0,0,0.45);
    padding: 20px;
}

.hero-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
}

.cta-btn {
    margin-top: 20px;
    padding: 12px 25px;
    background: #D72638;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin: 0 auto;
}

.cta-btn-container {
    text-align: center;
}

/* ----------------------------------------------------------
   SERVICES
---------------------------------------------------------- */
.services-overview {
    padding: 20px 40px;
    text-align: center;
    margin-top: 10px;
}

.services-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-box {
    background: #F5F5F5;
    padding: 25px;
    border-radius: 8px;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: #0057A0;
    transition:
        transform 0.35s ease,
        filter 0.35s ease,
        stroke 0.35s ease;
}

/* Hover effect */
.service-box:hover .service-icon svg {
    transform: translateY(-4px) scale(1.08);
    stroke: #0074d9;
    filter: drop-shadow(0 0 10px rgba(0, 116, 217, 0.55));
}

.service-box:hover {
    transform: translateY(-5px);
}

/* ----------------------------------------------------------
   SUPPORT CTA
---------------------------------------------------------- */
.boxed-support {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 40%, #e8f1ff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.boxed-support .cta-btn {
    margin-top: 25px;
    display: inline-block;
}

/* ----------------------------------------------------------
   FOOTER — TIGHTER, MORE PREMIUM
---------------------------------------------------------- */
.footer {
    background: #000000;
    color: #FFFFFF;
    padding: 12px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    opacity: 0.85;
}

.footer-left h3,
.footer-left p,
.footer-nav a {
    line-height: 1.0;
}

.footer-left h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.footer-left p {
    font-size: smaller;
    margin-bottom: 3px;
}

.footer-nav {
    display: flex;
    gap: 10px;
}

.footer-nav a {
    color: inherit;
    font-size: 1rem;
    margin: 3px 0;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.85;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 900px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .hero-overlay h1 { font-size: 2rem; }
}

/* ----------------------------------------------------------
   UNIVERSAL PAGE SPACING UNDER FIXED HEADER
   Applies ONLY to the FIRST services-overview on non-home pages
---------------------------------------------------------- */
/* Apply header spacing ONLY to the first top-level services-overview */
body:not(.home) main > .services-overview:first-of-type {
    padding-top: 140px;
}

/* ----------------------------------------------------------
   DIVIDER + SPACING FIXES
---------------------------------------------------------- */
.section-divider {
    max-width: 1200px;
    width: 100%;
    height: 2px;
    background: #2a2a2a;
    margin: 20px auto 10px;
    border-radius: 2px;
}