:root {
    --header-height: 100px;
    --header-shrink: 60px;
    --max-width: 1320px;
    --primary-color: #2a2b72;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background-color: #1a1a1a; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; font-size: 18px; background-color: #fff; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

main { padding-top: 140px; }

/* --- Header Base --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height); /* 100px */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: height 0.3s ease, background 0.3s ease;
}

/* Shrink Class (Added via JS) */
#main-header.shrink {
    height: var(--header-shrink);
}

/* Ensure the logo container stays centered and scales */
/* Container for both logos */
.logo {
    display: flex;
    align-items: center;
    height: 100%; /* Relative to header height */
    gap: 15px; /* Space between logos and separator */
}

.logo img {
    height: 70%; /* Adjust this % to control logo "breathing room" */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Vertical Separator */
.separator {
    width: 1px;
    height: 40px; /* Starting height at 100px header */
    background-color: #ccc;
    transition: height 0.3s ease;
}

/* SHRINK STATE (60px header) */
#main-header.shrink .logo img {
    height: 60%; /* Makes logos smaller in shrink mode */
}

#main-header.shrink .separator {
    height: 25px; /* Shrinks the vertical line */
}


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

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding-inline-start: 0;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.nav-menu a { text-decoration: none; color: #333; font-weight: 600; }

/* --- Mobile Toggle Animation --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Burger to X animation */
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- Contact Link Button Style --- */
.contact-link {
    text-decoration: none;
    background-color: var(--primary-color);
    color: #fff !important; /* Force white text */
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.contact-link:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

/* Adjust button size when header shrinks */
#main-header.shrink .contact-link {
    padding: 6px 18px;
    font-size: 13px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between button and hamburger on mobile if both visible */
}

/* Ensure the contact link in the mobile menu doesn't look like a button
   unless you want it to. If you want it to stay a button in the slide-out menu: */
.nav-menu ul li.mobile-only a {
    background: var(--primary-color);
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
}


.cs-image-wrapper {
    margin: 3rem auto;
    padding: 0 20px;
}

.responsive-main-img {
    width: 100%; /* Scale up to the container width... */
    max-width: 500px; /* ...but never go larger than 500px */
    height: auto; /* Maintain aspect ratio */
    border-radius: 12px; /* Optional: matches your grid-item style */
    display: inline-block;
}


/* --- Scroll To Top --- */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Show only on mobile via JS */
    font-size: xx-large;
    padding: 10px 25px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}


.mobile-only { display: none; }

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    #main-header {
        height: 70px; /* Slightly smaller base for mobile */
    }
    main { padding-top: 100px; }

    /* Force the logos to take up much less vertical space */
    .logo img {
        height: 40px !important; /* Fixed height for mobile clarity */
        max-width: 100px; /* Prevent them from being too wide */
    }

    /* Shrink the separator to match */
    .separator {
        height: 20px;
        margin: 0 5px; /* Tighten the spacing */
    }

    /* Ensure the container doesn't wrap or grow */
    .logo {
        gap: 8px;
        flex-shrink: 1; /* Allows logos to shrink if the screen is tiny */
    }

    .nav-menu {
        position: fixed;
        top: var(--header-shrink);
        right: -100%;
        background: #fff;
        width: 70%;
        height: 100vh;
        transition: 0.4s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.05);
    }

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

    .nav-menu ul {
        flex-direction: column;
        padding: 40px;
        align-items: flex-end;
    }

    .menu-toggle { display: flex; }
    #main-header .contact-link { display: none; }
    /* Hide on mobile to save space */
    .container section { padding-top: 0px; }

    #scrollToTop { display: block; }

    .mobile-only { display: block; }
}

body {

}
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
p { margin: 1rem auto; }
ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
}
.cs-center { margin-left: auto; margin-right: auto; }
.cs-txt-center { text-align: center; }
.cs-fs-lg { font-size: 1.5rem; }
.cs-fs-xl { font-size: 2rem; }
.cs-fs-xxl { font-size: 3rem; }
.cs-x-pd-lg { padding-left: 2rem; padding-right: 2rem; }
.cs-x-pd-xl { padding-left: 4rem; padding-right: 4rem; }
.cs-x-pd-xxl { padding-left: 8rem; padding-right: 8rem; }
.cs-yb-pd-lg { padding-bottom: 1rem; }

.dotted-separator-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 40px 0;
}

/* The Tapering Lines */
.taper-line {
    flex: 1; /* Both lines will grow equally to fill space */
    height: 8px;
    background-image: radial-gradient(circle, black 2px, transparent 2.5px);
    background-size: 12px 100%;
    background-repeat: repeat-x;
}

/* Left Line: Fades out to the left */
.line-left {
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Right Line: Fades out to the right */
.line-right {
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* The Large Central Circle */
.center-dot {
    width: 10px; /* Slightly larger than the dots in the line */
    height: 10px;
    background-color: black;
    border-radius: 50%;
    margin: 0 10px; /* Space between the lines and the dot */
    flex-shrink: 0; /* Prevents the circle from squishing */
}


/* --- Grid System --- */
.grid-section {
    padding: 0px 0; /* Vertical spacing between sections */
    margin: 3rem auto;
}
.grid-section .container { padding: 0; }

/* Ensure the grid items have equal height */
.two-column-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: stretch; /* Forces both columns to be the same height */
}

.grid-item {
    background: #fff;
    /* padding: 20px; */
    /* Optional: add a subtle border or shadow to see the items */
    border-radius: 8px;
}

/* Container for the image */
/* The Frame: Prevents the image from growing outside the column */
.image-only-box {
    padding: 0; /* Image touches the edges */
    overflow: hidden; /* CRITICAL: Clips the image during zoom */
    display: flex;
    border-radius: 8px; /* Matches your site's aesthetic */
    height: 100%;
}

.image-only-box picture {
    width: 100%;
    height: 100%;
    display: block;
}

/* The Image: Initial State */
.zoom-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Smooth transition for the scale effect */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* The Effect: Triggered when hovering over the item */
.image-only-box:hover .zoom-image {
    /* 1.1 = 10% zoom. Adjust to 1.2 for a more dramatic look */
    transform: scale(1.1);
}


/* Mobile Adjustments */
@media (max-width: 768px) {

    h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    img {
        width: 100%;
        height: auto;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
    }

    .image-only-box {
        /* height: 300px; */
        margin-top: 20px;
    }
}


/* The initial hidden state */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    visibility: hidden;
}

/* The state triggered by JavaScript when visible */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


/* --- Updated Footer --- */
footer {
    margin-top: 12rem;
    background: #1a1a1a; /* Slightly darker than previous for better contrast */
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.company-name {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.footer-info {
    margin: 30px auto 40px;
}
.footer-info p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.legal-text {
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
    }
}


/* --- Breadcrumbs --- */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: #666;
}

/* The separator (/) */
.breadcrumb-list li + li::before {
    content: "/";
    margin: 0 10px;
    color: #ccc;
    font-weight: 400;
}

.breadcrumb-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: #333;
    text-decoration: underline;
}

/* Current page style (last item) */
.breadcrumb-list li:last-child {
    color: #999;
    pointer-events: none; /* User can't click the current page */
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-bottom: 10px;
    }
    .breadcrumb-list {
        font-size: 13px;
    }
}