body {
  font-family: 'Nunito Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at center, #0F2027, #203A43, #2C5364);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px auto;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  
}

.content {
  background-color: #cdeff0;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.profile-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.content * {
  margin: 0;
}

.contact-info-title {
  display: inline-block;           
  border-bottom: none;             
  padding-bottom: 0;               
  margin-bottom: 10px;

  text-decoration: underline;
  text-decoration-color: #2C5364;
  text-decoration-thickness: 2px;  
  text-underline-offset: 2px;      
}


h1, h2, h3, h4, h5, h6 {
  margin: 0; 
  font-weight: normal; 
  line-height: 1.2;
}

.content h1 {
  font-size: 24px;
  font-weight: 700;  
  color:#363535 ;    
  margin-bottom: 16px;
}

.content h2 {
  position: relative;
  display: inline-block;
  margin: 24px 0 12px;
}

.content h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #2C5364, #417b85);
  border-radius: 2px;
}

.content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;      
  margin-bottom: 8px;
}

.content p {
  font-size: 14px;
  color: #272727;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 16px;
}

.content ul {
  list-style-type: disc;
  padding-left: 0px;
  margin: 0;
}

.work-experience-education h3 {
  margin-top: 4px;
  margin-bottom: 2px;
}
.skill-list li {
  list-style-type: none; 
  margin-bottom: 4px;
  font-weight: normal;
}

.skill-list li strong {
  font-weight: bold; 
}

.achievements li {
  list-style-type: none; 
  font-style: italic;
  font-size: 0.8em;
  margin-bottom: 6px;
}

.contact-links {
  margin-top: -4px;
  display: flex;
  flex-direction: column;
}

.contact-links a {
  color: #004354;
  text-decoration: none;    
  font-weight: bold;        
  transition: color 0.2s ease;
}

.content .job-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.contact-links a,
.phone-link {
  position: relative;
}

.contact-links a::after,
.phone-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: #417b85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.contact-links a:hover::after,
.phone-link:hover::after {
  transform: scaleX(1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 10px 0 20px 0;
}

.social-icons a {
  font-size: 42px;
  color: #0c1d5b;
  transition: color 0.3s ease, transform 0.2s ease;
  line-height: 1;
}

.social-icons a:hover {
  color: #5e5b8c;
  transform: scale(1.1);
}

.footer-text {
  background-color: #cdeff0;
  font-size: 11px;
  color: #2C5364;
  text-align: center;
  padding: 4px 0;
  margin: 0;
}

footer p {
  margin: 0;
  padding: 0;
}

.fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.phone-link {
  color: #004354;
  text-decoration: none;   
  font-weight: bold;     
  transition: color 0.2s ease;
}

.contact-link:hover,
.phone-link:hover {
  color: #2C5364;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  .contact-links a {
    font-size: 13px;
  }

  .social-icons a {
    font-size: 38px;
  } 

  .content h1 { font-size: 22px; }
  .content h2 { font-size: 18px; }
  .content h3 { font-size: 16px; }
  .content p { font-size: 13px; }

}
