/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: #fff;
    color: #000;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Desktop Container */
.desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    position: relative;
}

/* Menu */
.menu {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}

.menu-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 13px 40px;
    max-width: 100%;
}

.logo-btn {
    width: 52px;
    height: 52px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.82;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}


.logo-btn img {
    position: absolute;
    width: 138.04%;
    height: 143.43%;
    left: -18.44%;
    top: -15.43%;
    max-width: none;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu button {
    background: none;
    border: none;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    white-space: nowrap;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: flex;
    gap: 100px;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 120px;
}

.hero-logo-section {
    display: flex;
    flex-direction: column;
    gap: 29.854px;
    align-items: flex-start;
    width: 360px;
}

.hero-logo {
    width: 100%;
    aspect-ratio: 347/350;
    opacity: 0.82;
    position: relative;
    overflow: hidden;
}

.hero-logo img {
    position: absolute;
    width: 138.04%;
    height: 143.43%;
    left: -18.44%;
    top: -15.43%;
    max-width: none;
}

.hero-tagline {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero-text {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    width: 515px;
}

.hero-text p {
    margin-bottom: 0;
}

/* Body */
.body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #fff;
}

.spacer {
    height: 79px;
    width: 100%;
}

/* Sections */
.section {
    width: 100%;
    max-width: 1360px;
    padding: 0 80px; /* <-- GLOBAL PADDING */
}

.content-wrapper {
    padding: 35px 122px;
}

/* Two Column Text */
.two-col-text {
    display: flex;
    gap: 57px;
    margin-bottom: 40px;
}

.two-col-text p {
    flex: 1;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

/* Intro Text (single column with same styling) */
.intro-text {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

/* Geidai Section */
.geidai-section {
    display: flex;
    gap: 45px;
    align-items: center;
}

.geidai-text {
    flex: 1;
    font-family: 'Ubuntu', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.geidai-text p {
    margin: 0;
}

.geidai-logo {
    width: 206.143px;
    aspect-ratio: 354/134;
    overflow: hidden;
}

.geidai-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Section Titles */
.section-title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 44px;
    text-align: center;
    line-height: normal;
}

.section-title.green {
    color: #01b559;
}

/* Solutions
.solution-section {
    width: 100%;
    max-width: 1360px;
} */

.solution-header {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.content-wrapper .solution-header {
    padding: 0;
}

.green-bar {
    background: #01b559;
    width: 12px;
    flex-shrink: 0;
    align-self: stretch; /* Make bar match the height of its sibling */
}

.solution-title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: #1e1e1e;
    flex: 1;
    line-height: normal;
    margin: 0;
}

.solution-desc {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 24px 0;
    line-height: normal;
}

.content-wrapper .solution-desc {
    margin: 24px 0;
}

.learn-more {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #01b559;
    text-decoration: underline;
    text-underline-position: from-font;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 122px 35px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Section Header Images */
.section-header-img {
    position: relative;
    width: 100%;
    height: 195px;
    scroll-margin-top: 100px;
}

.section-header-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.header-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 72px 146px;
}

.header-overlay h2 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: #fff;
    text-align: center;
    line-height: normal;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    gap: 40px;
    width: 100%;
}

.feature-card {
    flex: 1;
    background: #efeeee;
    border: 2px solid #758c98;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 11px;
    gap: 12px;
    min-height: 191px;
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.feature-card p {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #758c98;
    text-align: center;
    line-height: normal;
}

/* Images */
.full-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Body Text */
.body-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

/* CTA Button */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 72px;
    background: #01b559;
    border-radius: 104px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 0 auto;
}

/* Projects */
.project-section {
    width: 100%;
    max-width: 100%;
}

.project-section.bg-alt {
    background: #f5f6f4;
}

.project-header {
    display: flex;
    gap: 16px;
    align-items: stretch; /* Changed from flex-start to stretch */
    padding: 35px 122px 0;
}

.project-title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1e1e1e;
    flex: 1;
    margin: 0;
    line-height: normal;
}

.project-content {
    display: flex;
    gap: 40px;
    padding: 40px 122px 35px;
}

.project-content img {
    flex: 1;
    width: 50%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2048/1366;
}

.project-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-meta {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: normal;
}

.project-text p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

/* Footer */
.footer {
    width: 100%;
    background: #01b559;
    padding: 35px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 0 40px;
}

.footer-logo {
    width: 52px;
    height: 52px;
    opacity: 0.82;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-logo img {
    position: absolute;
    width: 138.04%;
    height: 143.43%;
    left: -18.44%;
    top: -15.43%;
    max-width: none;
}

.footer-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.footer-nav a {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    text-decoration: underline;
    text-underline-position: from-font;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 60px 60px;
        gap: 60px;
    }
    
    .content-wrapper,
    .solution-header,
    .solution-desc,
    .learn-more,
    .project-header,
    .project-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 40px;
    }
    
    .hero-logo-section {
        width: 100%;
        max-width: 270px;
        align-items: center;
    }
    
    .hero-tagline {
        font-size: 19px;
    }
    
    .hero-text {
        width: 100%;
        font-size: 25px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu button {
        font-size: 13px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .geidai-text {
        font-size: 19px;
    }
    
    .two-col-text {
        flex-direction: column;
    }
    
    .geidai-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .geidai-logo {
        align-self: center;
    }
    
    .feature-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .spacer {
        height: 39.5px;
    }
    
    .feature-card {
        flex-direction: row;
        padding: 20px;
        gap: 20px;
        justify-content: flex-start;
        align-items: center;
        min-height: auto;
    }
    
    .feature-card .icon {
        width: 52.5px;
        height: 52.5px;
        flex-shrink: 0;
    }
    
    .feature-card p {
        text-align: center;
        flex: 1;
        font-size: 16px;
    }
    
    .project-content {
        flex-direction: column;
    }
    
    .project-content img {
        width: 100%;
    }
    
    .section-title {
        font-size: 33px;
    }
    
    .solution-title {
        font-size: 21px;
    }
    
    .solution-desc {
        font-size: 16px;
    }
    
    .learn-more {
        font-size: 19px;
    }
    
    .body-text {
        font-size: 16px;
    }
    
    .cta-btn {
        font-size: 16px;
    }
    
    .project-title {
        font-size: 21px;
    }
    
    .project-meta {
        font-size: 16px;
    }
    
    .project-text p {
        font-size: 16px;
    }
    
    .header-overlay h2 {
        font-size: 44px;
    }
    
    .footer-nav a {
        font-size: 13px;
    }
    
    .section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .content-wrapper,
    .solution-header,
    .learn-more,
    .project-header,
    .project-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .solution-desc {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Full-width background for sections */
.section[style*="background-color"] {
    max-width: none; /* Allow background to extend full width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section[style*="background-color"] .content-wrapper {
    max-width: 1200px; /* Match the inner content width of standard sections (1360px - 160px padding) */
    width: 100%;
}

/* Strong Text */
strong {
    font-weight: 700;
}

/* Dynamically Padded Image */
.padded-img {
    padding: 0 var(--img-padding, 8%);
    box-sizing: border-box;
}

/* Dynamically Cropped Image */
/* .crop-container {
    width: 100%;
    height: var(--crop-height, 50vh);
    overflow: hidden;
    position: relative;
}

.cropped-img {
    width: 100%;
    height: var(--crop-height, auto);
    object-fit: var(--crop-fit, cover);
    object-position: var(--crop-x, 50%) var(--crop-y, 50%);
    transform: scale(var(--crop-zoom, 1));
    transform-origin: var(--crop-origin, center);
} */
