/*
Theme Name: Systems US
Theme URI: https://systems-us.com/
Author: Your Name
Author URI: https://systems-us.com/
Description: A custom WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: system-us
*/

/* 
This file is required for WordPress to identify your theme.
Add your global CSS styles here or include them from the assets folder.
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.3;
    color: #333;
}

/* Layout */
.container {
    max-width: 1060px;
    padding: 0 30px;
    margin: 0 auto;
}

/* Header Styles */

/* Main Header */
.site-header {
    background-color: #0C1725;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #890000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1450px;
    margin: 0 auto;
    padding: 25px 30px;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a {
    display: flex;
}

.logo-link {
    display: block;
}

.logo {
    height: 40px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
}

.nav-menu li::first-letter {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;
}

.nav-menu li a:hover {
    color: #FF802B;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #FF802B;
    transition: width 0.3s ease;
}

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

/* Contact Button */
.contact-us-btn {
    display: flex;
    background-color: red;
    color: #ffffff;
    text-decoration: none;
    padding: 0px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: clamp(18px, calc(1.2rem + 0.4vw), 22px);
    transition: background-color 0.3s ease, transform 0.2s ease;
    height: 35px;
    width: 160px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.contact-us-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    color: red;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Mobile Responsive Styles */
@media (max-width: 1100px) {
    .nav-menu li {
        margin: 0 10px;
    }
}

@media (max-width: 992px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto auto auto;
        grid-template-areas: "logo nav hamburger contact";
        align-items: center;
        margin: 0 auto;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0C1725;
        padding: 20px 0;
        border-top: 1px solid #890000;
    }

    .main-navigation.toggled {
        display: block;
        height: 100vh;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: 10px;
    }

    .menu-toggle[aria-expanded="true"] .menu-icon {
        background-color: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-icon::before {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-icon::after {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }

    .contact-us-btn {
        padding: 5px 15px;
        font-size: 14px;
        width: 100px;
    }


    .header-container {
        padding: 10px 15px;
    }
}

.sp-only,
.service-icon-wrapper.sp-only {
    display: none;
}

.pc-only {
    display: flex;
}

/* Hero Section Styles ---------------------------------------------------------------------------*/
.hero-section {
    position: relative;
    background-color: #0C1725;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    padding: 80px 0 200px 0;
    min-height: 950px;
}


.hero-left-dots {
    position: absolute;
    top: 180px;
    left: -150px;
    z-index: 3;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1060px;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 30px;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12, 23, 37, 1) 0%, rgba(12, 23, 37, 0.52) 60%, rgba(12, 23, 37, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Text Content Styles */
.hero-content {
    padding-right: 30px;
    margin-bottom: 80px;
    z-index: 3;
    flex: 1;
    width: 390px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(40px, calc(3rem + 3vw), 96px);
    /* Responsive: 96px to 40px */
    line-height: 1.1;
    margin-bottom: 40px;
    font-weight: 700;
    position: absolute;
    font-family: "Times New Roman";
    top: 20px;
}

.hero-title.second {
    top: 170px;
}

.hero-title.first .accent-text {
    right: -170px;
}

.accent-text {
    display: inline-block;
    color: #F00004;
    position: absolute;
    right: -100px;
    top: 60px;
    font-family: "Freehand", cursive;
    font-weight: 400;
    font-style: normal;
}

.hero-description {
    font-size: clamp(16px, calc(1rem + 1.2vw), 28px);
    /* Responsive: 28px to 16px */
    line-height: 1.6;
    margin: 80px 0 0px 0;
    font-family: "times-new-roman", sans-serif;
    font-weight: 400;
    font-style: italic;
    position: absolute;
    top: 280px;
    letter-spacing: 0.5px;
}

.emphasis {
    font-weight: 700;
    font-size: clamp(19px, calc(1.8rem + 1.4vw), 42px);
    /* Responsive: 42px to 19.2px */
    line-height: 0;
}

/* CTA Button */
.cta-container {
    position: absolute;
    top: 680px;
    width: 500px;
}

.cta-button {
    display: inline-block;
    background-color: red;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(18px, calc(1.2rem + 0.8vw), 30px);
    /* Responsive: 30px to 17.6px */
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: "Times New Roman";
    width: 500px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button img.arrow {
    margin-left: 35px;
    width: 25px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: red;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
    filter: invert(29%) sepia(91%) saturate(7483%) hue-rotate(358deg) brightness(97%) contrast(102%);
}

/* Image Slider Styles */
.hero-image-wrapper {
    max-width: 800px;
    position: relative;
    width: 830px;
}

.hero-image-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 100%;
    margin-left: 170px;
}

.hero-image-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/imgs/hero-intersect.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 0;
}

.slider-image.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Brush Lines Bottom Graphic */
.hero-bottom-graphic {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
}

.hero-bottom-graphic2 {
    position: absolute;
    bottom: -400px;
    right: -290px;
    z-index: 2;
}


.brush-lines {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        padding: 0;
    }

    .sp-only,
    .service-icon-wrapper.sp-only {
        display: flex;
    }

    .pc-only {
        display: none;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        width: 100%;
        padding: 0 30px;
    }

    .hero-bottom-graphic2 {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-menu li a::after {
        display: none;
    }

    .hero-section {
        padding: 30px 0 250px 0;
        height: auto;
        min-height: fit-content
    }

    .hero-container {
        width: 100%;
        margin: 20px auto 0;
    }

    .hero-container::before {
        background: linear-gradient(46deg, rgb(12 23 37) 0%, rgb(12 23 37 / 40%) 60%, rgba(12, 23, 37, 0) 100%);
    }

    .cta-container {
        width: auto;
        position: relative;
    }

    .cta-button {
        padding: 15px 20px;
        height: 50px;
        font-size: 20px;
    }

    .contact-us-btn {
        height: 25px;
    }

    .cta-button img.arrow {
        margin-left: 15px;
    }

    .hero-left-dots {
        display: none;
    }

    .hero-top-dots {
        position: absolute;
        top: 70px;
        right: -12px;
        height: 70px;
    }

    .hero-title {
        font-size: 60px;
        margin-bottom: 0;
    }

    .hero-title::first-letter {
        font-size: 78px;
    }

    .hero-title.first .accent-text {
        top: 52px;
        right: -80px;
    }

    .hero-title.second {
        top: 110px;
    }

    .hero-title.second .accent-text {
        right: -40px;
        top: 53px;
    }

    .hero-description {
        font-size: 20px;
        line-height: 1.4;
    }

    .emphasis {
        font-size: 26px;
    }


    .hero-bottom-graphic {
        bottom: 0px;
        left: 0;
        width: 100vw;
    }

    .hero-image-slider {
        margin-left: -5%;
        width: 115vw;
    }

    .brush-lines-sp.sp-only {
        width: 100vw;
    }

    .hero-image-wrapper {
        margin-top: 50px;
    }

    .cta-button {
        width: 100%;
        height: auto;
    }

    .contact-us-btn:hover {
        background-color: red;
        color: #ffffff;
        transform: none;
    }

    .cta-button:hover {
        background-color: red;
        color: #ffffff;
        transform: none;
    }
}

/* ------------------------------------------------------------------------------------------------------------ */

/* Value Proposition Section Styles ---------------------------------------------------------------------------*/


.value-proposition-section {
    background-color: #ffffff;
    margin-bottom: 100px;
}

.value-proposition-section .container {
    max-width: 1060px;
    padding: 0 30px;
    ;
    margin: 0 auto;
}

/* Header */
.vp-header {
    text-align: center;
    margin-bottom: 50px;
}

.vp-title {
    font-size: 60px;
    font-weight: bold;
    color: #C6001D;
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
}

.vp-subtitle {
    font-size: 30px;
    color: #FF802B;
    font-style: normal;
    font-family: "Freehand", cursive;
    margin-bottom: 0;
    margin-left: 80px;
}

/* Description */
.vp-description {
    text-align: center;
    margin-bottom: 50px;
}

.vp-description p {
    font-size: 24px;
    line-height: 1.3;
    color: #383D43;
    text-align: justify;
}

/* Services Grid */
.vp-services {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 80px;
    margin-bottom: 50px;
}

.vp-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
    flex: 0 0 auto;
    height: 210px;
    width: auto;
}

/* Service Divider */
.service-divider {
    width: 1px;
    height: 210px;
    background-color: #ADADAD;
    align-self: center;
    flex-shrink: 0;
}


/* Service Icons */
.service-icon {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon img {
    width: auto;
    height: 140px;
    object-fit: contain;
}

.default-icon {
    width: auto;
    height: 130px;
    background-color: #ff9800;
    border-radius: 50%;
    position: relative;
}

.default-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 3px;
}

/* Service Names */
.service-name {
    font-size: 40px;
    /* Responsive: 40px to 24px */
    font-weight: bold;
    color: #383D43;
    margin: 0;
    position: relative;
    padding-bottom: 5px;

}

.service-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: red;
    width: 100%;
    display: block;
}

/* Bottom Description */
.vp-bottom-description {
    text-align: center;
    margin-bottom: 100px;
}

.vp-bottom-description p {
    font-size: 24px;
    line-height: 1.3;
    color: #383D43;
    text-align: left;
}

/* Image */

.vp-image {
    max-width: 1000px;
    margin: 0 auto;
}

.vp-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .vp-services {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .vp-services {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .value-proposition-section {
        padding: 60px 0 40px 0;
    }

    .vp-services {
        gap: 20px;
    }

    .vp-header {
        margin-bottom: 30px;
    }

    .vp-title {
        line-height: 1;
        font-size: 40px;
        text-align: left;
    }

    .vp-subtitle {
        margin-left: 0;
        margin-top: 10px;
        text-align: left;
        font-size: 24px;
    }

    .vp-subtitle span {
        margin-left: 80px;
    }

    .vp-description p {
        font-size: 16px;
        text-align: left;
    }

    .vp-services {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .service-divider {
        height: 1px;
        width: 100%;
    }

    .vp-service-item {
        flex-direction: row;
        justify-content: space-evenly;
        height: 140px;
    }

    .service-name {
        font-size: 24px;
    }

    /* MOBILE ONLY: Alternating layout */
    /* Odd Layout: Icon Top, Title Bottom */
    .vp-service-item.vp-layout-odd .service-icon {
        order: 1;
    }

    .vp-service-item.vp-layout-odd .service-content {
        order: 2;
        margin-bottom: 0;
    }

    /* Even Layout: Title Top, Icon Bottom */
    .vp-service-item.vp-layout-even .service-content {
        order: 1;
        margin-bottom: 20px;
    }

    .vp-service-item.vp-layout-even .service-icon {
        order: 2;
        margin-bottom: 0;
    }

    .vp-bottom-description {
        margin-bottom: 60px;

    }

    .vp-image img {
        width: 100vw;
        height: 250px;
    }

    .service-icon img {
        height: 150px;
    }

    .vp-bottom-description p {
        font-size: 16px;
    }

}

@media (max-width: 768px) {
    .vp-services {
        flex-direction: column;
        gap: 20px;
    }

    .vp-service-item {
        min-width: auto;
        width: 100%;
    }
}

/* Ensure proper wrapping when there are more than 5 services */
.vp-services:has(.vp-service-item:nth-child(6)) {
    justify-content: flex-start;
}

.vp-services:has(.vp-service-item:nth-child(6)) .vp-service-item {
    flex: 0 0 calc(20% - 60px);
    min-width: 150px;
}

@media (max-width: 1200px) {
    .vp-services:has(.vp-service-item:nth-child(6)) .vp-service-item {
        flex: 0 0 calc(33.333% - 40px);
    }
}

@media (max-width: 768px) {
    .vp-services:has(.vp-service-item:nth-child(6)) .vp-service-item {
        flex: 0 0 calc(50% - 30px);
    }
}

/* Footer */
.site-footer {
    background-color: #0C1725;
    padding: 50px 0;
    text-align: center;
    color: white;
    font-size: 20px;

}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px 30px 0 30px;
    }

    .main-navigation li {
        margin: 0px;
        border-bottom: solid 1px #8D8D8D;
        width: 100%;
        padding: 30px 0;
        text-align: left;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation li a {
        font-size: 16px;
    }

    .main-navigation li a::first-letter {
        font-size: 22px;
    }

    .site-footer {
        padding: 0 0 30px 0;
    }

    .main-navigation.toggled {
        padding: 0;
    }

    .cta-container.in-header {
        position: static !important;
        padding: 40px 30px 0 30px;
    }

    .nav-menu li .cta-button {
        padding: 15px 20px;
        font-size: 20px;
        margin-top: 10px;
    }

}


/* 404 Page Styles */
.error-404-page {
    text-align: center;
    padding: 100px 0;
}

.error-404 .page-title {
    font-size: calc(1.4rem + 0.8vw);
    /* Responsive: 32px to 28px */
    margin-bottom: 20px;
    color: #333;
}

.error-image {
    margin: 30px 0;
}

.error-code {
    font-size: calc(5rem + 2vw);
    /* Responsive: 120px to 100px */
    font-weight: 700;
    display: block;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404 p {
    font-size: calc(1rem + 0.2vw);
    /* Responsive: 18px */
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404 .search-form {
    max-width: 500px;
    margin: 0 auto 40px;
}

.error-404 .search-field {
    width: 70%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: calc(0.9rem + 0.1vw);
    /* Responsive: 16px */
}

.error-404 .search-submit {
    width: 30%;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: calc(0.9rem + 0.1vw);
    /* Responsive: 16px */
    transition: background-color 0.3s ease;
}

.error-404 .search-submit:hover {
    background-color: #555;
}

.error-help {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.error-help>div {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.error-help h2 {
    font-size: calc(1rem + 0.4vw);
    /* Responsive: 20px */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.error-help ul {
    list-style: none;
}

.error-help ul li {
    margin-bottom: 8px;
}

.error-help ul li a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-help ul li a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.back-home .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-home .button:hover {
    background-color: #2980b9;
}

.serv-bot-img {
    position: absolute;
    width: 470px;
    right: 30px;
    bottom: -480px;
}

/* Responsive Styles for 404 Page */
@media (max-width: 768px) {
    .error-help {
        flex-direction: column;
        gap: 30px;
    }


    .serv-bot-img {
        position: absolute;
        width: 310px;
        right: 0px;
        bottom: -320px;
    }

    .serv-bot-img img {
        height: auto;
        width: 100%;
    }

    img {
        height: auto;
        width: 100%;
    }
}


/* Our services ---------------------------------------------------------------------------*/

.our-services-section {
    background-color: #0C1725;
    color: #ffffff;
    padding: 0 0 140px 0;
    position: relative;
    margin-top: -80px;
    overflow: hidden;
}


.service-top-img img {
    width: 100%;
}

.our-services-section .container {
    max-width: 1060px;
    padding: 0 30px;
    ;
    margin: 0 auto;
    padding-top: 40px;

}

/* Header */
.services-header {
    text-align: center;
}

.services-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.services-description {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 40px 0;
    text-align: justify;
}

/* Services Grid - Vertical Stack */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1060px;
    padding: 0 30px;
    ;
    margin: 0 auto;
    padding: 0;
}

/* Service Cards - Horizontal Layout */
.service-card {
    background: #013050;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 289px;
    border-radius: 10px;
}

.service-card-content {
    padding: 50px 40px 40px 40px;
    height: 100%;
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


/* Left side - Text content */
.service-text-content {
    flex: 1;
    padding-right: 30px;
}

.service-main-title {
    font-size: 50px;
    /* Responsive: 52px */
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.service-kanji-number {
    margin-right: 15px;
    flex-shrink: 0;
    object-fit: contain;
}

.service-subtitle {
    font-size: 30px;
    /* Responsive: 34px */
    color: #FF802B;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Right side - Icon */
.service-icon-wrapper {
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    right: 30px;
}

.service-icon {
    width: 170px !important;
    height: 170px !important;
    object-fit: contain;
    object-position: center;
}

.service-description {
    width: 100%;
    font-size: 24px;
    line-height: 1.4;
    width: 85%;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .services-title {
        font-size: 39px;
        margin-bottom: 30px;
        line-height: 1.1;
    }

    .services-description {
        font-size: 16px;
        text-align: left;
    }

    .service-card-content {
        padding: 30px;
    }

    .service-card {
        height: auto;
    }

    .service-text-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .service-main-title {
        font-size: 28px;
        margin: 0 auto;
        width: 100%;
        text-align: left;
    }

    .service-kanji-number {
        width: 40px;
    }

    .service-subtitle {
        font-size: 24px;
        text-align: left;
        line-height: 1.1;
    }

    .service-description {
        font-size: 16px;
    }

    .service-icon-wrapper {
        margin: 0 auto;
        width: auto;
        height: auto;
        position: relative;
        top: auto;
        right: auto;
    }

    .service-icon-wrapper.pc-only {
        display: none;
    }

    .service-description {
        width: auto;
        text-align: left;
    }

    .service-icon {
        width: 140px !important;
        height: 140px !important;
    }

    .service-card[data-service-number="3"] .service-icon-wrapper {
        padding: 10px 0;
    }

    .our-services-section {
        padding: 0 0 80px 0;

    }

}

/* Why Choose Section Styles */

.why-choose-section {
    background-color: #f8f9fa;
    padding: 100px 0 220px 0;
    position: relative;
    background-image: url('./assets/imgs/whychoosebg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.why-choose-section .container {
    max-width: 1060px;
    padding: 0 30px;
    ;
    margin: 0 auto;

}

/* Header */
.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-title {
    font-size: 60px;
    font-weight: bold;
    color: #C6001D;
    font-family: 'Times New Roman', Times, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: left;
}

/* Reasons List */
.reasons-list {
    margin: 0 auto;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #ADADAD;
    transition: all 0.3s ease;
}

.reason-item:first-child {
    padding-top: 0;
}

.reason-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Reason Icon */
.reason-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 7px;
}

.reason-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

/* Reason Content */
.reason-content {
    flex: 1;
}

.reason-title {
    font-size: 35px;
    font-weight: 700;
    color: #383D43;
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
}

.reason-description {
    font-size: 24px;
    line-height: 1.3;
    color: #383D43;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

/* Responsive Styles */
@media (min-width: 769px) and (max-width: 992px) {
    .why-choose-section {
        padding: 60px 0 210px 0;
        height: auto;
        background-image: url(./assets/imgs/whychoosebg-sp.png);
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .reason-item {
        margin-bottom: 40px;
        padding: 25px 0;
    }

    .brush-lines-sp.sp {
        display: none;
    }

    .brush-lines.pc {
        display: flex;
    }

    .hero-top-dots.sp-only {
        display: none;
    }

    .cta-container {
        position: absolute;
        top: 820px;
        width: 500px;
    }

    .our-services-section {
        margin-top: 0;
    }

}

@media (min-width: 993px) {
    .brush-lines-sp.sp {
        display: none;
    }

    .brush-lines.pc {
        display: flex;
    }
}

@media (max-width: 768px) {

    .why-choose-section {
        padding: 60px 0 210px 0;
        height: auto;
        background-image: url(./assets/imgs/whychoosebg-sp.png);
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .brush-lines-sp.sp {
        display: flex;
    }

    .brush-lines.pc {
        display: none;
    }

    .reason-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0px;
        padding: 20px 0;
    }

    .why-choose-title {
        line-height: 1;
        font-size: 40px;
    }

    .reason-icon {
        display: none;
    }

    .reason-content {
        position: relative;
        margin-left: 35px;
    }

    .reason-content::before {
        content: "";
        position: absolute;
        top: 4px;
        left: -35px;
        width: 25px;
        height: 25px;
        background-image: url('./assets/imgs/check.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 2;

    }

    .reason-title {
        font-size: 24px;
        text-align: left;
    }

    .reason-description {
        font-size: 16px;
        text-align: left;
    }
}

/* Animation on scroll */
.reason-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reason-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Industries We Serve Section Styles--------------------------------------------------------------------- */
.industries-section {
    background-color: #0C1725;
    color: white;
    position: relative;
    padding: 0 0 100px 0;
}

.indust-top-img {
    width: 100%;
}

.indust-top-img img {
    width: 100%;
    object-fit: cover;
    margin-top: -170px;
}

.industries-header {
    text-align: center;
    margin-bottom: 40px;
}

.industries-title {
    font-size: 60px;
    font-weight: bold;
    margin: 80px 0 60px 0;
    text-align: left;
    line-height: 1.1;
}

.industries-description {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 auto;
    text-align: justify;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    gap: 10px;
}

.industry-card {
    background: #EBF2F7;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    color: #192A50;
    height: 175px;
    width: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.industry-icon-wrapper {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.industry-icon {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.industry-no-icon {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
}

.industry-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        justify-content: flex-start;
    }

    .industry-card {
        padding: 20px;
        width: 48%;
        height: auto;
        height: 130px;
        justify-content: start;
    }

    .industries-title {
        margin: 60px 0 30px 0;
    }


    .industries-title {
        font-size: 40px;
    }

    .industry-title {
        font-size: 16px;
    }

    .industries-description {
        font-size: 16px;
        margin-bottom: 40px;
        text-align: left;
    }

    .industry-icon {
        max-width: 35px;
        max-height: 35px;
    }

}

/* Legacy Samurai Philosophy Section Styles--------------------------------------------------------------------- */
.legacy-samurai-section {
    position: relative;
    padding: 100px 0 170px 0;
    overflow: hidden;
}

.samurai-kanji {
    position: absolute;
    top: 290px;
    right: -130px;
}

.samurai-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.legacy-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-top: 100px;
}

.legacy-text-content {
    padding-right: 50px;
}

.legacy-title {
    font-size: 60px;
    /* Responsive: 60px to 32px */
    font-weight: bold;
    color: #C6001D;
    margin-bottom: 60px;
    line-height: 1;
}

.legacy-description {
    font-size: 24px;
    /* Responsive: 24px to 16px */
    line-height: 1.3;
    color: #383D43;
    margin: 0;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .samurai-background {
        width: 45%;
    }

    .legacy-text-content {
        max-width: 550px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {

    .samurai-background {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: 40px;
    }

    .legacy-content {
        min-height: auto;
        margin-top: 60px;
    }

    .legacy-text-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .legacy-title {
        font-size: 40px;
        text-align: left;
        margin-bottom: 30px;
    }

    .legacy-description {
        text-align: left;
    }

    .legacy-samurai-section {
        padding-top: 0;
        overflow-y: visible;
        overflow-x: clip;
        padding: 0px 0 120px 0;

    }

    .legacy-description {
        font-size: 16px;
    }

    .samurai-bg-image {
        margin-top: -60px;
    }

    .samurai-kanji {
        position: absolute;
        top: 335px;
        right: -15px;
    }

    .samurai-kanji img {
        width: 180px;
        height: 190px;
    }
}


/* Contact Us Section Styles  ---------------------------------------------------------------------*/
.contact-section {
    background-color: #0C1725;
    color: white;
    padding: 100px 0 50px 0;
}

.contact-top-img {
    width: 100%;
}

.contact-top-img img {
    width: 100%;
    object-fit: cover;
    margin-top: -170px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-main-title {
    font-size: 60px;
    /* Responsive: 60px to 40px */
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    margin-top: 60px;
}

.contact-subtitle {
    font-size: 30px;
    /* Responsive: 2rem to 1.5rem */
    color: #FF802B;
    font-style: italic;
    margin-bottom: 60px;
    font-family: "Freehand", cursive;
    text-align: left;
}

.contact-description {
    font-size: 24px;
    /* Responsive: 24px to 17.6px */
    margin: 0 auto;
    text-align: left;
}

/* Form Step Styling */
.contact-form-wrapper {
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 15px 10px;
    border: none;
    background-color: #f7fafc;
    color: #2d3748;
    font-size: calc(0.9rem + 0.1vw);
    /* Responsive: 16px */
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    height: 40px;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px #FF802B;
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper input[type="submit"] {
    background: #FF802B;
    color: white;
    border: none;
    font-size: clamp(18px, calc(1.2rem + 0.8vw), 30px);
    /* Responsive: 30px */
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 20px;
    min-width: 200px;
    height: 50px;
    font-family: 'Times New Roman';
}

.contact-form-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    color: #FF802B;
    background: white;
}

.contact-form-wrapper input[type="submit"]:active {
    transform: translateY(0);
    color: #FF802B;
    background: white;
}

.form-submit p,
.form-submit {
    text-align: center;
}

/* Form validation messages */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #f56565;
    font-size: calc(0.8rem + 0.1vw);
    /* Responsive: 0.9rem */
    margin-top: 5px;
}

.contact-form-wrapper .wpcf7-validation-errors {
    background-color: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Confirmation Step Styling */
.confirmation-wrapper {
    margin: 0 auto;
    animation: slideIn 0.5s ease;
}

.confirmation-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-title {
    font-size: calc(1.5rem + 0.5vw);
    /* Responsive: 2rem to 1.5rem */
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.confirmation-data {
    padding: 30px;
    margin-bottom: 30px;
}

.data-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    gap: 15px;
}

.data-row:last-child {
    margin-bottom: 0;
}

.data-row strong {
    min-width: 100px;
    color: #ed8936;
    font-weight: 600;
    font-size: calc(0.9rem + 0.2vw);
    /* Responsive: 1.1rem */
}

.data-row span {
    color: white;
    flex: 1;
    word-break: break-word;
    font-size: calc(0.9rem + 0.2vw);
    /* Responsive: 1.1rem */
    line-height: 1.5;
}

.confirmation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.edit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0px 30px;
    font-size: clamp(18px, calc(1.2rem + 0.8vw), 30px);
    /* Responsive: 30px */
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    height: 50px;
    font-family: "Times New Roman";
}

.edit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.confirm-send-btn {
    background: #FF802B;
    color: white;
    border: none;
    font-size: clamp(18px, calc(1.2rem + 0.8vw), 30px);
    /* Responsive: 30px */
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 250px;
    height: 50px;
    font-family: 'Times New Roman';
}

.confirm-send-btn:hover {
    transform: translateY(-2px);
    color: #FF802B;
    background: white;
}

.confirm-send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Thank You Step Styling */
.thank-you-wrapper {
    margin: 0 auto;
    animation: slideIn 0.5s ease;
}

.thank-you-content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.thank-you-title {
    font-size: calc(2rem + 0.5vw);
    /* Responsive: 2.5rem to 2rem */
    font-weight: bold;
    margin-bottom: 20px;
    color: #22c55e;
}

.thank-you-message {
    font-size: calc(1rem + 0.2vw);
    /* Responsive: 1.2rem */
    line-height: 1.3;
    margin-bottom: 40px;
    color: white;
    opacity: 0.9;
}

.new-message-btn {
    background: #FF802B;
    color: white;
    border: none;
    font-size: clamp(18px, calc(1.2rem + 0.8vw), 30px);
    /* Responsive: 30px */
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 350px;
    height: 50px;
    font-family: 'Times New Roman';
}

.new-message-btn:hover {
    transform: translateY(-2px);
    color: #FF802B;
    background: white;
}

.wpcf7-spinner {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .contact-header {
        margin-bottom: 30px;
    }

    .contact-section {
        padding: 80px 0 70px 0;
    }

    .contact-form-wrapper input[type="text"],
    .contact-form-wrapper input[type="email"],
    .contact-form-wrapper textarea {
        padding: 15px;
    }

    .confirmation-content,
    .thank-you-content {
        padding: 30px 20px;
    }

    .confirmation-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .data-row {
        flex-direction: column;
        gap: 5px;
    }

    .data-row strong {
        min-width: auto;
    }

    .contact-top-img img {
        width: 100%;
        object-fit: contain;
        margin-top: -190px;
    }

    .contact-main-title {
        margin-top: 0;
        font-size: 40px;
    }

    .contact-subtitle {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-form-wrapper .wpcf7-form {
        gap: 10px;
    }

    .contact-form-wrapper input[type="text"],
    .contact-form-wrapper input[type="email"],
    .contact-form-wrapper textarea {
        font-size: 16px;
    }

    .contact-form-wrapper input[type="submit"] {
        margin-top: 10px;
        height: 30px;
        width: 150px;
        font-size: 18px;
        min-width: 150px;
    }

    .site-info {
        font-size: 14px;
        text-align: left;
    }

    .confirmation-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .confirmation-data {
        padding: 20px;
    }

    .confirmation-buttons {
        justify-content: center;
        align-items: center;
    }

    .edit-btn,
    .confirm-send-btn,
    .new-message-btn {
        width: 100%;
        height: 40px;
        font-size: 18px;
        min-width: auto;
    }

    .thank-you-title {
        font-size: 25px;

    }

    .thank-you-message {
        text-align: justify;
    }
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    display: none !important;
}

.contact-form-wrapper .wpcf7-mail-sent-ng {
    display: none !important;
}

/* Show validation errors only */
.contact-form-wrapper .wpcf7-validation-errors {
    background-color: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #c6f6d5;
    color: #22543d;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}


@media (min-width: 769px) and (max-width: 992px) {

    .legacy-samurai-section {
        padding-top: 0;
        margin-top: -115px;
    }

    .industries-section {
        padding: 0 0 160px 0;
    }

    .contact-section {
        padding: 62px 0 50px 0;
    }

    .contact-main-title {
        margin-top: 0px;
    }

    .samurai-kanji {
        top: auto;
    }

}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 375px) {
    .hero-description {
        top: 260px;
    }

    .main-navigation li {
        padding: 25px 0;
    }
}
