:root {
  --primary-color: #0a3d62;
  --accent-color: #3498db;
  --light-accent: #e3f2fd;
  --text-color: #2c3e50;
  --light-gray: #f5f8fa;
  --secondary-text: #7f8c8d;
  --section-spacing: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: #fff;
  color: var(--text-color);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.header {
  display: flex;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  overflow: hidden;
  color: white;
}

.header-left {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-section {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.header-right {
  flex: 1.5;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
  margin-right: 20px;
}

.header-text {
  flex: 1;
}

.name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 15px;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1.4;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: auto;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-item:hover {
  transform: translateX(3px);
}

.contact-icon {
  margin-right: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.social-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover .social-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.quote {
  text-align: center;
  /* font-style: italic; */
  color: var(--secondary-text);
  margin: 0;
  padding: 16px 20px;
  background-color: transparent;
  font-size: 17px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  letter-spacing: 0.5px;
}

.quote-author {
  font-size: 13px;
  text-align: right;
  margin-top: 5px;
  font-weight: 600;
}

.main-content {
  display: flex;
}

.column-left {
  flex: 1;
  background-color: var(--light-gray);
  padding: 25px 20px;
  border-right: 1px solid #e0e0e0;
}

.column-right {
  flex: 1.5;
  padding: 25px 20px;
}

.section {
  margin-bottom: var(--section-spacing);
}

.section-title {
  font-size: 16px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 8px;
}

.item {
  margin-bottom: 14px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}

.item-date {
  color: var(--accent-color);
  font-size: 13px;
  white-space: nowrap;
}

.item-subtitle {
  font-style: italic;
  font-size: 13px;
  color: var(--secondary-text);
  margin-bottom: 3px;
}

.item-content {
  font-size: 13px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.skill-category {
  margin-bottom: 15px;
}

.skill-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.skill-title i {
  margin-right: 5px;
  font-size: 12px;
  width: 16px;
  text-align: center;
}

.skill-list {
  list-style: none;
}

.skill-item {
  position: relative;
  padding-left: 12px;
  margin-bottom: 3px;
  font-size: 13px;
}

.skill-item::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

.bullet-list {
  list-style-type: none;
}

.bullet-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  font-size: 13px;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.experience-item {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 5px;
  background-color: var(--light-gray);
}

.experience-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
}

.experience-company {
  font-size: 13px;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 8px;
}

.experience-date {
  color: var(--accent-color);
  font-size: 13px;
}

.experience-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tag {
  background-color: var(--accent-color);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
}

.progress-bar {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  margin-top: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-color);
}

.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.soft-skill {
  background-color: var(--light-accent);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  padding: 4px 10px;
  font-size: 12px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.portfolio-link {
  display: inline-block;
  background-color: #1abc9c;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 5px;
  transition: background-color 0.2s;
}

.portfolio-link:hover {
  background-color: var(--primary-color);
  text-decoration: none;
}

.interests-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-item {
  display: flex;
  align-items: center;
  background-color: var(--light-accent);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.interest-icon {
  margin-right: 5px;
}

.contact-item a {
  color: white;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* .footer {
  display: none !important;
} */

footer.footer {
  display: block;
  background: linear-gradient(135deg, #0a3d62, 60%, #3498db);
  color: white;
  text-align: center;
  padding: 37px 20px;
  position: relative;
  margin-top: -6rem;
  bottom: 0;
  left: 0;
  top: auto;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
  .cv-body {
    padding: 0px;
  }

  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-left, .header-right {
    width: 100%;
    padding: 15px;
  }

  .profile-section {
    flex-direction: column;
    align-items: center;
  }

  .profile-img {
    margin-bottom: 10px;
  }

  .main-content {
    flex-direction: column-reverse;
  }

  .column-left, .column-right {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .column-left {
    margin-bottom: var(--section-spacing);
  }

  .quote {
    font-size: 16px;
  }
}