/* Core imports */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://unpkg.com/swiper/swiper-bundle.min.css');
/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes growBar {
  from { width: 0; }
  to { width: var(--width); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #4ECDC4 }
}
/* Variables */
:root {
  --header-height: 3rem;
  --hue-color: 250;
  
  /* Updated Color Scheme */
  --body-color: #1a1a1a;
  --first-color: #ff6b3d;
  --first-color-alt: #ff8661;
  --title-color: #ffffff;
  --text-color: #e0e0e0;
  --container-color: #2a2a2a;
  --accent-color: #ff6b3d;
  --first-color-second: #2a2a2a;
  --first-color-lighter: #3a3a3a;
  --text-color-light: #b0b0b0;
  --input-color: #2a2a2a;

  --scroll-bar-color: #eaeaea;
  --scroll-thumb-color: var(--primary-color);
  
  /* Gradients and Effects */
  --gradient-primary: linear-gradient(135deg, #4A90E2, #50E3C2);
  --gradient-dark: linear-gradient(135deg, #2C3E50, #34495E);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Make all text white by default */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #ffffff;
}
.home__subtitle1 {
  display: inline-block;
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #000000;
}

.home__subtitle1 p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #000;
}

.home__subtitle1 .lang-en,
.home__subtitle1 .lang-jp {
  color: #000000;
  animation: typing 3.5s steps(30, end),
         blink-caret .75s step-end infinite;
}

/* Ensure the text remains black even with other styles */
.home__container .home__content .home__subtitle1,
.home__subtitle1 * {
  color: #000000 !important;
}

/* Ensure all text elements are white */
h1, h2, h3, h4, h5, h6,  span, a, label, input, textarea {
  color: #ffffff !important;
}
.home__subtitle1 {
  display: inline-block;
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #8675A9);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #4ECDC4;
  animation: 
    gradient 8s ease infinite,
    typing 3.5s steps(30, end),
    blink-caret .75s step-end infinite;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

/* Add hover effect */
.home__subtitle1:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}
/* Make specific text elements white */
.nav__logo,
.nav__link,
.home__title,
.home__subtitle,
.home__description,
.section__title,
.section__subtitle,
.skills__title,
.skills__subtitle,
.skills__name,
.skills__number,
.qualification__title,
.qualification__subtitle,
.portfolio__title,
.portfolio__description,
.contact__title,
.contact__subtitle,
.contact__label,
.footer__title,
.footer__copy {
  color: #ffffff ;
}

/* Ensure social icons are white */
.home__social-icon,
.footer__social {
  color: #ffffff ;
}

/* Make form inputs text white */
.contact__input {
  color: #ffffff ;
}

/* Make buttons text white */
.button {
  color: #ffffff ;
}

/* Make qualification calendar text white */
.qualification__calendar {
  color: #ffffff ;
}

/* Make nav menu icons white */
.nav__icon,
.nav__close,
.nav__toggle {
  color: #ffffff ;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: #fff;
}

.home__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.home__content {
  text-align: left;
}

.home__title {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1rem;
}

.home__subtitle {
  display: inline-block;
  position: relative;
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #000;
  animation: typing 3.5s steps(40, end),
         blink-caret .75s step-end infinite;
}

.home__subtitle .lang-en,
.home__subtitle .lang-jp {
  color: #000000;
}


/* Style for description text */
.home__description,
.home__description.lang-en,
.home__description.lang-jp {
  color: #000000 ;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}


@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #000 }
}

@keyframes colorChange {
  0% { color: #FF6B6B }
  50% { color: #4ECDC4 }
  100% { color: #FF6B6B }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes colorChange {
  0% { color: #FF6B6B }
  50% { color: #4ECDC4 }
  100% { color: #FF6B6B }
}

.home__button {
  display: inline-flex;
  align-items: center;
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.home__button:hover {
  background-color: #0056b3;
}

.home__img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__blob {
  width: 250px;
  height: 250px;
}

.home__blob-img {
  border-radius: 20px;
}

.about__buttons lang-en{
  color: #060202;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home__container {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .home__img {
      margin-top: 2rem;
  }
}
.about__container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__photo {
  width: 100%;
  max-width: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about__img {
  width: 100%;
  max-width: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

/*========== Button Dark/Light ==========*/
.nav__btns {
  display: flex;
  align-items: center;
}

.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
}

.change-theme:hover {
  color: var(--first-color);
}

/*==================== BASE ====================*/

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  margin-left: 250px;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}


h1,
h2,
h3,
h4 {
  color: white;
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
  padding: 2rem 0 4rem;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(var(--first-color), 0.05),
    rgba(var(--first-color-lighter), 0.05)
  );
  z-index: -1;
}

.section__title {
  font-size: var(--h1-font-size);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-2);
}

.section__title,
.section__subtitle {
  text-align: center;
}

/*==================== LAYOUT ====================*/

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  padding-top: var(--header-height);
}

/* Header and Navigation styles */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: 1200px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  margin: 0 auto;
}


.nav__logo {
  color: #000000;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  text-decoration: none;
}

/* Ensure both language versions of logo have same color */
.nav__logo .lang-jp,
.nav__logo .lang-en {
  color: #000000;
}

.nav__logo:hover {
  color: #333333;
}
.nav__menu {
  margin-left: auto;
  margin-right: 2rem;
}


/* Navigation menu */
.nav__list {
  display: flex;
  gap: 2.5rem;
  margin-right: 2rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: #4a90e2;
}

/* Active link indicator */
.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--first-color-lighter);
}



/* Language Toggle Buttons */
.nav__btns {
  display: flex;
}
/* Language Toggle Buttons */
.nav__btns {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: linear-gradient(45deg, #3498db, #8e44ad); /* Gradient background */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 30px; /* Rounded buttons */
    font-size: 16px;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease-in-out; /* Smooth transition */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.lang-btn:hover {
    transform: scale(1.1); /* Button expands on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
    background: linear-gradient(45deg, #8e44ad, #3498db); /* Reverse the gradient */
}

.lang-btn:focus {
    outline: none;
}

.lang-btn span {
    margin-left: 10px;
}

.lang-btn .icon {
    font-size: 20px;
    margin-right: 8px; /* Space between icon and text */
}

/* Optional icon for language toggle (using FontAwesome or similar icon library) */
.lang-btn.japanese {
    background: #00b894; /* Green for Japanese */
}

.lang-btn.english {
    background: #fdcb6e; /* Yellow for English */
}

.lang-btn {
  background-color: #3498db;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lang-btn:hover {
  background-color: #2980b9;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .nav__menu {
      display: none;
  }

  .nav__btns {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
  }

  .nav__logo {
      font-size: 20px;
  }
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header a {
  color: #ffffff;
  text-decoration: none;
}

.header.scroll {
  background-color: rgb(151, 0, 0); /* Change this to your desired background color */
  
}
/*==================== NAV ====================*/
.nav {
  max-width: 1200px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  margin: 0 auto;
}

.nav__logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav__logo:hover {
  color: #4a90e2;
}

.nav__list {
  display: flex;
  gap: 2.5rem;
  margin-right: 2rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: #4a90e2;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: .3s;
  }

  .nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-right: 0;
  }

  .nav__link {
    flex-direction: column;
    color: var(--title-color);
  }

  .nav__icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

.nav__list {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.2rem;
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--first-color);
}

.nav__close:hover {
  color: var(--first-color-alt);
}

/* show menu */
.show-menu {
  bottom: 0;
}

/* Active link */
.active-link {
  color: var(--first-color-lighter);
}

.active-link .nav__icon {
  color: var(--first-color-lighter);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}

/*==================== HOME ====================*/
/*==================== HOME ====================*/
.home__container {
  gap: 3rem;
  padding-top: 2rem;
}

.home__c ontent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.home__data {
  order: 1;
}

.home__img {
  order: 2;
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.home__blob {
  width: 100%;
  height: auto;
  fill: var(--first-color);
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.15));
}

.home__blob-img {
  width: 65%;
  height: auto;
  transform: scale(1.1);
  transition: transform 0.4s ease;
}

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--first-color), var(--first-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1s ease-out;
  line-height: 1.4;
}

.home__subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 3s ease-out 0.3s backwards;
  
}

/* Add decorative elements */
.home__data::before,
.home__data::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.5;
  border: 3px solid var(--first-color);
}

.home__data::before {
  top: -20px;
  left: -20px;
  border-top: none;
  border-left: none;
}

.home__data::after {
  bottom: -20px;
  right: -20px;
  border-bottom: none;
  border-right: none;
}

/* Add floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.home__img {
  animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .home__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home__data {
    order: 2;
  }

  .home__img {
    order: 1;
    width: 70%;
  }

  .home__title {
    font-size: 1.8rem;
    text-align: center;
  }

  .home__subtitle {
    font-size: 1.2rem;
  }
}


/*==================== BUTTONS ====================*/

.button {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  color: white;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.button__icon {
  font-size: 1.2rem;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
}

.button--white {
  background-color: #fff;
  color: var(--first-color);
}

.button--white:hover {
  background-color: #fff;
}

.button--flex {
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}

.button--small {
  padding: 0.75rem 1rem;
}

.button--link {
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

.button--link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}
/*---CV----*/

  .CV {
    display: flex;
}

.about__buttons {
    margin-right: 10px; /* Adjust spacing between buttons */
}



.button--flex {
    display: flex;
    align-items: center;
}

/*==================== ABOUT ====================*/
.about__container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about__img-wrapper {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 10px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about__img-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--first-color);
  border-radius: 25px;
  z-index: -1;
}

.about__img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.about__img:hover {
  transform: scale(1.02);
}

.about__data {
  text-align: left;
}

.about__description {
  text-align: left;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  color: var(--text-color);
}

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

.about__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-align: center;
}

.about__info-name {
  font-size: var(--smaller-font-size);
  text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__img-wrapper {
    max-width: 300px;
  }

  .about__data {
    text-align: center;
  }

  .about__description {
    text-align: center;
  }
}

/*==================== SKILLS ====================*/

.skills__container {
  row-gap: 0;
}

.skills__content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 2px 4px rgba(244, 239, 239, 0.15);
}

.skills__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-2);
    cursor: pointer;
    background-color: #000000;
    padding: 1rem;
    border-radius: 0.75rem;
}

.skills__icon,
.skills__arrow {
  font-size: 2rem;
  color: var(--first-color);
}

.skills__icon {
  margin-right: var(--mb-0-75);
}

.skills__title {
  font-size: var(--h3-font-size);
}

.skills__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}


.skills__list {
    background-color: #000000;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skills__data {
    background-color: #000000;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.skills__data:hover {
    transform: translateX(0.25rem);
    background-color: #f1f3f5;
}

.skills__titles {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
}

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.skills__bar,
.skills__percentage {
  height: 5px;
  border-radius: 0.25rem;
}

.skills__bar {
    background-color: #efe9e9;
}

.skills__percentage {
    background-color: var(--first-color);
}

.skills__html {
  width: 90%;
}

.skills__css {
  width: 80%;
}

.skills__js {
  width: 60%;
}

.skills__wordpress {
  width: 60%;
}

.skills__react{
  width: 40%;
}
.skills__gas{
  width: 60%;
}

.skills__open .skills__list {
  height: max-content;
  margin-bottom: var(--mb-2-5);
}

.skills__open .skills__arrow {
  transform: rotate(-180deg);
}

/*==================== QUALIFICATION ====================*/
.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification__button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.qualification__button:hover {
  color: var(--first-color);
}

.qualification__icon {
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  /* margin-bottom: var(--mb-1) */
}

.qualification__rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

.qualification__content[data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
}

.qualification__button.qualification__active {
  color: var(--first-color);
}

/* Work experience section styles */
.qualification__description {
    font-size: var(--smaller-font-size);
    color: var(--text-color);
    margin-top: var(--mb-0-75);
    line-height: 1.6;
}

.qualification__content[data-content="work"] .qualification__data {
    margin-bottom: var(--mb-2);
}

.qualification__content[data-content="work"] .qualification__title {
    margin-bottom: var(--mb-0-5);
}

/* Ensure proper spacing for description lists */
.qualification__description br {
    margin-bottom: 0.5rem;
}

/*==================== SERVICES ====================*/
.services__container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.services__content {
  position: relative;
  background-color: var(--container-color);
  padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.services__content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.services__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var (--font-medium);
}

.services__button {
  cursor: pointer;
  font-size: var(--small-font-size);
}

.services__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.services__modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.services__modal-services {
  row-gap: 1rem;
}

.services__modal-service {
  display: flex;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.services__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

.services__modal-icon {
  color: var(--first-color);
  margin-right: var(--mb-0-25);
}

/* Active Modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*==================== PROJECT IN MIND ====================*/
.project {
  text-align: center;
}

.project__bg {
  background-color: var(--first-color-second);
  padding-top: 3rem;
}

.project__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}

.project__description {
  margin-bottom: var(--mb-1-5);
}

.project__title,
.project__description {
  color: #0f0808;
}

.project__img {
  width: 232px;
  justify-self: center;
}

/*==================== TESTIMONIAL ====================*/
.testimonial__data,
.testimonial__header {
  display: flex;
}

.testimonial__data {
  justify-content: space-between;
  margin-bottom: var(--mb-1);
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--mb-0-75);
}

.testimonial__name {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.testimonial__client {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.testimonial__description {
  margin-bottom: var(--mb-2-5);
}

.testimonial__icon-star {
  color: var(--first-color);
}

.swiper-container .swiper-pagination-testimonial {
  bottom: 0;
}

/*==================== CONTACT ME ====================*/
.contact__container {
  row-gap: 3rem;
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.content__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__content {
  background-color: var(--input-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
}

.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
}

/*==================== FOOTER ====================*/
/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ecf0f1;
  padding: 2.5rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer__bg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer__title {
  font-size: 2rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 1rem;
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer__social {
  color: #ecf0f1;
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer__social:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Specific social media hover colors */
.footer__social:hover .fa-linkedin-in {
  color: #0077b5;
}

.footer__social:hover .fa-github {
  color: #333;
}

.footer__social:hover .fa-facebook-f {
  color: #1877f2;
}

.footer__social:hover .fa-instagram {
  color: #e4405f;
}

.footer__copy {
  font-size: 0.875rem;
  opacity: 0.8;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .footer__socials {
    gap: 1rem;
  }
  
  .footer__social {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}




/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: 0.8;
  padding: 0 0.3rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/* Media Queries */
.nav__btns {
  display: flex;
  gap: 1rem;
}

.lang-btn {
  background: linear-gradient(45deg, #4a90e2, #5cb3ff);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
  background: linear-gradient(45deg, #5cb3ff, #4a90e2);
}

.lang-btn.active {
  background: linear-gradient(45deg, #34495e, #2c3e50);
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .nav {
    padding: 0 1rem;
  }

  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }

  .nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-right: 0;
  }

  .nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .nav__btns {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    flex-direction: column;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    column-gap: 2rem;
  }

  .nav__toggle {
    display: none;
  }

  .nav__btns {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .portfolio__container {
    grid-template-columns: repeat(3, 1fr);
  }
}





/*LANGUAGE*/
nav ul li a, #lang-toggle {
  color: #fff;
  text-decoration: none;
}

#lang-toggle {
  background: none;
  border: none;
  color: #ff0000;
  cursor: pointer;
  font-size: 1rem;
}

/* Make Japanese text black */
.lang-jp {
  color: #000000;
}

/* Ensure Japanese text in home description is also black */
.home__description .lang-jp {
  color: #000000;
}

/* Make English text black */
.lang-en {
  color: #000000;
}

/* Ensure English text in home description is also black */
.home__description .lang-en {
  color: #000000;
}

/* Portfolio styles */
.portfolio__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 1000px;
}

.portfolio__content {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.portfolio__content:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.portfolio__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio__data {
  padding: 1.5rem;
  background: #ffffff;
}

.portfolio__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--title-color);
}

.portfolio__description {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.portfolio__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--first-color);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio__button:hover {
  background: var(--first-color-alt);
  transform: translateX(5px);
}

.button__icon {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .portfolio__content {
    max-width: 400px;
    margin: 0 auto;
  }
}




