/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(15, 37, 84, 0.3) 0%, transparent 70%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Metallic Grid Animation */
.grid-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 25s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Metallic Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s infinite;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--metallic-blue-mid) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--metallic-blue-light) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--metallic-blue-base) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: var(--gradient-shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fade-in-up 1s ease-out;
    letter-spacing: -2px;
    line-height: 1.3;
    padding-bottom: 0.2em;
    text-shadow: 0 0 60px rgba(30, 64, 175, 0.5);
}

.hero-subtitle {
    font-size: clamp(2rem, 2vw, 1.5rem);
    color: var(--metallic-blue-mid);
    animation: fade-in-up 1s ease-out 0.3s both;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(30, 64, 175, 0.3);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
    background: var(--gradient-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-metallic);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Media Section - Updated 2-column layout */
.media-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.1) 50%, transparent 100%);
    position: relative;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.media-card {
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-bark);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.media-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-metallic);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    border-color: var(--metallic-blue-mid);
}

.media-card:hover::before {
    opacity: 0.1;
}

.media-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    flex: 1;
}

.media-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--metallic-blue-bright);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.media-card h3 .media-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-metallic);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.media-card h3 .media-icon svg {
    width: 25px;
    height: 25px;
}

.media-card h3 .media-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.media-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-dark);
    border-radius: 20px;
    padding: 3rem 1.8rem;
    text-align: center;
    transition: all 0.3s;
    animation: fade-in-up 0.8s ease-out calc(var(--i) * 0.2s) both;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--metallic-blue-mid);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-metallic);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--gradient-shine);
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.service-card:hover .service-icon::after {
    opacity: 0.5;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--metallic-blue-bright);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-number {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.service-card h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--metallic-blue-light);
    font-weight: bold;
}

.service-subsections {
    text-align: left;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.service-subsection {
    margin-bottom: 1.8rem;
}

.service-subsection:last-child {
    margin-bottom: 0;
}

.service-subsection h5 {
    font-size: 1.1rem;
    color: var(--metallic-blue-bright);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.service-subsection p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.service-view-more {
    display: block;
    text-align: center;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-metallic);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.service-view-more:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

.service-view-more svg {
    display: none;
}

/* Blog Section */
.blog-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.05) 50%, transparent 100%);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    animation: fade-in-up 0.8s ease-out calc(var(--i) * 0.2s) both;
    position: relative;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    border-color: var(--metallic-blue-mid);
}

.blog-thumbnail {
    height: 220px;
    background: var(--gradient-metallic);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.blog-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.8) 100%); */
}

.blog-thumbnail::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-shine);
    animation: shine 3s linear infinite;
    opacity: 0;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--metallic-blue-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.view-all-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 1rem 3rem;
    background: var(--gradient-metallic);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: fit-content;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.company-info,
.director-info {
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-dark);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-metallic);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.company-info h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 1;
}

.company-info td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--metallic-blue-dark);
}

.company-info td:first-child {
    color: var(--metallic-blue-light);
    width: 40%;
    font-weight: 500;
}

.company-info td:last-child {
    color: var(--text-primary);
    font-weight: 400;
}

.director-info {
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-dark);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.director-info::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-metallic);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-30px, 30px);
}

.director-info h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 1.5rem;
    color: var(--metallic-blue-bright);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.role-sub {
    color: var(--metallic-blue-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.skill-award {
    color: var(--metallic-blue-light);
}

.director-content ul {
    list-style: none;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.director-content li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.director-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--metallic-blue-light);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--metallic-blue-dark);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--metallic-blue-light);
    transition: all 0.3s;
    font-weight: 600;
}

.social-link:hover {
    background: var(--gradient-metallic);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--metallic-blue-dark);
    position: relative;
    overflow: hidden;
}


footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-metallic);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--metallic-blue-mid);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.skill {
    color: white;
    font-weight: 500;
    font-size:  0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.1) 50%, transparent 100%);
    position: relative;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--metallic-blue-dark);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.contact-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-container .view-all-btn {
    position: relative;
    z-index: 1;
}

/* Language specific content */
.ja { display: none; }
.en { display: inline; }

body.lang-ja .ja { display: inline; }
body.lang-ja .en { display: none; }

