/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Bahnschrift';
    src: url('/fonts/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AvenirRegular';
    src:url('/fonts/AvenirRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* ===== LOADER ===== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#app { visibility: hidden; }
body.loaded #loader { display: none; }
body.loaded #app { visibility: visible; }

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #010c0e;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

.interface {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

/* ===== HERO SECTION ===== */




.hero-image2 {
    position: absolute;
    z-index: 10;
    width: 80%;
    left: -20px;
    top: 0;
}
.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2; /* Lower z-index so content appears above */
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.hero {
    user-select: none;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    z-index: 2; /* Higher than the image */
    background: #000000bf; /* Make sure background is transparent */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 50%;
}

.hero-slider {
    position: relative;
    background: none;
    flex: 1;
    max-width: 50%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 420px;
    background: blue;
    gap: 16px;
    border-radius: 20px;
    cursor: grab;
}
.hero-slider .indicator{
    width: 100%;
    height:30px;
    position: absolute;
    bottom: 20%;
    z-index: 20;
    text-align: center;
}
.hero-slider .indicator .content{
    width: 70%;
    height:30px;
    margin: 0 auto;
}
.hero-slider .indicator .content .dot{
    width: 10px;
    height:10px;
    border-radius: 50%;
    background: #41414185;
    display:inline-block;
    margin-right:2.5px;
    margin-left:2.5px;
}
.hero-slider .indicator .content .dot.current{
    background: #eb6623e8;
}
.hero-slider .container .slide {
    flex: 0 0 100%;
    height: 420px;
    background: none;
    overflow: hidden;
    border-radius: 20px;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition:0.3s;
}
.hero-slider .slide:hover img {
    transform: scale(1.02);
    transition:0.3s;
}

.hero-content h2 {
    font-family: "Bahnschrift", sans-serif;
    font-size: 4rem;
    font-weight: 400;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.267);
    margin-bottom: 1rem;
}

.hero-content .first {
    color: #eb6623;
    font-weight: 500;
}

.hero-content p {
    font-family: "Bahnschrift", sans-serif;
    font-size: 1.2rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.267);
}

.interface .intro { padding-top: 100px; }
.intro-section { background: transparent; }

/* ===== SERVICES & SECTORS (SLIDER) ===== */
.services-section,
.applications-section {
    background: #000000;
    padding: 3rem 0;
    position: relative;
}
.applications-section { padding-bottom: 0; }

.section-title {
    background: rgba(5, 16, 20, 0.486);
    padding: 1rem 3rem;
    border-radius: 10px;
    max-width: 90%;
    backdrop-filter: blur(3px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    font-size: 1.5rem;
    margin: 0.8rem 0 2rem;
    font-weight: 500;
    font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
}

.single-slider-container,
.services-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.services-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20vh;
    padding-left: 5%;
    background-size: cover;
    background-position: center;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.service-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.service-slide .slide-content {
    background: transparent;
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 50%;
    text-shadow: 0 0 6px #000;
    text-align: left;
    transform: translateX(-50px) translateY(80px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.service-slide.active .slide-content {
    transform: translateX(0) translateY(80px);
    opacity: 1;
}

/* Titles: Bahnschrift */
.slide-title {
    font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    color: #eb6623;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

/* Paragraphs: Cairo */
.slide-description {
    font-family: 'Cairo', 'Noto Sans JP', sans-serif;
    padding-left: 10px;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 90%;
    font-weight: 400;
}

.learn-more {
    background-color: #eb6623;
    padding: 0.6rem 1.4rem;
    border: none;
    margin-top: 0.7rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    color: #011016;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
}

.learn-more:hover {
    background-color: #b8922b;
    transform: translateX(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    z-index: 20;
}

.slider-dash {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-dash.active { background: #eb6623; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(5, 16, 20, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.slider-arrow:hover {
    background: rgba(5, 16, 20, 0.9);
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow i {
    font-size: 24px;
    color: #eb6623;
}
.left-arrow { left: 20px; }
.right-arrow { right: 20px; }
.slider-arrow.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===== HOW WE WORK (TIMELINE CIRCLES) ===== */
.how-we-work-section {
    background-color: #010c0e;
    padding: 4rem 2rem 5rem;
    border-bottom: 1px solid rgba(235, 102, 35, 0.15);
}

.how-we-work-container {
    max-width: 1400px;
    margin: 0 auto;
}

.how-we-work-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.how-we-work-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: #eb6623;
    margin: 0.8rem auto 1.2rem;
}

.how-we-work-subtitle {
    font-family: "Zalando Sans", sans-serif;
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.steps-timeline {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 145px;
    max-width: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(1, 12, 14, 0.8);
    border: 2.5px solid #eb6623;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #eb6623;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.timeline-item:hover .number-circle {
    background: #eb6623;
    color: #010c0e;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(235, 102, 35, 0.3);
}

.timeline-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #eb6623, rgba(235, 102, 35, 0.3));
    margin: 6px 0;
}

.timeline-card {
    width: 100%;
    background: rgba(10, 25, 30, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 1.4rem 0.8rem;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.timeline-item:hover .timeline-card {
    background: rgba(20, 40, 45, 0.8);
    transform: translateY(-3px);
    border-color: rgba(235, 102, 35, 0.2);
}
.timeline-card i {
    font-size: 1.8rem;
    color: #eb6623;
    transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-card i { transform: scale(1.1); }
.timeline-card p {
    font-family: "Zalando Sans", sans-serif;
    font-size: 0.95rem;
    color: #f0f0f0;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 3rem 2rem 6rem;
    background-color: #030303;
    height: 500px;
    overflow: hidden;
    position: relative;
}
.cta-section .frame {
    width: 50%;
    margin: 2rem auto 0;
    padding: 3rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}
.cta-section h2 {
    font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
    font-size: 2rem;
    color: #eb6623;
    margin-bottom: 1rem;
}
.cta-section p {
    font-family: 'Cairo', 'Noto Sans JP', sans-serif;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.5;
}
.cta-section img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: -1;
    filter: brightness(0) invert(1);
}
.cta-button {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #eb6623;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.cta-button a {
    color: #eb6623;
    text-decoration: none;
}
.cta-button:hover {
    background-color: #eb6623;
}
.cta-button:hover a { color: #011016; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 100;
    transition: opacity 0.3s;
}
.scroll-indicator.unactive { opacity: 0; }

/* ===== RESPONSIVE (MERGED & CLEAN) ===== */
@media screen and (max-width: 1200px) {
    .steps-timeline { gap: 0.8rem; }
    .timeline-item { min-width: 130px; max-width: 155px; }
    .number-circle { width: 55px; height: 55px; font-size: 1.6rem; }
    .timeline-line { height: 25px; }
    .timeline-card { padding: 1.2rem 0.6rem; min-height: 140px; }
    .timeline-card i { font-size: 1.6rem; }
    .timeline-card p { font-size: 0.9rem; }
}

@media screen and (max-width: 1050px) {
    .steps-timeline {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1.5rem;
        scrollbar-width: thin;
        scrollbar-color: #eb6623 rgba(10, 25, 30, 0.3);
    }
    .steps-timeline::-webkit-scrollbar { height: 6px; }
    .steps-timeline::-webkit-scrollbar-track { background: rgba(10, 25, 30, 0.3); border-radius: 10px; }
    .steps-timeline::-webkit-scrollbar-thumb { background: #eb6623; border-radius: 10px; }
    .timeline-item { flex: 0 0 155px; max-width: 155px; }
}

@media screen and (max-width: 992px) {
    .cta-section .frame { width: 70%; }
}

@media screen and (max-width: 768px) {
    .hero-content h2 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .slide-title { font-size: 1.8rem; }
    .slide-content { max-width: 80%; }
    .services-slider { height: 70vh; }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-arrow i { font-size: 20px; }
    .left-arrow { left: 10px; }
    .right-arrow { right: 10px; }

    .how-we-work-section { padding: 3rem 1.5rem; }
    .how-we-work-title { font-size: 2rem; }
    .how-we-work-subtitle { font-size: 1rem; }
    .timeline-item { flex: 0 0 145px; max-width: 145px; }
    .number-circle { width: 50px; height: 50px; font-size: 1.4rem; border-width: 2px; }
    .timeline-line { height: 22px; }
    .timeline-card { padding: 1.1rem 0.5rem; min-height: 135px; }
    .timeline-card i { font-size: 1.5rem; }
    .timeline-card p { font-size: 0.85rem; }

    .cta-section .frame { width: 85%; }
}

@media screen and (max-width: 480px) {
    .hero-content { left: 5%; bottom: 15%; }
    .hero-content h2 { font-size: 2rem; }
    .slide-content { max-width: 90%; padding: 1rem; }
    .slider-dash { width: 20px; }
    .service-slide { padding-top: 15vh; }
    .timeline-item { flex: 0 0 135px; max-width: 135px; }
    .timeline-card p { font-size: 0.8rem; }
    .cta-section .frame { width: 95%; }
}
.services-cards {
    background-color: #030303;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 3%;
    padding-left:10%;
    padding-right:10%;
}
.services-cards.bottom{
    padding-bottom: 3%;
}
.row-1, .row-2, .row-3 {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.cards-title{
    text-align: center;
    font-family: "Bahnschrift", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-top: 1rem;
    margin-bottom: -0.6rem;
}
.cards-slogen {
    text-align: center;
    font-family: "Bahnschrift", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #eb6623;
    margin-bottom: 2rem;
    margin-top: -0.6rem;
}
.card {
    flex: 1;
    background: #010c0e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.card:hover img{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.card:hover .card-title {
    color: #eb6623;
    transition: color 0.3s ease;
}
.card-image{
    overflow: hidden;
}
.card-image img {
    transform: scale(1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-title {
    font-size: 1.4rem;
    padding-top:1rem;
    font-family: "Bahnschrift", sans-serif;
    text-align: center;
    padding: 12px 15px 5px 15px;
    
}
.services-cards .line{
    height: 3px;
    width: 80px;
    border-radius: 8px;
    background: #eb6623;
    margin: 0 auto;
}
.card-content {
    padding: 0 15px 10px 15px;
    font-size: 0.95rem;
    font-family: 'Cairo';
    line-height: 1.4;
    flex: 1;
}

  .card-learnmore {
    padding: 10px 15px 15px 15px;
  }

  .card-learnmore a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #333;
    background-color: #eb6623;
    border-radius: 4px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: "Cairo", sans-serif;
    transition: 0.2s;
  }

  .card-learnmore a:hover {
    background-color: #ff6a1f;
    transform: translateY(-2px);
    transition: 0.2s;
  }

  /* responsive */
  @media (max-width: 768px) {
    .row-1, .row-2, .row-3 {
      flex-direction: column;
    }
  }

