@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: var(--font-family-ja); */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500; /* Medium */
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}


/* Media defaults */
img {
    max-width:100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.cursive-title {
    font-family: "Avenir Next";
    /* font-style: italic; */
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 5rem;
    text-align: left;
    /* text-shadow: 5px 5px 3px #636161; */
}

.main-heading {
    position: relative;
    z-index: 2;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 4rem;
    color: #333;
    text-align: left;
    margin-left: 40px;
    margin-bottom: 7rem;
    line-height: 1.2;
}

/* Header styles */
.header {
    background-color: rgba(0, 0, 0, 0.94);
    /* backdrop-filter: blur(10px); */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition-duration: 0.1s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon,
.logo_icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 4px;
}

.logo h1 {
    font-size: 1.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Medium */
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Medium */
}

.nav-links a:hover {
    color: #00ff88;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero Banner Section */
.hero-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.hero-text {
    position: relative;
    height: 100%;
    z-index: 1111;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    padding-left: 10%;
}

.hero-text h1 {
    font-size: calc(16.000px + 6.667vw);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* SemiBold */
    text-shadow: 0 1px 6px rgba(0,0,0,.24);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.hero-text h2 {
    font-size: calc(-2.000px + 1.667vw);
    color:rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.24em;
    
    /* letter-spacing: calc(-0.409px + 0.045vw)em; */
}

.hero-text p {
    font-size: 28px;
    color:rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.24em;
}

.hero_button {
    margin-top: 40px;
    display: flex;
    gap: 50px;
}

.btn {
    font-family: Arial, sans-serif;

    font-weight: bold;
    padding: 10px 30px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    text-decoration: none;
    font-size: 30px;
  }

  /* Filled Gradient Button */
  .btn-contact {
    background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
    color: white;
    border: none;
  }
  .btn-contact:hover {
    opacity: 0.85;
  }

  /* Outline Button */
  .btn-view {
    background: transparent;
    color: #ffffff; /* aqua color */
    border: 2px solid #ffffff;
  }
  .btn-view:hover {
    background: rgba(163, 243, 255, 0.1);
  }



.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-image.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 150, 255, 0.1) 20%, rgba(0, 150, 255, 0.2) 40%, rgba(0, 150, 255, 0.1) 60%, transparent 100%),
        repeating-linear-gradient(90deg, transparent 0%, transparent 40px, rgba(0, 150, 255, 0.3) 40px, rgba(0, 150, 255, 0.3) 42px),
        repeating-linear-gradient(90deg, transparent 0%, transparent 80px, rgba(0, 150, 255, 0.2) 80px, rgba(0, 150, 255, 0.2) 82px);
    opacity: 0.8;
}

.light-trails {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 150, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 69, 0, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(138, 43, 226, 0.3) 0%, transparent 40%);
    animation: lightTrails 8s ease-in-out infinite;
}

@keyframes lightTrails {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Additional atmospheric effects */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent 0%, transparent 200px, rgba(0, 150, 255, 0.05) 200px, rgba(0, 150, 255, 0.05) 202px),
        repeating-linear-gradient(0deg, transparent 0%, transparent 150px, rgba(255, 165, 0, 0.03) 150px, rgba(255, 165, 0, 0.03) 152px);
    z-index: 1;
    pointer-events: none;
    animation: atmosphericScan 15s linear infinite;
}

@keyframes atmosphericScan {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-200px) translateY(-150px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

/* Data stream effects */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 150, 255, 0.8), transparent);
    animation: dataFlow 4s linear infinite;
}

.data-stream:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 35%;
    animation-delay: 1s;
}

.data-stream:nth-child(3) {
    left: 55%;
    animation-delay: 2s;
}

.data-stream:nth-child(4) {
    left: 75%;
    animation-delay: 3s;
}

@keyframes dataFlow {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.globe-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe {
    width: 400px;
    height: 400px;
    position: relative;
    animation: globeRotate 20s linear infinite;
    filter: drop-shadow(0 0 30px rgba(0, 150, 255, 0.6));
}

.globe-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #d4af37 0%, #b8860b 30%, #8b4513 60%, #654321 100%),
        radial-gradient(circle at 70% 70%, #87ceeb 0%, #4682b4 50%, #1e90ff 100%),
        radial-gradient(circle at 20% 80%, #32cd32 0%, #228b22 30%, transparent 60%),
        radial-gradient(circle at 80% 20%, #ff6347 0%, #dc143c 30%, transparent 60%);
    box-shadow: 
        inset -20px -20px 40px rgba(0,0,0,0.3),
        0 0 50px rgba(0, 150, 255, 0.5),
        0 0 100px rgba(255, 165, 0, 0.3);
    opacity: 0.9;
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        conic-gradient(from 0deg, transparent 0deg, rgba(0, 150, 255, 0.8) 10deg, transparent 20deg, rgba(0, 150, 255, 0.8) 30deg, transparent 40deg),
        conic-gradient(from 45deg, transparent 0deg, rgba(0, 255, 255, 0.6) 15deg, transparent 30deg, rgba(0, 255, 255, 0.6) 45deg, transparent 60deg),
        conic-gradient(from 90deg, transparent 0deg, rgba(255, 165, 0, 0.5) 20deg, transparent 40deg, rgba(255, 165, 0, 0.5) 60deg, transparent 80deg);
    animation: networkPulse 4s ease-in-out infinite;
    filter: blur(0.5px);
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.network-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 150, 255, 0.9);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
}

.user-node {
    position: relative;
}

.user-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.9;
}

.node:nth-child(1) {
    top: 20%;
    left: 30%;
    animation: nodeFloat 6s ease-in-out infinite;
}

.node:nth-child(2) {
    top: 60%;
    right: 25%;
    animation: nodeFloat 6s ease-in-out infinite 2s;
}

.node:nth-child(3) {
    bottom: 20%;
    left: 40%;
    animation: nodeFloat 6s ease-in-out infinite 4s;
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-figure {
    width: 200px;
    height: 400px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 50%, #5d6d7e 100%);
    border-radius: 100px 100px 0 0;
    position: relative;
    margin-right: 10%;
    box-shadow: 
        inset -10px -10px 20px rgba(0,0,0,0.4),
        0 0 30px rgba(0,0,0,0.3);
}

.hero-figure::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes globeRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* What We Do Section */
.what-we-do {
    /* background-image: url("./image-neo/neo_background.png") !important; */
    background-size: cover !important;
    position: relative;
    padding: 6rem 0;
    background: linear-gradient();

}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.content-wrapper {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.text-content p {
    position: relative;
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 1.1rem;
    line-height: 1.8;
    z-index: 2;
    left: 60px;
}

.infinity-graphic {
    position: absolute;
    top: 13rem;
    left: 60rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infinity-graphic img {
    max-width: 100%;
    height: auto;
}

.infinity-pattern {
    width: 300px;
    height: 150px;
    position: relative;
    opacity: 0.3;
}

.infinity-pattern::before,
.infinity-pattern::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.infinity-pattern::before {
    left: 0;
    top: 15px;
}

.infinity-pattern::after {
    right: 0;
    top: 15px;
}

/* Topic Section */
.topic-section {
    /* background-image: url("./image-neo/neo_blue_back.png") !important;
    background-size: cover !;
    background-repeat: no-repeat !important; */
    padding: 6rem 0;
    background: #004a59;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.topic-card {
    background: white;
    max-width: 385px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.topic-card:hover {
    transform: translateY(-5px) scale(0.95)!important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.topic-card .card-image .hrefimg{
    position: relative;
    max-height: 220px;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.card-image {
    display: flex;
    flex-direction: column;

}

.card-image h2 {
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px 0 12px;
}

.topic-card .card-image  {
     border-radius: 0px important;
}
.topic-card .card-image .hrefimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0rem !important;
    transition: transform 0.3s ease;
}
/* 
.topic-card:hover .card-image img {
    transform: scale(1.05);
} */

.brand-category {
    display: flex;
    align-items: center;
}

.logoconnect a{
    display: inline-block;
    font-size: 10px ;
    text-decoration: none;
}

.logoconnect a{
    font-size: 14px;
    color: #05a1c6;
}
.low {
    display: flex !important;
    font-size: 14px !important;
}

.white_color {
    color: #ffffff !important;
}
.success-banner {
    position: absolute;
    top: 10px;
    left: -20px;
    background: #dc3545;
    color: white;
    padding: 4px 20px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 2;
}

.image-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    line-height: 1.3;
}

.topic-card .card-content {
    padding: 0 1rem 5px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-center .topic-card {
    max-width: 384px;
    width: 100%;
    margin-top: 2rem;
}
.brand-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.brand { color: #2d7ddb; font-weight: 700; font-size: 0.9rem; }

.category { color: #6c757d; font-size: 0.85rem; }

.funding-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.funding-label-box {
    font-size: 12px;
    display: flex;
}

.funding-amount { font-weight: 400; font-size: 1.2rem; color: #222; }

.money-icon { font-size: 1rem; }

.progress-bar { height: 40px; background: #e9ecef; border-radius: 6px; position: relative; margin: 10px 0; overflow: hidden; }
.progress-fill { height: 100%; background: #b8ec3f; }
.progress-text { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: #1b3e0a; font-weight: 800; font-size: 0.95rem; }

.stats-row { display: flex; align-items: center; gap: 1.2rem; color: #555; }
.stat { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.stat-icon { opacity: 0.8; }
.stat-label { color: #6c757d; }
.stat-value { color: #111; font-weight: 700; }

.centertopic {
    display: flex;
    justify-content: center;
    width: 100%;
}
/* Responsive styles for topic section */
@media (max-width: 768px) {
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .topic-card .card-image {
        height: 180px;
    }
    
    .topic-card .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
    
    .brand-category {
        display: flex;
        align-items: center;
        line-height: 1px;
    }
    
    .funding-item .label {
        min-width: 70px;
        font-size: 0.75rem;
    }
    
    .progress-bar {
        height: 20px;
    }
    
    .progress-text {
        font-size: 0.7rem;
    }
    .value {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .topic-section {
        padding: 4rem 0;
    }
    
    .topic-card .card-image {
        height: 190px;
    }
    
    .success-banner {
        font-size: 0.7rem;
        padding: 3px 15px;
        left: -15px;
    }
    
    .image-text {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* News Section */
.news-section {
    /* background-image: url('./image-neo/neo_background.png') !important; */
    background-position-x: reverse;
    background-size: cover !important;
    padding: 6rem 0;
    background: #Ffffff;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    /* font-size: 1rem; */
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 12rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    padding: 0.5rem 0;
}

.news-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    min-width: 70px;
    flex-shrink: 0;
}

.news-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.news-separator {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #b3b1b1 0px,
        #b3b1b1 3px,
        transparent 3px,
        transparent 6px
    );
    margin: 1.5rem 0;
    width: 100%;
}

.news-separator:last-child {
    display: none;
}

/* Responsive styles for news section */
@media (max-width: 768px) {
    .news-section {
        padding: 4rem 0;
    }
    
    .news-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* .news-item {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    } */
    .news-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 3rem;
        margin-top: 3rem;
        padding: 0.5rem 0;
    }
    .news-date {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .news-text {
        font-size: 0.85rem;
    }
    
    .news-separator {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 3rem 0;
    }
    
    .news-item {
        margin-bottom: 1rem;
    }
    
    .news-date {
        font-size: 0.8rem;
    }
    
    .news-text {
        font-size: 0.8rem;
    }
}

/* Business Section */
.business-section {
    color: #fff;
    padding: 6rem 0;
    background: #004a59;
}

.business-grid {
    display: grid;
    padding: 0 3rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-inline: auto;
}

.business-card {
    padding: 0.6rem;
    max-width: 450px;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-image {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-image {
    border-radius: 30px;
    overflow: hidden;
    max-height: 280px;
    /* height: 100%; */
}

.ec-image img:hover {
    transform: scale(1.02);
    transition: 0.3s;
}

.consulting-image {
    border-radius: 30px;
    overflow: hidden;
    max-height: 280px;
    /* height: 100%; */
}

.consulting-image img:hover {
    transform: scale(1.02);
    transition: 0.3s;
}

.distribution-image {
    border-radius: 30px;
    overflow: hidden;
    max-height: 280px;
    /* height: 100%; */
}

.distribution-image:hover img{
    transform: scale(1.02);
    transition: 0.3s;
}

.agency-image {
    border-radius: 30px;
    overflow: hidden;
    max-height: 280px;
    /* height: 100%; */
}

.agency-image img:hover {
    transform: scale(1.02);
    transition: 0.3s;
}

.overlay-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
}

.arrow {
    width: 16px;
    height: 2px;
    background: white;
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.card-content p {
    color: #666;
    line-height: 1.7;
}

/* Company Section */
.company-section {
    /* background-image: url("./image-neo/neo_background.png") !important; */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: absolute;
    top: 0;
    padding: 6rem 0;
    background: #ffffff;
}

.company-info {
    padding: 0 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.info-row {
    display: flex;
    gap: 12rem;
    padding: 3rem 0;
    border-bottom: 1px solid #b3b1b1;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    min-width: 200px;
    flex-shrink: 0;
}

.value {
    color: #666;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    position: relative;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
}

.contact-background  {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-title {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* .contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
} */

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
    font-family: inherit;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

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

.container1 {
    padding: 6rem 0 2rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #FFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* 
.submit-btn:hover {
    background: #000;
    color:#FFF
    box-shadow: 5px 5px 5px;
} */

.submit-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 4px;
}

.footer-logo span {
    font-family: Avenir Next;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #00ff88;
}
@media (max-width: 1440px) {
    .container {
        max-width: 1120px;
        width: 100%;
    }
    .main-heading {
        font-size: 3.3rem;
    }
    .infinity-graphic {
        position: absolute;
        top: 13rem;
        left: 40rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
.news-item {
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.3rem;
    margin-top: 2.3rem;
    padding: 0.5rem 0;
}

.hero_button {
    margin-top: 37px;
    display: flex;
    gap: 40px;
}

.btn {
    font-family: Arial, sans-serif;

    font-weight: bold;
    padding: 10px 30px;
    border-radius: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    text-decoration: none;
    font-size: 25px;
  }

  /* Filled Gradient Button */
  .btn-contact {
    background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
    color: white;
    border: none;
  }
  .btn-contact:hover {
    opacity: 0.85;
  }

  /* Outline Button */
  .btn-view {
    background: transparent;
    color: #ffffff; /* aqua color */
    border: 2px solid #ffffff;
  }
  .btn-view:hover {
    background: rgba(163, 243, 255, 0.1);
  }
}


/* Tablet landscape and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    .hero-text h1 {
        font-size: calc(96.094px - 3.137vw);
    }
    .hero-text h2 {
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    
    

    .hero_button {
        margin-top: 37px;
        display: flex;
        gap: 30px;
    }
    
    .btn {
        font-family: Arial, sans-serif;
    
        font-weight: bold;
        padding: 9px 24px;
        border-radius: 36px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 5px;
        text-decoration: none;
        font-size: 23px;
      }
    
      /* Filled Gradient Button */
      .btn-contact {
        background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
        color: white;
        border: none;
      }
      .btn-contact:hover {
        opacity: 0.85;
      }
    
      /* Outline Button */
      .btn-view {
        background: transparent;
        color: #ffffff; /* aqua color */
        border: 2px solid #ffffff;
      }
      .btn-view:hover {
        background: rgba(163, 243, 255, 0.1);
      }
    }
    .hero-text p {
        font-size: 22px;
        color:rgba(255,255,255,0.92);
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 0.15em;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    .infinity-graphic {
        display: none;
    }
    .main-heading {
        font-size: 2.4rem;
        margin-left: 20px;
        margin-bottom: 4rem;
    }
    .cursive-title {
        font-family: sans-serif !important;
        font-size: 2.1rem;
        margin-bottom: 3rem;
        /* text-shadow: 4px 4px 3px #636161; */
        /* color: #FFFFFF; */
    }
    .text-content p {
        left: 0;
        font-size: 1rem;
        padding: 0 2rem;
    }
    .infinity-graphic {
        position: static;
        margin: 2rem auto 0;
        justify-content: center;
    }
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .business-grid {
        padding: 0 2rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .info-row {
        gap: 6rem;
    }
    .news-text {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 1rem;
        color: #333;
        line-height: 1.3;
        flex: 1;
    }
    .value {
        font-size: 1rem;
    } 
    



@media (max-width:850px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
  
.footer-nav {
    display: flex;
    gap: 1.2rem;
}
.business-grid {
    padding: 0rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.hero-text p {
    font-size: 20px;
    color:rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.3em;
}

.hero_button {
    margin-top: 37px;
    display: flex;
    gap: 30px;
}

.btn {
    font-family: Arial, sans-serif;

    font-weight: bold;
    padding: 9px 24px;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    text-decoration: none;
    font-size: 22px;
  }

  /* Filled Gradient Button */
  .btn-contact {
    background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
    color: white;
    border: none;
  }
  .btn-contact:hover {
    opacity: 0.85;
  }

  /* Outline Button */
  .btn-view {
    background: transparent;
    color: #ffffff; /* aqua color */
    border: 2px solid #ffffff;
  }
  .btn-view:hover {
    background: rgba(163, 243, 255, 0.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .hero-text p {
        font-size: 20px;
        color:rgba(255,255,255,0.92);
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 0.1em;
    }
    .nav-links {
        display: none;
    }
    .topic-card {
        /* padding: 0 1rem; */
    }
    .what-we-do {
        padding: 5rem 0;
    }
    .topic-section {
        padding: 5rem 0;
    }
    .news-section {
        padding: 5rem 0;
    }
    .business-section {
        padding: 5rem 0;
    }
    .company-section {
        padding: 5rem 0;
    }
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 0 5%;
    }
    
    .globe {
        width: 250px;
        height: 250px;
    }
    .text-content p {
        left: 0;
        padding: 0 2rem;
    }
    .hero-figure {
        width: 120px;
        height: 240px;
        margin-right: 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .hero_button {
        margin-top: 37px;
        display: flex;
        gap: 25px;
    }
    
    .btn {
        font-family: Arial, sans-serif;
    
        font-weight: bold;
        padding: 9px 20px;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 5px;
        text-decoration: none;
        font-size: 19px;
      }
    
      /* Filled Gradient Button */
      .btn-contact {
        background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
        color: white;
        border: none;
      }
      .btn-contact:hover {
        opacity: 0.85;
      }
    
      /* Outline Button */
      .btn-view {
        background: transparent;
        color: #ffffff; /* aqua color */
        border: 2px solid #ffffff;
      }
      .btn-view:hover {
        background: rgba(163, 243, 255, 0.1);
      }

    /* .topic-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
     */
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .cursive-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2.0rem;
    }    
    .info-row {
        flex-direction: column;
        gap: 0rem;
    }
    
    .label {
        min-width: auto;
    }
    .contact-form-container {
        padding: 0 2rem;
    }
    .topic-section {
        padding: 5rem 0;;
    }
  
}

/* Large phones / small tablets */
@media (max-width: 600px) {

    .container, .container1 {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: calc(11.850px + 7.507vw);
    }
    .hero-text h2 {
        font-size: 14px;
        letter-spacing: 0em;
    }
    .hero-text p {
        font-size: 18px;
        color:rgba(255,255,255,0.92);
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 0em;
    }
    .main-heading {
        font-size: 2rem;
        margin-left: 0;
        margin-bottom: 2.5rem;
        text-align: left;
    }
    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .cursive-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: left;
    }
    .text-content p {
        left: 0;
        padding: 0 0.5rem;
    }
    .text-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .info-row {
        gap: 0.2rem;
    }
    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .container1 {
        padding: 4rem 16px 2rem;
    }
    .company-info {
        padding: 0 1rem;
    }
    .business-grid {
        padding: 0 2.5rem;
    }
    .topic-section {
        padding: 3rem 0;
    }
    .news-section {
        padding: 3rem 0;
    }
    .business-section {
        padding: 3rem 0;
    }
    .company-section {
        padding: 3rem 0;
    }
    .what-we-do {
        padding: 3rem 0;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
    }
    
    .nav {
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        gap: 0;
    }
}


/* Small phones */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: calc(11.850px + 7.507vw);
    }


    .hero_button {
        margin-top: 37px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        /* max-width: 110px; */
    }
    
    .btn {
        font-family: Arial, sans-serif;
    
        font-weight: bold;
        padding: 9px 24px;
        border-radius: 35px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 5px;
        text-decoration: none;
        font-size: 22px;
        display: block;
      }
    
      /* Filled Gradient Button */
      .btn-contact {
        background: linear-gradient(90deg, #0a2734, #0cbdc6); /* cyan/blue gradient */
        color: white;
        border: none;
        max-width: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
      }
      .btn-contact:hover {
        opacity: 0.85;
      }
    
      /* Outline Button */
      .btn-view {
        background: transparent;
        color: #ffffff; /* aqua color */
        border: 2px solid #ffffff;
        max-width: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
      }
      .btn-view:hover {
        background: rgba(163, 243, 255, 0.1);
      }
    .hero-text h2 {
        letter-spacing: -0.1em;
    }
    .footer {
        background: #1a1a2e;
        color: white;
        padding: 3rem 0;
        overflow: visible; /* Ensures child elements are not clipped */
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap; /* Allows wrapping of child elements if they exceed the width */
    }
    
    .footer-nav {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap; /* Ensures navigation items wrap if they exceed the container width */
    }
    .footer {
        overflow: hidden; /* Ensures child elements stay within the footer */
    }
    
    .footer-content {
        margin: 0 auto; /* Centers the content */
        max-width: 1200px; /* Constrains the width */
     /* Adds padding inside the footer */
    }
    .container, .container1 {
        padding: 0 14px;
    }
    .logo h1 {
        font-size: 1.25rem;
    }
    .main-heading {
        font-size: 1.9rem;
    }
    .cursive-title {
        font-size: 1.6rem;
    }
    .info-row {
        padding: 1.5rem 0;
    }
    .card-content {
        padding: 1.25rem;
    }
    .footer-nav {
       padding: 0.5rem;
       gap: 1rem;
    }
    .form-group input, .form-group textarea {
        font-size: 0.8rem;
    }
    .business-grid {
        padding: 0 1rem;
    }
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-section {
        padding: 1rem 0;
    }
    .hero-banner {
        height: 100vh;
    }
    .submit-btn {
        font-size: 1rem;
        padding: 0.6rem 1.25rem;
    }
}

/* SP 390px fine-tuning */
@media (max-width: 390px) {
    .container, .container1 {
        padding: 0 12px;
    }
    .logo h1 {
        font-size: 1.1rem;
    }
    .main-heading {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }
    .cursive-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-shadow: 3px 3px 2px #636161;
    }
    .contact-title {
        font-size: 1.6rem;
    }
    .submit-btn {
        font-size: 1rem;
        padding: 0.5rem 1.25rem;
    }
    
.company-section
   {
       padding: 3rem 0;
       background: white;
   }
   
.info-row {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #b3b1b1;
}
.info-row span {
    font-size: 15px;
}
 p {
  font-size: 15px !important;
}
}



.hidden-fields-container {
    display: none;
}
    .form-group {
      margin-bottom: 15px;
    }
    label {
      display: block;
      font-weight: bold;
      margin-bottom: 5px;
    }
    input, textarea {
      width: 100%;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 14px;
    }
    .submit-btn {
      padding: 12px 20px;
      background: #001f36;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
    }
    .submit-btn:hover {
      background: #001f36;
      
    }
#contactForm {
            max-width: 600px;
            margin: 0 auto;
            padding: 30px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans CJK JP", "Original Yu Gothic", "Yu Gothic", sans-serif;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 14px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #fafafa;
            box-sizing: border-box;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #003d4e;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
            transform: translateY(-2px);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9e9e9e;
            font-size: 14px;
        }

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

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 16px 32px;
            background: #003d4e;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: 0.5px;
        }

        .submit-btn:hover {
            background: #003d4e;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .submit-btn:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .submit-btn:disabled:hover {
            background: #cccccc;
            transform: none;
        }

        /* Message Styles */
        #form-message {
            margin: 20px 0;
            padding: 16px;
            border-radius: 8px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        #form-message.success {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            color: #155724;
            border-color: #b8dfc1;
            box-shadow: 0 3px 10px rgba(76, 175, 80, 0.15);
        }

        #form-message.error {
            background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
            color: #721c24;
            border-color: #f1b0b7;
            box-shadow: 0 3px 10px rgba(220, 53, 69, 0.15);
        }

        /* Loading Animation */
        @keyframes buttonLoading {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }

        .submit-btn:disabled {
            animation: buttonLoading 1.5s infinite;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            #contactForm {
                padding: 20px;
                margin: 20px;
                border-radius: 8px;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 12px;
                font-size: 16px;
            }
            
            .submit-btn {
                padding: 14px 24px;
                font-size: 16px;
            }

            .nav-links a {
                font-size: 16px !important;
                font-family: 'Inter', sans-serif;
                font-weight: 500; /* Medium */
            }
            .footer-nav a {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            #contactForm {
                padding: 15px;
                margin: 10px;
            }
            
            .form-group {
                margin-bottom: 20px;
            }
            
            .form-group label {
                font-size: 13px;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 10px;
                font-size: 14px;
            }
        }

        /* Focus styles for accessibility */
        .form-group input:focus-visible,
        .form-group textarea:focus-visible {
            outline: 2px solid #003d4e;
            outline-offset: 2px;
        }