/* https://coolors.co/00cae5 */
body {
  display: block;
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  background-color: #060606;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

.content {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
}

/* ===== LEFT PANEL ===== */
.panel-left {
  width: 33.33%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: calc(100vh - 60px);
  z-index: 1;
  margin: 0 30px;
  top: 30px;
  box-shadow: 0 0 0 30px #00CAE5;
}

/* Home page specific image */
body:not([class]) .panel-left {
  background-image: url(images/image.png);
  background-position: top;
  -moz-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

/* Specific background images for content pages */
.page-corporate .panel-left {
  background-image: url(images/corporate.jpg);
}

.page-sports .panel-left {
  background-image: url(images/sports.jpg);
}

.page-family .panel-left {
  background-image: url(images/family.png);
}

.page-projects .panel-left {
  background-image: url(images/projects.jpg);
}

/* ===== CENTER PANEL ===== */
.panel-center {
  font-size: 22px;
  font-weight: 400;
  width: 66.666667%;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  overflow-y: auto;
  height: 100vh;
  box-sizing: border-box;
}

.panel-center__content {
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

.panel-center__content h6 {
  color: #eee;
  font-size: 22px;
  font-weight: 400;
  display: block;
  margin: 0;
  margin-bottom: 10px;
}

.panel-center__content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 45px;
  line-height: 45px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #00CAE5;
}

.panel-center__content h1 span {
  color: #fff;
}

.panel-center__content p {
  font-size: 16px;
  line-height: 32px;
}

.panel-center__content p a {
  color: #ff0;
  text-decoration: none;
}

.panel-center__content p a:hover {
  text-decoration: underline;
}

.panel-center__mobile-picture {
  display: none;
}

/* ===== CONTENT PAGE SECTIONS ===== */
.title-section {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 20px;
}

.title-section h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #00CAE5;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}

.title-section h1 i {
  font-size: 38px;
  margin-right: 15px;
  vertical-align: middle;
  position: relative;
  top: -7px;
}

.title-section .subtitle {
  color: #aaa;
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

.intro-section {
  text-align: center;
  margin-bottom: 50px;
}

.intro-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
}

.content-section {
  font-size: 16px;
  margin-bottom: 60px;
}

.content-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #2b2a2a;
}

.content-section h2 i {
  color: #00CAE5;
  margin-right: 10px;
  font-size: 26px;
  vertical-align: middle;
  position: relative;
  top: -5px;
}

.content-section p {
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 20px;
}

/* Mobile picture styling */
.page-mobile-picture {
  display: none;
}

/* ===== SECTION BUTTONS (HOME PAGE) ===== */
.section-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.section-button {
  background: #2b2a2a;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.section-button:hover {
  border-color: #00CAE5;
  box-shadow: 0 0 15px rgba(0, 202, 229, 0.4);
}

.section-button i {
  font-size: 36px;
  color: #00CAE5;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.section-button:hover h3 {
  color: #00CAE5;
}

.section-button h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-family: 'Poppins', sans-serif;
}

.section-button p {
  color: #aaa;
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.section-button:hover p {
  color: #00CAE5;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2b2a2a;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00CAE5;
  border: 3px solid #060606;
}

.timeline-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}

.timeline-content h3 .company-logo {
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
}

.bg-white {
  background-color: #ffffff;
}

.timeline-date {
  display: inline-block;
  color: #00CAE5;
  font-size: 14px;
  font-weight: 600;
}

.timeline-content p {
  color: #ddd;
  line-height: 1.7;
}

.timeline-highlights {
  list-style: none;
  font-size: 15px;
  padding: 0;
  margin: 15px 0 0 0;
}

.timeline-highlights li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #bbb;
  line-height: 1.6;
}

.timeline-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00CAE5;
  font-weight: bold;
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.skill-category h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  display: inline-block;
  background: #2b2a2a;
  color: #ddd;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.skill-tag:hover {
  background: #00CAE5;
  color: #fff;
  border-color: #00CAE5;
}

/* ===== EDUCATION ===== */
.education-item {
  background: #2b2a2a;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #00CAE5;
}

.education-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px 0;
}

.education-degree {
  display: block;
  color: #ddd;
  font-size: 16px;
  margin-bottom: 5px;
}

.education-date {
  display: block;
  color: #00CAE5;
  font-size: 14px;
  font-weight: 600;
}

/* ===== DOWNLOAD BUTTON ===== */
.download-button {
  display: inline-block;
  background: #00CAE5;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.download-button:hover {
  background: #00b8d4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 202, 229, 0.3);
}

.download-button i {
  margin-right: 8px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: #2b2a2a;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  border-color: #00CAE5;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 202, 229, 0.2);
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
}

.card p {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 15px;
}

.card a,
.timeline-content a {
  color: #00CAE5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card a:hover,
.timeline-content a:hover {
  color: #00b8d4;
  text-decoration: underline;
}

.card-title {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.card-title img {
  width: 32px;
  height: 32px;
  border-radius: 16px;
}

.card-title h3 {
  display: inline-block;
  margin-left: 5px;
}

/* ===== INFO BOXES ===== */
.info-box {
  background: #2b2a2a;
  border-left: 4px solid #00CAE5;
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 5px;
}

.info-box p {
  margin: 0;
  color: #ddd;
}

.info-box a {
  color: #00CAE5;
  text-decoration: none;
  font-weight: 600;
}

.info-box a:hover {
  text-decoration: underline;
}

/* ===== RIGHT PANEL (NAVIGATION) ===== */
.panel-right {
  display: flex;
  flex-direction: column;
  margin-right: 30px;
}


.panel-right .nav-item {
  width: 50px;
  height: 50px;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  margin: 20px 0;
  border-radius: 50%;
  background: #2b2a2a;
  z-index: 1001;
}

.panel-right .nav-item i {
  color: #ddd;
  font-size: 19px;
  transition: .3s;
  position: relative;
  z-index: 1001;
}

.panel-right .nav-item img {
  height: 25px;
  width: 25px;
  position: absolute;
  pointer-events: none;
  left: 12px;
  border-radius: 12px;
  z-index: 1001;
}

.panel-right .nav-item a,
.panel-right .nav-item div {
  display: block;
  padding: 0;
  width: 50px;
  height: 50px;
}

.panel-right .nav-item h2 {
  z-index: -1;
  position: absolute;
  top: -2px;
  right: -2px;
  opacity: 0;
  color: #fff;
  line-height: 50px;
  font-weight: 500;
  border-radius: 25px;
  text-transform: uppercase;
  margin: 0;
  padding: 0 50px 0 25px;
  height: 50px;
  background-color: #2b2a2a;
  border: 2px solid transparent;
  transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.panel-right .nav-item a:hover h2,
.panel-right .nav-item div:hover h2 {
  opacity: 1;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  z-index: 1000;
  border-color: #00cae5;
  box-shadow: 0 0 15px rgba(0, 202, 229, 0.4);
}

.panel-right .icon-menu i {
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  text-align: center;
  top: 6px;
}

.panel-right .icon-menu i.bi {
  position: absolute;
  pointer-events: none;
}

.panel-right .nav-item--flag img.flag-icon {
  height: 20px;
  width: 30px;
  left: 10px;
  top: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* ===== MOBILE NAVIGATION ===== */
@media (min-width: 1001px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile__menu-toggle {
  display: inline-block;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 3;
  user-select: none;
  padding: 19px 0 0 16px;
  width: 54px;
  height: 54px;
  border-radius: 5px;
  background: #252525;
  box-sizing: border-box;
}

.nav-mobile__menu-toggle input {
  display: flex;
  width: 54px;
  height: 54px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.nav-mobile__menu-toggle > span {
  display: flex;
  width: 23px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

.nav-mobile__menu-toggle input:checked ~ span {
  transform: rotate(45deg) translate(4px, 0);
}

.nav-mobile__menu-toggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(2px, 0px);
}

.nav-mobile__menu-toggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.nav-mobile__menu-toggle input:checked ~ ul {
  transform: translate(100%, 0);
}

.nav-mobile__menu {
  position: fixed;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding-top: 60px;
  background-color: #252525;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0 0;
  transform: translate(0, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  padding-left: 0;
  list-style: none;
}

.nav-mobile__menu li {
  position: relative;
  padding-left: 30px;
}

.nav-mobile__menu li a {
  color: #fff;
  text-transform: uppercase;
  line-height: 18px;
  font-size: 18px;
  display: block;
  text-decoration: none;
  padding: 14px 0;
  position: relative;
}

.nav-mobile__menu li.active a {
  color: #00cae5;
}

.nav-mobile__menu li a i {
  display: inline-block;
  height: 26px;
}

.nav-mobile__menu li a i::before {
  vertical-align: text-top;
}

.nav-mobile__menu li a span {
  position: absolute;
  left: 50px;
  font-weight: 400;
}

.nav-mobile__menu li.active a span {
  font-weight: 600;
}

.nav-mobile__menu li:after {
  position: absolute;
  content: '';
  height: 1px;
  width: calc(100% - 60px);
  background: #333;
  left: 30px;
}

.nav-mobile__menu li img {
  height: 18px;
  width: 18px;
  pointer-events: none;
}

.nav-mobile__menu li img.flag-icon-mobile {
  height: 14px;
  width: 21px;
  border-radius: 2px;
  object-fit: cover;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
  body {
    padding: 30px;
  }

  .panel-left,
  .panel-right {
    display: none;
  }

  .content {
    align-items: start;
    width: 100%;
    height: 100%;
  }

  .panel-center {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .panel-center__content h1 {
    margin: 0;
    font-size: 40px;
    line-height: 40px;
  }

  .panel-center__content h6 {
    margin: 0;
  }

  .panel-center__mobile-picture {
    display: block;
    border-radius: 50%;
    width: 270px;
    height: 270px;
    border: 4px solid #00cae5;
    margin: 0 auto 25px;
  }

  .page-mobile-picture {
    display: block;
    border-radius: 50%;
    width: 270px;
    height: 270px;
    border: 4px solid #00cae5;
    margin: 25px auto;
    object-fit: cover;
  }

  .title-section h1 {
    font-size: 32px;
  }

  .title-section h1 i {
    font-size: 28px;
    display: block;
    margin: 0 0 10px 0;
  }

  .title-section .subtitle {
    font-size: 16px;
  }

  .content-section h2 {
    font-size: 24px;
  }

  .timeline {
    padding-left: 25px;
  }

  .timeline-marker {
    left: -31px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-buttons {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .section-button {
    padding: 20px 15px;
    min-height: 120px;
  }

  .section-button i {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .section-button h3 {
    font-size: 16px;
  }

  .section-button p {
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  .panel-center__content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: max(100vh - 60px, 550px);
  }

  .panel-center__content h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .panel-center__content h6 {
    font-size: 18px;
    line-height: 24px;
  }

  .panel-center__content p {
    font-size: 14px;
    line-height: 22px;
  }

  .panel-center__mobile-picture {
    width: 170px;
    height: 170px;
    border: 3px solid #00cae5;
  }

  .page-mobile-picture {
    width: 170px;
    height: 170px;
    border: 3px solid #00cae5;
  }

  .title-section {
    margin-bottom: 30px;
  }

  .title-section h1 {
    font-size: 26px;
  }

  .content-section {
    margin-bottom: 40px;
  }

  .content-section h2 {
    font-size: 20px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }
}
