@font-face {
    font-family: 'Noto Sans JP';
    src: url('../fonts/Noto_Sans_JP/NotoSansJP-VariableFont_wght.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Serif JP';
    src: url('../fonts/Noto_Serif_JP/NotoSerifJP-VariableFont_wght.woff2') format('woff2');
    font-weight: 600;
    font-style:normal;
}

@font-face {
    font-family: 'Noto Serif JP';
    src: url('../fonts/Noto_Serif_JP/NotoSerifJP-VariableFont_wght.woff2') format('woff2');
    font-weight: 800;
    font-style:normal;
}

/* Common style */

body{
    font-family: 'Noto Sans Jp', sans-serif;
    color: #2E2E2E;
    background-color: #F5F7FA;
    
}

h2,h5{
    font-family:  'Noto Serif Jp', serif;
    font-weight: 800;
}

.content-block{
    padding: 5% 5% 5% 5%;
    height: 100%;
    border-bottom: solid #0761DC
}

.general-header, .general-subheader{
    color: #0761DC ;
    margin-bottom: 1.2rem;
}

p{
    padding: 2rem;
    line-height: 1.8;
}

.header-row{
    margin-bottom: 2rem;
}

.section-intro{
    margin-top: 2rem;
    padding: 0 7rem 0 5rem;
}
/* Overview Section Style */

#overview-section{
    background-image: linear-gradient(to bottom,#1C2D4A,#13468C);
    color:  #F5F7FA;
    height: auto;
}

#overview-section .navbar{
    border-bottom: dotted 0.25pt #F5F7FA;
}

#overview-section .brand-text{
    font-size:medium;
}
#overview-section .flag-icon{
    margin-right: 12px;
}

#overview-section .service-pic{
    margin-bottom: 3rem;
}

#overview-header{
    margin-top: 2rem;
}

#overview-subheader{
    margin-bottom:2.5rem;
}

/* I'm Alex Section */
#hero-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.profile-pic{
    height: auto;
    width: 25%;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 4px solid white;
    box-shadow: 0 8px 32px rgba(7,97,220,0.2);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.msg-customer, .alex-quote1{
    text-align: left;
    padding: 0 36% 0 36%;
    font-size: 1.1rem;
    line-height: 1.7;
}

.alex-quote1 {
    font-style: italic;
    color: #4a5568;
    border-left: 4px solid #0761DC;
    padding-left: calc(36% + 1rem);
    margin-top: 2rem;
}

/* About me Section */
#aboutMe-section {
    background: white;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
    margin-bottom: 2rem;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(7,97,220,0.15);
    border: 2px solid #e3f2fd;
}

.flip-card-front{
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-front {
    box-shadow: 0 12px 40px rgba(7,97,220,0.25);
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0761DC 0%, #13468C 100%);
    color: white;
}

.flip-card-back .card-body{
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-img-top{
    margin-top: 1.5rem;
    height: 45%;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(7,97,220,0.2));
}

.card-title{
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    color: #0761DC;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}

.flip-card-back .card-title {
    color: white;
}

.card-text{
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
    padding: 0 0.5rem;
}

.flip-card-back .card-text {
    color: #f0f8ff;
}

.card-link {
    color: #e3f2fd;
    font-size: 0.85rem;
    text-decoration: underline;
    font-weight: 500;
    text-align: center;
}

.card-link:hover {
    color: white;
}

/* My Process Section */
#workflow{
    justify-content: center;
    margin: 0 10% 0 10%;
}

#workflow-accordion .accordion-item {
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(7,97,220,0.1);
    transition: all 0.3s ease;
    position: relative;
}

#workflow-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(7,97,220,0.2);
    border-color: #0761DC;
}

#workflow-accordion .accordion-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, #0761DC, #13468C);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#workflow-accordion .accordion-item:hover::before {
    opacity: 1;
}

#workflow-accordion .accordion-button {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

#workflow-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #13468C 0%, #1C2D4A 100%) !important;
    color: white;
    box-shadow: none;
}

#workflow-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#workflow-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(7,97,220,0.25);
}

.workflow-step-counter{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 3.5rem;
    background: #0761DC;
    color: white;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

#workflow-accordion .accordion-button:not(.collapsed) .workflow-step-counter {
    background: white;
    color: #0761DC;
    transform: scale(1.1);
}

.workflow-step-title{
    font-size: 1.3rem;
    font-weight: 600;
    color: #2E2E2E;
    transition: color 0.3s ease;
}

#workflow-accordion .accordion-button:not(.collapsed) .workflow-step-title {
    color: #F5F7FA;
}

#workflow-accordion .accordion-body {
    padding: 2rem;
    background: linear-gradient(135deg,#f8fbff 0%, #e3f2fd 100%);
    border-top: 1px solid #e3f2fd;
    font-size: 1.05rem;
    line-height: 1.6;
    color:  #2E2E2E;
}

#workflow-accordion .accordion-item:nth-child(odd) .accordion-button {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

#workflow-accordion .accordion-item:nth-child(even) .accordion-button {
    background: linear-gradient(135deg, #f8fbff 0%, #eef7ff 100%);
}

@media (max-width: 768px) {
    .workflow-step-counter {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        margin-right: 1rem;
    }
    
    .workflow-step-title {
        font-size: 1.1rem;
    }
    
    #workflow-accordion .accordion-button {
        padding: 1rem 1.5rem;
    }
}

/* Contact Me Section */
#contactMe-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(7,97,220,0.15);
    border: 1px solid #e3f2fd;
}

.contact-form .form-label {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    font-family: 'Noto Sans JP', sans-serif;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #0761DC;
    box-shadow: 0 0 0 0.25rem rgba(7,97,220,0.25);
    background-color: white;
}

.contact-form .form-check-label {
    font-family: 'Noto Sans JP', sans-serif;
    color: #4a5568;
}

.contact-form .form-check-input:checked {
    background-color: #0761DC;
    border-color: #0761DC;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #0761DC 0%, #13468C 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 2.5rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7,97,220,0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7,97,220,0.4);
    background: linear-gradient(135deg, #13468C 0%, #0761DC 100%);
}

/* Why Work With Me Section */
#whyWithMe-section {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
}

#whyWithMe-flipCards .flip-card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

#whyWithMe-flipCards .flip-card-back {
    background: linear-gradient(135deg, #13468C 0%, #1C2D4A 100%);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-form .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .msg-customer, .alex-quote1 {
        padding: 0 15% 0 15%;
    }
    
    .alex-quote1 {
        padding-left: calc(15% + 1rem);
    }
    
    .profile-pic {
        width: 40%;
    }
    
    .flip-card {
        height: 280px;
        margin-bottom: 1.5rem;
    }
}

/* Experience Page Styles */
.page-header {
    color: #0761DC;
    font-family: 'Noto Serif JP', serif;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.page-intro {
    color: #70849F;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0761DC, #13468C);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(7,97,220,0.15);
    border-left: 4px solid #0761DC;
    position: relative;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 12px 40px rgba(7,97,220,0.25);
    transform: translateY(-2px);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid #0761DC;
}

.timeline-marker {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #0761DC;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(7,97,220,0.3);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -50px;
}

.company-name {
    color: #0761DC;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.position-title {
    color: #2E2E2E;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
}

.duration {
    color: #70849F;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.location {
    color: #13468C;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.achievements {
    list-style: none;
    padding: 0;
}

.achievements li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #4a5568;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #0761DC;
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-calendar::before {
    content: '📅';
}

.icon-project::before {
    content: '📊';
}

.icon-award::before {
    content: '🏆';
}

.icon-location::before {
    content: '📍';
    margin-right: 5px;
}

.icon-date::before {
    content: '📅';
    margin-right: 5px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-content {
        border-left: 4px solid #0761DC !important;
        border-right: none !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
}

/* Skills & Strengths Page Styles */
#technical-skill-section,
#communication-skill-section,
#language-skill-section,
#business-skill-section {
    background: white;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

#technical-skill-section:nth-child(odd),
#communication-skill-section:nth-child(odd),
#language-skill-section:nth-child(odd),
#business-skill-section:nth-child(odd) {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.skill-key {
    margin: 2rem 0;
}

.skill-key .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(7,97,220,0.1);
    border: 2px solid #e3f2fd;
}

.skill-key .table caption {
    color: #0761DC;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.skill-key .table thead th {
    background: linear-gradient(135deg, #0761DC 0%, #13468C 100%);
    color: white;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    border: none;
}

.skill-key .table tbody td {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2E2E2E;
    padding: 1rem;
    border-color: #e3f2fd;
}

.skill-table .table,
#language-skill-section .table,
#business-skill-section .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(7,97,220,0.1);
    border: 2px solid #e3f2fd;
    margin: 2rem 0;
}

.skill-table .table thead th,
#language-skill-section .table thead th,
#business-skill-section .table thead th {
    background: linear-gradient(135deg, #13468C 0%, #1C2D4A 100%);
    color: white;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.skill-table .table tbody td,
#language-skill-section .table tbody td,
#business-skill-section .table tbody td {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2E2E2E;
    padding: 1rem;
    border-color: #e3f2fd;
    line-height: 1.5;
}

.alex-quote {
    font-style: italic;
    color: #70849F;
    font-family: 'Noto Sans JP', sans-serif;
    border-left: 4px solid #0761DC;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #technical-skill-section:nth-child(odd),
    #communication-skill-section:nth-child(odd),
    #language-skill-section:nth-child(odd),
    #business-skill-section:nth-child(odd) {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .skill-key .table,
    .skill-table .table,
    #language-skill-section .table,
    #business-skill-section .table {
        font-size: 0.9rem;
    }
    
    .skill-key .table thead th,
    .skill-table .table thead th,
    #language-skill-section .table thead th,
    #business-skill-section .table thead th {
        padding: 0.75rem 0.5rem;
    }
    
    .skill-key .table tbody td,
    .skill-table .table tbody td,
    #language-skill-section .table tbody td,
    #business-skill-section .table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* Projects Page Styles */
#pastProjectsAccordion .accordion-item {
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(7,97,220,0.1);
    transition: all 0.3s ease;
}

#pastProjectsAccordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(7,97,220,0.2);
    border-color: #0761DC;
}

#pastProjectsAccordion .accordion-button {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border: none;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

#pastProjectsAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #13468C 0%, #1C2D4A 100%) !important;
    color: white;
    box-shadow: none;
}

#pastProjectsAccordion .accordion-button:not(.collapsed) h5 {
    color: #F5F7FA;
}

#pastProjectsAccordion .accordion-button:not(.collapsed) .badge {
    background-color: rgba(255,255,255,0.2) !important;
    color: white !important;
}

#pastProjectsAccordion .accordion-button:not(.collapsed) p {
    color: #e3f2fd !important;
}

#pastProjectsAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#pastProjectsAccordion .accordion-body {
    padding: 2rem;
    background: linear-gradient(135deg, #0761DC 0%, #13468C 100%);
    color: #f0f8ff;
    border-top: 1px solid #e3f2fd;
}

#pastProjectsAccordion .accordion-body h6 {
    color: #F5F7FA;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    border-bottom-color: rgba(255,255,255,0.3) !important;
}

#pastProjectsAccordion h5 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #2E2E2E;
}

#pastProjectsAccordion .badge {
    font-family: 'Noto Sans JP', sans-serif;
}

#pastProjectsAccordion p {
    font-family: 'Noto Sans JP', sans-serif;
    color: #4a5568;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #pastProjectsAccordion .accordion-button {
        padding: 1rem;
    }
    
    #pastProjectsAccordion .accordion-body {
        padding: 1.5rem 1rem;
    }
}

/* Tools Page Styles */
#tool-list-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    padding: 0.5rem 2rem 3rem 2rem;
    border-radius: 15px;
    margin: 0 0 2rem 0;
}

#tool-list-section .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(7,97,220,0.1);
    border: 2px solid #e3f2fd;
    margin: 2rem 0;
}

#tool-list-section .table thead th {
    background: linear-gradient(135deg, #13468C 0%, #1C2D4A 100%);
    color: white;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    border: none;
    padding: 1rem;
    text-align: center;
}

#tool-list-section .table tbody td {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2E2E2E;
    padding: 1rem;
    border-color: #e3f2fd;
    line-height: 1.5;
    vertical-align: middle;
}

/* Category column styling */
#tool-list-section .table tbody td[rowspan] {
    font-weight: 600;
    color: #0761DC;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

/* Subcategory column styling - target by content pattern */
#tool-list-section .table tbody tr td:nth-of-type(1):not([rowspan]),
#tool-list-section .table tbody tr td:nth-of-type(2):not(:nth-last-child(2)) {
    font-weight: 500;
    color: #13468C;
}

/* Tools column styling */
#tool-list-section .table tbody tr td:nth-child(3),
#tool-list-section .table tbody tr td:nth-child(2):nth-last-child(2) {
    font-weight: 500;
    color: #2E2E2E;
}

/* Purpose column styling */
#tool-list-section .table tbody tr td:last-child {
    color: #4a5568;
}

@media (max-width: 768px) {
    #tool-list-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    #tool-list-section .table {
        font-size: 0.9rem;
    }
    
    #tool-list-section .table thead th {
        padding: 0.75rem 0.5rem;
    }
    
    #tool-list-section .table tbody td {
        padding: 0.75rem 0.5rem;
    }
}
