* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Navigation - Fixed at top */
.header {
    background: linear-gradient(180deg, #b0a696 0%, #5d5b5b 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 100%;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
}

.logo {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 1001;
    overflow: visible;
}

.logo:hover {
    opacity: 0.9;
}

/* Mobile Logo Text - Hidden on desktop */
.mobile-logo-text {
    display: none;
}

.logo-icon {
    width: 360px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1001;
}

.logo-scroll-text {
    position: absolute;
    /* Position relative to logo image so it scales with zoom/resize */
    top: 75%;
    left: 25.4%;
    width: 13.5%;
    height: 12%;
    background: #000;
    border: 0.5px solid #000;
    border-radius: 2px;
    overflow: hidden;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-27deg);
}

.scroll-text-content {
    color: white;
    font-size: 0.25rem;
    text-align: left;
    padding-left: 0;
    padding-right: 10px;
    animation: scroll-text 8s linear infinite;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.scroll-text-content span {
    display: block;
    padding: 0.1rem 0.2rem;
    line-height: 1.0;
    transform: rotate(180deg);
}

@keyframes scroll-text {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    opacity: 0.8;
    border-bottom: 2px solid #5bb5ff;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #b0a696 0%, #5d5b5b 100%);
    height: 700px;
    position: relative;
    padding: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
}

/* Remote Support Icon */
.remote-support-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.remote-support-link:hover {
    opacity: 0.8;
}

.remote-support-link img {
    height: 60px;
    width: auto;
    display: block;
}

.remote-support-text {
    color: white;
    font-size: 0.85rem;
    margin-top: 5px;
    text-align: center;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    max-width: 1400px;
    min-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.pre-heading {
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-cta {
    background: transparent;
    color: white;
    border: 2px solid #444444; /* dark grey border */
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-cta:hover {
    background: #444444; /* dark grey background on hover */
}

/* Blockchain Graphic */
.blockchain-graphic {
    flex: 1;
    max-width: 500px;
    position: relative;
    height: 400px;
}

.hex-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hex {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(91, 181, 255, 0.3);
    border: 2px solid rgba(91, 181, 255, 0.8);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: glow 3s ease-in-out infinite;
}

.hex:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.hex:nth-child(2) {
    top: 40%;
    left: 50%;
    animation-delay: 0.5s;
}

.hex:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.hex:nth-child(4) {
    top: 30%;
    left: 60%;
    animation-delay: 1.5s;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Hero Footer */
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    margin-top: -30px;
}

.verification-text {
    color: white;
    font-size: 0.85rem;
    opacity: 0.9;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Features Section */
.features {
    background: white;
    padding: 6rem 5%;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-icon {
    width: 60px;
    height: 60px;
    background: #444444;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: 0 auto 1rem;
}

.features-pre-title {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.features h2 {
    font-size: 2.8rem;
    color: #444444;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.features-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #444444;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Simple CSS American flag icon inside feature icon */
.flag-usa {
    width: 36px;
    height: 22px;
    border: 3px solid #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.4);
    background:
        linear-gradient(to bottom,
            #b22234 0%, #b22234 14.28%,
            #ffffff 14.28%, #ffffff 28.56%,
            #b22234 28.56%, #b22234 42.84%,
            #ffffff 42.84%, #ffffff 57.12%,
            #b22234 57.12%, #b22234 71.4%,
            #ffffff 71.4%, #ffffff 85.68%,
            #b22234 85.68%, #b22234 100%);
    position: relative;
    overflow: hidden;
}

.flag-usa::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 55%;
    background: #3c3b6e;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #4a63f5;
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Client detail blocks on Our Clients page */
.client-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.client-detail {
    display: flex;
    flex-wrap: nowrap; /* keep logo to the left of text on wider screens */
    align-items: flex-start;
    gap: 1.5rem;
}

.client-detail-logo {
    width: 140px;            /* slightly smaller logo column */
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-detail-logo img {
    max-width: 100%;
    max-height: 80px;        /* keep logo a bit smaller */
    height: auto;
    display: block;
}

.client-detail-logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.client-detail h3 {
    margin-bottom: 0.5rem;
}

.client-detail p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .client-detail {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Clients Section */
.clients {
    background: #f7f7f7;
    padding: 4rem 5% 5rem 5%;
}

.clients-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.clients-pre-title {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.clients h2 {
    font-size: 2.2rem;
    color: #4a63f5;
    font-weight: bold;
}

.clients-grid {
    display: flex;
    gap: 2rem;
    padding: 0 5% 1rem 5%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.client-card {
    background: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 180px;
    scroll-snap-align: start;
}

.client-logo-wrapper {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.75rem;
    height: 90px; /* consistent height for all logo boxes */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.client-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.client-card-empty .client-placeholder {
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    background: #2c2c2c;
    color: #f5f5f5;
    padding: 3rem 5% 2rem 5%;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.footer-column {
    min-width: 180px;
    flex: 1;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-icon {
    display: inline-block;
    width: 1.2rem;
}

.footer-copy {
    color: #999;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Page Content Styles */
.page-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    color: #333333; /* darker grey heading for page titles */
    margin-bottom: 2rem;
    font-weight: bold;
}

.page-content h2 {
    font-size: 2rem;
    color: #333333; /* darker grey subheadings */
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-content h3 {
    font-size: 1.5rem;
    color: #333333;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
}

.page-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.page-content .page-meta {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.page-content ul, .page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #4a63f5;
    text-decoration: none;
    transition: color 0.3s;
}

.page-content a:hover {
    color: #3a4a9e;
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a63f5;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5bb5ff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background: #4a63f5;
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #3a4a9e;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        min-width: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide hamburger menu on desktop */
.hamburger-menu {
    display: none;
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        padding: 1rem 5%;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hide logo on mobile */
    .logo {
        display: none;
    }
    
    /* Show mobile logo text */
    .mobile-logo-text {
        display: block;
        color: white;
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        flex: 1;
        margin: 0 1rem;
        order: 2;
    }
    
    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: flex;
        order: 1;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: linear-gradient(180deg, #b0a696 0%, #5d5b5b 100%);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 4rem 2rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    /* Hero content adjustments for mobile */
    .hero-content {
        min-width: auto;
        padding: 2rem 5%;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .pre-heading {
        font-size: 0.75rem;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    /* Remote support icon adjustments for mobile */
    .remote-support-link {
        bottom: 15px;
        right: 15px;
    }
    
    .remote-support-link img {
        height: 45px;
    }
    
    .remote-support-text {
        font-size: 0.75rem;
    }
}
