/*   
 * Template Name: Orbit - Responsive Resume/CV Template for Developers
 * Version: 1.0
 * Author: Xiaoying Riley
 * Twitter: @3rdwave_themes
 * License: Creative Commons Attribution 3.0 License
 * Website: http://themes.3rdwavemedia.com/
*/
/* styles.css */
/* ======= Base ======= */
body {
  font-family: 'Roboto', sans-serif;
  color: #2d3748;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767px) {
    body{ 
        padding: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
a {
  color: #2ecc71;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #27ae60;
  text-decoration: none;
}
a:focus {
  text-decoration: none;
}
p {
  line-height: 1.5;
}
.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
}

.main-wrapper {
  background: #ffffff;
  padding: 60px;
  width: 100%;
}
.main-wrapper .section-title {
  color: #2ecc71;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid #2ecc71;
  padding-bottom: 5px;
}
.main-wrapper .section-title .fa {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  display: inline-block;
  color: #2ecc71;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background: #ffffff;
  text-align: center;
  padding-top: 8px;
  font-size: 16px;
  position: relative;
  top: -2px;
}
.main-wrapper .section {
  margin-bottom: 60px;
}
.main-wrapper .experiences-section .item {
  margin-bottom: 30px;
}
.main-wrapper .upper-row {
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
}
.main-wrapper .job-title {
  color: #333333;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
}
.main-wrapper .time {
  position: absolute;
  right: 0;
  top: 0;
  color: #666666;
}
.main-wrapper .company {
  margin-bottom: 10px;
  color: #666666;
}
.main-wrapper .project-title {
  font-size: 16px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 5px;
  color: #333333;
}
.main-wrapper .projects-section .intro {
  margin-bottom: 30px;
}
.main-wrapper .projects-section .item {
  margin-bottom: 15px;
}
.skillset .item {
  margin-bottom: 15px;
  overflow: hidden;
}
.skillset .level-title {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #333333;
}
.skillset .level-bar {
  height: 12px;
  background: #f5f5f5;
}
.skillset .level-bar-inner {
  height: 12px;
  background: #2ecc71;
}
.footer {
  padding: 30px;
  padding-top: 60px;
}
.footer .copyright {
  line-height: 1.6;
  color: #666666;
  font-size: 13px;
}
.footer .fa-heart {
  color: #fb866a;
}

/* Profile section at the top */
.profile-section {
  text-align: center;
  padding: 3rem 2rem;
  background: #f7fafc;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid #2ecc71;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 1.25rem;
  color: #2ecc71;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-link {
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #2ecc71;
}

.contact-link i {
  color: #2ecc71;
}

@media (max-width: 767px) {
  .main-wrapper {
    padding: 30px;
  }
  .main-wrapper .time {
    position: static;
    display: block;
    margin-top: 5px;
  }
  .main-wrapper .upper-row {
    margin-bottom: 0;
  }
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
  .sidebar-wrapper {
    position: static;
    width: inherit;
  }
  .main-wrapper {
    padding: 30px;
  }
  .main-wrapper .time {
    position: static;
    display: block;
    margin-top: 5px;
  }
  .main-wrapper .upper-row {
    margin-bottom: 0;
  }
}
/* Small devices (tablets, 768px and up) */
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .skillset .level-title {
    display: inline-block;
    float: left;
    width: 30%;
    margin-bottom: 0;
  }
  .skillset .level-bar {
    display: inline-block;
    width: 70%;
    float: left;
    position: relative;
    top: 1px;
  }
}
/* Large devices (large desktops, 1200px and up) */
/* Ex-Large devices (large desktops, 1200px and up) */

/* Common section styles */
section {
    margin-bottom: 2.5rem;
    padding: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2ecc71;
}

/* Profile Section */
.profile-image {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.profile-brief {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Experience Section */
.experience-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.experience-item:hover {
    transform: translateY(-2px);
}

.company-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.position {
    color: #4a5568;
    font-weight: 500;
}

.date-range {
    color: #718096;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.description {
    color: #4a5568;
    margin: 1rem 0;
}

.contributions-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.contributions-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.contributions-list li:before {
    content: "▹";
    color: #2ecc71;
    position: absolute;
    left: 0;
}

.tech-stack {
    color: #718096;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Education Section */
.education-item {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.institution {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.degree-info {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.thesis-info,
.supervisor-info {
    color: #718096;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Skills Section */
.skills-section {
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-item {
    color: var(--text-color);
    line-height: 1.6;
}

/* Languages, Interests, and Certifications */
.language-list,
.interests-list,
.certifications-list {
    list-style-type: disc;
    list-style-position: inside;
    color: #718096;
}

.language-item,
.interest-item,
.certification-item {
    margin-bottom: 0.25rem;
}

/* Responsive container */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    section {
        page-break-inside: avoid;
    }

    .wrapper,
    .main-wrapper,
    .sidebar-wrapper {
        background: white;
        box-shadow: none;
    }

    .experience-item,
    .education-item,
    .skill-category {
        background: white;
        border: 1px solid #ddd;
    }
}
