/* =======================
Snackbar
=========================*/

#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/* =======================
End Snackbar
=========================*/


/* =======================
Top contact links
=========================*/
.top-social {
  margin-top: 20px;
}

.top-social ul li {
  display: inline-block;
  padding: 3px;
}

.top-social ul li a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
}

.top-social ul li a i {
  margin-right: 6px;
}

.top-social ul li:hover a {
  background-color: #F2784B;
  color: #fff;
}

/* =======================
End top contact links
=========================*/

/* =======================
Section layout fixes
=========================*/
#about-me {
  padding: 80px 0;
}

#contact {
  top: 0;
  margin-top: 0;
}

#skills .row ~ .row,
#my-service .row ~ .row {
  display: flex;
  flex-wrap: wrap;
}

/* =======================
End section layout fixes
=========================*/

/* CV-aligned styles */
.tagline {
    font-size: 1.2rem;
    color: #666;
    margin: 20px 0 30px;
    /* max-width: 600px; */
}

.quick-info ul {
    list-style: none;
    padding: 0;
}

.quick-info li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.quick-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3d1761;
    font-weight: bold;
}

.skill-category {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 100%;
}

.skill-category h3 {
    color: #3d1761;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.skill-level {
    background: #3d1761;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

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

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #3d1761;
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 30px;
}

.timeline-date {
    background: #3d1761;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #3d1761;
    margin-bottom: 10px;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 5px;
}

.education-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.education-item h3 {
    color: #3d1761;
    margin-bottom: 10px;
}

.institution {
    color: #666;
    font-style: italic;
}

.duration {
    color: #888;
    font-size: 0.9rem;
}

.service-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #3d1761;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #3d1761;
    margin-bottom: 15px;
}

.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3d1761;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    color: #3d1761;
    margin-bottom: 5px;
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form button {
    width: 100%;
    padding: 12px;
}

.awards ul,
.extracurricular ul {
    padding-left: 20px;
}

.awards li,
.extracurricular li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 50px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    #about-me {
        padding: 40px 0;
    }
}