:root {
    --bg-header: #ffffff;
    --brand-teal: #00a4b4;
    --brand-green: #86d100;
    --accent-primary: var(--brand-teal);
    --accent-secondary: var(--brand-green);
    --text-on-white: #333333;
    --text-on-dark: #ffffff;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 17px;
}

/* Header */
.main-header {
    background: var(--bg-header);
    padding: 1.2rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Unicorn Style */
.logo-unicorn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.unicorn-icon {
    width: 140px;
    height: 140px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -40px;
    /* Tighter negative margin to reduce visual space */
}

.unicorn-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
}

.unicorn-text {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.15em;
    font-family: 'Outfit', sans-serif;
    margin-left: 0;
    line-height: 1;
    text-transform: uppercase;
}

.unicorn-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    color: #999;
    margin-top: 8px;
    padding-left: 0.5em;
    /* Offset for letter-spacing to ensure perfect center */
}

.unicorn-text span {
    color: var(--brand-green);
}

.logo-light .unicorn-text {
    color: #fff;
}

.logo-safe span {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #666;
    margin-top: -2px;
}

.nav-safe {
    display: flex;
    gap: 2.5rem;
}

.nav-safe a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-safe a:hover {
    color: var(--brand-teal);
}

.btn-quote {
    background: var(--brand-green);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-quote:hover {
    background: #333;
}

/* Hero Section */
.hero-safe {
    background: linear-gradient(90deg, #000 30%, transparent 70%), url('hero_bg_camera.png');
    background-size: cover;
    background-position: center right;
    color: #fff;
    padding: 150px 5% 200px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.hero-content-safe {
    max-width: 650px;
    z-index: 2;
}

.hero-subline {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    border-left: 2px solid var(--brand-green);
    padding-left: 1.5rem;
    color: #aaa;
}

.hero-content-safe h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
}

.hero-content-safe p {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-btns-safe {
    display: flex;
    gap: 1.5rem;
}

.btn-safe-solid {
    background: #fff;
    color: #000;
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-safe-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-safe-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Floating Features */
.features-floating {
    margin-top: -100px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.floating-container {
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 4rem;
}

.features-grid-safe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card-safe {
    padding: 4rem 2.5rem;
    text-align: center;
    border-right: 1px solid #f0f0f0;
    transition: transform 0.3s;
}

.feature-card-safe:hover {
    transform: translateY(-5px);
}

.feature-card-safe:last-child {
    border-right: none;
}

.feature-icon-safe {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
}

.feature-card-safe h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #000;
    letter-spacing: 0.05em;
}

.feature-card-safe p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
}

.feature-video-container {
    margin-top: -20px;
    margin-bottom: 1.5rem;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background: #000;
    border: 1px solid rgba(0, 164, 180, 0.15);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card-safe:hover .feature-video-container {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 164, 180, 0.25);
    border-color: rgba(0, 164, 180, 0.4);
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon-media-plate {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    box-shadow: inset 0 0 20px rgba(0, 164, 180, 0.05);
}

.icon-media-plate span {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

/* Stats Bar */
.stats-bar-safe {
    background: var(--bg-stats);
    color: #000;
    padding: 6rem 10%;
    display: flex;
    justify-content: space-between;
}

.stat-safe {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon-safe {
    font-size: 2.2rem;
    opacity: 1;
}

.stat-text-safe h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #000;
}

.stat-text-safe p {
    font-size: 0.85rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .nav-safe {
        gap: 1rem;
    }

    .nav-safe a {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .nav-safe {
        display: none;
    }

    .hero-safe {
        flex-direction: column;
        text-align: center;
        padding: 80px 5% 120px;
    }

    .hero-image-safe {
        width: 90%;
        margin-top: 4rem;
    }

    .hero-subline {
        border-left: none;
        padding-left: 0;
    }

    .hero-btns-safe {
        justify-content: center;
        flex-direction: column;
    }

    .features-grid-safe {
        grid-template-columns: 1fr;
    }

    .feature-card-safe {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .stats-bar-safe {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
        text-align: center;
    }

    .stat-safe {
        flex-direction: column;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader-content {
    max-width: 800px;
    padding: 2rem;
}

.preloader-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0;
}

.welcome-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3rem;
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.welcome-text span {
    color: var(--brand-green);
    text-decoration: none;
    text-transform: uppercase;
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(134, 209, 0, 0.5);
    /* Brand Green glow */
}

.loading-percentage {
    color: var(--brand-green);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    opacity: 0;
}

/* Clients Marquee Safe Vision */
.clients-section-safe {
    padding: 60px 5%;
    background: #fff;
    overflow: hidden;
    border: 2px solid var(--brand-green);
    border-radius: 20px;
    margin: 40px 5%;
}

.section-title-safe {
    text-align: center;
    margin-bottom: 2rem;
}

.badge-safe {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
    margin-top: 1rem; /* Space from the title above */
    display: inline-block;
    text-transform: uppercase;
    background: #A0A0A0;
    padding: 4px 12px;
    border-radius: 4px;
}

.section-title-safe h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    background: var(--brand-green);
    display: block; /* Ensure it takes full width or stacks */
    width: fit-content;
    margin: 0 auto;
    padding: 5px 20px;
    border-radius: 4px;
}

.marquee-container-safe {
    width: 100%;
    position: relative;
    padding: 40px 0;
    background: transparent;
}

.marquee-content-safe {
    display: flex;
    gap: 120px;
    width: max-content;
    align-items: center;
}

.client-logo-safe {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ccc;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.client-logo-safe span {
    font-weight: 300;
    color: #000;
}

.client-logo-safe:hover {
    color: #000;
    transform: scale(1.1);
}

.client-logo-img {
    height: 120px;
    /* Base height */
    width: auto;
    max-width: 350px;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

/* Individual logo sizing based on aspect ratio & preference */
.logo-1 {
    height: 142px;
}

/* Kept as is (assuming this is LuLu Forex) */
.logo-2 {
    height: 170px;
}

.logo-3 {
    height: 170px;
}

.logo-4 {
    height: 150px;
}

.client-logo-img:hover {
    transform: scale(1.1);
}

.our-clients-row {
    display: flex;
    align-items: center;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 5%;
    border-top: 1px solid #f0f0f0;
    padding-top: 2rem;
}

.our-clients-title {
    font-size: 2rem;
    font-weight: 800;
    color: #555;
    margin-right: 3rem;
    white-space: nowrap;
}

.our-clients-row .marquee-container-safe {
    flex-grow: 1;
    padding: 0;
    overflow: hidden;
}

/* Working With Section */
.working-with-section {
    padding: 80px 5%;
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 20px;
    margin: 40px 5%;
}

.working-with-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

/* 3D Flip Card Styles */
.flip-card {
    background-color: transparent;
    width: 270px;
    height: 150px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.working-tech-img {
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.flip-card:hover .working-tech-img {
    transform: scale(1.1);
}

/* Contact Safe Vision */
.contact-safe-section {
    padding: 120px 5%;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.contact-safe-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-support-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #000;
}

.contact-support-info p {
    color: #666;
    margin-bottom: 3rem;
}

.support-channels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.channel {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.channel .icon {
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
}

.channel strong {
    display: block;
    font-size: 0.9rem;
    color: #000;
}

.channel p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.contact-map-link {
    color: #444;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.contact-map-link:hover {
    color: var(--brand-green);
}

.support-map-container {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.support-map-container:hover {
    transform: translateY(-3px);
}

.query-form-safe {
    background: #fff;
    padding: 3.5rem;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.query-form-safe input,
.query-form-safe textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    outline: none;
    transition: border-color 0.3s;
}

.query-form-safe input:focus,
.query-form-safe textarea:focus {
    border-color: #000;
}

.query-form-safe .btn-safe-solid {
    width: 100%;
    border: none;
    cursor: pointer;
    justify-content: center;
    background: var(--brand-green);
    color: #fff;
    transition: background 0.3s, transform 0.2s;
}

.query-form-safe .btn-safe-solid:hover {
    background: #73b300;
    transform: translateY(-2px);
}

/* Footer Safe Vision */
footer {
    padding: 4rem 5%;
    background: #000;
    color: #fff;
}

.footer-content-safe {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 4rem;
}

.footer-map {
    margin-top: 0;
    width: 100%;
    max-width: 380px;
}

.footer-right {
    flex: 0 0 auto;
    text-align: right;
}

.footer-info-safe {
    text-align: right;
}

.footer-services-safe {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-copy-safe {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.4rem;
}

.footer-tagline-safe {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .footer-info-safe {
        text-align: center;
    }
}

footer .brand-icon {
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .contact-safe-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .support-channels {
        align-items: center;
    }

    .query-form-safe {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content-safe {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-center {
        justify-content: center;
        padding-right: 0;
    }
    
    .footer-right, .footer-info-safe {
        text-align: center;
    }
}

/* About Us Section Style */
.about-safe-section {
    padding: 80px 5%;
    background: #fff;
}

.about-container-safe {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 20px;
    padding: 5rem 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.about-grid-safe {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.about-story-safe p {
    font-size: 1rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.about-story-safe p:last-child {
    margin-bottom: 0;
}

.about-why-safe {
    background: #fafafa;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #eee;
}

.about-why-safe h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 2rem;
    border-left: 4px solid var(--brand-green);
    padding-left: 1.2rem;
    letter-spacing: -0.02em;
}

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

.why-list-safe li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.why-list-safe li:last-child {
    margin-bottom: 0;
}

.why-list-safe li .chk-icon {
    color: var(--brand-green);
    font-size: 1.1rem;
    font-weight: bold;
}

@media (max-width: 992px) {
    .about-grid-safe {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-container-safe {
        padding: 3rem 2rem;
    }
}