@charset "UTF-8";

/* =========================================
   Variables & Theme (Mirrored from style.css)
   ========================================= */
:root {
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-primary: #0a192f;
    /* Deep Navy */
    --color-accent: #007c91;
    /* Teal/Cyan */
    --color-gray-bg: #f8f9fa;
    --color-border: #e2e4e8;
    --width-container: 1200px;
    /* Readability focused */
}

/* =========================================
   Base Styles
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* =========================================
   Header & Navigation (Copied from style.css)
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    z-index: 1001;
    transition: color 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header.scrolled .logo {
    color: var(--color-primary);
    text-shadow: none;
}

.logo span {
    color: var(--color-accent);
}

.nav-menu ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Nav Link Styles */
.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    display: inline-block;
}

header.scrolled .nav-menu a {
    color: var(--color-primary);
    text-shadow: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Contact Button */
.nav-contact {
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 24px !important;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.scrolled .nav-contact {
    border-color: var(--color-primary);
    background: transparent;
    color: var(--color-primary) !important;
}

.nav-contact:hover {
    background-color: #fff;
    color: var(--color-primary) !important;
}

header.scrolled .nav-contact:hover {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

header.scrolled .hamburger span {
    background-color: var(--color-primary);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--color-primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 20px 0;
    list-style: none;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

    .hamburger {
        display: block;
    }
}

/* =========================================
   Page Hero (Added)
   ========================================= */
/* =========================================
   Page Hero (Added)
   ========================================= */
.page-hero {
    width: 100%;
    height: 400px;
    /* Increased height for better proportions */
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: -60px;
    /* Overlap effect */
    z-index: 1;
}

/* Overlay for text readability */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
    pointer-events: none;
}


/* Ensure container sits properly below/over it */
.container {
    width: 90%;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
    background: #fff;
    /* Ensure content is readable if overlapping */
    border-radius: 8px;
    /* Slight rounded look if we want a card effect, doing simple for now */
    margin-top: -60px;
    /* Pull up to overlap hero */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Lift effect */
}

/* =========================================
   Typography & Layout
   ========================================= */
.page-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.intro-lead {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.intro-text {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--color-gray-bg);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    border-top: 4px solid var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-desc {
    font-size: 0.8rem;
    color: #888;
    margin-top: 8px;
}

/* =========================================
   Content Body
   ========================================= */
.content-section {
    margin-bottom: 50px;
}

.section-heading {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-left: 5px solid var(--color-accent);
    padding-left: 16px;
    margin-bottom: 24px;
    font-weight: 700;
}

.text-body {
    font-size: 1rem;
    margin-bottom: 24px;
}

.success-list {
    list-style: none;
    background: #f0f8ff;
    /* Light blue tint */
    padding: 30px;
    border-radius: 8px;
    margin-top: 10px;
}

.success-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--color-primary);
}

.success-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.spovigo-role {
    background: var(--color-primary);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.spovigo-role h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #fff;
}

.spovigo-role p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* =========================================
   References & Footer
   ========================================= */
.references {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-bottom: 60px;
}

.ref-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ref-list li {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.ref-list a {
    color: var(--color-text-light);
    text-decoration: underline;
}

.back-link-container {
    text-align: center;
    margin-top: 40px;
}

.back-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.back-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 1.6rem;
    }
}